Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-08 23:59:03.481010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/56/image_08012025_23_56_03_050198_0003.jpg', '/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0000.jpg', '/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0001.jpg', '/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0002.jpg', '/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0003.jpg', '/home/pi/Desktop/images/08012025/23/58/image_08012025_23_58_02_364053_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/56/image_08012025_23_56_03_050198_0003.jpg
/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0000.jpg
/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0001.jpg
/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0002.jpg
/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0003.jpg
/home/pi/Desktop/images/08012025/23/58/image_08012025_23_58_02_364053_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.781856298446655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-08 23:59:22.247829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/56/image_08012025_23_56_03_050198_0003.jpg', '/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0000.jpg', '/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0001.jpg', '/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0002.jpg', '/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0003.jpg', '/home/pi/Desktop/images/08012025/23/58/image_08012025_23_58_02_364053_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/56/image_08012025_23_56_03_050198_0003.jpg
/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0000.jpg
/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0001.jpg
/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0002.jpg
/home/pi/Desktop/images/08012025/23/57/image_08012025_23_57_02_177823_0003.jpg
/home/pi/Desktop/images/08012025/23/58/image_08012025_23_58_02_364053_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327555931","1327555945","1327555941","1327555935","1327555938","1327555929"],"photo_ids_order":["1327555929","1327555931","1327555935","1327555938","1327555941","1327555945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6887e652d5718b6010489f29773222dd.jpg","text":"TemporaryFile(/tmp/multipartBody8725269862310911246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377238256,"filename":"image_08012025_23_57_02_177823_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ebf584e9df89414d60c6739752f133a4.jpg","text":"TemporaryFile(/tmp/multipartBody2049375072075153967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377238256,"filename":"image_08012025_23_58_02_364053_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/652b592431293512ac5630d877b140fe.jpg","text":"TemporaryFile(/tmp/multipartBody8881018734652022859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377238256,"filename":"image_08012025_23_57_02_177823_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/424065bfb8cc7abd4c77134257d22033.jpg","text":"TemporaryFile(/tmp/multipartBody8651432324093150549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377238256,"filename":"image_08012025_23_57_02_177823_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fdce3c05903c859dd0a986f257b5b436.jpg","text":"TemporaryFile(/tmp/multipartBody6487281381835850855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377238256,"filename":"image_08012025_23_57_02_177823_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/95f09597e2bc50ddfde6718b73d09687.jpg","text":"TemporaryFile(/tmp/multipartBody9145358792370456933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377238256,"filename":"image_08012025_23_56_03_050198_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327555935","file1":"1327555931","file0":"1327555929","file4":"1327555941","file5":"1327555945","file3":"1327555938"},"map_files_photo_id_array":[{"photo_id":"1327555945","filename":"file5"},{"photo_id":"1327555935","filename":"file2"},{"photo_id":"1327555941","filename":"file4"},{"photo_id":"1327555931","filename":"file1"},{"photo_id":"1327555929","filename":"file0"},{"photo_id":"1327555938","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327555931":["hashtag1","hashtag2"]},{"1327555945":["hashtag1","hashtag2"]},{"1327555941":["hashtag1","hashtag2"]},{"1327555935":["hashtag1","hashtag2"]},{"1327555938":["hashtag1","hashtag2"]},{"1327555929":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327555931, 1327555945, 1327555941, 1327555935, 1327555938, 1327555929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.45731019973755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 00:00:22.533719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : refus_amiens_0424_09012025
 fc.token : 832f9dd9be82d72b547808d5fcaa9529
True
{'portfolio_id': 19481811, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1736377283000}
533
2473171
533
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/00/image_09012025_00_00_02_710072_0000.jpg', '/home/pi/Desktop/images/09012025/00/00/image_09012025_00_00_02_710072_0001.jpg', '/home/pi/Desktop/images/09012025/00/00/image_09012025_00_00_02_710072_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/00/image_09012025_00_00_02_710072_0000.jpg
/home/pi/Desktop/images/09012025/00/00/image_09012025_00_00_02_710072_0001.jpg
/home/pi/Desktop/images/09012025/00/00/image_09012025_00_00_02_710072_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327555952","1327555955","1327555960"],"photo_ids_order":["1327555952","1327555955","1327555960"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a0e60576880fa2113ca71c248bc035ac.jpg","text":"TemporaryFile(/tmp/multipartBody3791409685034971962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377293813,"filename":"image_09012025_00_00_02_710072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/177f39b64a59522e3eadfcf0793ddef0.jpg","text":"TemporaryFile(/tmp/multipartBody946343861190928993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377293813,"filename":"image_09012025_00_00_02_710072_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6c00732003fd3e125e9ac3bcb7a9fd68.jpg","text":"TemporaryFile(/tmp/multipartBody6571884703715108765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377293813,"filename":"image_09012025_00_00_02_710072_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327555960","file1":"1327555955","file0":"1327555952"},"map_files_photo_id_array":[{"photo_id":"1327555960","filename":"file2"},{"photo_id":"1327555955","filename":"file1"},{"photo_id":"1327555952","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327555952":["hashtag1","hashtag2"]},{"1327555955":["hashtag1","hashtag2"]},{"1327555960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327555952, 1327555955, 1327555960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.88233804702759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:01:03.286099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/58/image_08012025_23_58_02_364053_0001.jpg', '/home/pi/Desktop/images/08012025/23/58/image_08012025_23_58_02_364053_0002.jpg', '/home/pi/Desktop/images/08012025/23/58/image_08012025_23_58_02_364053_0003.jpg', '/home/pi/Desktop/images/08012025/23/59/image_08012025_23_59_02_532709_0000.jpg', '/home/pi/Desktop/images/08012025/23/59/image_08012025_23_59_02_532709_0001.jpg', '/home/pi/Desktop/images/08012025/23/59/image_08012025_23_59_02_532709_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/58/image_08012025_23_58_02_364053_0001.jpg
/home/pi/Desktop/images/08012025/23/58/image_08012025_23_58_02_364053_0002.jpg
/home/pi/Desktop/images/08012025/23/58/image_08012025_23_58_02_364053_0003.jpg
/home/pi/Desktop/images/08012025/23/59/image_08012025_23_59_02_532709_0000.jpg
/home/pi/Desktop/images/08012025/23/59/image_08012025_23_59_02_532709_0001.jpg
/home/pi/Desktop/images/08012025/23/59/image_08012025_23_59_02_532709_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327555993","1327556002","1327555992","1327555971","1327555983","1327555982"],"photo_ids_order":["1327555971","1327555982","1327555983","1327555992","1327555993","1327556002"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/953a420e20f687501b3dc23196271c3b.jpg","text":"TemporaryFile(/tmp/multipartBody5531197300395501704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377339548,"filename":"image_08012025_23_59_02_532709_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/444c0334316d32932deb891fdf5f387c.jpg","text":"TemporaryFile(/tmp/multipartBody2468574988568772996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377339548,"filename":"image_08012025_23_59_02_532709_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a0eece7168824129bdb935a2e161cd0f.jpg","text":"TemporaryFile(/tmp/multipartBody8641896238920959223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377339548,"filename":"image_08012025_23_59_02_532709_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c5061f194e6a48d205ce19d12555a0ea.jpg","text":"TemporaryFile(/tmp/multipartBody1976079587185683260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377339548,"filename":"image_08012025_23_58_02_364053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/41e56b18b0dff7a232408272a7cbbab4.jpg","text":"TemporaryFile(/tmp/multipartBody484933153100727821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377339548,"filename":"image_08012025_23_58_02_364053_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c622a6fdd23fe7314cb693ddd19defc8.jpg","text":"TemporaryFile(/tmp/multipartBody9062219295876590178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377339548,"filename":"image_08012025_23_58_02_364053_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327555983","file1":"1327555982","file0":"1327555971","file4":"1327555993","file5":"1327556002","file3":"1327555992"},"map_files_photo_id_array":[{"photo_id":"1327556002","filename":"file5"},{"photo_id":"1327555983","filename":"file2"},{"photo_id":"1327555993","filename":"file4"},{"photo_id":"1327555982","filename":"file1"},{"photo_id":"1327555971","filename":"file0"},{"photo_id":"1327555992","filename":"file3"}],"portfolio_id":19463093,"hashtag_by_photo_ids":[{"1327555993":["hashtag1","hashtag2"]},{"1327556002":["hashtag1","hashtag2"]},{"1327555992":["hashtag1","hashtag2"]},{"1327555971":["hashtag1","hashtag2"]},{"1327555983":["hashtag1","hashtag2"]},{"1327555982":["hashtag1","hashtag2"]}],"comms":"Portfolio 19463093 used, photo_id : ArrayBuffer(1327555993, 1327556002, 1327555992, 1327555971, 1327555983, 1327555982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.04921293258667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:02:02.305665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/00/image_09012025_00_00_02_710072_0003.jpg', '/home/pi/Desktop/images/09012025/00/01/image_09012025_00_01_02_938517_0000.jpg', '/home/pi/Desktop/images/09012025/00/01/image_09012025_00_01_02_938517_0001.jpg', '/home/pi/Desktop/images/09012025/00/01/image_09012025_00_01_02_938517_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/00/image_09012025_00_00_02_710072_0003.jpg
/home/pi/Desktop/images/09012025/00/01/image_09012025_00_01_02_938517_0000.jpg
/home/pi/Desktop/images/09012025/00/01/image_09012025_00_01_02_938517_0001.jpg
/home/pi/Desktop/images/09012025/00/01/image_09012025_00_01_02_938517_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327556015","1327556017","1327556019","1327556013"],"photo_ids_order":["1327556013","1327556015","1327556017","1327556019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4f33ebef5388cc608735112e4c377a8b.jpg","text":"TemporaryFile(/tmp/multipartBody1214508922649523490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377392805,"filename":"image_09012025_00_01_02_938517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/28cf82a6c849be686aa5b8f30e20c420.jpg","text":"TemporaryFile(/tmp/multipartBody3348965498999211131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377392805,"filename":"image_09012025_00_01_02_938517_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0136a4774c26b1ccffe2619a449fdd5d.jpg","text":"TemporaryFile(/tmp/multipartBody8579207806344918593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377392805,"filename":"image_09012025_00_01_02_938517_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4b48f303ea481f2a501a148335682439.jpg","text":"TemporaryFile(/tmp/multipartBody8791942956541063582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377392805,"filename":"image_09012025_00_00_02_710072_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327556017","file1":"1327556015","file0":"1327556013","file3":"1327556019"},"map_files_photo_id_array":[{"photo_id":"1327556017","filename":"file2"},{"photo_id":"1327556015","filename":"file1"},{"photo_id":"1327556013","filename":"file0"},{"photo_id":"1327556019","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327556015":["hashtag1","hashtag2"]},{"1327556017":["hashtag1","hashtag2"]},{"1327556019":["hashtag1","hashtag2"]},{"1327556013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327556015, 1327556017, 1327556019, 1327556013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.58410406112671 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:02:51.867172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/59/image_08012025_23_59_02_532709_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/59/image_08012025_23_59_02_532709_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.5062196254730225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:03:02.704495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/01/image_09012025_00_01_02_938517_0003.jpg', '/home/pi/Desktop/images/09012025/00/02/image_09012025_00_02_03_125586_0000.jpg', '/home/pi/Desktop/images/09012025/00/02/image_09012025_00_02_03_125586_0001.jpg', '/home/pi/Desktop/images/09012025/00/02/image_09012025_00_02_03_125586_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/01/image_09012025_00_01_02_938517_0003.jpg
/home/pi/Desktop/images/09012025/00/02/image_09012025_00_02_03_125586_0000.jpg
/home/pi/Desktop/images/09012025/00/02/image_09012025_00_02_03_125586_0001.jpg
/home/pi/Desktop/images/09012025/00/02/image_09012025_00_02_03_125586_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327556032","1327556029","1327556031","1327556027"],"photo_ids_order":["1327556027","1327556029","1327556031","1327556032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2d466f60ba2cfb29643887d8f6c3f6c0.jpg","text":"TemporaryFile(/tmp/multipartBody2358964259207774626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377453277,"filename":"image_09012025_00_02_03_125586_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/89a39f67637bb731fd37432d1acdd9c3.jpg","text":"TemporaryFile(/tmp/multipartBody5808235844772437296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377453277,"filename":"image_09012025_00_02_03_125586_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c03a831919dad80eba7f096970d2ecac.jpg","text":"TemporaryFile(/tmp/multipartBody6963584195391914247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377453277,"filename":"image_09012025_00_02_03_125586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/892ea86464fd563964bec60d0d39bce5.jpg","text":"TemporaryFile(/tmp/multipartBody1805943883060702250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377453277,"filename":"image_09012025_00_01_02_938517_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327556031","file1":"1327556029","file0":"1327556027","file3":"1327556032"},"map_files_photo_id_array":[{"photo_id":"1327556031","filename":"file2"},{"photo_id":"1327556029","filename":"file1"},{"photo_id":"1327556027","filename":"file0"},{"photo_id":"1327556032","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327556032":["hashtag1","hashtag2"]},{"1327556029":["hashtag1","hashtag2"]},{"1327556031":["hashtag1","hashtag2"]},{"1327556027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327556032, 1327556029, 1327556031, 1327556027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13238525390625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:03:52.022824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
  port_id : 19463093
  datou_current_id : 2470615
in upload_from_sqlite, uploading in 19463093
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/08012025/23/59/image_08012025_23_59_02_532709_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2470615&datou=0
/home/pi/Desktop/images/08012025/23/59/image_08012025_23_59_02_532709_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327556078"],"photo_id":"1327556078","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ceb9c85a0907b59967d79e2758146255.jpg","text":"TemporaryFile(/tmp/multipartBody7224749706229748865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377495941,"filename":"image_08012025_23_59_02_532709_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1327556078"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1327556078"}],"hashtags":[],"portfolio_id":"19463093","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.24310827255249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 00:04:22.215044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/02/image_09012025_00_02_03_125586_0003.jpg', '/home/pi/Desktop/images/09012025/00/03/image_09012025_00_03_02_215541_0000.jpg', '/home/pi/Desktop/images/09012025/00/03/image_09012025_00_03_02_215541_0001.jpg', '/home/pi/Desktop/images/09012025/00/03/image_09012025_00_03_02_215541_0002.jpg', '/home/pi/Desktop/images/09012025/00/03/image_09012025_00_03_02_215541_0003.jpg', '/home/pi/Desktop/images/09012025/00/04/image_09012025_00_04_02_433411_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/02/image_09012025_00_02_03_125586_0003.jpg
/home/pi/Desktop/images/09012025/00/03/image_09012025_00_03_02_215541_0000.jpg
/home/pi/Desktop/images/09012025/00/03/image_09012025_00_03_02_215541_0001.jpg
/home/pi/Desktop/images/09012025/00/03/image_09012025_00_03_02_215541_0002.jpg
/home/pi/Desktop/images/09012025/00/03/image_09012025_00_03_02_215541_0003.jpg
/home/pi/Desktop/images/09012025/00/04/image_09012025_00_04_02_433411_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.074216604232788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:04:52.209464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:05:02.925102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/02/image_09012025_00_02_03_125586_0003.jpg', '/home/pi/Desktop/images/09012025/00/03/image_09012025_00_03_02_215541_0000.jpg', '/home/pi/Desktop/images/09012025/00/03/image_09012025_00_03_02_215541_0001.jpg', '/home/pi/Desktop/images/09012025/00/03/image_09012025_00_03_02_215541_0002.jpg', '/home/pi/Desktop/images/09012025/00/03/image_09012025_00_03_02_215541_0003.jpg', '/home/pi/Desktop/images/09012025/00/04/image_09012025_00_04_02_433411_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/02/image_09012025_00_02_03_125586_0003.jpg
/home/pi/Desktop/images/09012025/00/03/image_09012025_00_03_02_215541_0000.jpg
/home/pi/Desktop/images/09012025/00/03/image_09012025_00_03_02_215541_0001.jpg
/home/pi/Desktop/images/09012025/00/03/image_09012025_00_03_02_215541_0002.jpg
/home/pi/Desktop/images/09012025/00/03/image_09012025_00_03_02_215541_0003.jpg
/home/pi/Desktop/images/09012025/00/04/image_09012025_00_04_02_433411_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327556204","1327556196","1327556200","1327556199","1327556202","1327556198"],"photo_ids_order":["1327556196","1327556198","1327556199","1327556200","1327556202","1327556204"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/245f086d106c280469ea7817968c3ef3.jpg","text":"TemporaryFile(/tmp/multipartBody5374225046992337513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377578475,"filename":"image_09012025_00_04_02_433411_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f517fb937c71acc52d343b333d75e683.jpg","text":"TemporaryFile(/tmp/multipartBody6633052535519262781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377578475,"filename":"image_09012025_00_02_03_125586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cb8200e0fcc166a761a6615bf70efb41.jpg","text":"TemporaryFile(/tmp/multipartBody800826497974715476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377578475,"filename":"image_09012025_00_03_02_215541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a2c16ddc9f6857e6d6c1b242df7154f6.jpg","text":"TemporaryFile(/tmp/multipartBody368868818777278978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377578475,"filename":"image_09012025_00_03_02_215541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e1d70f76edd0e68ba3515d1de96bf25f.jpg","text":"TemporaryFile(/tmp/multipartBody4024118431840689358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377578475,"filename":"image_09012025_00_03_02_215541_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/93c1f016c4029e6f1ef0ee81115b4212.jpg","text":"TemporaryFile(/tmp/multipartBody7436779198487015446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377578475,"filename":"image_09012025_00_03_02_215541_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327556199","file1":"1327556198","file0":"1327556196","file4":"1327556202","file5":"1327556204","file3":"1327556200"},"map_files_photo_id_array":[{"photo_id":"1327556204","filename":"file5"},{"photo_id":"1327556199","filename":"file2"},{"photo_id":"1327556202","filename":"file4"},{"photo_id":"1327556198","filename":"file1"},{"photo_id":"1327556196","filename":"file0"},{"photo_id":"1327556200","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327556204":["hashtag1","hashtag2"]},{"1327556196":["hashtag1","hashtag2"]},{"1327556200":["hashtag1","hashtag2"]},{"1327556199":["hashtag1","hashtag2"]},{"1327556202":["hashtag1","hashtag2"]},{"1327556198":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327556204, 1327556196, 1327556200, 1327556199, 1327556202, 1327556198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.95117449760437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 00:06:22.581012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/04/image_09012025_00_04_02_433411_0001.jpg', '/home/pi/Desktop/images/09012025/00/04/image_09012025_00_04_02_433411_0002.jpg', '/home/pi/Desktop/images/09012025/00/04/image_09012025_00_04_02_433411_0003.jpg', '/home/pi/Desktop/images/09012025/00/05/image_09012025_00_05_02_574820_0000.jpg', '/home/pi/Desktop/images/09012025/00/05/image_09012025_00_05_02_574820_0001.jpg', '/home/pi/Desktop/images/09012025/00/05/image_09012025_00_05_02_574820_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/04/image_09012025_00_04_02_433411_0001.jpg
/home/pi/Desktop/images/09012025/00/04/image_09012025_00_04_02_433411_0002.jpg
/home/pi/Desktop/images/09012025/00/04/image_09012025_00_04_02_433411_0003.jpg
/home/pi/Desktop/images/09012025/00/05/image_09012025_00_05_02_574820_0000.jpg
/home/pi/Desktop/images/09012025/00/05/image_09012025_00_05_02_574820_0001.jpg
/home/pi/Desktop/images/09012025/00/05/image_09012025_00_05_02_574820_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.06095027923584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:06:52.549039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:07:03.369049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/04/image_09012025_00_04_02_433411_0001.jpg', '/home/pi/Desktop/images/09012025/00/04/image_09012025_00_04_02_433411_0002.jpg', '/home/pi/Desktop/images/09012025/00/04/image_09012025_00_04_02_433411_0003.jpg', '/home/pi/Desktop/images/09012025/00/05/image_09012025_00_05_02_574820_0000.jpg', '/home/pi/Desktop/images/09012025/00/05/image_09012025_00_05_02_574820_0001.jpg', '/home/pi/Desktop/images/09012025/00/05/image_09012025_00_05_02_574820_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/04/image_09012025_00_04_02_433411_0001.jpg
/home/pi/Desktop/images/09012025/00/04/image_09012025_00_04_02_433411_0002.jpg
/home/pi/Desktop/images/09012025/00/04/image_09012025_00_04_02_433411_0003.jpg
/home/pi/Desktop/images/09012025/00/05/image_09012025_00_05_02_574820_0000.jpg
/home/pi/Desktop/images/09012025/00/05/image_09012025_00_05_02_574820_0001.jpg
/home/pi/Desktop/images/09012025/00/05/image_09012025_00_05_02_574820_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327556260","1327556263","1327556257","1327556253","1327556261","1327556255"],"photo_ids_order":["1327556253","1327556255","1327556257","1327556260","1327556261","1327556263"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/80dd8ae8daf5b8e1eb5c25be03f80ba8.jpg","text":"TemporaryFile(/tmp/multipartBody1303374232217803636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377698850,"filename":"image_09012025_00_05_02_574820_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/61aba96fba98f1f8e80a6c860279638e.jpg","text":"TemporaryFile(/tmp/multipartBody1817097540311821938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377698850,"filename":"image_09012025_00_05_02_574820_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/08291b48f56d83e421320858159a86fc.jpg","text":"TemporaryFile(/tmp/multipartBody6754780071447525650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377698850,"filename":"image_09012025_00_04_02_433411_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4fdd4f82f550161683dec399bd2051ef.jpg","text":"TemporaryFile(/tmp/multipartBody6389299048454202840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377698850,"filename":"image_09012025_00_04_02_433411_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c33d1d7d187a11f38a6da2fa5f8ad137.jpg","text":"TemporaryFile(/tmp/multipartBody2033791055805829056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377698850,"filename":"image_09012025_00_05_02_574820_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5978b313670d9a71e7bb50268061d437.jpg","text":"TemporaryFile(/tmp/multipartBody6050046095827937740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377698850,"filename":"image_09012025_00_04_02_433411_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327556257","file1":"1327556255","file0":"1327556253","file4":"1327556261","file5":"1327556263","file3":"1327556260"},"map_files_photo_id_array":[{"photo_id":"1327556263","filename":"file5"},{"photo_id":"1327556257","filename":"file2"},{"photo_id":"1327556261","filename":"file4"},{"photo_id":"1327556255","filename":"file1"},{"photo_id":"1327556253","filename":"file0"},{"photo_id":"1327556260","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327556260":["hashtag1","hashtag2"]},{"1327556263":["hashtag1","hashtag2"]},{"1327556257":["hashtag1","hashtag2"]},{"1327556253":["hashtag1","hashtag2"]},{"1327556261":["hashtag1","hashtag2"]},{"1327556255":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327556260, 1327556263, 1327556257, 1327556253, 1327556261, 1327556255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.10130715370178 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 00:08:21.915430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/05/image_09012025_00_05_02_574820_0003.jpg', '/home/pi/Desktop/images/09012025/00/06/image_09012025_00_06_02_726596_0000.jpg', '/home/pi/Desktop/images/09012025/00/06/image_09012025_00_06_02_726596_0001.jpg', '/home/pi/Desktop/images/09012025/00/06/image_09012025_00_06_02_726596_0002.jpg', '/home/pi/Desktop/images/09012025/00/06/image_09012025_00_06_02_726596_0003.jpg', '/home/pi/Desktop/images/09012025/00/07/image_09012025_00_07_02_895632_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/05/image_09012025_00_05_02_574820_0003.jpg
/home/pi/Desktop/images/09012025/00/06/image_09012025_00_06_02_726596_0000.jpg
/home/pi/Desktop/images/09012025/00/06/image_09012025_00_06_02_726596_0001.jpg
/home/pi/Desktop/images/09012025/00/06/image_09012025_00_06_02_726596_0002.jpg
/home/pi/Desktop/images/09012025/00/06/image_09012025_00_06_02_726596_0003.jpg
/home/pi/Desktop/images/09012025/00/07/image_09012025_00_07_02_895632_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327556278","1327556302","1327556271","1327556274","1327556276","1327556318"],"photo_ids_order":["1327556271","1327556274","1327556276","1327556278","1327556302","1327556318"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2a9b80f4fa56554e724483d113b5799e.jpg","text":"TemporaryFile(/tmp/multipartBody2026967015829471418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377777291,"filename":"image_09012025_00_06_02_726596_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/578733659b25b4f245f479a6b628a4c1.jpg","text":"TemporaryFile(/tmp/multipartBody1646256619883904669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377777291,"filename":"image_09012025_00_06_02_726596_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c02cb69e5a0a9c5f5a8049166f7f57a1.jpg","text":"TemporaryFile(/tmp/multipartBody4954899021760569243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377777291,"filename":"image_09012025_00_05_02_574820_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/46a53e3040bff4b6913aff5b87b99ff5.jpg","text":"TemporaryFile(/tmp/multipartBody4662782583189995663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377777291,"filename":"image_09012025_00_06_02_726596_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3c55bdb4c910969f5986fb7c36320bb7.jpg","text":"TemporaryFile(/tmp/multipartBody5818867360658821372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377777291,"filename":"image_09012025_00_06_02_726596_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/60d683adb3c225aeb3273951393c7353.jpg","text":"TemporaryFile(/tmp/multipartBody4804969663896748279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377777291,"filename":"image_09012025_00_07_02_895632_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327556276","file1":"1327556274","file0":"1327556271","file4":"1327556302","file5":"1327556318","file3":"1327556278"},"map_files_photo_id_array":[{"photo_id":"1327556318","filename":"file5"},{"photo_id":"1327556276","filename":"file2"},{"photo_id":"1327556302","filename":"file4"},{"photo_id":"1327556274","filename":"file1"},{"photo_id":"1327556271","filename":"file0"},{"photo_id":"1327556278","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327556278":["hashtag1","hashtag2"]},{"1327556302":["hashtag1","hashtag2"]},{"1327556271":["hashtag1","hashtag2"]},{"1327556274":["hashtag1","hashtag2"]},{"1327556276":["hashtag1","hashtag2"]},{"1327556318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327556278, 1327556302, 1327556271, 1327556274, 1327556276, 1327556318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.92523193359375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:09:52.070088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:10:02.722671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/07/image_09012025_00_07_02_895632_0001.jpg', '/home/pi/Desktop/images/09012025/00/07/image_09012025_00_07_02_895632_0002.jpg', '/home/pi/Desktop/images/09012025/00/07/image_09012025_00_07_02_895632_0003.jpg', '/home/pi/Desktop/images/09012025/00/08/image_09012025_00_08_03_121641_0000.jpg', '/home/pi/Desktop/images/09012025/00/08/image_09012025_00_08_03_121641_0001.jpg', '/home/pi/Desktop/images/09012025/00/08/image_09012025_00_08_03_121641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/07/image_09012025_00_07_02_895632_0001.jpg
/home/pi/Desktop/images/09012025/00/07/image_09012025_00_07_02_895632_0002.jpg
/home/pi/Desktop/images/09012025/00/07/image_09012025_00_07_02_895632_0003.jpg
/home/pi/Desktop/images/09012025/00/08/image_09012025_00_08_03_121641_0000.jpg
/home/pi/Desktop/images/09012025/00/08/image_09012025_00_08_03_121641_0001.jpg
/home/pi/Desktop/images/09012025/00/08/image_09012025_00_08_03_121641_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327557187","1327557247","1327557217","1327557249","1327557077","1327557245"],"photo_ids_order":["1327557077","1327557187","1327557217","1327557245","1327557247","1327557249"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1b1b24cb6b8b041066d5706cba559341.jpg","text":"TemporaryFile(/tmp/multipartBody3335182690665799784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377878222,"filename":"image_09012025_00_07_02_895632_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/484f16051422643d942e56a8a2ba7f52.jpg","text":"TemporaryFile(/tmp/multipartBody1945156291855345360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377878222,"filename":"image_09012025_00_08_03_121641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/91d5ef54c106f8e4b96a06eed6b14fe9.jpg","text":"TemporaryFile(/tmp/multipartBody8314015527562098670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377878222,"filename":"image_09012025_00_07_02_895632_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cffd37e8c51dd5972d0d2d72946158ad.jpg","text":"TemporaryFile(/tmp/multipartBody1491803238143255127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377878222,"filename":"image_09012025_00_08_03_121641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f5706efac099de278d1e7787d92d6ac3.jpg","text":"TemporaryFile(/tmp/multipartBody4598002376205013185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377878222,"filename":"image_09012025_00_07_02_895632_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ffe4ab0143c28f2a028076dcdf0791bd.jpg","text":"TemporaryFile(/tmp/multipartBody4363865003458049922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377878222,"filename":"image_09012025_00_08_03_121641_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327557217","file1":"1327557187","file0":"1327557077","file4":"1327557247","file5":"1327557249","file3":"1327557245"},"map_files_photo_id_array":[{"photo_id":"1327557249","filename":"file5"},{"photo_id":"1327557217","filename":"file2"},{"photo_id":"1327557247","filename":"file4"},{"photo_id":"1327557187","filename":"file1"},{"photo_id":"1327557077","filename":"file0"},{"photo_id":"1327557245","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327557187":["hashtag1","hashtag2"]},{"1327557247":["hashtag1","hashtag2"]},{"1327557217":["hashtag1","hashtag2"]},{"1327557249":["hashtag1","hashtag2"]},{"1327557077":["hashtag1","hashtag2"]},{"1327557245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327557187, 1327557247, 1327557217, 1327557249, 1327557077, 1327557245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.71357202529907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:11:03.206266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/08/image_09012025_00_08_03_121641_0003.jpg', '/home/pi/Desktop/images/09012025/00/09/image_09012025_00_09_02_311012_0000.jpg', '/home/pi/Desktop/images/09012025/00/09/image_09012025_00_09_02_311012_0001.jpg', '/home/pi/Desktop/images/09012025/00/09/image_09012025_00_09_02_311012_0002.jpg', '/home/pi/Desktop/images/09012025/00/09/image_09012025_00_09_02_311012_0003.jpg', '/home/pi/Desktop/images/09012025/00/10/image_09012025_00_10_02_541274_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/08/image_09012025_00_08_03_121641_0003.jpg
/home/pi/Desktop/images/09012025/00/09/image_09012025_00_09_02_311012_0000.jpg
/home/pi/Desktop/images/09012025/00/09/image_09012025_00_09_02_311012_0001.jpg
/home/pi/Desktop/images/09012025/00/09/image_09012025_00_09_02_311012_0002.jpg
/home/pi/Desktop/images/09012025/00/09/image_09012025_00_09_02_311012_0003.jpg
/home/pi/Desktop/images/09012025/00/10/image_09012025_00_10_02_541274_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.087934732437134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 00:11:22.422537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/08/image_09012025_00_08_03_121641_0003.jpg', '/home/pi/Desktop/images/09012025/00/09/image_09012025_00_09_02_311012_0000.jpg', '/home/pi/Desktop/images/09012025/00/09/image_09012025_00_09_02_311012_0001.jpg', '/home/pi/Desktop/images/09012025/00/09/image_09012025_00_09_02_311012_0002.jpg', '/home/pi/Desktop/images/09012025/00/09/image_09012025_00_09_02_311012_0003.jpg', '/home/pi/Desktop/images/09012025/00/10/image_09012025_00_10_02_541274_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/08/image_09012025_00_08_03_121641_0003.jpg
/home/pi/Desktop/images/09012025/00/09/image_09012025_00_09_02_311012_0000.jpg
/home/pi/Desktop/images/09012025/00/09/image_09012025_00_09_02_311012_0001.jpg
/home/pi/Desktop/images/09012025/00/09/image_09012025_00_09_02_311012_0002.jpg
/home/pi/Desktop/images/09012025/00/09/image_09012025_00_09_02_311012_0003.jpg
/home/pi/Desktop/images/09012025/00/10/image_09012025_00_10_02_541274_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327557541","1327557538","1327557535","1327557528","1327557530","1327557533"],"photo_ids_order":["1327557528","1327557530","1327557533","1327557535","1327557538","1327557541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e76907458293ba5e5be9a21e2c0f869e.jpg","text":"TemporaryFile(/tmp/multipartBody1099476361216281363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377957872,"filename":"image_09012025_00_10_02_541274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6338ec1c21421f65a90e20de07f3e540.jpg","text":"TemporaryFile(/tmp/multipartBody5586578083979310386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377957872,"filename":"image_09012025_00_09_02_311012_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9961ed77f22f47b667ca1fe609cebbb0.jpg","text":"TemporaryFile(/tmp/multipartBody7887937108962192673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377957872,"filename":"image_09012025_00_09_02_311012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fdc8a7f1bece1c6b719686d38933838a.jpg","text":"TemporaryFile(/tmp/multipartBody2688718713430761244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377957872,"filename":"image_09012025_00_08_03_121641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/de629adb0ff07a0d92981657fedbfecc.jpg","text":"TemporaryFile(/tmp/multipartBody8106171029221107734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377957872,"filename":"image_09012025_00_09_02_311012_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/03c8d57a64b09be570ef5adcea4cf803.jpg","text":"TemporaryFile(/tmp/multipartBody1213441160410585346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736377957872,"filename":"image_09012025_00_09_02_311012_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327557533","file1":"1327557530","file0":"1327557528","file4":"1327557538","file5":"1327557541","file3":"1327557535"},"map_files_photo_id_array":[{"photo_id":"1327557541","filename":"file5"},{"photo_id":"1327557533","filename":"file2"},{"photo_id":"1327557538","filename":"file4"},{"photo_id":"1327557530","filename":"file1"},{"photo_id":"1327557528","filename":"file0"},{"photo_id":"1327557535","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327557541":["hashtag1","hashtag2"]},{"1327557538":["hashtag1","hashtag2"]},{"1327557535":["hashtag1","hashtag2"]},{"1327557528":["hashtag1","hashtag2"]},{"1327557530":["hashtag1","hashtag2"]},{"1327557533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327557541, 1327557538, 1327557535, 1327557528, 1327557530, 1327557533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.3631112575531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 00:12:22.610368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/10/image_09012025_00_10_02_541274_0001.jpg', '/home/pi/Desktop/images/09012025/00/10/image_09012025_00_10_02_541274_0002.jpg', '/home/pi/Desktop/images/09012025/00/10/image_09012025_00_10_02_541274_0003.jpg', '/home/pi/Desktop/images/09012025/00/11/image_09012025_00_11_02_636054_0000.jpg', '/home/pi/Desktop/images/09012025/00/11/image_09012025_00_11_02_636054_0001.jpg', '/home/pi/Desktop/images/09012025/00/11/image_09012025_00_11_02_636054_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/10/image_09012025_00_10_02_541274_0001.jpg
/home/pi/Desktop/images/09012025/00/10/image_09012025_00_10_02_541274_0002.jpg
/home/pi/Desktop/images/09012025/00/10/image_09012025_00_10_02_541274_0003.jpg
/home/pi/Desktop/images/09012025/00/11/image_09012025_00_11_02_636054_0000.jpg
/home/pi/Desktop/images/09012025/00/11/image_09012025_00_11_02_636054_0001.jpg
/home/pi/Desktop/images/09012025/00/11/image_09012025_00_11_02_636054_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327557990","1327557987","1327557984","1327557992","1327557995","1327557985"],"photo_ids_order":["1327557984","1327557985","1327557987","1327557990","1327557992","1327557995"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ab32c8b9f62f5d8daad838854265f4bb.jpg","text":"TemporaryFile(/tmp/multipartBody3672360470983999691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378017916,"filename":"image_09012025_00_11_02_636054_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/553f2a8476dd1088aa87dc837805b6f9.jpg","text":"TemporaryFile(/tmp/multipartBody6406980054065046381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378017916,"filename":"image_09012025_00_10_02_541274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6a8ac683eea4ddf2e54b66a1443f92e4.jpg","text":"TemporaryFile(/tmp/multipartBody622433403987387299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378017916,"filename":"image_09012025_00_10_02_541274_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6a4634ce680765c13bc846686668775c.jpg","text":"TemporaryFile(/tmp/multipartBody1798830203786328132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378017916,"filename":"image_09012025_00_11_02_636054_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/53918fb26e860b5e631135928d64f9bb.jpg","text":"TemporaryFile(/tmp/multipartBody5426315498386390724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378017916,"filename":"image_09012025_00_11_02_636054_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c94640a12b15ea45bf1e13955fd09c2f.jpg","text":"TemporaryFile(/tmp/multipartBody7566354491347609818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378017916,"filename":"image_09012025_00_10_02_541274_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327557987","file1":"1327557985","file0":"1327557984","file4":"1327557992","file5":"1327557995","file3":"1327557990"},"map_files_photo_id_array":[{"photo_id":"1327557995","filename":"file5"},{"photo_id":"1327557987","filename":"file2"},{"photo_id":"1327557992","filename":"file4"},{"photo_id":"1327557985","filename":"file1"},{"photo_id":"1327557984","filename":"file0"},{"photo_id":"1327557990","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327557990":["hashtag1","hashtag2"]},{"1327557987":["hashtag1","hashtag2"]},{"1327557984":["hashtag1","hashtag2"]},{"1327557992":["hashtag1","hashtag2"]},{"1327557995":["hashtag1","hashtag2"]},{"1327557985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327557990, 1327557987, 1327557984, 1327557992, 1327557995, 1327557985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.535322427749634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:13:51.849163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:14:02.485865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/11/image_09012025_00_11_02_636054_0003.jpg', '/home/pi/Desktop/images/09012025/00/12/image_09012025_00_12_02_800306_0000.jpg', '/home/pi/Desktop/images/09012025/00/12/image_09012025_00_12_02_800306_0001.jpg', '/home/pi/Desktop/images/09012025/00/12/image_09012025_00_12_02_800306_0002.jpg', '/home/pi/Desktop/images/09012025/00/12/image_09012025_00_12_02_800306_0003.jpg', '/home/pi/Desktop/images/09012025/00/13/image_09012025_00_13_02_981771_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/11/image_09012025_00_11_02_636054_0003.jpg
/home/pi/Desktop/images/09012025/00/12/image_09012025_00_12_02_800306_0000.jpg
/home/pi/Desktop/images/09012025/00/12/image_09012025_00_12_02_800306_0001.jpg
/home/pi/Desktop/images/09012025/00/12/image_09012025_00_12_02_800306_0002.jpg
/home/pi/Desktop/images/09012025/00/12/image_09012025_00_12_02_800306_0003.jpg
/home/pi/Desktop/images/09012025/00/13/image_09012025_00_13_02_981771_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327558414","1327558392","1327558239","1327558218","1327558399","1327558396"],"photo_ids_order":["1327558218","1327558239","1327558392","1327558396","1327558399","1327558414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1b5dcf128671422466d0bb89a37b243b.jpg","text":"TemporaryFile(/tmp/multipartBody5401647410620157175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378117824,"filename":"image_09012025_00_13_02_981771_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9cbfb82191636ad64b3e3c4217e74c87.jpg","text":"TemporaryFile(/tmp/multipartBody1786341917838259545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378117824,"filename":"image_09012025_00_12_02_800306_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/61efd181eb5345eec276b75ab829d017.jpg","text":"TemporaryFile(/tmp/multipartBody4756205246451867998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378117824,"filename":"image_09012025_00_12_02_800306_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3c44d6e17b9ed4637e1710d5a1aa77da.jpg","text":"TemporaryFile(/tmp/multipartBody5702639985985834261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378117824,"filename":"image_09012025_00_11_02_636054_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3486707fec485704ed9ed4fec28e9ec1.jpg","text":"TemporaryFile(/tmp/multipartBody2421043965938932285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378117824,"filename":"image_09012025_00_12_02_800306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8c22f15c86138e4b14c6535477f47c79.jpg","text":"TemporaryFile(/tmp/multipartBody1269205914992051886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378117824,"filename":"image_09012025_00_12_02_800306_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327558392","file1":"1327558239","file0":"1327558218","file4":"1327558399","file5":"1327558414","file3":"1327558396"},"map_files_photo_id_array":[{"photo_id":"1327558414","filename":"file5"},{"photo_id":"1327558392","filename":"file2"},{"photo_id":"1327558399","filename":"file4"},{"photo_id":"1327558239","filename":"file1"},{"photo_id":"1327558218","filename":"file0"},{"photo_id":"1327558396","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327558414":["hashtag1","hashtag2"]},{"1327558392":["hashtag1","hashtag2"]},{"1327558239":["hashtag1","hashtag2"]},{"1327558218":["hashtag1","hashtag2"]},{"1327558399":["hashtag1","hashtag2"]},{"1327558396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327558414, 1327558392, 1327558239, 1327558218, 1327558399, 1327558396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.66354417800903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:15:02.803582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/13/image_09012025_00_13_02_981771_0001.jpg', '/home/pi/Desktop/images/09012025/00/13/image_09012025_00_13_02_981771_0002.jpg', '/home/pi/Desktop/images/09012025/00/13/image_09012025_00_13_02_981771_0003.jpg', '/home/pi/Desktop/images/09012025/00/14/image_09012025_00_14_02_194877_0000.jpg', '/home/pi/Desktop/images/09012025/00/14/image_09012025_00_14_02_194877_0001.jpg', '/home/pi/Desktop/images/09012025/00/14/image_09012025_00_14_02_194877_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/13/image_09012025_00_13_02_981771_0001.jpg
/home/pi/Desktop/images/09012025/00/13/image_09012025_00_13_02_981771_0002.jpg
/home/pi/Desktop/images/09012025/00/13/image_09012025_00_13_02_981771_0003.jpg
/home/pi/Desktop/images/09012025/00/14/image_09012025_00_14_02_194877_0000.jpg
/home/pi/Desktop/images/09012025/00/14/image_09012025_00_14_02_194877_0001.jpg
/home/pi/Desktop/images/09012025/00/14/image_09012025_00_14_02_194877_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327558426","1327558431","1327558418","1327558433","1327558429","1327558423"],"photo_ids_order":["1327558418","1327558423","1327558426","1327558429","1327558431","1327558433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/529f1cc9c10bc31aa5e76a6ea93c8ced.jpg","text":"TemporaryFile(/tmp/multipartBody6910762236047782915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378177989,"filename":"image_09012025_00_13_02_981771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7815a2eedfbbb3b422026dac901ca4e3.jpg","text":"TemporaryFile(/tmp/multipartBody1383044635113941292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378177989,"filename":"image_09012025_00_14_02_194877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7ce926d18bb88a21ff4efbe05b6d3054.jpg","text":"TemporaryFile(/tmp/multipartBody908820399864216786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378177989,"filename":"image_09012025_00_13_02_981771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cfbcec34a68005e93a2a1b21a5a40034.jpg","text":"TemporaryFile(/tmp/multipartBody7044722245256956448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378177989,"filename":"image_09012025_00_14_02_194877_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1fc67988ef08b3773d29b8a8e2cd7db8.jpg","text":"TemporaryFile(/tmp/multipartBody2858719356014966461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378177989,"filename":"image_09012025_00_14_02_194877_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ecd6220f5aae73e3f3417f35da133ddb.jpg","text":"TemporaryFile(/tmp/multipartBody2706596396092629865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378177989,"filename":"image_09012025_00_13_02_981771_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327558426","file1":"1327558423","file0":"1327558418","file4":"1327558431","file5":"1327558433","file3":"1327558429"},"map_files_photo_id_array":[{"photo_id":"1327558433","filename":"file5"},{"photo_id":"1327558426","filename":"file2"},{"photo_id":"1327558431","filename":"file4"},{"photo_id":"1327558423","filename":"file1"},{"photo_id":"1327558418","filename":"file0"},{"photo_id":"1327558429","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327558426":["hashtag1","hashtag2"]},{"1327558431":["hashtag1","hashtag2"]},{"1327558418":["hashtag1","hashtag2"]},{"1327558433":["hashtag1","hashtag2"]},{"1327558429":["hashtag1","hashtag2"]},{"1327558423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327558426, 1327558431, 1327558418, 1327558433, 1327558429, 1327558423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.62550616264343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 00:16:22.417735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/14/image_09012025_00_14_02_194877_0003.jpg', '/home/pi/Desktop/images/09012025/00/15/image_09012025_00_15_02_384969_0000.jpg', '/home/pi/Desktop/images/09012025/00/15/image_09012025_00_15_02_384969_0001.jpg', '/home/pi/Desktop/images/09012025/00/15/image_09012025_00_15_02_384969_0002.jpg', '/home/pi/Desktop/images/09012025/00/15/image_09012025_00_15_02_384969_0003.jpg', '/home/pi/Desktop/images/09012025/00/16/image_09012025_00_16_02_678594_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/14/image_09012025_00_14_02_194877_0003.jpg
/home/pi/Desktop/images/09012025/00/15/image_09012025_00_15_02_384969_0000.jpg
/home/pi/Desktop/images/09012025/00/15/image_09012025_00_15_02_384969_0001.jpg
/home/pi/Desktop/images/09012025/00/15/image_09012025_00_15_02_384969_0002.jpg
/home/pi/Desktop/images/09012025/00/15/image_09012025_00_15_02_384969_0003.jpg
/home/pi/Desktop/images/09012025/00/16/image_09012025_00_16_02_678594_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327558443","1327558442","1327558445","1327558447","1327558441","1327558444"],"photo_ids_order":["1327558441","1327558442","1327558443","1327558444","1327558445","1327558447"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/83cccd3b23629852c7eb7b82c79c71bd.jpg","text":"TemporaryFile(/tmp/multipartBody5139419069200860055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378258061,"filename":"image_09012025_00_15_02_384969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ef95fa4acc728414fb95d0fa32212bed.jpg","text":"TemporaryFile(/tmp/multipartBody910154207499085526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378258061,"filename":"image_09012025_00_15_02_384969_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2455dc32f9cd0271adfe6a9b1ce31459.jpg","text":"TemporaryFile(/tmp/multipartBody5548866297150777343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378258061,"filename":"image_09012025_00_15_02_384969_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a66e42e8bacfd7f84e28ecdaada91113.jpg","text":"TemporaryFile(/tmp/multipartBody9211560734681071847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378258061,"filename":"image_09012025_00_16_02_678594_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/15b2bd3d3e9a7bc9dc3e1c4771351378.jpg","text":"TemporaryFile(/tmp/multipartBody3998707602929721316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378258061,"filename":"image_09012025_00_14_02_194877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/efbd96a305161c42cd959910e7ea9c78.jpg","text":"TemporaryFile(/tmp/multipartBody5310836738885963418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378258061,"filename":"image_09012025_00_15_02_384969_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327558443","file1":"1327558442","file0":"1327558441","file4":"1327558445","file5":"1327558447","file3":"1327558444"},"map_files_photo_id_array":[{"photo_id":"1327558447","filename":"file5"},{"photo_id":"1327558443","filename":"file2"},{"photo_id":"1327558445","filename":"file4"},{"photo_id":"1327558442","filename":"file1"},{"photo_id":"1327558441","filename":"file0"},{"photo_id":"1327558444","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327558443":["hashtag1","hashtag2"]},{"1327558442":["hashtag1","hashtag2"]},{"1327558445":["hashtag1","hashtag2"]},{"1327558447":["hashtag1","hashtag2"]},{"1327558441":["hashtag1","hashtag2"]},{"1327558444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327558443, 1327558442, 1327558445, 1327558447, 1327558441, 1327558444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.03287744522095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 00:17:22.597010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/16/image_09012025_00_16_02_678594_0001.jpg', '/home/pi/Desktop/images/09012025/00/16/image_09012025_00_16_02_678594_0002.jpg', '/home/pi/Desktop/images/09012025/00/16/image_09012025_00_16_02_678594_0003.jpg', '/home/pi/Desktop/images/09012025/00/17/image_09012025_00_17_02_913835_0000.jpg', '/home/pi/Desktop/images/09012025/00/17/image_09012025_00_17_02_913835_0001.jpg', '/home/pi/Desktop/images/09012025/00/17/image_09012025_00_17_02_913835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/16/image_09012025_00_16_02_678594_0001.jpg
/home/pi/Desktop/images/09012025/00/16/image_09012025_00_16_02_678594_0002.jpg
/home/pi/Desktop/images/09012025/00/16/image_09012025_00_16_02_678594_0003.jpg
/home/pi/Desktop/images/09012025/00/17/image_09012025_00_17_02_913835_0000.jpg
/home/pi/Desktop/images/09012025/00/17/image_09012025_00_17_02_913835_0001.jpg
/home/pi/Desktop/images/09012025/00/17/image_09012025_00_17_02_913835_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327558504","1327558455","1327558514","1327558483","1327558492","1327558501"],"photo_ids_order":["1327558455","1327558483","1327558492","1327558501","1327558504","1327558514"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/62bb30488a94cdfb3eeb35a97ad4b03b.jpg","text":"TemporaryFile(/tmp/multipartBody7304320109941142580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378318115,"filename":"image_09012025_00_17_02_913835_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/13d07d470b1ef1f75a8ebbf27d3319d4.jpg","text":"TemporaryFile(/tmp/multipartBody3274415704881750958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378318115,"filename":"image_09012025_00_16_02_678594_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4e54492720027cd3434bf05f4a56f0ac.jpg","text":"TemporaryFile(/tmp/multipartBody3411919583793569028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378318115,"filename":"image_09012025_00_17_02_913835_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bd14af8f33633e308a2a5e59574940cb.jpg","text":"TemporaryFile(/tmp/multipartBody7285415225700179575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378318115,"filename":"image_09012025_00_16_02_678594_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d816a2b5dad63b6e43cf87ed33939162.jpg","text":"TemporaryFile(/tmp/multipartBody7571386139698775605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378318115,"filename":"image_09012025_00_16_02_678594_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eea5c264f848af8157c0c7b3d13f9783.jpg","text":"TemporaryFile(/tmp/multipartBody6050999788089213196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378318115,"filename":"image_09012025_00_17_02_913835_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327558492","file1":"1327558483","file0":"1327558455","file4":"1327558504","file5":"1327558514","file3":"1327558501"},"map_files_photo_id_array":[{"photo_id":"1327558514","filename":"file5"},{"photo_id":"1327558492","filename":"file2"},{"photo_id":"1327558504","filename":"file4"},{"photo_id":"1327558483","filename":"file1"},{"photo_id":"1327558455","filename":"file0"},{"photo_id":"1327558501","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327558504":["hashtag1","hashtag2"]},{"1327558455":["hashtag1","hashtag2"]},{"1327558514":["hashtag1","hashtag2"]},{"1327558483":["hashtag1","hashtag2"]},{"1327558492":["hashtag1","hashtag2"]},{"1327558501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327558504, 1327558455, 1327558514, 1327558483, 1327558492, 1327558501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.723899841308594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:18:51.791653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:19:02.560403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/17/image_09012025_00_17_02_913835_0003.jpg', '/home/pi/Desktop/images/09012025/00/18/image_09012025_00_18_03_003832_0000.jpg', '/home/pi/Desktop/images/09012025/00/18/image_09012025_00_18_03_003832_0001.jpg', '/home/pi/Desktop/images/09012025/00/18/image_09012025_00_18_03_003832_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/17/image_09012025_00_17_02_913835_0003.jpg
/home/pi/Desktop/images/09012025/00/18/image_09012025_00_18_03_003832_0000.jpg
/home/pi/Desktop/images/09012025/00/18/image_09012025_00_18_03_003832_0001.jpg
/home/pi/Desktop/images/09012025/00/18/image_09012025_00_18_03_003832_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327559058","1327559051","1327559053","1327559056"],"photo_ids_order":["1327559051","1327559053","1327559056","1327559058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c91bca21acd62960cb2ff441c41aba16.jpg","text":"TemporaryFile(/tmp/multipartBody5632000282962490261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378413095,"filename":"image_09012025_00_18_03_003832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6c24246013c2b1b0785d1490388f8e37.jpg","text":"TemporaryFile(/tmp/multipartBody8213699399434640583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378413095,"filename":"image_09012025_00_17_02_913835_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/de72e19c4448e7a6fc882b7a3a8bf9d2.jpg","text":"TemporaryFile(/tmp/multipartBody1090764241668319813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378413095,"filename":"image_09012025_00_18_03_003832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/945603d44db9c60407e031cdf5d72398.jpg","text":"TemporaryFile(/tmp/multipartBody748500190996852129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378413095,"filename":"image_09012025_00_18_03_003832_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327559056","file1":"1327559053","file0":"1327559051","file3":"1327559058"},"map_files_photo_id_array":[{"photo_id":"1327559056","filename":"file2"},{"photo_id":"1327559053","filename":"file1"},{"photo_id":"1327559051","filename":"file0"},{"photo_id":"1327559058","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327559058":["hashtag1","hashtag2"]},{"1327559051":["hashtag1","hashtag2"]},{"1327559053":["hashtag1","hashtag2"]},{"1327559056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327559058, 1327559051, 1327559053, 1327559056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.20358324050903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:19:51.941300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:20:02.625635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/18/image_09012025_00_18_03_003832_0003.jpg', '/home/pi/Desktop/images/09012025/00/19/image_09012025_00_19_02_171102_0000.jpg', '/home/pi/Desktop/images/09012025/00/19/image_09012025_00_19_02_171102_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/18/image_09012025_00_18_03_003832_0003.jpg
/home/pi/Desktop/images/09012025/00/19/image_09012025_00_19_02_171102_0000.jpg
/home/pi/Desktop/images/09012025/00/19/image_09012025_00_19_02_171102_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327559517","1327559462","1327559527"],"photo_ids_order":["1327559462","1327559517","1327559527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ac3209a35b3b54d4e044962089f2ffe9.jpg","text":"TemporaryFile(/tmp/multipartBody5453968954505900387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378470698,"filename":"image_09012025_00_19_02_171102_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d227e2c80de93e029e0a34b0fde4c68e.jpg","text":"TemporaryFile(/tmp/multipartBody3344335707437286207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378470698,"filename":"image_09012025_00_18_03_003832_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5f42c9216d3399b069fd4902ed8047f7.jpg","text":"TemporaryFile(/tmp/multipartBody5512659479914159043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378470698,"filename":"image_09012025_00_19_02_171102_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327559527","file1":"1327559517","file0":"1327559462"},"map_files_photo_id_array":[{"photo_id":"1327559527","filename":"file2"},{"photo_id":"1327559517","filename":"file1"},{"photo_id":"1327559462","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327559517":["hashtag1","hashtag2"]},{"1327559462":["hashtag1","hashtag2"]},{"1327559527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327559517, 1327559462, 1327559527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.28638672828674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:20:52.152590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:21:02.883752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/19/image_09012025_00_19_02_171102_0003.jpg', '/home/pi/Desktop/images/09012025/00/20/image_09012025_00_20_02_391708_0000.jpg', '/home/pi/Desktop/images/09012025/00/20/image_09012025_00_20_02_391708_0001.jpg', '/home/pi/Desktop/images/09012025/00/20/image_09012025_00_20_02_391708_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/19/image_09012025_00_19_02_171102_0003.jpg
/home/pi/Desktop/images/09012025/00/20/image_09012025_00_20_02_391708_0000.jpg
/home/pi/Desktop/images/09012025/00/20/image_09012025_00_20_02_391708_0001.jpg
/home/pi/Desktop/images/09012025/00/20/image_09012025_00_20_02_391708_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327559643","1327559646","1327559939","1327559650"],"photo_ids_order":["1327559643","1327559646","1327559650","1327559939"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d001c444f4cebdf3504fb398fb02996a.jpg","text":"TemporaryFile(/tmp/multipartBody1450906145711842802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378533402,"filename":"image_09012025_00_19_02_171102_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/264b94b99a000cd98be4b7c32d3edeab.jpg","text":"TemporaryFile(/tmp/multipartBody1320564497578180966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378533402,"filename":"image_09012025_00_20_02_391708_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/980f4770ceb904be23541d1866d37d7c.jpg","text":"TemporaryFile(/tmp/multipartBody8151790249216316429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378533402,"filename":"image_09012025_00_20_02_391708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/90fc09a5dd14297bcff337561d15c4b4.jpg","text":"TemporaryFile(/tmp/multipartBody6267271806658508788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378533402,"filename":"image_09012025_00_20_02_391708_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327559650","file1":"1327559646","file0":"1327559643","file3":"1327559939"},"map_files_photo_id_array":[{"photo_id":"1327559650","filename":"file2"},{"photo_id":"1327559646","filename":"file1"},{"photo_id":"1327559643","filename":"file0"},{"photo_id":"1327559939","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327559643":["hashtag1","hashtag2"]},{"1327559646":["hashtag1","hashtag2"]},{"1327559939":["hashtag1","hashtag2"]},{"1327559650":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327559643, 1327559646, 1327559939, 1327559650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.67939352989197 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:21:52.303609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:22:02.870380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/20/image_09012025_00_20_02_391708_0003.jpg', '/home/pi/Desktop/images/09012025/00/21/image_09012025_00_21_02_556978_0000.jpg', '/home/pi/Desktop/images/09012025/00/21/image_09012025_00_21_02_556978_0001.jpg', '/home/pi/Desktop/images/09012025/00/21/image_09012025_00_21_02_556978_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/20/image_09012025_00_20_02_391708_0003.jpg
/home/pi/Desktop/images/09012025/00/21/image_09012025_00_21_02_556978_0000.jpg
/home/pi/Desktop/images/09012025/00/21/image_09012025_00_21_02_556978_0001.jpg
/home/pi/Desktop/images/09012025/00/21/image_09012025_00_21_02_556978_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327560189","1327560398","1327560401","1327560445"],"photo_ids_order":["1327560189","1327560398","1327560401","1327560445"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/81bead4b468f45bd46f5e952c5b4102d.jpg","text":"TemporaryFile(/tmp/multipartBody6336891378909649093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378593463,"filename":"image_09012025_00_20_02_391708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f26be068cbaf4bcec4976a7179c209ee.jpg","text":"TemporaryFile(/tmp/multipartBody4615735023011912831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378593463,"filename":"image_09012025_00_21_02_556978_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7c44b3e6f5ce094f68497d095b322449.jpg","text":"TemporaryFile(/tmp/multipartBody976592190743973112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378593463,"filename":"image_09012025_00_21_02_556978_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4607a10197863ebea262d18dab075a73.jpg","text":"TemporaryFile(/tmp/multipartBody1878849416531163474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378593463,"filename":"image_09012025_00_21_02_556978_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327560401","file1":"1327560398","file0":"1327560189","file3":"1327560445"},"map_files_photo_id_array":[{"photo_id":"1327560401","filename":"file2"},{"photo_id":"1327560398","filename":"file1"},{"photo_id":"1327560189","filename":"file0"},{"photo_id":"1327560445","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327560189":["hashtag1","hashtag2"]},{"1327560398":["hashtag1","hashtag2"]},{"1327560401":["hashtag1","hashtag2"]},{"1327560445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327560189, 1327560398, 1327560401, 1327560445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.14959669113159 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:22:52.483534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:23:03.396580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/21/image_09012025_00_21_02_556978_0003.jpg', '/home/pi/Desktop/images/09012025/00/22/image_09012025_00_22_02_766869_0000.jpg', '/home/pi/Desktop/images/09012025/00/22/image_09012025_00_22_02_766869_0001.jpg', '/home/pi/Desktop/images/09012025/00/22/image_09012025_00_22_02_766869_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/21/image_09012025_00_21_02_556978_0003.jpg
/home/pi/Desktop/images/09012025/00/22/image_09012025_00_22_02_766869_0000.jpg
/home/pi/Desktop/images/09012025/00/22/image_09012025_00_22_02_766869_0001.jpg
/home/pi/Desktop/images/09012025/00/22/image_09012025_00_22_02_766869_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.038926839828491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 00:23:22.637680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/21/image_09012025_00_21_02_556978_0003.jpg', '/home/pi/Desktop/images/09012025/00/22/image_09012025_00_22_02_766869_0000.jpg', '/home/pi/Desktop/images/09012025/00/22/image_09012025_00_22_02_766869_0001.jpg', '/home/pi/Desktop/images/09012025/00/22/image_09012025_00_22_02_766869_0002.jpg', '/home/pi/Desktop/images/09012025/00/22/image_09012025_00_22_02_766869_0003.jpg', '/home/pi/Desktop/images/09012025/00/23/image_09012025_00_23_02_861420_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/21/image_09012025_00_21_02_556978_0003.jpg
/home/pi/Desktop/images/09012025/00/22/image_09012025_00_22_02_766869_0000.jpg
/home/pi/Desktop/images/09012025/00/22/image_09012025_00_22_02_766869_0001.jpg
/home/pi/Desktop/images/09012025/00/22/image_09012025_00_22_02_766869_0002.jpg
/home/pi/Desktop/images/09012025/00/22/image_09012025_00_22_02_766869_0003.jpg
/home/pi/Desktop/images/09012025/00/23/image_09012025_00_23_02_861420_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327560529","1327560528","1327560537","1327560539","1327560530","1327560527"],"photo_ids_order":["1327560527","1327560528","1327560529","1327560530","1327560537","1327560539"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/63e7977cc5e2690ffd61037f51c98949.jpg","text":"TemporaryFile(/tmp/multipartBody4520184170531804195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378677907,"filename":"image_09012025_00_22_02_766869_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dbd819fa5b2ad4d9f22a928c0ec3b6b3.jpg","text":"TemporaryFile(/tmp/multipartBody1769441433995186290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378677907,"filename":"image_09012025_00_22_02_766869_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c585ee7dc7dcc0ab8bf643c268cb3207.jpg","text":"TemporaryFile(/tmp/multipartBody6363924524863562298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378677907,"filename":"image_09012025_00_22_02_766869_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d1e2b53ad734dfe82516faa40a8c4ddf.jpg","text":"TemporaryFile(/tmp/multipartBody3844334279363800719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378677907,"filename":"image_09012025_00_23_02_861420_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4024e32c07e8ea8eea38330fcdfebdae.jpg","text":"TemporaryFile(/tmp/multipartBody464828261459044119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378677907,"filename":"image_09012025_00_22_02_766869_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2f67a535eb82d62bfa209cc3410b8d88.jpg","text":"TemporaryFile(/tmp/multipartBody8505352458545785929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378677907,"filename":"image_09012025_00_21_02_556978_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327560529","file1":"1327560528","file0":"1327560527","file4":"1327560537","file5":"1327560539","file3":"1327560530"},"map_files_photo_id_array":[{"photo_id":"1327560539","filename":"file5"},{"photo_id":"1327560529","filename":"file2"},{"photo_id":"1327560537","filename":"file4"},{"photo_id":"1327560528","filename":"file1"},{"photo_id":"1327560527","filename":"file0"},{"photo_id":"1327560530","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327560529":["hashtag1","hashtag2"]},{"1327560528":["hashtag1","hashtag2"]},{"1327560537":["hashtag1","hashtag2"]},{"1327560539":["hashtag1","hashtag2"]},{"1327560530":["hashtag1","hashtag2"]},{"1327560527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327560529, 1327560528, 1327560537, 1327560539, 1327560530, 1327560527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.730759382247925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 00:24:21.870983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/23/image_09012025_00_23_02_861420_0001.jpg', '/home/pi/Desktop/images/09012025/00/23/image_09012025_00_23_02_861420_0002.jpg', '/home/pi/Desktop/images/09012025/00/23/image_09012025_00_23_02_861420_0003.jpg', '/home/pi/Desktop/images/09012025/00/24/image_09012025_00_24_03_028638_0000.jpg', '/home/pi/Desktop/images/09012025/00/24/image_09012025_00_24_03_028638_0001.jpg', '/home/pi/Desktop/images/09012025/00/24/image_09012025_00_24_03_028638_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/23/image_09012025_00_23_02_861420_0001.jpg
/home/pi/Desktop/images/09012025/00/23/image_09012025_00_23_02_861420_0002.jpg
/home/pi/Desktop/images/09012025/00/23/image_09012025_00_23_02_861420_0003.jpg
/home/pi/Desktop/images/09012025/00/24/image_09012025_00_24_03_028638_0000.jpg
/home/pi/Desktop/images/09012025/00/24/image_09012025_00_24_03_028638_0001.jpg
/home/pi/Desktop/images/09012025/00/24/image_09012025_00_24_03_028638_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.837010383605957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:24:51.867806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:25:02.649149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/23/image_09012025_00_23_02_861420_0001.jpg', '/home/pi/Desktop/images/09012025/00/23/image_09012025_00_23_02_861420_0002.jpg', '/home/pi/Desktop/images/09012025/00/23/image_09012025_00_23_02_861420_0003.jpg', '/home/pi/Desktop/images/09012025/00/24/image_09012025_00_24_03_028638_0000.jpg', '/home/pi/Desktop/images/09012025/00/24/image_09012025_00_24_03_028638_0001.jpg', '/home/pi/Desktop/images/09012025/00/24/image_09012025_00_24_03_028638_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/23/image_09012025_00_23_02_861420_0001.jpg
/home/pi/Desktop/images/09012025/00/23/image_09012025_00_23_02_861420_0002.jpg
/home/pi/Desktop/images/09012025/00/23/image_09012025_00_23_02_861420_0003.jpg
/home/pi/Desktop/images/09012025/00/24/image_09012025_00_24_03_028638_0000.jpg
/home/pi/Desktop/images/09012025/00/24/image_09012025_00_24_03_028638_0001.jpg
/home/pi/Desktop/images/09012025/00/24/image_09012025_00_24_03_028638_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327560597","1327560594","1327560596","1327560590","1327560584","1327560587"],"photo_ids_order":["1327560584","1327560587","1327560590","1327560594","1327560596","1327560597"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fe3cdda6c3e908d062c20aca51fe67d0.jpg","text":"TemporaryFile(/tmp/multipartBody3101460645333627123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378777971,"filename":"image_09012025_00_24_03_028638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ed4b88b0408f5ddf288f590c4a545893.jpg","text":"TemporaryFile(/tmp/multipartBody5833637006057918659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378777971,"filename":"image_09012025_00_24_03_028638_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2b7fad857be7197b529564c83dfd0be0.jpg","text":"TemporaryFile(/tmp/multipartBody7986271397859968140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378777971,"filename":"image_09012025_00_24_03_028638_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2551c90db997e1b2354638b7516dc52b.jpg","text":"TemporaryFile(/tmp/multipartBody317192971730425982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378777971,"filename":"image_09012025_00_23_02_861420_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1979458cc4b7746678824a0902715724.jpg","text":"TemporaryFile(/tmp/multipartBody4212638829355658663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378777971,"filename":"image_09012025_00_23_02_861420_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4aad94b965a987ebc103908c77b3522b.jpg","text":"TemporaryFile(/tmp/multipartBody9007987520403882842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378777971,"filename":"image_09012025_00_23_02_861420_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327560590","file1":"1327560587","file0":"1327560584","file4":"1327560596","file5":"1327560597","file3":"1327560594"},"map_files_photo_id_array":[{"photo_id":"1327560597","filename":"file5"},{"photo_id":"1327560590","filename":"file2"},{"photo_id":"1327560596","filename":"file4"},{"photo_id":"1327560587","filename":"file1"},{"photo_id":"1327560584","filename":"file0"},{"photo_id":"1327560594","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327560597":["hashtag1","hashtag2"]},{"1327560594":["hashtag1","hashtag2"]},{"1327560596":["hashtag1","hashtag2"]},{"1327560590":["hashtag1","hashtag2"]},{"1327560584":["hashtag1","hashtag2"]},{"1327560587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327560597, 1327560594, 1327560596, 1327560590, 1327560584, 1327560587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.23284387588501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:26:02.733678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/24/image_09012025_00_24_03_028638_0003.jpg', '/home/pi/Desktop/images/09012025/00/25/image_09012025_00_25_02_200587_0000.jpg', '/home/pi/Desktop/images/09012025/00/25/image_09012025_00_25_02_200587_0001.jpg', '/home/pi/Desktop/images/09012025/00/25/image_09012025_00_25_02_200587_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/24/image_09012025_00_24_03_028638_0003.jpg
/home/pi/Desktop/images/09012025/00/25/image_09012025_00_25_02_200587_0000.jpg
/home/pi/Desktop/images/09012025/00/25/image_09012025_00_25_02_200587_0001.jpg
/home/pi/Desktop/images/09012025/00/25/image_09012025_00_25_02_200587_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327560607","1327560600","1327560603","1327560611"],"photo_ids_order":["1327560600","1327560603","1327560607","1327560611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2bbfcddc33d6d50da34ba14f175cf77c.jpg","text":"TemporaryFile(/tmp/multipartBody5879467971965808770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378833095,"filename":"image_09012025_00_25_02_200587_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9176bb1abb6a1fc113fcd868dd8bd082.jpg","text":"TemporaryFile(/tmp/multipartBody2933679729614825892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378833095,"filename":"image_09012025_00_24_03_028638_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1fd7f203a18f4441604585e4131f5c9b.jpg","text":"TemporaryFile(/tmp/multipartBody2583735350719261648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378833095,"filename":"image_09012025_00_25_02_200587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eed662533a21989d4ff3a28804bf754a.jpg","text":"TemporaryFile(/tmp/multipartBody6573542556819303005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378833095,"filename":"image_09012025_00_25_02_200587_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327560607","file1":"1327560603","file0":"1327560600","file3":"1327560611"},"map_files_photo_id_array":[{"photo_id":"1327560607","filename":"file2"},{"photo_id":"1327560603","filename":"file1"},{"photo_id":"1327560600","filename":"file0"},{"photo_id":"1327560611","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327560607":["hashtag1","hashtag2"]},{"1327560600":["hashtag1","hashtag2"]},{"1327560603":["hashtag1","hashtag2"]},{"1327560611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327560607, 1327560600, 1327560603, 1327560611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.983025550842285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:26:52.223789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:27:03.065218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/25/image_09012025_00_25_02_200587_0003.jpg', '/home/pi/Desktop/images/09012025/00/26/image_09012025_00_26_02_393858_0000.jpg', '/home/pi/Desktop/images/09012025/00/26/image_09012025_00_26_02_393858_0001.jpg', '/home/pi/Desktop/images/09012025/00/26/image_09012025_00_26_02_393858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/25/image_09012025_00_25_02_200587_0003.jpg
/home/pi/Desktop/images/09012025/00/26/image_09012025_00_26_02_393858_0000.jpg
/home/pi/Desktop/images/09012025/00/26/image_09012025_00_26_02_393858_0001.jpg
/home/pi/Desktop/images/09012025/00/26/image_09012025_00_26_02_393858_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327560628","1327560620","1327560622","1327560625"],"photo_ids_order":["1327560620","1327560622","1327560625","1327560628"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/faec5d0e5e3917ca53ef385f41c815a6.jpg","text":"TemporaryFile(/tmp/multipartBody2634428633387009038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378893599,"filename":"image_09012025_00_26_02_393858_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4207adc86b4a0a248b931297c81e4cfa.jpg","text":"TemporaryFile(/tmp/multipartBody6874225099628262785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378893599,"filename":"image_09012025_00_25_02_200587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6d1ba97222b473c4fcaba0f69c8d9f95.jpg","text":"TemporaryFile(/tmp/multipartBody65199476908547055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378893599,"filename":"image_09012025_00_26_02_393858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0a70fec8e88b11c7c98a000ac7cc8159.jpg","text":"TemporaryFile(/tmp/multipartBody7204864486504560845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378893599,"filename":"image_09012025_00_26_02_393858_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327560625","file1":"1327560622","file0":"1327560620","file3":"1327560628"},"map_files_photo_id_array":[{"photo_id":"1327560625","filename":"file2"},{"photo_id":"1327560622","filename":"file1"},{"photo_id":"1327560620","filename":"file0"},{"photo_id":"1327560628","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327560628":["hashtag1","hashtag2"]},{"1327560620":["hashtag1","hashtag2"]},{"1327560622":["hashtag1","hashtag2"]},{"1327560625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327560628, 1327560620, 1327560622, 1327560625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.01826739311218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:27:52.400578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:28:02.951123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/26/image_09012025_00_26_02_393858_0003.jpg', '/home/pi/Desktop/images/09012025/00/27/image_09012025_00_27_02_572283_0000.jpg', '/home/pi/Desktop/images/09012025/00/27/image_09012025_00_27_02_572283_0001.jpg', '/home/pi/Desktop/images/09012025/00/27/image_09012025_00_27_02_572283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/26/image_09012025_00_26_02_393858_0003.jpg
/home/pi/Desktop/images/09012025/00/27/image_09012025_00_27_02_572283_0000.jpg
/home/pi/Desktop/images/09012025/00/27/image_09012025_00_27_02_572283_0001.jpg
/home/pi/Desktop/images/09012025/00/27/image_09012025_00_27_02_572283_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327560672","1327560675","1327560669","1327560657"],"photo_ids_order":["1327560657","1327560669","1327560672","1327560675"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6671d454207a51c60fa4cd6bf02a278a.jpg","text":"TemporaryFile(/tmp/multipartBody2231434828269804763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378953536,"filename":"image_09012025_00_27_02_572283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6d206a5a3056510b1145cde3954867ca.jpg","text":"TemporaryFile(/tmp/multipartBody8135206542735872898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378953536,"filename":"image_09012025_00_27_02_572283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f3ec1be2be1beffcebd5f53129fdaad8.jpg","text":"TemporaryFile(/tmp/multipartBody2496176022185882800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378953536,"filename":"image_09012025_00_27_02_572283_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5c5e67525379a85bb395ac1a57f873d5.jpg","text":"TemporaryFile(/tmp/multipartBody4377913993706133553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736378953536,"filename":"image_09012025_00_26_02_393858_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327560672","file1":"1327560669","file0":"1327560657","file3":"1327560675"},"map_files_photo_id_array":[{"photo_id":"1327560672","filename":"file2"},{"photo_id":"1327560669","filename":"file1"},{"photo_id":"1327560657","filename":"file0"},{"photo_id":"1327560675","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327560672":["hashtag1","hashtag2"]},{"1327560675":["hashtag1","hashtag2"]},{"1327560669":["hashtag1","hashtag2"]},{"1327560657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327560672, 1327560675, 1327560669, 1327560657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 66.6284441947937 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 00:29:21.778185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/27/image_09012025_00_27_02_572283_0003.jpg', '/home/pi/Desktop/images/09012025/00/28/image_09012025_00_28_02_877948_0000.jpg', '/home/pi/Desktop/images/09012025/00/28/image_09012025_00_28_02_877948_0001.jpg', '/home/pi/Desktop/images/09012025/00/28/image_09012025_00_28_02_877948_0002.jpg', '/home/pi/Desktop/images/09012025/00/28/image_09012025_00_28_02_877948_0003.jpg', '/home/pi/Desktop/images/09012025/00/29/image_09012025_00_29_02_917160_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/27/image_09012025_00_27_02_572283_0003.jpg
/home/pi/Desktop/images/09012025/00/28/image_09012025_00_28_02_877948_0000.jpg
/home/pi/Desktop/images/09012025/00/28/image_09012025_00_28_02_877948_0001.jpg
/home/pi/Desktop/images/09012025/00/28/image_09012025_00_28_02_877948_0002.jpg
/home/pi/Desktop/images/09012025/00/28/image_09012025_00_28_02_877948_0003.jpg
/home/pi/Desktop/images/09012025/00/29/image_09012025_00_29_02_917160_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327560696","1327560699","1327560693","1327560695","1327560701","1327560704"],"photo_ids_order":["1327560693","1327560695","1327560696","1327560699","1327560701","1327560704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/efb1a54d8f85daa1890fdc83cb853d50.jpg","text":"TemporaryFile(/tmp/multipartBody4450042737233098659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379037052,"filename":"image_09012025_00_28_02_877948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4277bf99b711d40315942d6f2afdc7fe.jpg","text":"TemporaryFile(/tmp/multipartBody2953163426245914294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379037052,"filename":"image_09012025_00_28_02_877948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ae70eb140d856986f34d22c704778153.jpg","text":"TemporaryFile(/tmp/multipartBody5463736396163080896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379037052,"filename":"image_09012025_00_27_02_572283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9333ae074de043512498e88c42da4096.jpg","text":"TemporaryFile(/tmp/multipartBody4712084579716057450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379037052,"filename":"image_09012025_00_28_02_877948_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/da8653e4d57cd0868ff83b9e51cd799e.jpg","text":"TemporaryFile(/tmp/multipartBody5859338333223966026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379037052,"filename":"image_09012025_00_28_02_877948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1ea1e549165064e826a6bf29c6f287ce.jpg","text":"TemporaryFile(/tmp/multipartBody41665665316384497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379037052,"filename":"image_09012025_00_29_02_917160_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327560696","file1":"1327560695","file0":"1327560693","file4":"1327560701","file5":"1327560704","file3":"1327560699"},"map_files_photo_id_array":[{"photo_id":"1327560704","filename":"file5"},{"photo_id":"1327560696","filename":"file2"},{"photo_id":"1327560701","filename":"file4"},{"photo_id":"1327560695","filename":"file1"},{"photo_id":"1327560693","filename":"file0"},{"photo_id":"1327560699","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327560696":["hashtag1","hashtag2"]},{"1327560699":["hashtag1","hashtag2"]},{"1327560693":["hashtag1","hashtag2"]},{"1327560695":["hashtag1","hashtag2"]},{"1327560701":["hashtag1","hashtag2"]},{"1327560704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327560696, 1327560699, 1327560693, 1327560695, 1327560701, 1327560704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.70433330535889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:30:51.925352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:31:02.701972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/29/image_09012025_00_29_02_917160_0001.jpg', '/home/pi/Desktop/images/09012025/00/29/image_09012025_00_29_02_917160_0002.jpg', '/home/pi/Desktop/images/09012025/00/29/image_09012025_00_29_02_917160_0003.jpg', '/home/pi/Desktop/images/09012025/00/30/image_09012025_00_30_02_142276_0000.jpg', '/home/pi/Desktop/images/09012025/00/30/image_09012025_00_30_02_142276_0001.jpg', '/home/pi/Desktop/images/09012025/00/30/image_09012025_00_30_02_142276_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/29/image_09012025_00_29_02_917160_0001.jpg
/home/pi/Desktop/images/09012025/00/29/image_09012025_00_29_02_917160_0002.jpg
/home/pi/Desktop/images/09012025/00/29/image_09012025_00_29_02_917160_0003.jpg
/home/pi/Desktop/images/09012025/00/30/image_09012025_00_30_02_142276_0000.jpg
/home/pi/Desktop/images/09012025/00/30/image_09012025_00_30_02_142276_0001.jpg
/home/pi/Desktop/images/09012025/00/30/image_09012025_00_30_02_142276_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327560727","1327560783","1327560738","1327560731","1327560734","1327560787"],"photo_ids_order":["1327560727","1327560731","1327560734","1327560738","1327560783","1327560787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8e1c24ccb3ee817ad62e2a24a1c8bcac.jpg","text":"TemporaryFile(/tmp/multipartBody4883582664540420445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379138040,"filename":"image_09012025_00_29_02_917160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/825f7f0771d08440c2f4a64524458097.jpg","text":"TemporaryFile(/tmp/multipartBody5352164163971119735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379138040,"filename":"image_09012025_00_30_02_142276_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/28701e4a635ca8df57c60fa2c04d8c43.jpg","text":"TemporaryFile(/tmp/multipartBody7234937768266267999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379138040,"filename":"image_09012025_00_30_02_142276_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a67148a20c934f1fc5292698dffc11d5.jpg","text":"TemporaryFile(/tmp/multipartBody1650747422111670605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379138040,"filename":"image_09012025_00_29_02_917160_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0d9cc2eefe512f2f44ae3f6072041d8b.jpg","text":"TemporaryFile(/tmp/multipartBody2285900928449179242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379138040,"filename":"image_09012025_00_29_02_917160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/34b9a44709d649e77d513aebeb3f9a4d.jpg","text":"TemporaryFile(/tmp/multipartBody7714377968649006128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379138040,"filename":"image_09012025_00_30_02_142276_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327560734","file1":"1327560731","file0":"1327560727","file4":"1327560783","file5":"1327560787","file3":"1327560738"},"map_files_photo_id_array":[{"photo_id":"1327560787","filename":"file5"},{"photo_id":"1327560734","filename":"file2"},{"photo_id":"1327560783","filename":"file4"},{"photo_id":"1327560731","filename":"file1"},{"photo_id":"1327560727","filename":"file0"},{"photo_id":"1327560738","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327560727":["hashtag1","hashtag2"]},{"1327560783":["hashtag1","hashtag2"]},{"1327560738":["hashtag1","hashtag2"]},{"1327560731":["hashtag1","hashtag2"]},{"1327560734":["hashtag1","hashtag2"]},{"1327560787":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327560727, 1327560783, 1327560738, 1327560731, 1327560734, 1327560787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.1463463306427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:32:02.670426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/30/image_09012025_00_30_02_142276_0003.jpg', '/home/pi/Desktop/images/09012025/00/31/image_09012025_00_31_02_272135_0000.jpg', '/home/pi/Desktop/images/09012025/00/31/image_09012025_00_31_02_272135_0001.jpg', '/home/pi/Desktop/images/09012025/00/31/image_09012025_00_31_02_272135_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/30/image_09012025_00_30_02_142276_0003.jpg
/home/pi/Desktop/images/09012025/00/31/image_09012025_00_31_02_272135_0000.jpg
/home/pi/Desktop/images/09012025/00/31/image_09012025_00_31_02_272135_0001.jpg
/home/pi/Desktop/images/09012025/00/31/image_09012025_00_31_02_272135_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327560910","1327560960","1327561064","1327560903"],"photo_ids_order":["1327560903","1327560910","1327560960","1327561064"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6ac4b4dd2a1854e52c9e5c2dee35df30.jpg","text":"TemporaryFile(/tmp/multipartBody5012957684041128864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379193265,"filename":"image_09012025_00_31_02_272135_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a19ac33739ace00726459b1ff88f1c49.jpg","text":"TemporaryFile(/tmp/multipartBody6568324725806041300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379193265,"filename":"image_09012025_00_31_02_272135_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b274890163b5c2b966c9d04993a85c07.jpg","text":"TemporaryFile(/tmp/multipartBody8578732813850526733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379193265,"filename":"image_09012025_00_31_02_272135_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/13f0ce2c0d360dfc949476fbdb5c97eb.jpg","text":"TemporaryFile(/tmp/multipartBody7907209351889041704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379193265,"filename":"image_09012025_00_30_02_142276_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327560960","file1":"1327560910","file0":"1327560903","file3":"1327561064"},"map_files_photo_id_array":[{"photo_id":"1327560960","filename":"file2"},{"photo_id":"1327560910","filename":"file1"},{"photo_id":"1327560903","filename":"file0"},{"photo_id":"1327561064","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327560910":["hashtag1","hashtag2"]},{"1327560960":["hashtag1","hashtag2"]},{"1327561064":["hashtag1","hashtag2"]},{"1327560903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327560910, 1327560960, 1327561064, 1327560903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.205310344696045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:32:52.283686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:33:03.018707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/31/image_09012025_00_31_02_272135_0003.jpg', '/home/pi/Desktop/images/09012025/00/32/image_09012025_00_32_02_504782_0000.jpg', '/home/pi/Desktop/images/09012025/00/32/image_09012025_00_32_02_504782_0001.jpg', '/home/pi/Desktop/images/09012025/00/32/image_09012025_00_32_02_504782_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/31/image_09012025_00_31_02_272135_0003.jpg
/home/pi/Desktop/images/09012025/00/32/image_09012025_00_32_02_504782_0000.jpg
/home/pi/Desktop/images/09012025/00/32/image_09012025_00_32_02_504782_0001.jpg
/home/pi/Desktop/images/09012025/00/32/image_09012025_00_32_02_504782_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327561488","1327561429","1327561312","1327561491"],"photo_ids_order":["1327561312","1327561429","1327561488","1327561491"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2bb61c98cf7ff583ce8bfd959ebedd87.jpg","text":"TemporaryFile(/tmp/multipartBody2402380511108664121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379253680,"filename":"image_09012025_00_32_02_504782_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b713f7c84aa3532203ffe5e31dcd33c4.jpg","text":"TemporaryFile(/tmp/multipartBody6504178898935428440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379253680,"filename":"image_09012025_00_32_02_504782_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f40e3ad10e3f610ebafa30de437df746.jpg","text":"TemporaryFile(/tmp/multipartBody2785825426534504610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379253680,"filename":"image_09012025_00_31_02_272135_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9bbccc6102d0a4165b82f3047eb692c3.jpg","text":"TemporaryFile(/tmp/multipartBody359555552782722133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379253680,"filename":"image_09012025_00_32_02_504782_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327561488","file1":"1327561429","file0":"1327561312","file3":"1327561491"},"map_files_photo_id_array":[{"photo_id":"1327561488","filename":"file2"},{"photo_id":"1327561429","filename":"file1"},{"photo_id":"1327561312","filename":"file0"},{"photo_id":"1327561491","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327561488":["hashtag1","hashtag2"]},{"1327561429":["hashtag1","hashtag2"]},{"1327561312":["hashtag1","hashtag2"]},{"1327561491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327561488, 1327561429, 1327561312, 1327561491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.499404430389404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:33:52.480554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:34:03.172959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/32/image_09012025_00_32_02_504782_0003.jpg', '/home/pi/Desktop/images/09012025/00/33/image_09012025_00_33_02_676226_0000.jpg', '/home/pi/Desktop/images/09012025/00/33/image_09012025_00_33_02_676226_0001.jpg', '/home/pi/Desktop/images/09012025/00/33/image_09012025_00_33_02_676226_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/32/image_09012025_00_32_02_504782_0003.jpg
/home/pi/Desktop/images/09012025/00/33/image_09012025_00_33_02_676226_0000.jpg
/home/pi/Desktop/images/09012025/00/33/image_09012025_00_33_02_676226_0001.jpg
/home/pi/Desktop/images/09012025/00/33/image_09012025_00_33_02_676226_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327562084","1327561892","1327561992","1327561819"],"photo_ids_order":["1327561819","1327561892","1327561992","1327562084"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b2867ea59384affb9b61da62ea89e25d.jpg","text":"TemporaryFile(/tmp/multipartBody7562581337066138407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379313597,"filename":"image_09012025_00_33_02_676226_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/85a0445d924e5a49046e9c678a95ff76.jpg","text":"TemporaryFile(/tmp/multipartBody2129025126624207173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379313597,"filename":"image_09012025_00_33_02_676226_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b89e32498d2fed41466f0af281d30688.jpg","text":"TemporaryFile(/tmp/multipartBody2747098507740447520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379313597,"filename":"image_09012025_00_33_02_676226_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/77fb0cff5cfe1760463dd03df9e65e39.jpg","text":"TemporaryFile(/tmp/multipartBody819028130427116132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379313597,"filename":"image_09012025_00_32_02_504782_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327561992","file1":"1327561892","file0":"1327561819","file3":"1327562084"},"map_files_photo_id_array":[{"photo_id":"1327561992","filename":"file2"},{"photo_id":"1327561892","filename":"file1"},{"photo_id":"1327561819","filename":"file0"},{"photo_id":"1327562084","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327562084":["hashtag1","hashtag2"]},{"1327561892":["hashtag1","hashtag2"]},{"1327561992":["hashtag1","hashtag2"]},{"1327561819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327562084, 1327561892, 1327561992, 1327561819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.05378437042236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:34:52.676962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:35:02.561702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/33/image_09012025_00_33_02_676226_0003.jpg', '/home/pi/Desktop/images/09012025/00/34/image_09012025_00_34_02_861651_0000.jpg', '/home/pi/Desktop/images/09012025/00/34/image_09012025_00_34_02_861651_0001.jpg', '/home/pi/Desktop/images/09012025/00/34/image_09012025_00_34_02_861651_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/33/image_09012025_00_33_02_676226_0003.jpg
/home/pi/Desktop/images/09012025/00/34/image_09012025_00_34_02_861651_0000.jpg
/home/pi/Desktop/images/09012025/00/34/image_09012025_00_34_02_861651_0001.jpg
/home/pi/Desktop/images/09012025/00/34/image_09012025_00_34_02_861651_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327562297","1327562293","1327562287","1327562391"],"photo_ids_order":["1327562287","1327562293","1327562297","1327562391"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e8fefa907badaacf2d7397037b49c5a5.jpg","text":"TemporaryFile(/tmp/multipartBody1165660721820580764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379373033,"filename":"image_09012025_00_34_02_861651_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ceb5fb1efed17c157e5fca017b960975.jpg","text":"TemporaryFile(/tmp/multipartBody3049951254516564646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379373033,"filename":"image_09012025_00_34_02_861651_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7c676c04ad57a9bd47b8f0e694c16f01.jpg","text":"TemporaryFile(/tmp/multipartBody886008851303701941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379373033,"filename":"image_09012025_00_33_02_676226_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5b6a67083c1e73da01f8c55a1d0009d4.jpg","text":"TemporaryFile(/tmp/multipartBody4161705006823021429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379373033,"filename":"image_09012025_00_34_02_861651_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327562297","file1":"1327562293","file0":"1327562287","file3":"1327562391"},"map_files_photo_id_array":[{"photo_id":"1327562297","filename":"file2"},{"photo_id":"1327562293","filename":"file1"},{"photo_id":"1327562287","filename":"file0"},{"photo_id":"1327562391","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327562297":["hashtag1","hashtag2"]},{"1327562293":["hashtag1","hashtag2"]},{"1327562287":["hashtag1","hashtag2"]},{"1327562391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327562297, 1327562293, 1327562287, 1327562391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60862588882446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:35:51.860908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:36:02.498951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/34/image_09012025_00_34_02_861651_0003.jpg', '/home/pi/Desktop/images/09012025/00/35/image_09012025_00_35_03_041466_0000.jpg', '/home/pi/Desktop/images/09012025/00/35/image_09012025_00_35_03_041466_0001.jpg', '/home/pi/Desktop/images/09012025/00/35/image_09012025_00_35_03_041466_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/34/image_09012025_00_34_02_861651_0003.jpg
/home/pi/Desktop/images/09012025/00/35/image_09012025_00_35_03_041466_0000.jpg
/home/pi/Desktop/images/09012025/00/35/image_09012025_00_35_03_041466_0001.jpg
/home/pi/Desktop/images/09012025/00/35/image_09012025_00_35_03_041466_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327562628","1327562456","1327562408","1327562625"],"photo_ids_order":["1327562408","1327562456","1327562625","1327562628"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b8af9ff8d56d9e955d9b6cd6bb9e04f.jpg","text":"TemporaryFile(/tmp/multipartBody940470412338377464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379432936,"filename":"image_09012025_00_35_03_041466_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cf772fda778d8f213cfebc8b7010533d.jpg","text":"TemporaryFile(/tmp/multipartBody7379209695615475382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379432936,"filename":"image_09012025_00_35_03_041466_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dfc1a5f3c67baf0a27758f44c51f6ded.jpg","text":"TemporaryFile(/tmp/multipartBody1840685502235876454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379432936,"filename":"image_09012025_00_34_02_861651_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5fcc0178eb5c0a7389f3cd6dd829c46e.jpg","text":"TemporaryFile(/tmp/multipartBody3359489052713201729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379432936,"filename":"image_09012025_00_35_03_041466_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327562625","file1":"1327562456","file0":"1327562408","file3":"1327562628"},"map_files_photo_id_array":[{"photo_id":"1327562625","filename":"file2"},{"photo_id":"1327562456","filename":"file1"},{"photo_id":"1327562408","filename":"file0"},{"photo_id":"1327562628","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327562628":["hashtag1","hashtag2"]},{"1327562456":["hashtag1","hashtag2"]},{"1327562408":["hashtag1","hashtag2"]},{"1327562625":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327562628, 1327562456, 1327562408, 1327562625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.50966930389404 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:36:52.005568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:37:02.837080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/35/image_09012025_00_35_03_041466_0003.jpg', '/home/pi/Desktop/images/09012025/00/36/image_09012025_00_36_02_273403_0000.jpg', '/home/pi/Desktop/images/09012025/00/36/image_09012025_00_36_02_273403_0001.jpg', '/home/pi/Desktop/images/09012025/00/36/image_09012025_00_36_02_273403_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/35/image_09012025_00_35_03_041466_0003.jpg
/home/pi/Desktop/images/09012025/00/36/image_09012025_00_36_02_273403_0000.jpg
/home/pi/Desktop/images/09012025/00/36/image_09012025_00_36_02_273403_0001.jpg
/home/pi/Desktop/images/09012025/00/36/image_09012025_00_36_02_273403_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.99201512336731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 00:37:22.134324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/35/image_09012025_00_35_03_041466_0003.jpg', '/home/pi/Desktop/images/09012025/00/36/image_09012025_00_36_02_273403_0000.jpg', '/home/pi/Desktop/images/09012025/00/36/image_09012025_00_36_02_273403_0001.jpg', '/home/pi/Desktop/images/09012025/00/36/image_09012025_00_36_02_273403_0002.jpg', '/home/pi/Desktop/images/09012025/00/36/image_09012025_00_36_02_273403_0003.jpg', '/home/pi/Desktop/images/09012025/00/37/image_09012025_00_37_02_394009_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/35/image_09012025_00_35_03_041466_0003.jpg
/home/pi/Desktop/images/09012025/00/36/image_09012025_00_36_02_273403_0000.jpg
/home/pi/Desktop/images/09012025/00/36/image_09012025_00_36_02_273403_0001.jpg
/home/pi/Desktop/images/09012025/00/36/image_09012025_00_36_02_273403_0002.jpg
/home/pi/Desktop/images/09012025/00/36/image_09012025_00_36_02_273403_0003.jpg
/home/pi/Desktop/images/09012025/00/37/image_09012025_00_37_02_394009_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563038","1327563106","1327563013","1327563039","1327563036","1327563086"],"photo_ids_order":["1327563013","1327563036","1327563038","1327563039","1327563086","1327563106"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/126427d941b2b7244eb4f5fb1ef190ba.jpg","text":"TemporaryFile(/tmp/multipartBody5330473546980790554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379517411,"filename":"image_09012025_00_36_02_273403_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/404f7cfaf0e38e33e8ca6637e1e7c882.jpg","text":"TemporaryFile(/tmp/multipartBody6891224104869752032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379517411,"filename":"image_09012025_00_37_02_394009_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7a23ff24930ea91d16876cbb512f72b8.jpg","text":"TemporaryFile(/tmp/multipartBody8453133923469353979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379517411,"filename":"image_09012025_00_35_03_041466_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c778c86f8bc50009f84f73f0da158483.jpg","text":"TemporaryFile(/tmp/multipartBody2384700571398924127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379517411,"filename":"image_09012025_00_36_02_273403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/55b4e871d69a9a702d8926e0c57170e6.jpg","text":"TemporaryFile(/tmp/multipartBody1201541750002436326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379517411,"filename":"image_09012025_00_36_02_273403_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a4b31fd89b4ee952ab9a7aa7a40e104b.jpg","text":"TemporaryFile(/tmp/multipartBody2287204874648032815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379517411,"filename":"image_09012025_00_36_02_273403_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563038","file1":"1327563036","file0":"1327563013","file4":"1327563086","file5":"1327563106","file3":"1327563039"},"map_files_photo_id_array":[{"photo_id":"1327563106","filename":"file5"},{"photo_id":"1327563038","filename":"file2"},{"photo_id":"1327563086","filename":"file4"},{"photo_id":"1327563036","filename":"file1"},{"photo_id":"1327563013","filename":"file0"},{"photo_id":"1327563039","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563038":["hashtag1","hashtag2"]},{"1327563106":["hashtag1","hashtag2"]},{"1327563013":["hashtag1","hashtag2"]},{"1327563039":["hashtag1","hashtag2"]},{"1327563036":["hashtag1","hashtag2"]},{"1327563086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563038, 1327563106, 1327563013, 1327563039, 1327563036, 1327563086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.52064228057861 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 00:38:22.377133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/37/image_09012025_00_37_02_394009_0001.jpg', '/home/pi/Desktop/images/09012025/00/37/image_09012025_00_37_02_394009_0002.jpg', '/home/pi/Desktop/images/09012025/00/37/image_09012025_00_37_02_394009_0003.jpg', '/home/pi/Desktop/images/09012025/00/38/image_09012025_00_38_02_563766_0000.jpg', '/home/pi/Desktop/images/09012025/00/38/image_09012025_00_38_02_563766_0001.jpg', '/home/pi/Desktop/images/09012025/00/38/image_09012025_00_38_02_563766_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/37/image_09012025_00_37_02_394009_0001.jpg
/home/pi/Desktop/images/09012025/00/37/image_09012025_00_37_02_394009_0002.jpg
/home/pi/Desktop/images/09012025/00/37/image_09012025_00_37_02_394009_0003.jpg
/home/pi/Desktop/images/09012025/00/38/image_09012025_00_38_02_563766_0000.jpg
/home/pi/Desktop/images/09012025/00/38/image_09012025_00_38_02_563766_0001.jpg
/home/pi/Desktop/images/09012025/00/38/image_09012025_00_38_02_563766_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 15.015177965164185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:38:52.470294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:39:03.401918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/37/image_09012025_00_37_02_394009_0001.jpg', '/home/pi/Desktop/images/09012025/00/37/image_09012025_00_37_02_394009_0002.jpg', '/home/pi/Desktop/images/09012025/00/37/image_09012025_00_37_02_394009_0003.jpg', '/home/pi/Desktop/images/09012025/00/38/image_09012025_00_38_02_563766_0000.jpg', '/home/pi/Desktop/images/09012025/00/38/image_09012025_00_38_02_563766_0001.jpg', '/home/pi/Desktop/images/09012025/00/38/image_09012025_00_38_02_563766_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/37/image_09012025_00_37_02_394009_0001.jpg
/home/pi/Desktop/images/09012025/00/37/image_09012025_00_37_02_394009_0002.jpg
/home/pi/Desktop/images/09012025/00/37/image_09012025_00_37_02_394009_0003.jpg
/home/pi/Desktop/images/09012025/00/38/image_09012025_00_38_02_563766_0000.jpg
/home/pi/Desktop/images/09012025/00/38/image_09012025_00_38_02_563766_0001.jpg
/home/pi/Desktop/images/09012025/00/38/image_09012025_00_38_02_563766_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563149","1327563143","1327563146","1327563154","1327563153","1327563152"],"photo_ids_order":["1327563143","1327563146","1327563149","1327563152","1327563153","1327563154"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e2a57fb53891cbc7e8f4d1c356210324.jpg","text":"TemporaryFile(/tmp/multipartBody932191021740745754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379618849,"filename":"image_09012025_00_37_02_394009_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/19973a7dbba710fc7be6d25d9fdc8368.jpg","text":"TemporaryFile(/tmp/multipartBody6769436821731141937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379618849,"filename":"image_09012025_00_37_02_394009_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d4e4b4f94c5e3f661fd4c8edb0aed4cf.jpg","text":"TemporaryFile(/tmp/multipartBody2182249547641120107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379618849,"filename":"image_09012025_00_37_02_394009_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/43d00e3f06b0d1c1e4e06fcc748348b6.jpg","text":"TemporaryFile(/tmp/multipartBody4341985397312898367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379618849,"filename":"image_09012025_00_38_02_563766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1af29192a768f4628fd7cef84764db2f.jpg","text":"TemporaryFile(/tmp/multipartBody7111961969975226056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379618849,"filename":"image_09012025_00_38_02_563766_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0732a692b1449fe5f2097ed394cd0007.jpg","text":"TemporaryFile(/tmp/multipartBody6034539820742350039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379618849,"filename":"image_09012025_00_38_02_563766_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563149","file1":"1327563146","file0":"1327563143","file4":"1327563153","file5":"1327563154","file3":"1327563152"},"map_files_photo_id_array":[{"photo_id":"1327563154","filename":"file5"},{"photo_id":"1327563149","filename":"file2"},{"photo_id":"1327563153","filename":"file4"},{"photo_id":"1327563146","filename":"file1"},{"photo_id":"1327563143","filename":"file0"},{"photo_id":"1327563152","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563149":["hashtag1","hashtag2"]},{"1327563143":["hashtag1","hashtag2"]},{"1327563146":["hashtag1","hashtag2"]},{"1327563154":["hashtag1","hashtag2"]},{"1327563153":["hashtag1","hashtag2"]},{"1327563152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563149, 1327563143, 1327563146, 1327563154, 1327563153, 1327563152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.446502923965454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 00:40:21.839050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/38/image_09012025_00_38_02_563766_0003.jpg', '/home/pi/Desktop/images/09012025/00/39/image_09012025_00_39_02_856378_0000.jpg', '/home/pi/Desktop/images/09012025/00/39/image_09012025_00_39_02_856378_0001.jpg', '/home/pi/Desktop/images/09012025/00/39/image_09012025_00_39_02_856378_0002.jpg', '/home/pi/Desktop/images/09012025/00/39/image_09012025_00_39_02_856378_0003.jpg', '/home/pi/Desktop/images/09012025/00/40/image_09012025_00_40_03_127317_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/38/image_09012025_00_38_02_563766_0003.jpg
/home/pi/Desktop/images/09012025/00/39/image_09012025_00_39_02_856378_0000.jpg
/home/pi/Desktop/images/09012025/00/39/image_09012025_00_39_02_856378_0001.jpg
/home/pi/Desktop/images/09012025/00/39/image_09012025_00_39_02_856378_0002.jpg
/home/pi/Desktop/images/09012025/00/39/image_09012025_00_39_02_856378_0003.jpg
/home/pi/Desktop/images/09012025/00/40/image_09012025_00_40_03_127317_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.892821311950684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:40:51.853375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:41:02.694439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/38/image_09012025_00_38_02_563766_0003.jpg', '/home/pi/Desktop/images/09012025/00/39/image_09012025_00_39_02_856378_0000.jpg', '/home/pi/Desktop/images/09012025/00/39/image_09012025_00_39_02_856378_0001.jpg', '/home/pi/Desktop/images/09012025/00/39/image_09012025_00_39_02_856378_0002.jpg', '/home/pi/Desktop/images/09012025/00/39/image_09012025_00_39_02_856378_0003.jpg', '/home/pi/Desktop/images/09012025/00/40/image_09012025_00_40_03_127317_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/38/image_09012025_00_38_02_563766_0003.jpg
/home/pi/Desktop/images/09012025/00/39/image_09012025_00_39_02_856378_0000.jpg
/home/pi/Desktop/images/09012025/00/39/image_09012025_00_39_02_856378_0001.jpg
/home/pi/Desktop/images/09012025/00/39/image_09012025_00_39_02_856378_0002.jpg
/home/pi/Desktop/images/09012025/00/39/image_09012025_00_39_02_856378_0003.jpg
/home/pi/Desktop/images/09012025/00/40/image_09012025_00_40_03_127317_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563203","1327563206","1327563205","1327563183","1327563207","1327563185"],"photo_ids_order":["1327563183","1327563185","1327563203","1327563205","1327563206","1327563207"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dad0ae4aa35065f60404e517018c940c.jpg","text":"TemporaryFile(/tmp/multipartBody1373875660222601556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379738020,"filename":"image_09012025_00_39_02_856378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4b2875ea0438b241244680ff93affe13.jpg","text":"TemporaryFile(/tmp/multipartBody2239272455712363341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379738020,"filename":"image_09012025_00_39_02_856378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5667eb79d91052e369c0d92a757fc2cd.jpg","text":"TemporaryFile(/tmp/multipartBody5374346350098709149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379738020,"filename":"image_09012025_00_39_02_856378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/691463f2f66de3b05ba9441511639ba3.jpg","text":"TemporaryFile(/tmp/multipartBody9013436960008567182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379738020,"filename":"image_09012025_00_38_02_563766_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/50085f11dae7545f276bd01e076205c9.jpg","text":"TemporaryFile(/tmp/multipartBody1178896227402982306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379738020,"filename":"image_09012025_00_40_03_127317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aa8d8a1e86e780d2cae8ae9ab68ceabb.jpg","text":"TemporaryFile(/tmp/multipartBody6774572721560917519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379738020,"filename":"image_09012025_00_39_02_856378_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563203","file1":"1327563185","file0":"1327563183","file4":"1327563206","file5":"1327563207","file3":"1327563205"},"map_files_photo_id_array":[{"photo_id":"1327563207","filename":"file5"},{"photo_id":"1327563203","filename":"file2"},{"photo_id":"1327563206","filename":"file4"},{"photo_id":"1327563185","filename":"file1"},{"photo_id":"1327563183","filename":"file0"},{"photo_id":"1327563205","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563203":["hashtag1","hashtag2"]},{"1327563206":["hashtag1","hashtag2"]},{"1327563205":["hashtag1","hashtag2"]},{"1327563183":["hashtag1","hashtag2"]},{"1327563207":["hashtag1","hashtag2"]},{"1327563185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563203, 1327563206, 1327563205, 1327563183, 1327563207, 1327563185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.46488904953003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:42:02.604730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/40/image_09012025_00_40_03_127317_0001.jpg', '/home/pi/Desktop/images/09012025/00/40/image_09012025_00_40_03_127317_0002.jpg', '/home/pi/Desktop/images/09012025/00/40/image_09012025_00_40_03_127317_0003.jpg', '/home/pi/Desktop/images/09012025/00/41/image_09012025_00_41_02_195377_0000.jpg', '/home/pi/Desktop/images/09012025/00/41/image_09012025_00_41_02_195377_0001.jpg', '/home/pi/Desktop/images/09012025/00/41/image_09012025_00_41_02_195377_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/40/image_09012025_00_40_03_127317_0001.jpg
/home/pi/Desktop/images/09012025/00/40/image_09012025_00_40_03_127317_0002.jpg
/home/pi/Desktop/images/09012025/00/40/image_09012025_00_40_03_127317_0003.jpg
/home/pi/Desktop/images/09012025/00/41/image_09012025_00_41_02_195377_0000.jpg
/home/pi/Desktop/images/09012025/00/41/image_09012025_00_41_02_195377_0001.jpg
/home/pi/Desktop/images/09012025/00/41/image_09012025_00_41_02_195377_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563245","1327563311","1327563214","1327563291","1327563211","1327563216"],"photo_ids_order":["1327563211","1327563214","1327563216","1327563245","1327563291","1327563311"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0fb3dbada1b30cb4cd2020121d6616ce.jpg","text":"TemporaryFile(/tmp/multipartBody7867431246730646362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379797945,"filename":"image_09012025_00_41_02_195377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6050c93f484f922bf099cc2f9dc372c5.jpg","text":"TemporaryFile(/tmp/multipartBody793361309542723064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379797945,"filename":"image_09012025_00_41_02_195377_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/583415421019aec8df141cd84fe92c6c.jpg","text":"TemporaryFile(/tmp/multipartBody3133677902421699635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379797945,"filename":"image_09012025_00_40_03_127317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/08689ea13ecd1bab97bb0cbe3bd2b60a.jpg","text":"TemporaryFile(/tmp/multipartBody8201014201089130309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379797945,"filename":"image_09012025_00_41_02_195377_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ceb975e0d84f896df3f576ab9d30984d.jpg","text":"TemporaryFile(/tmp/multipartBody300923673151990757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379797945,"filename":"image_09012025_00_40_03_127317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2eb4b4ef78833a9d9f3977d8d38a7dc2.jpg","text":"TemporaryFile(/tmp/multipartBody2371621164053333485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379797945,"filename":"image_09012025_00_40_03_127317_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563216","file1":"1327563214","file0":"1327563211","file4":"1327563291","file5":"1327563311","file3":"1327563245"},"map_files_photo_id_array":[{"photo_id":"1327563311","filename":"file5"},{"photo_id":"1327563216","filename":"file2"},{"photo_id":"1327563291","filename":"file4"},{"photo_id":"1327563214","filename":"file1"},{"photo_id":"1327563211","filename":"file0"},{"photo_id":"1327563245","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563245":["hashtag1","hashtag2"]},{"1327563311":["hashtag1","hashtag2"]},{"1327563214":["hashtag1","hashtag2"]},{"1327563291":["hashtag1","hashtag2"]},{"1327563211":["hashtag1","hashtag2"]},{"1327563216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563245, 1327563311, 1327563214, 1327563291, 1327563211, 1327563216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.46041297912598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:43:03.018282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/41/image_09012025_00_41_02_195377_0003.jpg', '/home/pi/Desktop/images/09012025/00/42/image_09012025_00_42_02_491801_0000.jpg', '/home/pi/Desktop/images/09012025/00/42/image_09012025_00_42_02_491801_0001.jpg', '/home/pi/Desktop/images/09012025/00/42/image_09012025_00_42_02_491801_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/41/image_09012025_00_41_02_195377_0003.jpg
/home/pi/Desktop/images/09012025/00/42/image_09012025_00_42_02_491801_0000.jpg
/home/pi/Desktop/images/09012025/00/42/image_09012025_00_42_02_491801_0001.jpg
/home/pi/Desktop/images/09012025/00/42/image_09012025_00_42_02_491801_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563320","1327563314","1327563316","1327563318"],"photo_ids_order":["1327563314","1327563316","1327563318","1327563320"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f5ac3ae1ed85f86cd7f4a47a270242e0.jpg","text":"TemporaryFile(/tmp/multipartBody2041621746280223610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379853661,"filename":"image_09012025_00_42_02_491801_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0e59b7340fa20e6d0e9a856d7b8d64df.jpg","text":"TemporaryFile(/tmp/multipartBody4209990814738233128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379853661,"filename":"image_09012025_00_41_02_195377_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8c73fc8737eae75515e869a8ce3bbed8.jpg","text":"TemporaryFile(/tmp/multipartBody5970916175191689277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379853661,"filename":"image_09012025_00_42_02_491801_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4724857078dcdd9d32c4dcd6898b6a58.jpg","text":"TemporaryFile(/tmp/multipartBody222001528710505612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379853661,"filename":"image_09012025_00_42_02_491801_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563318","file1":"1327563316","file0":"1327563314","file3":"1327563320"},"map_files_photo_id_array":[{"photo_id":"1327563318","filename":"file2"},{"photo_id":"1327563316","filename":"file1"},{"photo_id":"1327563314","filename":"file0"},{"photo_id":"1327563320","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563320":["hashtag1","hashtag2"]},{"1327563314":["hashtag1","hashtag2"]},{"1327563316":["hashtag1","hashtag2"]},{"1327563318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563320, 1327563314, 1327563316, 1327563318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.70936107635498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:43:52.468029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:44:03.084926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/42/image_09012025_00_42_02_491801_0003.jpg', '/home/pi/Desktop/images/09012025/00/43/image_09012025_00_43_02_662831_0000.jpg', '/home/pi/Desktop/images/09012025/00/43/image_09012025_00_43_02_662831_0001.jpg', '/home/pi/Desktop/images/09012025/00/43/image_09012025_00_43_02_662831_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/42/image_09012025_00_42_02_491801_0003.jpg
/home/pi/Desktop/images/09012025/00/43/image_09012025_00_43_02_662831_0000.jpg
/home/pi/Desktop/images/09012025/00/43/image_09012025_00_43_02_662831_0001.jpg
/home/pi/Desktop/images/09012025/00/43/image_09012025_00_43_02_662831_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563329","1327563343","1327563339","1327563333"],"photo_ids_order":["1327563329","1327563333","1327563339","1327563343"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/785dcf168767160a98d64b0b0dd2c1eb.jpg","text":"TemporaryFile(/tmp/multipartBody8533524431431863068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379913569,"filename":"image_09012025_00_42_02_491801_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/29c6eaa9aebfaddaa36dec8e14560a08.jpg","text":"TemporaryFile(/tmp/multipartBody5164891365501874735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379913569,"filename":"image_09012025_00_43_02_662831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3dbe5fc9fef47ec6ec5af5745289bc91.jpg","text":"TemporaryFile(/tmp/multipartBody1868124338999703146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379913569,"filename":"image_09012025_00_43_02_662831_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2d4f1a60777e33b777be70ea26e5216c.jpg","text":"TemporaryFile(/tmp/multipartBody3465331438255631761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379913569,"filename":"image_09012025_00_43_02_662831_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563339","file1":"1327563333","file0":"1327563329","file3":"1327563343"},"map_files_photo_id_array":[{"photo_id":"1327563339","filename":"file2"},{"photo_id":"1327563333","filename":"file1"},{"photo_id":"1327563329","filename":"file0"},{"photo_id":"1327563343","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563329":["hashtag1","hashtag2"]},{"1327563343":["hashtag1","hashtag2"]},{"1327563339":["hashtag1","hashtag2"]},{"1327563333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563329, 1327563343, 1327563339, 1327563333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.173675298690796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:44:52.673221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:45:02.504383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/43/image_09012025_00_43_02_662831_0003.jpg', '/home/pi/Desktop/images/09012025/00/44/image_09012025_00_44_02_788329_0000.jpg', '/home/pi/Desktop/images/09012025/00/44/image_09012025_00_44_02_788329_0001.jpg', '/home/pi/Desktop/images/09012025/00/44/image_09012025_00_44_02_788329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/43/image_09012025_00_43_02_662831_0003.jpg
/home/pi/Desktop/images/09012025/00/44/image_09012025_00_44_02_788329_0000.jpg
/home/pi/Desktop/images/09012025/00/44/image_09012025_00_44_02_788329_0001.jpg
/home/pi/Desktop/images/09012025/00/44/image_09012025_00_44_02_788329_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563374","1327563367","1327563384","1327563387"],"photo_ids_order":["1327563367","1327563374","1327563384","1327563387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b45fe595598f564a69cd6162dc7d2ce6.jpg","text":"TemporaryFile(/tmp/multipartBody7248439604428646838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379972970,"filename":"image_09012025_00_44_02_788329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6f7bdb3f196ef682b87ba393932b95de.jpg","text":"TemporaryFile(/tmp/multipartBody7107238874465774227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379972970,"filename":"image_09012025_00_43_02_662831_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/220ca83bd97f72831aa72b95f010c487.jpg","text":"TemporaryFile(/tmp/multipartBody1359467577434393339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379972970,"filename":"image_09012025_00_44_02_788329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c7d02161b4b8bc670fb0e17ec280b985.jpg","text":"TemporaryFile(/tmp/multipartBody5949459844849055377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736379972970,"filename":"image_09012025_00_44_02_788329_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563384","file1":"1327563374","file0":"1327563367","file3":"1327563387"},"map_files_photo_id_array":[{"photo_id":"1327563384","filename":"file2"},{"photo_id":"1327563374","filename":"file1"},{"photo_id":"1327563367","filename":"file0"},{"photo_id":"1327563387","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563374":["hashtag1","hashtag2"]},{"1327563367":["hashtag1","hashtag2"]},{"1327563384":["hashtag1","hashtag2"]},{"1327563387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563374, 1327563367, 1327563384, 1327563387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.363285064697266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:45:51.841456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:46:02.567993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/44/image_09012025_00_44_02_788329_0003.jpg', '/home/pi/Desktop/images/09012025/00/45/image_09012025_00_45_03_011666_0000.jpg', '/home/pi/Desktop/images/09012025/00/45/image_09012025_00_45_03_011666_0001.jpg', '/home/pi/Desktop/images/09012025/00/45/image_09012025_00_45_03_011666_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/44/image_09012025_00_44_02_788329_0003.jpg
/home/pi/Desktop/images/09012025/00/45/image_09012025_00_45_03_011666_0000.jpg
/home/pi/Desktop/images/09012025/00/45/image_09012025_00_45_03_011666_0001.jpg
/home/pi/Desktop/images/09012025/00/45/image_09012025_00_45_03_011666_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563401","1327563393","1327563395","1327563398"],"photo_ids_order":["1327563393","1327563395","1327563398","1327563401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4345ac6be87639524896e89abc91fc24.jpg","text":"TemporaryFile(/tmp/multipartBody5833863121024413642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380032934,"filename":"image_09012025_00_45_03_011666_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/724610bf9a4869e473db2b0159eec69b.jpg","text":"TemporaryFile(/tmp/multipartBody1060102183210218674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380032934,"filename":"image_09012025_00_44_02_788329_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d11155c6276067f54669464f97fbe8fc.jpg","text":"TemporaryFile(/tmp/multipartBody4076694797951265320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380032934,"filename":"image_09012025_00_45_03_011666_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/19a1d6ded515b12e52fbd21f24ed7ccb.jpg","text":"TemporaryFile(/tmp/multipartBody8938516292062015223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380032934,"filename":"image_09012025_00_45_03_011666_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563398","file1":"1327563395","file0":"1327563393","file3":"1327563401"},"map_files_photo_id_array":[{"photo_id":"1327563398","filename":"file2"},{"photo_id":"1327563395","filename":"file1"},{"photo_id":"1327563393","filename":"file0"},{"photo_id":"1327563401","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563401":["hashtag1","hashtag2"]},{"1327563393":["hashtag1","hashtag2"]},{"1327563395":["hashtag1","hashtag2"]},{"1327563398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563401, 1327563393, 1327563395, 1327563398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44666075706482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:46:52.047307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:47:02.999775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/45/image_09012025_00_45_03_011666_0003.jpg', '/home/pi/Desktop/images/09012025/00/46/image_09012025_00_46_02_204581_0000.jpg', '/home/pi/Desktop/images/09012025/00/46/image_09012025_00_46_02_204581_0001.jpg', '/home/pi/Desktop/images/09012025/00/46/image_09012025_00_46_02_204581_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/45/image_09012025_00_45_03_011666_0003.jpg
/home/pi/Desktop/images/09012025/00/46/image_09012025_00_46_02_204581_0000.jpg
/home/pi/Desktop/images/09012025/00/46/image_09012025_00_46_02_204581_0001.jpg
/home/pi/Desktop/images/09012025/00/46/image_09012025_00_46_02_204581_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563403","1327563411","1327563405","1327563408"],"photo_ids_order":["1327563403","1327563405","1327563408","1327563411"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a11a4bb8f2bf9bd85533117a7fed7d25.jpg","text":"TemporaryFile(/tmp/multipartBody3259202285906284647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380093449,"filename":"image_09012025_00_45_03_011666_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8c50b8466d6f53f7d70bbb9e79cca08a.jpg","text":"TemporaryFile(/tmp/multipartBody1574735428304778303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380093449,"filename":"image_09012025_00_46_02_204581_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b079ceefcf1912e3d71d5a6a85f962f0.jpg","text":"TemporaryFile(/tmp/multipartBody3462261520627297494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380093449,"filename":"image_09012025_00_46_02_204581_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b67809c74d8b97cca9bd3bef9c3d54e7.jpg","text":"TemporaryFile(/tmp/multipartBody5514698122741902632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380093449,"filename":"image_09012025_00_46_02_204581_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563408","file1":"1327563405","file0":"1327563403","file3":"1327563411"},"map_files_photo_id_array":[{"photo_id":"1327563408","filename":"file2"},{"photo_id":"1327563405","filename":"file1"},{"photo_id":"1327563403","filename":"file0"},{"photo_id":"1327563411","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563403":["hashtag1","hashtag2"]},{"1327563411":["hashtag1","hashtag2"]},{"1327563405":["hashtag1","hashtag2"]},{"1327563408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563403, 1327563411, 1327563405, 1327563408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.0583074092865 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:47:52.277109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:48:02.868654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/46/image_09012025_00_46_02_204581_0003.jpg', '/home/pi/Desktop/images/09012025/00/47/image_09012025_00_47_02_385667_0000.jpg', '/home/pi/Desktop/images/09012025/00/47/image_09012025_00_47_02_385667_0001.jpg', '/home/pi/Desktop/images/09012025/00/47/image_09012025_00_47_02_385667_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/46/image_09012025_00_46_02_204581_0003.jpg
/home/pi/Desktop/images/09012025/00/47/image_09012025_00_47_02_385667_0000.jpg
/home/pi/Desktop/images/09012025/00/47/image_09012025_00_47_02_385667_0001.jpg
/home/pi/Desktop/images/09012025/00/47/image_09012025_00_47_02_385667_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563416","1327563424","1327563418","1327563421"],"photo_ids_order":["1327563416","1327563418","1327563421","1327563424"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4e10519a0442843d75b391ac930146a3.jpg","text":"TemporaryFile(/tmp/multipartBody4329066447924931015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380153202,"filename":"image_09012025_00_46_02_204581_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dabafd2230448378bcb5205f24489a0e.jpg","text":"TemporaryFile(/tmp/multipartBody8113732320095993996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380153202,"filename":"image_09012025_00_47_02_385667_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/752a193ae2927aaebaba69092ca9a798.jpg","text":"TemporaryFile(/tmp/multipartBody8330601677007306279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380153202,"filename":"image_09012025_00_47_02_385667_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/77053a4fd383684655d1945b0c1699aa.jpg","text":"TemporaryFile(/tmp/multipartBody517959188826288642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380153202,"filename":"image_09012025_00_47_02_385667_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563421","file1":"1327563418","file0":"1327563416","file3":"1327563424"},"map_files_photo_id_array":[{"photo_id":"1327563421","filename":"file2"},{"photo_id":"1327563418","filename":"file1"},{"photo_id":"1327563416","filename":"file0"},{"photo_id":"1327563424","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563416":["hashtag1","hashtag2"]},{"1327563424":["hashtag1","hashtag2"]},{"1327563418":["hashtag1","hashtag2"]},{"1327563421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563416, 1327563424, 1327563418, 1327563421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.70879077911377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:48:52.469841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:49:03.199178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/47/image_09012025_00_47_02_385667_0003.jpg', '/home/pi/Desktop/images/09012025/00/48/image_09012025_00_48_02_675589_0000.jpg', '/home/pi/Desktop/images/09012025/00/48/image_09012025_00_48_02_675589_0001.jpg', '/home/pi/Desktop/images/09012025/00/48/image_09012025_00_48_02_675589_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/47/image_09012025_00_47_02_385667_0003.jpg
/home/pi/Desktop/images/09012025/00/48/image_09012025_00_48_02_675589_0000.jpg
/home/pi/Desktop/images/09012025/00/48/image_09012025_00_48_02_675589_0001.jpg
/home/pi/Desktop/images/09012025/00/48/image_09012025_00_48_02_675589_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563431","1327563434","1327563429","1327563444"],"photo_ids_order":["1327563429","1327563431","1327563434","1327563444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2c596ba177cbe965306591395ac7ee22.jpg","text":"TemporaryFile(/tmp/multipartBody1376237268102558296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380213669,"filename":"image_09012025_00_48_02_675589_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3054a77b2e5aef0a19ced78aca493af3.jpg","text":"TemporaryFile(/tmp/multipartBody7154790120318806584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380213669,"filename":"image_09012025_00_48_02_675589_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/88a4150035ca28821709b07c76acbd7f.jpg","text":"TemporaryFile(/tmp/multipartBody49756010693308295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380213669,"filename":"image_09012025_00_47_02_385667_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fc4d8a2b1f95015443fb0333605cdb5b.jpg","text":"TemporaryFile(/tmp/multipartBody9175698209891171898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380213669,"filename":"image_09012025_00_48_02_675589_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563434","file1":"1327563431","file0":"1327563429","file3":"1327563444"},"map_files_photo_id_array":[{"photo_id":"1327563434","filename":"file2"},{"photo_id":"1327563431","filename":"file1"},{"photo_id":"1327563429","filename":"file0"},{"photo_id":"1327563444","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563431":["hashtag1","hashtag2"]},{"1327563434":["hashtag1","hashtag2"]},{"1327563429":["hashtag1","hashtag2"]},{"1327563444":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563431, 1327563434, 1327563429, 1327563444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.40274143218994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:49:52.657036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:50:02.284652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/48/image_09012025_00_48_02_675589_0003.jpg', '/home/pi/Desktop/images/09012025/00/49/image_09012025_00_49_02_839017_0000.jpg', '/home/pi/Desktop/images/09012025/00/49/image_09012025_00_49_02_839017_0001.jpg', '/home/pi/Desktop/images/09012025/00/49/image_09012025_00_49_02_839017_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/48/image_09012025_00_48_02_675589_0003.jpg
/home/pi/Desktop/images/09012025/00/49/image_09012025_00_49_02_839017_0000.jpg
/home/pi/Desktop/images/09012025/00/49/image_09012025_00_49_02_839017_0001.jpg
/home/pi/Desktop/images/09012025/00/49/image_09012025_00_49_02_839017_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563481","1327563484","1327563478","1327563476"],"photo_ids_order":["1327563476","1327563478","1327563481","1327563484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d27f9adde164962c038bf3e0d5e8b339.jpg","text":"TemporaryFile(/tmp/multipartBody4009364011245334511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380272660,"filename":"image_09012025_00_49_02_839017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5f1248c637955591bddcb03a12430f88.jpg","text":"TemporaryFile(/tmp/multipartBody7336586990662190643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380272660,"filename":"image_09012025_00_49_02_839017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/40aa6b2f8f6b179b00e823c9ef880f88.jpg","text":"TemporaryFile(/tmp/multipartBody4808973953718916679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380272660,"filename":"image_09012025_00_49_02_839017_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a1628cf5d6a007b2191e1db613ecc18f.jpg","text":"TemporaryFile(/tmp/multipartBody4415578666960567452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380272660,"filename":"image_09012025_00_48_02_675589_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563481","file1":"1327563478","file0":"1327563476","file3":"1327563484"},"map_files_photo_id_array":[{"photo_id":"1327563481","filename":"file2"},{"photo_id":"1327563478","filename":"file1"},{"photo_id":"1327563476","filename":"file0"},{"photo_id":"1327563484","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563481":["hashtag1","hashtag2"]},{"1327563484":["hashtag1","hashtag2"]},{"1327563478":["hashtag1","hashtag2"]},{"1327563476":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563481, 1327563484, 1327563478, 1327563476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03923845291138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:50:51.923583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:51:02.561094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/49/image_09012025_00_49_02_839017_0003.jpg', '/home/pi/Desktop/images/09012025/00/50/image_09012025_00_50_03_026860_0000.jpg', '/home/pi/Desktop/images/09012025/00/50/image_09012025_00_50_03_026860_0001.jpg', '/home/pi/Desktop/images/09012025/00/50/image_09012025_00_50_03_026860_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/49/image_09012025_00_49_02_839017_0003.jpg
/home/pi/Desktop/images/09012025/00/50/image_09012025_00_50_03_026860_0000.jpg
/home/pi/Desktop/images/09012025/00/50/image_09012025_00_50_03_026860_0001.jpg
/home/pi/Desktop/images/09012025/00/50/image_09012025_00_50_03_026860_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563487","1327563492","1327563489","1327563494"],"photo_ids_order":["1327563487","1327563489","1327563492","1327563494"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/730f4211d9375a12fd205e6aa5f18f72.jpg","text":"TemporaryFile(/tmp/multipartBody8252565881949740747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380333061,"filename":"image_09012025_00_49_02_839017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f148202f8d86eca27dec9d420a062e3b.jpg","text":"TemporaryFile(/tmp/multipartBody6487552466384573431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380333061,"filename":"image_09012025_00_50_03_026860_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/812b9e44df14c2cb974a91d64df5df1b.jpg","text":"TemporaryFile(/tmp/multipartBody803349200913790724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380333061,"filename":"image_09012025_00_50_03_026860_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1a50575fbc79260aa8de15931737c118.jpg","text":"TemporaryFile(/tmp/multipartBody8969977762207665624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380333061,"filename":"image_09012025_00_50_03_026860_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563492","file1":"1327563489","file0":"1327563487","file3":"1327563494"},"map_files_photo_id_array":[{"photo_id":"1327563492","filename":"file2"},{"photo_id":"1327563489","filename":"file1"},{"photo_id":"1327563487","filename":"file0"},{"photo_id":"1327563494","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563487":["hashtag1","hashtag2"]},{"1327563492":["hashtag1","hashtag2"]},{"1327563489":["hashtag1","hashtag2"]},{"1327563494":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563487, 1327563492, 1327563489, 1327563494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.64788293838501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:51:52.083803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:52:02.693791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/50/image_09012025_00_50_03_026860_0003.jpg', '/home/pi/Desktop/images/09012025/00/51/image_09012025_00_51_02_219991_0000.jpg', '/home/pi/Desktop/images/09012025/00/51/image_09012025_00_51_02_219991_0001.jpg', '/home/pi/Desktop/images/09012025/00/51/image_09012025_00_51_02_219991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/50/image_09012025_00_50_03_026860_0003.jpg
/home/pi/Desktop/images/09012025/00/51/image_09012025_00_51_02_219991_0000.jpg
/home/pi/Desktop/images/09012025/00/51/image_09012025_00_51_02_219991_0001.jpg
/home/pi/Desktop/images/09012025/00/51/image_09012025_00_51_02_219991_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563499","1327563505","1327563502","1327563497"],"photo_ids_order":["1327563497","1327563499","1327563502","1327563505"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3b9dded86a359ea98151259d1fcaaf8d.jpg","text":"TemporaryFile(/tmp/multipartBody6301183649751214061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380393799,"filename":"image_09012025_00_51_02_219991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a3eb7fde099687eea4d10fd9d22ffce2.jpg","text":"TemporaryFile(/tmp/multipartBody2248939343619177577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380393799,"filename":"image_09012025_00_51_02_219991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/47b3f35002c5813fc9beda497e5cb228.jpg","text":"TemporaryFile(/tmp/multipartBody4974569861826163084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380393799,"filename":"image_09012025_00_51_02_219991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/da3c532ab006e42f57845febede1d1b2.jpg","text":"TemporaryFile(/tmp/multipartBody3068753102940631718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380393799,"filename":"image_09012025_00_50_03_026860_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563502","file1":"1327563499","file0":"1327563497","file3":"1327563505"},"map_files_photo_id_array":[{"photo_id":"1327563502","filename":"file2"},{"photo_id":"1327563499","filename":"file1"},{"photo_id":"1327563497","filename":"file0"},{"photo_id":"1327563505","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563499":["hashtag1","hashtag2"]},{"1327563505":["hashtag1","hashtag2"]},{"1327563502":["hashtag1","hashtag2"]},{"1327563497":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563499, 1327563505, 1327563502, 1327563497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.35533905029297 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:52:52.311939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:53:02.961321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/51/image_09012025_00_51_02_219991_0003.jpg', '/home/pi/Desktop/images/09012025/00/52/image_09012025_00_52_02_435009_0000.jpg', '/home/pi/Desktop/images/09012025/00/52/image_09012025_00_52_02_435009_0001.jpg', '/home/pi/Desktop/images/09012025/00/52/image_09012025_00_52_02_435009_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/51/image_09012025_00_51_02_219991_0003.jpg
/home/pi/Desktop/images/09012025/00/52/image_09012025_00_52_02_435009_0000.jpg
/home/pi/Desktop/images/09012025/00/52/image_09012025_00_52_02_435009_0001.jpg
/home/pi/Desktop/images/09012025/00/52/image_09012025_00_52_02_435009_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563512","1327563518","1327563514","1327563522"],"photo_ids_order":["1327563512","1327563514","1327563518","1327563522"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fecbd08af82ed6c3935e460eaf7dc407.jpg","text":"TemporaryFile(/tmp/multipartBody3662705628103072698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380453545,"filename":"image_09012025_00_51_02_219991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1db22016b815523344853bef8fe1596e.jpg","text":"TemporaryFile(/tmp/multipartBody2445088428121308901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380453545,"filename":"image_09012025_00_52_02_435009_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/13361ceff90a1b1f6c50c292978bcef1.jpg","text":"TemporaryFile(/tmp/multipartBody8115685470421863550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380453545,"filename":"image_09012025_00_52_02_435009_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c7683714ed54630c0298e9dd6a556b5c.jpg","text":"TemporaryFile(/tmp/multipartBody2083619506404946659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380453545,"filename":"image_09012025_00_52_02_435009_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563518","file1":"1327563514","file0":"1327563512","file3":"1327563522"},"map_files_photo_id_array":[{"photo_id":"1327563518","filename":"file2"},{"photo_id":"1327563514","filename":"file1"},{"photo_id":"1327563512","filename":"file0"},{"photo_id":"1327563522","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563512":["hashtag1","hashtag2"]},{"1327563518":["hashtag1","hashtag2"]},{"1327563514":["hashtag1","hashtag2"]},{"1327563522":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563512, 1327563518, 1327563514, 1327563522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.430079221725464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:53:52.468468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:54:03.149923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/52/image_09012025_00_52_02_435009_0003.jpg', '/home/pi/Desktop/images/09012025/00/53/image_09012025_00_53_02_653167_0000.jpg', '/home/pi/Desktop/images/09012025/00/53/image_09012025_00_53_02_653167_0001.jpg', '/home/pi/Desktop/images/09012025/00/53/image_09012025_00_53_02_653167_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/52/image_09012025_00_52_02_435009_0003.jpg
/home/pi/Desktop/images/09012025/00/53/image_09012025_00_53_02_653167_0000.jpg
/home/pi/Desktop/images/09012025/00/53/image_09012025_00_53_02_653167_0001.jpg
/home/pi/Desktop/images/09012025/00/53/image_09012025_00_53_02_653167_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563545","1327563547","1327563526","1327563540"],"photo_ids_order":["1327563526","1327563540","1327563545","1327563547"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/256050930311155aa15273c84d592603.jpg","text":"TemporaryFile(/tmp/multipartBody3448284897892522637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380513715,"filename":"image_09012025_00_53_02_653167_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/02bf7ce2e4c70ca2249dca29934e1b2f.jpg","text":"TemporaryFile(/tmp/multipartBody5019858808831884179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380513715,"filename":"image_09012025_00_53_02_653167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0b52160c88287d171602b19d28326bc0.jpg","text":"TemporaryFile(/tmp/multipartBody2024209158432112726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380513715,"filename":"image_09012025_00_52_02_435009_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8b607f8bd57b5ceda97c0bda282677a0.jpg","text":"TemporaryFile(/tmp/multipartBody5161567028202053182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380513715,"filename":"image_09012025_00_53_02_653167_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563545","file1":"1327563540","file0":"1327563526","file3":"1327563547"},"map_files_photo_id_array":[{"photo_id":"1327563545","filename":"file2"},{"photo_id":"1327563540","filename":"file1"},{"photo_id":"1327563526","filename":"file0"},{"photo_id":"1327563547","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563545":["hashtag1","hashtag2"]},{"1327563547":["hashtag1","hashtag2"]},{"1327563526":["hashtag1","hashtag2"]},{"1327563540":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563545, 1327563547, 1327563526, 1327563540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.629427433013916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:54:52.643109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:55:02.394527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/53/image_09012025_00_53_02_653167_0003.jpg', '/home/pi/Desktop/images/09012025/00/54/image_09012025_00_54_02_879251_0000.jpg', '/home/pi/Desktop/images/09012025/00/54/image_09012025_00_54_02_879251_0001.jpg', '/home/pi/Desktop/images/09012025/00/54/image_09012025_00_54_02_879251_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/53/image_09012025_00_53_02_653167_0003.jpg
/home/pi/Desktop/images/09012025/00/54/image_09012025_00_54_02_879251_0000.jpg
/home/pi/Desktop/images/09012025/00/54/image_09012025_00_54_02_879251_0001.jpg
/home/pi/Desktop/images/09012025/00/54/image_09012025_00_54_02_879251_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563583","1327563591","1327563585","1327563588"],"photo_ids_order":["1327563583","1327563585","1327563588","1327563591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/01a10285673a982a428b35465a7348e2.jpg","text":"TemporaryFile(/tmp/multipartBody4539406613575467748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380572959,"filename":"image_09012025_00_53_02_653167_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c5cbf8017980f72b343c177479f399d3.jpg","text":"TemporaryFile(/tmp/multipartBody6603341111334846929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380572959,"filename":"image_09012025_00_54_02_879251_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3f48e53e1ae88f7a988762442f222412.jpg","text":"TemporaryFile(/tmp/multipartBody7897194650742430167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380572959,"filename":"image_09012025_00_54_02_879251_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e616f3825d2d9359cb3fa65972538e0c.jpg","text":"TemporaryFile(/tmp/multipartBody496857822044719756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380572959,"filename":"image_09012025_00_54_02_879251_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563588","file1":"1327563585","file0":"1327563583","file3":"1327563591"},"map_files_photo_id_array":[{"photo_id":"1327563588","filename":"file2"},{"photo_id":"1327563585","filename":"file1"},{"photo_id":"1327563583","filename":"file0"},{"photo_id":"1327563591","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563583":["hashtag1","hashtag2"]},{"1327563591":["hashtag1","hashtag2"]},{"1327563585":["hashtag1","hashtag2"]},{"1327563588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563583, 1327563591, 1327563585, 1327563588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.83803391456604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:55:51.812746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:56:02.504900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/54/image_09012025_00_54_02_879251_0003.jpg', '/home/pi/Desktop/images/09012025/00/55/image_09012025_00_55_03_078059_0000.jpg', '/home/pi/Desktop/images/09012025/00/55/image_09012025_00_55_03_078059_0001.jpg', '/home/pi/Desktop/images/09012025/00/55/image_09012025_00_55_03_078059_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/54/image_09012025_00_54_02_879251_0003.jpg
/home/pi/Desktop/images/09012025/00/55/image_09012025_00_55_03_078059_0000.jpg
/home/pi/Desktop/images/09012025/00/55/image_09012025_00_55_03_078059_0001.jpg
/home/pi/Desktop/images/09012025/00/55/image_09012025_00_55_03_078059_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563605","1327563595","1327563597","1327563600"],"photo_ids_order":["1327563595","1327563597","1327563600","1327563605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f4b4f7215afe679fcfed4be4cf3cff2a.jpg","text":"TemporaryFile(/tmp/multipartBody7107881943232321603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380633086,"filename":"image_09012025_00_55_03_078059_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ac046288eabf8521a75c576abb57b43b.jpg","text":"TemporaryFile(/tmp/multipartBody7930854447875748028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380633086,"filename":"image_09012025_00_54_02_879251_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d6bf946700b9912028fa52abfd42b79d.jpg","text":"TemporaryFile(/tmp/multipartBody7199357421403187071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380633086,"filename":"image_09012025_00_55_03_078059_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2cdb7fffb78e09cc0d680d7f4e9cfb8d.jpg","text":"TemporaryFile(/tmp/multipartBody6410459290328874693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380633086,"filename":"image_09012025_00_55_03_078059_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563600","file1":"1327563597","file0":"1327563595","file3":"1327563605"},"map_files_photo_id_array":[{"photo_id":"1327563600","filename":"file2"},{"photo_id":"1327563597","filename":"file1"},{"photo_id":"1327563595","filename":"file0"},{"photo_id":"1327563605","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563605":["hashtag1","hashtag2"]},{"1327563595":["hashtag1","hashtag2"]},{"1327563597":["hashtag1","hashtag2"]},{"1327563600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563605, 1327563595, 1327563597, 1327563600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.46741271018982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:56:52.040060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:57:02.870620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/55/image_09012025_00_55_03_078059_0003.jpg', '/home/pi/Desktop/images/09012025/00/56/image_09012025_00_56_02_169861_0000.jpg', '/home/pi/Desktop/images/09012025/00/56/image_09012025_00_56_02_169861_0001.jpg', '/home/pi/Desktop/images/09012025/00/56/image_09012025_00_56_02_169861_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/55/image_09012025_00_55_03_078059_0003.jpg
/home/pi/Desktop/images/09012025/00/56/image_09012025_00_56_02_169861_0000.jpg
/home/pi/Desktop/images/09012025/00/56/image_09012025_00_56_02_169861_0001.jpg
/home/pi/Desktop/images/09012025/00/56/image_09012025_00_56_02_169861_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563611","1327563614","1327563617","1327563609"],"photo_ids_order":["1327563609","1327563611","1327563614","1327563617"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/69e132df973f6995bae8691363f76cbe.jpg","text":"TemporaryFile(/tmp/multipartBody9165559579717343060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380693386,"filename":"image_09012025_00_56_02_169861_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1058e36a0786fab471a421cb16b6bf7c.jpg","text":"TemporaryFile(/tmp/multipartBody890068509056471681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380693386,"filename":"image_09012025_00_56_02_169861_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/289c7da8bcc44ac6fe1a946f03411e1b.jpg","text":"TemporaryFile(/tmp/multipartBody6941502898371863322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380693386,"filename":"image_09012025_00_56_02_169861_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b7a1d0e50781823bb5fcd895ef2f39cd.jpg","text":"TemporaryFile(/tmp/multipartBody4853583023108725354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380693386,"filename":"image_09012025_00_55_03_078059_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563614","file1":"1327563611","file0":"1327563609","file3":"1327563617"},"map_files_photo_id_array":[{"photo_id":"1327563614","filename":"file2"},{"photo_id":"1327563611","filename":"file1"},{"photo_id":"1327563609","filename":"file0"},{"photo_id":"1327563617","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563611":["hashtag1","hashtag2"]},{"1327563614":["hashtag1","hashtag2"]},{"1327563617":["hashtag1","hashtag2"]},{"1327563609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563611, 1327563614, 1327563617, 1327563609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.226723194122314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 1
2025-01-09 00:57:52.229884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 00:59:03.166548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/56/image_09012025_00_56_02_169861_0003.jpg', '/home/pi/Desktop/images/09012025/00/57/image_09012025_00_57_02_377580_0000.jpg', '/home/pi/Desktop/images/09012025/00/57/image_09012025_00_57_02_377580_0001.jpg', '/home/pi/Desktop/images/09012025/00/57/image_09012025_00_57_02_377580_0002.jpg', '/home/pi/Desktop/images/09012025/00/57/image_09012025_00_57_02_377580_0003.jpg', '/home/pi/Desktop/images/09012025/00/58/image_09012025_00_58_02_641422_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/56/image_09012025_00_56_02_169861_0003.jpg
/home/pi/Desktop/images/09012025/00/57/image_09012025_00_57_02_377580_0000.jpg
/home/pi/Desktop/images/09012025/00/57/image_09012025_00_57_02_377580_0001.jpg
/home/pi/Desktop/images/09012025/00/57/image_09012025_00_57_02_377580_0002.jpg
/home/pi/Desktop/images/09012025/00/57/image_09012025_00_57_02_377580_0003.jpg
/home/pi/Desktop/images/09012025/00/58/image_09012025_00_58_02_641422_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.97972559928894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 00:59:22.590938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/56/image_09012025_00_56_02_169861_0003.jpg', '/home/pi/Desktop/images/09012025/00/57/image_09012025_00_57_02_377580_0000.jpg', '/home/pi/Desktop/images/09012025/00/57/image_09012025_00_57_02_377580_0001.jpg', '/home/pi/Desktop/images/09012025/00/57/image_09012025_00_57_02_377580_0002.jpg', '/home/pi/Desktop/images/09012025/00/57/image_09012025_00_57_02_377580_0003.jpg', '/home/pi/Desktop/images/09012025/00/58/image_09012025_00_58_02_641422_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/56/image_09012025_00_56_02_169861_0003.jpg
/home/pi/Desktop/images/09012025/00/57/image_09012025_00_57_02_377580_0000.jpg
/home/pi/Desktop/images/09012025/00/57/image_09012025_00_57_02_377580_0001.jpg
/home/pi/Desktop/images/09012025/00/57/image_09012025_00_57_02_377580_0002.jpg
/home/pi/Desktop/images/09012025/00/57/image_09012025_00_57_02_377580_0003.jpg
/home/pi/Desktop/images/09012025/00/58/image_09012025_00_58_02_641422_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563691","1327563673","1327563667","1327563675","1327563687","1327563689"],"photo_ids_order":["1327563667","1327563673","1327563675","1327563687","1327563689","1327563691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f28562592bac535a4bcace0ba35dadb0.jpg","text":"TemporaryFile(/tmp/multipartBody1707472707065936744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380837898,"filename":"image_09012025_00_58_02_641422_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0671fe1683e14d9edd5882947e0e52f7.jpg","text":"TemporaryFile(/tmp/multipartBody3522500471449575634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380837898,"filename":"image_09012025_00_57_02_377580_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a13efbcd3f75963f623a8eb586ea6e40.jpg","text":"TemporaryFile(/tmp/multipartBody6609468103333742853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380837898,"filename":"image_09012025_00_56_02_169861_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ee759bb2110a582ada118b64502b17f2.jpg","text":"TemporaryFile(/tmp/multipartBody9050045873771335678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380837898,"filename":"image_09012025_00_57_02_377580_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b10fd4939d88a9dafdb53afabf9057e9.jpg","text":"TemporaryFile(/tmp/multipartBody8348532590223263414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380837898,"filename":"image_09012025_00_57_02_377580_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cd4d8784e82fdf21d76b6aa03b53fadb.jpg","text":"TemporaryFile(/tmp/multipartBody6716579965468087988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380837898,"filename":"image_09012025_00_57_02_377580_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563675","file1":"1327563673","file0":"1327563667","file4":"1327563689","file5":"1327563691","file3":"1327563687"},"map_files_photo_id_array":[{"photo_id":"1327563691","filename":"file5"},{"photo_id":"1327563675","filename":"file2"},{"photo_id":"1327563689","filename":"file4"},{"photo_id":"1327563673","filename":"file1"},{"photo_id":"1327563667","filename":"file0"},{"photo_id":"1327563687","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563691":["hashtag1","hashtag2"]},{"1327563673":["hashtag1","hashtag2"]},{"1327563667":["hashtag1","hashtag2"]},{"1327563675":["hashtag1","hashtag2"]},{"1327563687":["hashtag1","hashtag2"]},{"1327563689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563691, 1327563673, 1327563667, 1327563675, 1327563687, 1327563689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.55250573158264 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:00:22.226778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/58/image_09012025_00_58_02_641422_0001.jpg', '/home/pi/Desktop/images/09012025/00/58/image_09012025_00_58_02_641422_0002.jpg', '/home/pi/Desktop/images/09012025/00/58/image_09012025_00_58_02_641422_0003.jpg', '/home/pi/Desktop/images/09012025/00/59/image_09012025_00_59_02_889052_0000.jpg', '/home/pi/Desktop/images/09012025/00/59/image_09012025_00_59_02_889052_0001.jpg', '/home/pi/Desktop/images/09012025/00/59/image_09012025_00_59_02_889052_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/58/image_09012025_00_58_02_641422_0001.jpg
/home/pi/Desktop/images/09012025/00/58/image_09012025_00_58_02_641422_0002.jpg
/home/pi/Desktop/images/09012025/00/58/image_09012025_00_58_02_641422_0003.jpg
/home/pi/Desktop/images/09012025/00/59/image_09012025_00_59_02_889052_0000.jpg
/home/pi/Desktop/images/09012025/00/59/image_09012025_00_59_02_889052_0001.jpg
/home/pi/Desktop/images/09012025/00/59/image_09012025_00_59_02_889052_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563710","1327563701","1327563703","1327563712","1327563706","1327563708"],"photo_ids_order":["1327563701","1327563703","1327563706","1327563708","1327563710","1327563712"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bdf4bc494b2dbf43d4dbcce8db5bf633.jpg","text":"TemporaryFile(/tmp/multipartBody6420247257384818278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380897302,"filename":"image_09012025_00_59_02_889052_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2d815fa46bda874cf7f7c381e48c7a6a.jpg","text":"TemporaryFile(/tmp/multipartBody1156664888107031404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380897302,"filename":"image_09012025_00_58_02_641422_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1840a9fe3ef806b0b98e2f9a0c859c38.jpg","text":"TemporaryFile(/tmp/multipartBody4764644912689094584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380897302,"filename":"image_09012025_00_58_02_641422_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a1f3ae2ccfd5beee82e2c3ca075d59fc.jpg","text":"TemporaryFile(/tmp/multipartBody5121177953283607730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380897302,"filename":"image_09012025_00_59_02_889052_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7ea051fe59e12527ead37a5904af5c83.jpg","text":"TemporaryFile(/tmp/multipartBody7319326300414557893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380897302,"filename":"image_09012025_00_58_02_641422_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/92fe09d814cb67bf5bb23e6d24233eec.jpg","text":"TemporaryFile(/tmp/multipartBody4623051854137401092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380897302,"filename":"image_09012025_00_59_02_889052_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563706","file1":"1327563703","file0":"1327563701","file4":"1327563710","file5":"1327563712","file3":"1327563708"},"map_files_photo_id_array":[{"photo_id":"1327563712","filename":"file5"},{"photo_id":"1327563706","filename":"file2"},{"photo_id":"1327563710","filename":"file4"},{"photo_id":"1327563703","filename":"file1"},{"photo_id":"1327563701","filename":"file0"},{"photo_id":"1327563708","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563710":["hashtag1","hashtag2"]},{"1327563701":["hashtag1","hashtag2"]},{"1327563703":["hashtag1","hashtag2"]},{"1327563712":["hashtag1","hashtag2"]},{"1327563706":["hashtag1","hashtag2"]},{"1327563708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563710, 1327563701, 1327563703, 1327563712, 1327563706, 1327563708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.181067943573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:01:22.719354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/00/59/image_09012025_00_59_02_889052_0003.jpg', '/home/pi/Desktop/images/09012025/01/00/image_09012025_01_00_03_057220_0000.jpg', '/home/pi/Desktop/images/09012025/01/00/image_09012025_01_00_03_057220_0001.jpg', '/home/pi/Desktop/images/09012025/01/00/image_09012025_01_00_03_057220_0003.jpg', '/home/pi/Desktop/images/09012025/01/01/image_09012025_01_01_02_582085_0000.jpg', '/home/pi/Desktop/images/09012025/01/01/image_09012025_01_01_02_582085_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/00/59/image_09012025_00_59_02_889052_0003.jpg
/home/pi/Desktop/images/09012025/01/00/image_09012025_01_00_03_057220_0000.jpg
/home/pi/Desktop/images/09012025/01/00/image_09012025_01_00_03_057220_0001.jpg
/home/pi/Desktop/images/09012025/01/00/image_09012025_01_00_03_057220_0003.jpg
/home/pi/Desktop/images/09012025/01/01/image_09012025_01_01_02_582085_0000.jpg
/home/pi/Desktop/images/09012025/01/01/image_09012025_01_01_02_582085_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563722","1327563728","1327563724","1327563718","1327563726","1327563720"],"photo_ids_order":["1327563718","1327563720","1327563722","1327563724","1327563726","1327563728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d8e4bc29ac22248501acb1d9a80b7562.jpg","text":"TemporaryFile(/tmp/multipartBody1084240451024801881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380957836,"filename":"image_09012025_01_00_03_057220_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/951291b9d93a9d36f6c1b6e56e79fc46.jpg","text":"TemporaryFile(/tmp/multipartBody160785336256634793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380957836,"filename":"image_09012025_01_01_02_582085_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a38584450b830ebbcfc99803be4c0c1d.jpg","text":"TemporaryFile(/tmp/multipartBody232153935230276734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380957836,"filename":"image_09012025_01_00_03_057220_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1953b88ebe17b0f02616e4bfa986e69b.jpg","text":"TemporaryFile(/tmp/multipartBody7114891932064932778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380957836,"filename":"image_09012025_00_59_02_889052_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/83ca7b78390363f05d4cb0230d764a11.jpg","text":"TemporaryFile(/tmp/multipartBody7715067828012835130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380957836,"filename":"image_09012025_01_01_02_582085_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c99475fe047b739d7060e49f679429a8.jpg","text":"TemporaryFile(/tmp/multipartBody8677599399775647722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736380957836,"filename":"image_09012025_01_00_03_057220_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563722","file1":"1327563720","file0":"1327563718","file4":"1327563726","file5":"1327563728","file3":"1327563724"},"map_files_photo_id_array":[{"photo_id":"1327563728","filename":"file5"},{"photo_id":"1327563722","filename":"file2"},{"photo_id":"1327563726","filename":"file4"},{"photo_id":"1327563720","filename":"file1"},{"photo_id":"1327563718","filename":"file0"},{"photo_id":"1327563724","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563722":["hashtag1","hashtag2"]},{"1327563728":["hashtag1","hashtag2"]},{"1327563724":["hashtag1","hashtag2"]},{"1327563718":["hashtag1","hashtag2"]},{"1327563726":["hashtag1","hashtag2"]},{"1327563720":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563722, 1327563728, 1327563724, 1327563718, 1327563726, 1327563720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.209407567977905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:02:22.213521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/01/image_09012025_01_01_02_582085_0003.jpg', '/home/pi/Desktop/images/09012025/01/02/image_09012025_01_02_03_057238_0000.jpg', '/home/pi/Desktop/images/09012025/01/02/image_09012025_01_02_03_057238_0001.jpg', '/home/pi/Desktop/images/09012025/01/02/image_09012025_01_02_03_057238_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/01/image_09012025_01_01_02_582085_0003.jpg
/home/pi/Desktop/images/09012025/01/02/image_09012025_01_02_03_057238_0000.jpg
/home/pi/Desktop/images/09012025/01/02/image_09012025_01_02_03_057238_0001.jpg
/home/pi/Desktop/images/09012025/01/02/image_09012025_01_02_03_057238_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563737","1327563739","1327563732","1327563735"],"photo_ids_order":["1327563732","1327563735","1327563737","1327563739"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fac97abf4f1a9cace624294c5590a156.jpg","text":"TemporaryFile(/tmp/multipartBody7609688849240688712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381012495,"filename":"image_09012025_01_02_03_057238_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/89a2cb91b6a751513a2f54299c95c042.jpg","text":"TemporaryFile(/tmp/multipartBody2110865782856844376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381012495,"filename":"image_09012025_01_02_03_057238_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8dc43386b971dd4be7c9c7a70d216515.jpg","text":"TemporaryFile(/tmp/multipartBody8121424618173103097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381012495,"filename":"image_09012025_01_01_02_582085_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9ab4a6ae8ea4a92d082bfd2e6d3aaf30.jpg","text":"TemporaryFile(/tmp/multipartBody5511491152248675044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381012495,"filename":"image_09012025_01_02_03_057238_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563737","file1":"1327563735","file0":"1327563732","file3":"1327563739"},"map_files_photo_id_array":[{"photo_id":"1327563737","filename":"file2"},{"photo_id":"1327563735","filename":"file1"},{"photo_id":"1327563732","filename":"file0"},{"photo_id":"1327563739","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563737":["hashtag1","hashtag2"]},{"1327563739":["hashtag1","hashtag2"]},{"1327563732":["hashtag1","hashtag2"]},{"1327563735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563737, 1327563739, 1327563732, 1327563735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.72171759605408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:03:03.191525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:03:22.731375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/02/image_09012025_01_02_03_057238_0003.jpg', '/home/pi/Desktop/images/09012025/01/03/image_09012025_01_03_02_608383_0001.jpg', '/home/pi/Desktop/images/09012025/01/03/image_09012025_01_03_02_608383_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/02/image_09012025_01_02_03_057238_0003.jpg
/home/pi/Desktop/images/09012025/01/03/image_09012025_01_03_02_608383_0001.jpg
/home/pi/Desktop/images/09012025/01/03/image_09012025_01_03_02_608383_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563842","1327563833","1327563838"],"photo_ids_order":["1327563833","1327563838","1327563842"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/73111443fc9adc72a119cfab079fe2d2.jpg","text":"TemporaryFile(/tmp/multipartBody4169478997468357764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381070584,"filename":"image_09012025_01_03_02_608383_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/96aeacab6f4dad90ade64f220eddfb35.jpg","text":"TemporaryFile(/tmp/multipartBody6486999267262284499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381070584,"filename":"image_09012025_01_02_03_057238_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a5bb4c61458db50c4080033ca0f0ee84.jpg","text":"TemporaryFile(/tmp/multipartBody1327064825456998130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381070584,"filename":"image_09012025_01_03_02_608383_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563842","file1":"1327563838","file0":"1327563833"},"map_files_photo_id_array":[{"photo_id":"1327563842","filename":"file2"},{"photo_id":"1327563838","filename":"file1"},{"photo_id":"1327563833","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563842":["hashtag1","hashtag2"]},{"1327563833":["hashtag1","hashtag2"]},{"1327563838":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563842, 1327563833, 1327563838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.769707918167114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:04:02.825584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:04:22.366747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/03/image_09012025_01_03_02_608383_0003.jpg', '/home/pi/Desktop/images/09012025/01/04/image_09012025_01_04_03_090550_0000.jpg', '/home/pi/Desktop/images/09012025/01/04/image_09012025_01_04_03_090550_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/03/image_09012025_01_03_02_608383_0003.jpg
/home/pi/Desktop/images/09012025/01/04/image_09012025_01_04_03_090550_0000.jpg
/home/pi/Desktop/images/09012025/01/04/image_09012025_01_04_03_090550_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563857","1327563855","1327563860"],"photo_ids_order":["1327563855","1327563857","1327563860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/43adbb3f1d3276e89711e1edf5e18407.jpg","text":"TemporaryFile(/tmp/multipartBody8813358396580929618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381130244,"filename":"image_09012025_01_04_03_090550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8960226fc81e29a07501d6b541d3d608.jpg","text":"TemporaryFile(/tmp/multipartBody828973451924374280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381130244,"filename":"image_09012025_01_03_02_608383_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6632a018544bb943c9fbef174883926c.jpg","text":"TemporaryFile(/tmp/multipartBody6399747152098201349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381130244,"filename":"image_09012025_01_04_03_090550_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563860","file1":"1327563857","file0":"1327563855"},"map_files_photo_id_array":[{"photo_id":"1327563860","filename":"file2"},{"photo_id":"1327563857","filename":"file1"},{"photo_id":"1327563855","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563857":["hashtag1","hashtag2"]},{"1327563855":["hashtag1","hashtag2"]},{"1327563860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563857, 1327563855, 1327563860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.13261961936951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:05:02.945720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:05:22.378782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/04/image_09012025_01_04_03_090550_0002.jpg', '/home/pi/Desktop/images/09012025/01/05/image_09012025_01_05_02_766613_0000.jpg', '/home/pi/Desktop/images/09012025/01/05/image_09012025_01_05_02_766613_0001.jpg', '/home/pi/Desktop/images/09012025/01/05/image_09012025_01_05_02_766613_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/04/image_09012025_01_04_03_090550_0002.jpg
/home/pi/Desktop/images/09012025/01/05/image_09012025_01_05_02_766613_0000.jpg
/home/pi/Desktop/images/09012025/01/05/image_09012025_01_05_02_766613_0001.jpg
/home/pi/Desktop/images/09012025/01/05/image_09012025_01_05_02_766613_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563916","1327563901","1327563918","1327563899"],"photo_ids_order":["1327563899","1327563901","1327563916","1327563918"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/36411ccaee6f0971012c5b05073ddef3.jpg","text":"TemporaryFile(/tmp/multipartBody2614179885509258230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381192688,"filename":"image_09012025_01_05_02_766613_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/182344aa1e153b45691b55502bbd334e.jpg","text":"TemporaryFile(/tmp/multipartBody5468437295419756731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381192688,"filename":"image_09012025_01_05_02_766613_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7323304525d789ec3dfb64174fd14c34.jpg","text":"TemporaryFile(/tmp/multipartBody7077333053025502276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381192688,"filename":"image_09012025_01_05_02_766613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6070220bfc2ad093b001337692cdffcd.jpg","text":"TemporaryFile(/tmp/multipartBody1022423062658321059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381192688,"filename":"image_09012025_01_04_03_090550_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327563916","file1":"1327563901","file0":"1327563899","file3":"1327563918"},"map_files_photo_id_array":[{"photo_id":"1327563916","filename":"file2"},{"photo_id":"1327563901","filename":"file1"},{"photo_id":"1327563899","filename":"file0"},{"photo_id":"1327563918","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563916":["hashtag1","hashtag2"]},{"1327563901":["hashtag1","hashtag2"]},{"1327563918":["hashtag1","hashtag2"]},{"1327563899":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563916, 1327563901, 1327563918, 1327563899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.82457447052002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:06:02.388596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:06:22.063059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/05/image_09012025_01_05_02_766613_0003.jpg', '/home/pi/Desktop/images/09012025/01/06/image_09012025_01_06_02_731366_0000.jpg', '/home/pi/Desktop/images/09012025/01/06/image_09012025_01_06_02_731366_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/05/image_09012025_01_05_02_766613_0003.jpg
/home/pi/Desktop/images/09012025/01/06/image_09012025_01_06_02_731366_0000.jpg
/home/pi/Desktop/images/09012025/01/06/image_09012025_01_06_02_731366_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.481033802032471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:07:03.032512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/05/image_09012025_01_05_02_766613_0003.jpg', '/home/pi/Desktop/images/09012025/01/06/image_09012025_01_06_02_731366_0000.jpg', '/home/pi/Desktop/images/09012025/01/06/image_09012025_01_06_02_731366_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/05/image_09012025_01_05_02_766613_0003.jpg
/home/pi/Desktop/images/09012025/01/06/image_09012025_01_06_02_731366_0000.jpg
/home/pi/Desktop/images/09012025/01/06/image_09012025_01_06_02_731366_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327563997","1327564003","1327563995"],"photo_ids_order":["1327563995","1327563997","1327564003"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d8afe61d87db2ec4215edeb032cd8145.jpg","text":"TemporaryFile(/tmp/multipartBody978910866941522388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381291313,"filename":"image_09012025_01_06_02_731366_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7c9887547647bee4bb57608521e95786.jpg","text":"TemporaryFile(/tmp/multipartBody2289411950309859572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381291313,"filename":"image_09012025_01_06_02_731366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b295463e6cd665244a62065af6db9404.jpg","text":"TemporaryFile(/tmp/multipartBody5431704050159261954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381291313,"filename":"image_09012025_01_05_02_766613_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327564003","file1":"1327563997","file0":"1327563995"},"map_files_photo_id_array":[{"photo_id":"1327564003","filename":"file2"},{"photo_id":"1327563997","filename":"file1"},{"photo_id":"1327563995","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327563997":["hashtag1","hashtag2"]},{"1327564003":["hashtag1","hashtag2"]},{"1327563995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327563997, 1327564003, 1327563995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.03208541870117 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:08:02.560758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/06/image_09012025_01_06_02_731366_0002.jpg', '/home/pi/Desktop/images/09012025/01/07/image_09012025_01_07_02_358569_0001.jpg', '/home/pi/Desktop/images/09012025/01/07/image_09012025_01_07_02_358569_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/06/image_09012025_01_06_02_731366_0002.jpg
/home/pi/Desktop/images/09012025/01/07/image_09012025_01_07_02_358569_0001.jpg
/home/pi/Desktop/images/09012025/01/07/image_09012025_01_07_02_358569_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.474775075912476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:08:22.155777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/06/image_09012025_01_06_02_731366_0002.jpg', '/home/pi/Desktop/images/09012025/01/07/image_09012025_01_07_02_358569_0001.jpg', '/home/pi/Desktop/images/09012025/01/07/image_09012025_01_07_02_358569_0002.jpg', '/home/pi/Desktop/images/09012025/01/07/image_09012025_01_07_02_358569_0003.jpg', '/home/pi/Desktop/images/09012025/01/08/image_09012025_01_08_02_876398_0000.jpg', '/home/pi/Desktop/images/09012025/01/08/image_09012025_01_08_02_876398_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/06/image_09012025_01_06_02_731366_0002.jpg
/home/pi/Desktop/images/09012025/01/07/image_09012025_01_07_02_358569_0001.jpg
/home/pi/Desktop/images/09012025/01/07/image_09012025_01_07_02_358569_0002.jpg
/home/pi/Desktop/images/09012025/01/07/image_09012025_01_07_02_358569_0003.jpg
/home/pi/Desktop/images/09012025/01/08/image_09012025_01_08_02_876398_0000.jpg
/home/pi/Desktop/images/09012025/01/08/image_09012025_01_08_02_876398_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327564217","1327564081","1327564177","1327564191","1327564083","1327564227"],"photo_ids_order":["1327564081","1327564083","1327564177","1327564191","1327564217","1327564227"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ab43f9f7023fc8fbbf540445779ad53f.jpg","text":"TemporaryFile(/tmp/multipartBody57040057063855623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381377258,"filename":"image_09012025_01_08_02_876398_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f9847bc96445e4aa63e0ec160c0b0bc7.jpg","text":"TemporaryFile(/tmp/multipartBody1732574048592725216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381377258,"filename":"image_09012025_01_06_02_731366_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f96fb69b19c67c6d368e9c652fa3576f.jpg","text":"TemporaryFile(/tmp/multipartBody727620210751185626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381377258,"filename":"image_09012025_01_07_02_358569_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/32a93fe9f41a06827edfacdab900a033.jpg","text":"TemporaryFile(/tmp/multipartBody7719454258780422637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381377258,"filename":"image_09012025_01_07_02_358569_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8d61ee9cb0015c7c2b7fa1ceb897b651.jpg","text":"TemporaryFile(/tmp/multipartBody1933834361800907466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381377258,"filename":"image_09012025_01_07_02_358569_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ba1f889a614e5bd1df872b70e52e8491.jpg","text":"TemporaryFile(/tmp/multipartBody4142706864166391599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381377258,"filename":"image_09012025_01_08_02_876398_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327564177","file1":"1327564083","file0":"1327564081","file4":"1327564217","file5":"1327564227","file3":"1327564191"},"map_files_photo_id_array":[{"photo_id":"1327564227","filename":"file5"},{"photo_id":"1327564177","filename":"file2"},{"photo_id":"1327564217","filename":"file4"},{"photo_id":"1327564083","filename":"file1"},{"photo_id":"1327564081","filename":"file0"},{"photo_id":"1327564191","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327564217":["hashtag1","hashtag2"]},{"1327564081":["hashtag1","hashtag2"]},{"1327564177":["hashtag1","hashtag2"]},{"1327564191":["hashtag1","hashtag2"]},{"1327564083":["hashtag1","hashtag2"]},{"1327564227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327564217, 1327564081, 1327564177, 1327564191, 1327564083, 1327564227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.848525047302246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:09:22.661790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/08/image_09012025_01_08_02_876398_0002.jpg', '/home/pi/Desktop/images/09012025/01/08/image_09012025_01_08_02_876398_0003.jpg', '/home/pi/Desktop/images/09012025/01/09/image_09012025_01_09_02_517034_0000.jpg', '/home/pi/Desktop/images/09012025/01/09/image_09012025_01_09_02_517034_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/08/image_09012025_01_08_02_876398_0002.jpg
/home/pi/Desktop/images/09012025/01/08/image_09012025_01_08_02_876398_0003.jpg
/home/pi/Desktop/images/09012025/01/09/image_09012025_01_09_02_517034_0000.jpg
/home/pi/Desktop/images/09012025/01/09/image_09012025_01_09_02_517034_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327564476","1327564394","1327564436","1327564427"],"photo_ids_order":["1327564394","1327564427","1327564436","1327564476"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6f9bb80a909011015e054198280ec645.jpg","text":"TemporaryFile(/tmp/multipartBody2817449179051447054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381432979,"filename":"image_09012025_01_09_02_517034_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d15ef7abf0e1c700475617d26da1d32a.jpg","text":"TemporaryFile(/tmp/multipartBody5373706926741944119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381432979,"filename":"image_09012025_01_08_02_876398_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6d8f96bb4c407cc5e6179ef2da8676ff.jpg","text":"TemporaryFile(/tmp/multipartBody3390781435506967213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381432979,"filename":"image_09012025_01_09_02_517034_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d8880cee1089e51d4888af278dea50b5.jpg","text":"TemporaryFile(/tmp/multipartBody8069518414230570913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381432979,"filename":"image_09012025_01_08_02_876398_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327564436","file1":"1327564427","file0":"1327564394","file3":"1327564476"},"map_files_photo_id_array":[{"photo_id":"1327564436","filename":"file2"},{"photo_id":"1327564427","filename":"file1"},{"photo_id":"1327564394","filename":"file0"},{"photo_id":"1327564476","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327564476":["hashtag1","hashtag2"]},{"1327564394":["hashtag1","hashtag2"]},{"1327564436":["hashtag1","hashtag2"]},{"1327564427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327564476, 1327564394, 1327564436, 1327564427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.44445848464966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:10:22.138026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/09/image_09012025_01_09_02_517034_0003.jpg', '/home/pi/Desktop/images/09012025/01/10/image_09012025_01_10_03_014895_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/09/image_09012025_01_09_02_517034_0003.jpg
/home/pi/Desktop/images/09012025/01/10/image_09012025_01_10_03_014895_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327564483","1327564481"],"photo_ids_order":["1327564481","1327564483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0848412ce642079c4ba3c21d064d3ea0.jpg","text":"TemporaryFile(/tmp/multipartBody5202854559178428397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381487581,"filename":"image_09012025_01_10_03_014895_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/579154a3376ec94527b554050adc93a3.jpg","text":"TemporaryFile(/tmp/multipartBody3662773205951388025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381487581,"filename":"image_09012025_01_09_02_517034_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327564483","file0":"1327564481"},"map_files_photo_id_array":[{"photo_id":"1327564483","filename":"file1"},{"photo_id":"1327564481","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327564483":["hashtag1","hashtag2"]},{"1327564481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327564483, 1327564481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.065791368484497 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:11:03.218996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:11:22.581480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/10/image_09012025_01_10_03_014895_0003.jpg', '/home/pi/Desktop/images/09012025/01/11/image_09012025_01_11_02_506275_0000.jpg', '/home/pi/Desktop/images/09012025/01/11/image_09012025_01_11_02_506275_0001.jpg', '/home/pi/Desktop/images/09012025/01/11/image_09012025_01_11_02_506275_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/10/image_09012025_01_10_03_014895_0003.jpg
/home/pi/Desktop/images/09012025/01/11/image_09012025_01_11_02_506275_0000.jpg
/home/pi/Desktop/images/09012025/01/11/image_09012025_01_11_02_506275_0001.jpg
/home/pi/Desktop/images/09012025/01/11/image_09012025_01_11_02_506275_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327564822","1327564826","1327564760","1327564757"],"photo_ids_order":["1327564757","1327564760","1327564822","1327564826"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0a10d3507ec47d36d2bfef944545f776.jpg","text":"TemporaryFile(/tmp/multipartBody1658711230382735041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381552906,"filename":"image_09012025_01_11_02_506275_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a09c5272dc530967b2bb178ac0c66e23.jpg","text":"TemporaryFile(/tmp/multipartBody2930553920910393854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381552906,"filename":"image_09012025_01_11_02_506275_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bd1c96192ce87a1ecc1ab6a5e1e53e5d.jpg","text":"TemporaryFile(/tmp/multipartBody8442983663647082102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381552906,"filename":"image_09012025_01_11_02_506275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9b1647f768b6745db915f7d65a91ec3c.jpg","text":"TemporaryFile(/tmp/multipartBody1103959303401038326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381552906,"filename":"image_09012025_01_10_03_014895_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327564822","file1":"1327564760","file0":"1327564757","file3":"1327564826"},"map_files_photo_id_array":[{"photo_id":"1327564822","filename":"file2"},{"photo_id":"1327564760","filename":"file1"},{"photo_id":"1327564757","filename":"file0"},{"photo_id":"1327564826","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327564822":["hashtag1","hashtag2"]},{"1327564826":["hashtag1","hashtag2"]},{"1327564760":["hashtag1","hashtag2"]},{"1327564757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327564822, 1327564826, 1327564760, 1327564757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.45736837387085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:12:22.230295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/11/image_09012025_01_11_02_506275_0003.jpg', '/home/pi/Desktop/images/09012025/01/12/image_09012025_01_12_03_055827_0001.jpg', '/home/pi/Desktop/images/09012025/01/12/image_09012025_01_12_03_055827_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/11/image_09012025_01_11_02_506275_0003.jpg
/home/pi/Desktop/images/09012025/01/12/image_09012025_01_12_03_055827_0001.jpg
/home/pi/Desktop/images/09012025/01/12/image_09012025_01_12_03_055827_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.453601598739624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:13:02.482257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/11/image_09012025_01_11_02_506275_0003.jpg', '/home/pi/Desktop/images/09012025/01/12/image_09012025_01_12_03_055827_0001.jpg', '/home/pi/Desktop/images/09012025/01/12/image_09012025_01_12_03_055827_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/11/image_09012025_01_11_02_506275_0003.jpg
/home/pi/Desktop/images/09012025/01/12/image_09012025_01_12_03_055827_0001.jpg
/home/pi/Desktop/images/09012025/01/12/image_09012025_01_12_03_055827_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327565008","1327565010","1327565009"],"photo_ids_order":["1327565008","1327565009","1327565010"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bc176ee037cb0a31225aa5aba27a6405.jpg","text":"TemporaryFile(/tmp/multipartBody1605866858056509248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381650376,"filename":"image_09012025_01_11_02_506275_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fb5b45d310a49a32096dfc510ee3363f.jpg","text":"TemporaryFile(/tmp/multipartBody2105215785501744687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381650376,"filename":"image_09012025_01_12_03_055827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/87841154759e03c9f5a23fa25b90f0e3.jpg","text":"TemporaryFile(/tmp/multipartBody2704658353445838656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381650376,"filename":"image_09012025_01_12_03_055827_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327565010","file1":"1327565009","file0":"1327565008"},"map_files_photo_id_array":[{"photo_id":"1327565010","filename":"file2"},{"photo_id":"1327565009","filename":"file1"},{"photo_id":"1327565008","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327565008":["hashtag1","hashtag2"]},{"1327565010":["hashtag1","hashtag2"]},{"1327565009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327565008, 1327565010, 1327565009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.08285617828369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:14:02.873359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/12/image_09012025_01_12_03_055827_0003.jpg', '/home/pi/Desktop/images/09012025/01/13/image_09012025_01_13_02_749506_0000.jpg', '/home/pi/Desktop/images/09012025/01/13/image_09012025_01_13_02_749506_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/12/image_09012025_01_12_03_055827_0003.jpg
/home/pi/Desktop/images/09012025/01/13/image_09012025_01_13_02_749506_0000.jpg
/home/pi/Desktop/images/09012025/01/13/image_09012025_01_13_02_749506_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327565047","1327565046","1327565045"],"photo_ids_order":["1327565045","1327565046","1327565047"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cf83e4f0c16d2e0cf1b703988b2669a5.jpg","text":"TemporaryFile(/tmp/multipartBody6888354696409446077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381710787,"filename":"image_09012025_01_13_02_749506_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eb8026b1a0dccb7de4c732ca38353487.jpg","text":"TemporaryFile(/tmp/multipartBody405877975636322376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381710787,"filename":"image_09012025_01_13_02_749506_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/25216eda8ffdeeb1e6b0bb8dfe27aca3.jpg","text":"TemporaryFile(/tmp/multipartBody4079206348178138950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381710787,"filename":"image_09012025_01_12_03_055827_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327565047","file1":"1327565046","file0":"1327565045"},"map_files_photo_id_array":[{"photo_id":"1327565047","filename":"file2"},{"photo_id":"1327565046","filename":"file1"},{"photo_id":"1327565045","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327565047":["hashtag1","hashtag2"]},{"1327565046":["hashtag1","hashtag2"]},{"1327565045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327565047, 1327565046, 1327565045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.28983187675476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:15:02.594593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/13/image_09012025_01_13_02_749506_0003.jpg', '/home/pi/Desktop/images/09012025/01/14/image_09012025_01_14_02_305617_0001.jpg', '/home/pi/Desktop/images/09012025/01/14/image_09012025_01_14_02_305617_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/13/image_09012025_01_13_02_749506_0003.jpg
/home/pi/Desktop/images/09012025/01/14/image_09012025_01_14_02_305617_0001.jpg
/home/pi/Desktop/images/09012025/01/14/image_09012025_01_14_02_305617_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327565101","1327565093","1327565096"],"photo_ids_order":["1327565093","1327565096","1327565101"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c6801c81511b06ed6960c7e7583bd42e.jpg","text":"TemporaryFile(/tmp/multipartBody7346263705688617216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381770501,"filename":"image_09012025_01_14_02_305617_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/86479674a79f0cc5b12dc8c48686be76.jpg","text":"TemporaryFile(/tmp/multipartBody8621410403456032173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381770501,"filename":"image_09012025_01_13_02_749506_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b99e34e05d98baae6309e713012e6e0f.jpg","text":"TemporaryFile(/tmp/multipartBody5921141107911679730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381770501,"filename":"image_09012025_01_14_02_305617_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327565101","file1":"1327565096","file0":"1327565093"},"map_files_photo_id_array":[{"photo_id":"1327565101","filename":"file2"},{"photo_id":"1327565096","filename":"file1"},{"photo_id":"1327565093","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327565101":["hashtag1","hashtag2"]},{"1327565093":["hashtag1","hashtag2"]},{"1327565096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327565101, 1327565093, 1327565096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.7724506855011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:16:03.066422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/14/image_09012025_01_14_02_305617_0003.jpg', '/home/pi/Desktop/images/09012025/01/15/image_09012025_01_15_02_796964_0000.jpg', '/home/pi/Desktop/images/09012025/01/15/image_09012025_01_15_02_796964_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/14/image_09012025_01_14_02_305617_0003.jpg
/home/pi/Desktop/images/09012025/01/15/image_09012025_01_15_02_796964_0000.jpg
/home/pi/Desktop/images/09012025/01/15/image_09012025_01_15_02_796964_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327565139","1327565150","1327565152"],"photo_ids_order":["1327565139","1327565150","1327565152"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/01563e706e75d0fda3e42dd2b56c91fc.jpg","text":"TemporaryFile(/tmp/multipartBody8378169917243054154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381830976,"filename":"image_09012025_01_14_02_305617_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7a0bd9dce4b186a1c686ca6a90b33ab4.jpg","text":"TemporaryFile(/tmp/multipartBody7173302519015442714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381830976,"filename":"image_09012025_01_15_02_796964_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9f9c3b32ca83f2342aa72be500803693.jpg","text":"TemporaryFile(/tmp/multipartBody8442876850649252207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381830976,"filename":"image_09012025_01_15_02_796964_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327565152","file1":"1327565150","file0":"1327565139"},"map_files_photo_id_array":[{"photo_id":"1327565152","filename":"file2"},{"photo_id":"1327565150","filename":"file1"},{"photo_id":"1327565139","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327565139":["hashtag1","hashtag2"]},{"1327565150":["hashtag1","hashtag2"]},{"1327565152":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327565139, 1327565150, 1327565152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.132652044296265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:17:02.754003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/15/image_09012025_01_15_02_796964_0003.jpg', '/home/pi/Desktop/images/09012025/01/16/image_09012025_01_16_02_283661_0000.jpg', '/home/pi/Desktop/images/09012025/01/16/image_09012025_01_16_02_283661_0001.jpg', '/home/pi/Desktop/images/09012025/01/16/image_09012025_01_16_02_283661_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/15/image_09012025_01_15_02_796964_0003.jpg
/home/pi/Desktop/images/09012025/01/16/image_09012025_01_16_02_283661_0000.jpg
/home/pi/Desktop/images/09012025/01/16/image_09012025_01_16_02_283661_0001.jpg
/home/pi/Desktop/images/09012025/01/16/image_09012025_01_16_02_283661_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.914178609848022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:17:22.026253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/15/image_09012025_01_15_02_796964_0003.jpg', '/home/pi/Desktop/images/09012025/01/16/image_09012025_01_16_02_283661_0000.jpg', '/home/pi/Desktop/images/09012025/01/16/image_09012025_01_16_02_283661_0001.jpg', '/home/pi/Desktop/images/09012025/01/16/image_09012025_01_16_02_283661_0002.jpg', '/home/pi/Desktop/images/09012025/01/16/image_09012025_01_16_02_283661_0003.jpg', '/home/pi/Desktop/images/09012025/01/17/image_09012025_01_17_02_954524_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/15/image_09012025_01_15_02_796964_0003.jpg
/home/pi/Desktop/images/09012025/01/16/image_09012025_01_16_02_283661_0000.jpg
/home/pi/Desktop/images/09012025/01/16/image_09012025_01_16_02_283661_0001.jpg
/home/pi/Desktop/images/09012025/01/16/image_09012025_01_16_02_283661_0002.jpg
/home/pi/Desktop/images/09012025/01/16/image_09012025_01_16_02_283661_0003.jpg
/home/pi/Desktop/images/09012025/01/17/image_09012025_01_17_02_954524_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327565193","1327565196","1327565189","1327565180","1327565177","1327565185"],"photo_ids_order":["1327565177","1327565180","1327565185","1327565189","1327565193","1327565196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/06f92155b8e602b41103b6ab1ebf2b8c.jpg","text":"TemporaryFile(/tmp/multipartBody3428699931688039814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381917115,"filename":"image_09012025_01_16_02_283661_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7d6e3cef57280aa01ca6498c6cddc53e.jpg","text":"TemporaryFile(/tmp/multipartBody8479324886893774543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381917115,"filename":"image_09012025_01_17_02_954524_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/24caf253f517784ffde717a4e8330ac1.jpg","text":"TemporaryFile(/tmp/multipartBody3412825337334001842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381917115,"filename":"image_09012025_01_16_02_283661_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a6464f645dce504bea51d7b9ea3c2241.jpg","text":"TemporaryFile(/tmp/multipartBody2700968723978099782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381917115,"filename":"image_09012025_01_16_02_283661_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dc08e085f42be9f099df934d2bb1608f.jpg","text":"TemporaryFile(/tmp/multipartBody7622013652483785769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381917115,"filename":"image_09012025_01_15_02_796964_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/98eb53ecf675846f31a3bf941d542540.jpg","text":"TemporaryFile(/tmp/multipartBody1987746449611894255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381917115,"filename":"image_09012025_01_16_02_283661_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327565185","file1":"1327565180","file0":"1327565177","file4":"1327565193","file5":"1327565196","file3":"1327565189"},"map_files_photo_id_array":[{"photo_id":"1327565196","filename":"file5"},{"photo_id":"1327565185","filename":"file2"},{"photo_id":"1327565193","filename":"file4"},{"photo_id":"1327565180","filename":"file1"},{"photo_id":"1327565177","filename":"file0"},{"photo_id":"1327565189","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327565193":["hashtag1","hashtag2"]},{"1327565196":["hashtag1","hashtag2"]},{"1327565189":["hashtag1","hashtag2"]},{"1327565180":["hashtag1","hashtag2"]},{"1327565177":["hashtag1","hashtag2"]},{"1327565185":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327565193, 1327565196, 1327565189, 1327565180, 1327565177, 1327565185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.58677935600281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:18:22.681468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/17/image_09012025_01_17_02_954524_0001.jpg', '/home/pi/Desktop/images/09012025/01/17/image_09012025_01_17_02_954524_0003.jpg', '/home/pi/Desktop/images/09012025/01/18/image_09012025_01_18_02_413748_0000.jpg', '/home/pi/Desktop/images/09012025/01/18/image_09012025_01_18_02_413748_0001.jpg', '/home/pi/Desktop/images/09012025/01/18/image_09012025_01_18_02_413748_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/17/image_09012025_01_17_02_954524_0001.jpg
/home/pi/Desktop/images/09012025/01/17/image_09012025_01_17_02_954524_0003.jpg
/home/pi/Desktop/images/09012025/01/18/image_09012025_01_18_02_413748_0000.jpg
/home/pi/Desktop/images/09012025/01/18/image_09012025_01_18_02_413748_0001.jpg
/home/pi/Desktop/images/09012025/01/18/image_09012025_01_18_02_413748_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327565211","1327565214","1327565205","1327565207","1327565216"],"photo_ids_order":["1327565205","1327565207","1327565211","1327565214","1327565216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f52331bf0b3147451b783036a9dc1234.jpg","text":"TemporaryFile(/tmp/multipartBody4235702302698450871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381975367,"filename":"image_09012025_01_18_02_413748_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ea47c52f7d2509749779a5f0f49363ee.jpg","text":"TemporaryFile(/tmp/multipartBody1320962296318869075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381975367,"filename":"image_09012025_01_18_02_413748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/917d26088b2ef5b52b0ec12150f07e7b.jpg","text":"TemporaryFile(/tmp/multipartBody1573186621919162734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381975367,"filename":"image_09012025_01_17_02_954524_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3e737ef1564bfcfd703e2a5e5175f8d9.jpg","text":"TemporaryFile(/tmp/multipartBody6582290022948238294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381975367,"filename":"image_09012025_01_17_02_954524_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8f4607add33cd22b8e58a48d76450ee2.jpg","text":"TemporaryFile(/tmp/multipartBody4966117691362140485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736381975367,"filename":"image_09012025_01_18_02_413748_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327565211","file1":"1327565207","file0":"1327565205","file4":"1327565216","file3":"1327565214"},"map_files_photo_id_array":[{"photo_id":"1327565211","filename":"file2"},{"photo_id":"1327565216","filename":"file4"},{"photo_id":"1327565207","filename":"file1"},{"photo_id":"1327565205","filename":"file0"},{"photo_id":"1327565214","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327565211":["hashtag1","hashtag2"]},{"1327565214":["hashtag1","hashtag2"]},{"1327565205":["hashtag1","hashtag2"]},{"1327565207":["hashtag1","hashtag2"]},{"1327565216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327565211, 1327565214, 1327565205, 1327565207, 1327565216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.12771439552307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:19:22.267035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/18/image_09012025_01_18_02_413748_0003.jpg', '/home/pi/Desktop/images/09012025/01/19/image_09012025_01_19_03_115915_0000.jpg', '/home/pi/Desktop/images/09012025/01/19/image_09012025_01_19_03_115915_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/18/image_09012025_01_18_02_413748_0003.jpg
/home/pi/Desktop/images/09012025/01/19/image_09012025_01_19_03_115915_0000.jpg
/home/pi/Desktop/images/09012025/01/19/image_09012025_01_19_03_115915_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327565222","1327565225","1327565228"],"photo_ids_order":["1327565222","1327565225","1327565228"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7b4f51cd0a1023a4922574ea09b0c462.jpg","text":"TemporaryFile(/tmp/multipartBody3327674625686303875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382030186,"filename":"image_09012025_01_18_02_413748_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0b6bf81b59f07c018b68aab753dfbda6.jpg","text":"TemporaryFile(/tmp/multipartBody9124333144207794195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382030186,"filename":"image_09012025_01_19_03_115915_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/34ce8e73a6ac43f8d6aa6413cf0918aa.jpg","text":"TemporaryFile(/tmp/multipartBody7707981887402872526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382030186,"filename":"image_09012025_01_19_03_115915_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327565228","file1":"1327565225","file0":"1327565222"},"map_files_photo_id_array":[{"photo_id":"1327565228","filename":"file2"},{"photo_id":"1327565225","filename":"file1"},{"photo_id":"1327565222","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327565222":["hashtag1","hashtag2"]},{"1327565225":["hashtag1","hashtag2"]},{"1327565228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327565222, 1327565225, 1327565228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.770468950271606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:20:02.217865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:20:21.719702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/19/image_09012025_01_19_03_115915_0003.jpg', '/home/pi/Desktop/images/09012025/01/20/image_09012025_01_20_02_609436_0000.jpg', '/home/pi/Desktop/images/09012025/01/20/image_09012025_01_20_02_609436_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/19/image_09012025_01_19_03_115915_0003.jpg
/home/pi/Desktop/images/09012025/01/20/image_09012025_01_20_02_609436_0000.jpg
/home/pi/Desktop/images/09012025/01/20/image_09012025_01_20_02_609436_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327565235","1327565237","1327565234"],"photo_ids_order":["1327565234","1327565235","1327565237"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/05f51a742fd015055097684f3405c5fa.jpg","text":"TemporaryFile(/tmp/multipartBody935681399473412246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382089633,"filename":"image_09012025_01_20_02_609436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/315d2ec433e304a3ff60c63030285889.jpg","text":"TemporaryFile(/tmp/multipartBody4157076818531188757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382089633,"filename":"image_09012025_01_20_02_609436_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/db31c0af90c45a86f11a9f6ab444a0a4.jpg","text":"TemporaryFile(/tmp/multipartBody6663610482781437501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382089633,"filename":"image_09012025_01_19_03_115915_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327565237","file1":"1327565235","file0":"1327565234"},"map_files_photo_id_array":[{"photo_id":"1327565237","filename":"file2"},{"photo_id":"1327565235","filename":"file1"},{"photo_id":"1327565234","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327565235":["hashtag1","hashtag2"]},{"1327565237":["hashtag1","hashtag2"]},{"1327565234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327565235, 1327565237, 1327565234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.17794680595398 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:21:02.980914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:21:22.200089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/20/image_09012025_01_20_02_609436_0003.jpg', '/home/pi/Desktop/images/09012025/01/21/image_09012025_01_21_02_136819_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/20/image_09012025_01_20_02_609436_0003.jpg
/home/pi/Desktop/images/09012025/01/21/image_09012025_01_21_02_136819_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327565248","1327565249"],"photo_ids_order":["1327565248","1327565249"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d4780be5b9a8141b826a902061523ed9.jpg","text":"TemporaryFile(/tmp/multipartBody3678368460756188501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382147658,"filename":"image_09012025_01_20_02_609436_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c211bb43d98d7be688a640ef3129d076.jpg","text":"TemporaryFile(/tmp/multipartBody3896702964367127644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382147658,"filename":"image_09012025_01_21_02_136819_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327565249","file0":"1327565248"},"map_files_photo_id_array":[{"photo_id":"1327565249","filename":"file1"},{"photo_id":"1327565248","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327565248":["hashtag1","hashtag2"]},{"1327565249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327565248, 1327565249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.17656970024109 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:22:02.340618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:22:21.848217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/21/image_09012025_01_21_02_136819_0003.jpg', '/home/pi/Desktop/images/09012025/01/22/image_09012025_01_22_02_602710_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/21/image_09012025_01_21_02_136819_0003.jpg
/home/pi/Desktop/images/09012025/01/22/image_09012025_01_22_02_602710_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.062124252319336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:23:02.893146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/21/image_09012025_01_21_02_136819_0003.jpg', '/home/pi/Desktop/images/09012025/01/22/image_09012025_01_22_02_602710_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/21/image_09012025_01_21_02_136819_0003.jpg
/home/pi/Desktop/images/09012025/01/22/image_09012025_01_22_02_602710_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327565311","1327565310"],"photo_ids_order":["1327565310","1327565311"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/05c08e8417a6657ae7483b832f7aa8af.jpg","text":"TemporaryFile(/tmp/multipartBody8654338977256786056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382248422,"filename":"image_09012025_01_22_02_602710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6012fa3cdaeaf1a9d320e00d450b21f5.jpg","text":"TemporaryFile(/tmp/multipartBody8287740807826930427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382248422,"filename":"image_09012025_01_21_02_136819_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327565311","file0":"1327565310"},"map_files_photo_id_array":[{"photo_id":"1327565311","filename":"file1"},{"photo_id":"1327565310","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327565311":["hashtag1","hashtag2"]},{"1327565310":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327565311, 1327565310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.94102454185486 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:24:02.515904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/22/image_09012025_01_22_02_602710_0003.jpg', '/home/pi/Desktop/images/09012025/01/23/image_09012025_01_23_02_229524_0000.jpg', '/home/pi/Desktop/images/09012025/01/23/image_09012025_01_23_02_229524_0001.jpg', '/home/pi/Desktop/images/09012025/01/23/image_09012025_01_23_02_229524_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/22/image_09012025_01_22_02_602710_0003.jpg
/home/pi/Desktop/images/09012025/01/23/image_09012025_01_23_02_229524_0000.jpg
/home/pi/Desktop/images/09012025/01/23/image_09012025_01_23_02_229524_0001.jpg
/home/pi/Desktop/images/09012025/01/23/image_09012025_01_23_02_229524_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.990063428878784 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:24:22.020171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/22/image_09012025_01_22_02_602710_0003.jpg', '/home/pi/Desktop/images/09012025/01/23/image_09012025_01_23_02_229524_0000.jpg', '/home/pi/Desktop/images/09012025/01/23/image_09012025_01_23_02_229524_0001.jpg', '/home/pi/Desktop/images/09012025/01/23/image_09012025_01_23_02_229524_0002.jpg', '/home/pi/Desktop/images/09012025/01/23/image_09012025_01_23_02_229524_0003.jpg', '/home/pi/Desktop/images/09012025/01/24/image_09012025_01_24_02_723812_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/22/image_09012025_01_22_02_602710_0003.jpg
/home/pi/Desktop/images/09012025/01/23/image_09012025_01_23_02_229524_0000.jpg
/home/pi/Desktop/images/09012025/01/23/image_09012025_01_23_02_229524_0001.jpg
/home/pi/Desktop/images/09012025/01/23/image_09012025_01_23_02_229524_0002.jpg
/home/pi/Desktop/images/09012025/01/23/image_09012025_01_23_02_229524_0003.jpg
/home/pi/Desktop/images/09012025/01/24/image_09012025_01_24_02_723812_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327565524","1327565326","1327566035","1327565864","1327565714","1327565324"],"photo_ids_order":["1327565324","1327565326","1327565524","1327565714","1327565864","1327566035"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e318d1fdac80d094fafe84f6d5d0b1fe.jpg","text":"TemporaryFile(/tmp/multipartBody5173846072778414574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382337158,"filename":"image_09012025_01_23_02_229524_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d0083a59ca8a6535a962f529c519cc6c.jpg","text":"TemporaryFile(/tmp/multipartBody7936843930638490399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382337158,"filename":"image_09012025_01_23_02_229524_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4394757f7f6369b4d1695e480be849c6.jpg","text":"TemporaryFile(/tmp/multipartBody1010596939441408796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382337158,"filename":"image_09012025_01_24_02_723812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8d4525a92555d134dda5c9af4f086c4b.jpg","text":"TemporaryFile(/tmp/multipartBody4598964006154845026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382337158,"filename":"image_09012025_01_23_02_229524_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f758c4825bda2e593d8f5f23c4ac9829.jpg","text":"TemporaryFile(/tmp/multipartBody1413655930412847032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382337158,"filename":"image_09012025_01_23_02_229524_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/990726c8878cd0b4b5f860379b215af6.jpg","text":"TemporaryFile(/tmp/multipartBody1721202898607619387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382337158,"filename":"image_09012025_01_22_02_602710_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327565524","file1":"1327565326","file0":"1327565324","file4":"1327565864","file5":"1327566035","file3":"1327565714"},"map_files_photo_id_array":[{"photo_id":"1327566035","filename":"file5"},{"photo_id":"1327565524","filename":"file2"},{"photo_id":"1327565864","filename":"file4"},{"photo_id":"1327565326","filename":"file1"},{"photo_id":"1327565324","filename":"file0"},{"photo_id":"1327565714","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327565524":["hashtag1","hashtag2"]},{"1327565326":["hashtag1","hashtag2"]},{"1327566035":["hashtag1","hashtag2"]},{"1327565864":["hashtag1","hashtag2"]},{"1327565714":["hashtag1","hashtag2"]},{"1327565324":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327565524, 1327565326, 1327566035, 1327565864, 1327565714, 1327565324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.65388870239258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:25:22.468984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/24/image_09012025_01_24_02_723812_0002.jpg', '/home/pi/Desktop/images/09012025/01/24/image_09012025_01_24_02_723812_0003.jpg', '/home/pi/Desktop/images/09012025/01/25/image_09012025_01_25_02_399298_0000.jpg', '/home/pi/Desktop/images/09012025/01/25/image_09012025_01_25_02_399298_0001.jpg', '/home/pi/Desktop/images/09012025/01/25/image_09012025_01_25_02_399298_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/24/image_09012025_01_24_02_723812_0002.jpg
/home/pi/Desktop/images/09012025/01/24/image_09012025_01_24_02_723812_0003.jpg
/home/pi/Desktop/images/09012025/01/25/image_09012025_01_25_02_399298_0000.jpg
/home/pi/Desktop/images/09012025/01/25/image_09012025_01_25_02_399298_0001.jpg
/home/pi/Desktop/images/09012025/01/25/image_09012025_01_25_02_399298_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327566069","1327566071","1327566056","1327566059","1327566067"],"photo_ids_order":["1327566056","1327566059","1327566067","1327566069","1327566071"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7d186da3415cb43ca4b4c28f524df96d.jpg","text":"TemporaryFile(/tmp/multipartBody8957129071344114327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382395158,"filename":"image_09012025_01_25_02_399298_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dad0a177e0773c0d056583a93f2d4c4f.jpg","text":"TemporaryFile(/tmp/multipartBody480275769559893813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382395158,"filename":"image_09012025_01_25_02_399298_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/883cf2ec4ab9f8436a2dcde91e2d1848.jpg","text":"TemporaryFile(/tmp/multipartBody1925956994483450755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382395158,"filename":"image_09012025_01_24_02_723812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3bb50a454f8dbce8ba2240036c220056.jpg","text":"TemporaryFile(/tmp/multipartBody4695086276584350006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382395158,"filename":"image_09012025_01_24_02_723812_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1afbbb2084c3a3de10490d75f2f616b1.jpg","text":"TemporaryFile(/tmp/multipartBody8396185122761495935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382395158,"filename":"image_09012025_01_25_02_399298_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327566067","file1":"1327566059","file0":"1327566056","file4":"1327566071","file3":"1327566069"},"map_files_photo_id_array":[{"photo_id":"1327566067","filename":"file2"},{"photo_id":"1327566071","filename":"file4"},{"photo_id":"1327566059","filename":"file1"},{"photo_id":"1327566056","filename":"file0"},{"photo_id":"1327566069","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327566069":["hashtag1","hashtag2"]},{"1327566071":["hashtag1","hashtag2"]},{"1327566056":["hashtag1","hashtag2"]},{"1327566059":["hashtag1","hashtag2"]},{"1327566067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327566069, 1327566071, 1327566056, 1327566059, 1327566067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.867199182510376 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:26:21.993545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/25/image_09012025_01_25_02_399298_0003.jpg', '/home/pi/Desktop/images/09012025/01/26/image_09012025_01_26_02_896470_0000.jpg', '/home/pi/Desktop/images/09012025/01/26/image_09012025_01_26_02_896470_0001.jpg', '/home/pi/Desktop/images/09012025/01/26/image_09012025_01_26_02_896470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/25/image_09012025_01_25_02_399298_0003.jpg
/home/pi/Desktop/images/09012025/01/26/image_09012025_01_26_02_896470_0000.jpg
/home/pi/Desktop/images/09012025/01/26/image_09012025_01_26_02_896470_0001.jpg
/home/pi/Desktop/images/09012025/01/26/image_09012025_01_26_02_896470_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.92258906364441 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:27:02.985040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/25/image_09012025_01_25_02_399298_0003.jpg', '/home/pi/Desktop/images/09012025/01/26/image_09012025_01_26_02_896470_0000.jpg', '/home/pi/Desktop/images/09012025/01/26/image_09012025_01_26_02_896470_0001.jpg', '/home/pi/Desktop/images/09012025/01/26/image_09012025_01_26_02_896470_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/25/image_09012025_01_25_02_399298_0003.jpg
/home/pi/Desktop/images/09012025/01/26/image_09012025_01_26_02_896470_0000.jpg
/home/pi/Desktop/images/09012025/01/26/image_09012025_01_26_02_896470_0001.jpg
/home/pi/Desktop/images/09012025/01/26/image_09012025_01_26_02_896470_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327566415","1327566666","1327566567","1327566480"],"photo_ids_order":["1327566415","1327566480","1327566567","1327566666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/481e72ec7bd351273fac5a400a609371.jpg","text":"TemporaryFile(/tmp/multipartBody5624784755459009033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382493633,"filename":"image_09012025_01_25_02_399298_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2e0a6d061c6ea874cd3961338092ffab.jpg","text":"TemporaryFile(/tmp/multipartBody7668463467023088016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382493633,"filename":"image_09012025_01_26_02_896470_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fd2a038b90edcf52e014030558f0bffa.jpg","text":"TemporaryFile(/tmp/multipartBody5843264677292785668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382493633,"filename":"image_09012025_01_26_02_896470_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/05d37fac5be5251cab083759c245a9d9.jpg","text":"TemporaryFile(/tmp/multipartBody1389985121489885608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382493633,"filename":"image_09012025_01_26_02_896470_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327566567","file1":"1327566480","file0":"1327566415","file3":"1327566666"},"map_files_photo_id_array":[{"photo_id":"1327566567","filename":"file2"},{"photo_id":"1327566480","filename":"file1"},{"photo_id":"1327566415","filename":"file0"},{"photo_id":"1327566666","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327566415":["hashtag1","hashtag2"]},{"1327566666":["hashtag1","hashtag2"]},{"1327566567":["hashtag1","hashtag2"]},{"1327566480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327566415, 1327566666, 1327566567, 1327566480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.57532072067261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:28:02.675652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/26/image_09012025_01_26_02_896470_0003.jpg', '/home/pi/Desktop/images/09012025/01/27/image_09012025_01_27_02_386025_0000.jpg', '/home/pi/Desktop/images/09012025/01/27/image_09012025_01_27_02_386025_0001.jpg', '/home/pi/Desktop/images/09012025/01/27/image_09012025_01_27_02_386025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/26/image_09012025_01_26_02_896470_0003.jpg
/home/pi/Desktop/images/09012025/01/27/image_09012025_01_27_02_386025_0000.jpg
/home/pi/Desktop/images/09012025/01/27/image_09012025_01_27_02_386025_0001.jpg
/home/pi/Desktop/images/09012025/01/27/image_09012025_01_27_02_386025_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.663189888000488 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:28:22.193687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/26/image_09012025_01_26_02_896470_0003.jpg', '/home/pi/Desktop/images/09012025/01/27/image_09012025_01_27_02_386025_0000.jpg', '/home/pi/Desktop/images/09012025/01/27/image_09012025_01_27_02_386025_0001.jpg', '/home/pi/Desktop/images/09012025/01/27/image_09012025_01_27_02_386025_0002.jpg', '/home/pi/Desktop/images/09012025/01/27/image_09012025_01_27_02_386025_0003.jpg', '/home/pi/Desktop/images/09012025/01/28/image_09012025_01_28_02_938038_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/26/image_09012025_01_26_02_896470_0003.jpg
/home/pi/Desktop/images/09012025/01/27/image_09012025_01_27_02_386025_0000.jpg
/home/pi/Desktop/images/09012025/01/27/image_09012025_01_27_02_386025_0001.jpg
/home/pi/Desktop/images/09012025/01/27/image_09012025_01_27_02_386025_0002.jpg
/home/pi/Desktop/images/09012025/01/27/image_09012025_01_27_02_386025_0003.jpg
/home/pi/Desktop/images/09012025/01/28/image_09012025_01_28_02_938038_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327567481","1327567483","1327567492","1327567488","1327567485","1327567479"],"photo_ids_order":["1327567479","1327567481","1327567483","1327567485","1327567488","1327567492"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/483bc14203b3f409f54683ecb006ad13.jpg","text":"TemporaryFile(/tmp/multipartBody912200287074267903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382576961,"filename":"image_09012025_01_27_02_386025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5a268bbcca438b1145fd720488af5979.jpg","text":"TemporaryFile(/tmp/multipartBody8661605574467961358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382576961,"filename":"image_09012025_01_27_02_386025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1bde76bb6f97668ee6253fd37707183c.jpg","text":"TemporaryFile(/tmp/multipartBody9221859448573780331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382576961,"filename":"image_09012025_01_28_02_938038_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/da13d7cbedb45d1fd294d5b9f759c8fb.jpg","text":"TemporaryFile(/tmp/multipartBody2157674606002988775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382576961,"filename":"image_09012025_01_27_02_386025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/374c5102ed12fd0fa55971146164297b.jpg","text":"TemporaryFile(/tmp/multipartBody6535390338491069424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382576961,"filename":"image_09012025_01_27_02_386025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/784f728faa6a0f54c4fa5e360b780fca.jpg","text":"TemporaryFile(/tmp/multipartBody3390975022374687267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382576961,"filename":"image_09012025_01_26_02_896470_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327567483","file1":"1327567481","file0":"1327567479","file4":"1327567488","file5":"1327567492","file3":"1327567485"},"map_files_photo_id_array":[{"photo_id":"1327567492","filename":"file5"},{"photo_id":"1327567483","filename":"file2"},{"photo_id":"1327567488","filename":"file4"},{"photo_id":"1327567481","filename":"file1"},{"photo_id":"1327567479","filename":"file0"},{"photo_id":"1327567485","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327567481":["hashtag1","hashtag2"]},{"1327567483":["hashtag1","hashtag2"]},{"1327567492":["hashtag1","hashtag2"]},{"1327567488":["hashtag1","hashtag2"]},{"1327567485":["hashtag1","hashtag2"]},{"1327567479":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327567481, 1327567483, 1327567492, 1327567488, 1327567485, 1327567479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.17704367637634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:29:22.705796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/28/image_09012025_01_28_02_938038_0001.jpg', '/home/pi/Desktop/images/09012025/01/28/image_09012025_01_28_02_938038_0002.jpg', '/home/pi/Desktop/images/09012025/01/28/image_09012025_01_28_02_938038_0003.jpg', '/home/pi/Desktop/images/09012025/01/29/image_09012025_01_29_02_574799_0000.jpg', '/home/pi/Desktop/images/09012025/01/29/image_09012025_01_29_02_574799_0001.jpg', '/home/pi/Desktop/images/09012025/01/29/image_09012025_01_29_02_574799_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/28/image_09012025_01_28_02_938038_0001.jpg
/home/pi/Desktop/images/09012025/01/28/image_09012025_01_28_02_938038_0002.jpg
/home/pi/Desktop/images/09012025/01/28/image_09012025_01_28_02_938038_0003.jpg
/home/pi/Desktop/images/09012025/01/29/image_09012025_01_29_02_574799_0000.jpg
/home/pi/Desktop/images/09012025/01/29/image_09012025_01_29_02_574799_0001.jpg
/home/pi/Desktop/images/09012025/01/29/image_09012025_01_29_02_574799_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327567518","1327567506","1327567515","1327567511","1327567508","1327567504"],"photo_ids_order":["1327567504","1327567506","1327567508","1327567511","1327567515","1327567518"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1edc223f480baf21ce187d244588281d.jpg","text":"TemporaryFile(/tmp/multipartBody4375235024641355802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382637662,"filename":"image_09012025_01_29_02_574799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/921eaaf2b3a6627dfe4adc0c0e369cb8.jpg","text":"TemporaryFile(/tmp/multipartBody8613963438394641583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382637662,"filename":"image_09012025_01_28_02_938038_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4ab60631b8118a8a92b7dd5e28da0076.jpg","text":"TemporaryFile(/tmp/multipartBody5269003991430611451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382637662,"filename":"image_09012025_01_29_02_574799_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f81c291408af26612ec7f9324e1436c4.jpg","text":"TemporaryFile(/tmp/multipartBody2940015481710187001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382637662,"filename":"image_09012025_01_29_02_574799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c3620f982a0c1e3882bb39e6d1994fc7.jpg","text":"TemporaryFile(/tmp/multipartBody5828157778637604272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382637662,"filename":"image_09012025_01_28_02_938038_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/854d86652ecbd0d1c67d39e8467bccba.jpg","text":"TemporaryFile(/tmp/multipartBody2068675020063234859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382637662,"filename":"image_09012025_01_28_02_938038_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327567508","file1":"1327567506","file0":"1327567504","file4":"1327567515","file5":"1327567518","file3":"1327567511"},"map_files_photo_id_array":[{"photo_id":"1327567518","filename":"file5"},{"photo_id":"1327567508","filename":"file2"},{"photo_id":"1327567515","filename":"file4"},{"photo_id":"1327567506","filename":"file1"},{"photo_id":"1327567504","filename":"file0"},{"photo_id":"1327567511","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327567518":["hashtag1","hashtag2"]},{"1327567506":["hashtag1","hashtag2"]},{"1327567515":["hashtag1","hashtag2"]},{"1327567511":["hashtag1","hashtag2"]},{"1327567508":["hashtag1","hashtag2"]},{"1327567504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327567518, 1327567506, 1327567515, 1327567511, 1327567508, 1327567504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.27839112281799 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:30:22.230181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/29/image_09012025_01_29_02_574799_0003.jpg', '/home/pi/Desktop/images/09012025/01/30/image_09012025_01_30_03_045865_0000.jpg', '/home/pi/Desktop/images/09012025/01/30/image_09012025_01_30_03_045865_0001.jpg', '/home/pi/Desktop/images/09012025/01/30/image_09012025_01_30_03_045865_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/29/image_09012025_01_29_02_574799_0003.jpg
/home/pi/Desktop/images/09012025/01/30/image_09012025_01_30_03_045865_0000.jpg
/home/pi/Desktop/images/09012025/01/30/image_09012025_01_30_03_045865_0001.jpg
/home/pi/Desktop/images/09012025/01/30/image_09012025_01_30_03_045865_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327567533","1327567547","1327567526","1327567552"],"photo_ids_order":["1327567526","1327567533","1327567547","1327567552"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/450439a4b2d62cf2eb521fc3b5bc2399.jpg","text":"TemporaryFile(/tmp/multipartBody6048076936368737068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382692412,"filename":"image_09012025_01_30_03_045865_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/95cdb3c227d48aafbc4cde022cd20ef1.jpg","text":"TemporaryFile(/tmp/multipartBody8583329476517833634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382692412,"filename":"image_09012025_01_30_03_045865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/91f576e6e5c489339fae6c841f82943b.jpg","text":"TemporaryFile(/tmp/multipartBody5202182385548352118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382692412,"filename":"image_09012025_01_29_02_574799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a38c96356f833f0833f032d6fc7f1e26.jpg","text":"TemporaryFile(/tmp/multipartBody4415364402934921496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382692412,"filename":"image_09012025_01_30_03_045865_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327567547","file1":"1327567533","file0":"1327567526","file3":"1327567552"},"map_files_photo_id_array":[{"photo_id":"1327567547","filename":"file2"},{"photo_id":"1327567533","filename":"file1"},{"photo_id":"1327567526","filename":"file0"},{"photo_id":"1327567552","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327567533":["hashtag1","hashtag2"]},{"1327567547":["hashtag1","hashtag2"]},{"1327567526":["hashtag1","hashtag2"]},{"1327567552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327567533, 1327567547, 1327567526, 1327567552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.38159489631653 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:31:03.259706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:31:22.696127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/30/image_09012025_01_30_03_045865_0003.jpg', '/home/pi/Desktop/images/09012025/01/31/image_09012025_01_31_02_539716_0000.jpg', '/home/pi/Desktop/images/09012025/01/31/image_09012025_01_31_02_539716_0001.jpg', '/home/pi/Desktop/images/09012025/01/31/image_09012025_01_31_02_539716_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/30/image_09012025_01_30_03_045865_0003.jpg
/home/pi/Desktop/images/09012025/01/31/image_09012025_01_31_02_539716_0000.jpg
/home/pi/Desktop/images/09012025/01/31/image_09012025_01_31_02_539716_0001.jpg
/home/pi/Desktop/images/09012025/01/31/image_09012025_01_31_02_539716_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327567664","1327567661","1327567658","1327567666"],"photo_ids_order":["1327567658","1327567661","1327567664","1327567666"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/76bafa8c05900c225de0794cb61dbaf2.jpg","text":"TemporaryFile(/tmp/multipartBody2321221057940635612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382752964,"filename":"image_09012025_01_31_02_539716_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ab75a590e945555b4184a3feaa492821.jpg","text":"TemporaryFile(/tmp/multipartBody5207733432400246822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382752964,"filename":"image_09012025_01_31_02_539716_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fd300e2e32308afdc4734e9f33db9fa6.jpg","text":"TemporaryFile(/tmp/multipartBody1784722881783894418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382752964,"filename":"image_09012025_01_30_03_045865_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5ff750bc8437b01fdd81714543b1ab66.jpg","text":"TemporaryFile(/tmp/multipartBody3703037542710583113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382752964,"filename":"image_09012025_01_31_02_539716_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327567664","file1":"1327567661","file0":"1327567658","file3":"1327567666"},"map_files_photo_id_array":[{"photo_id":"1327567664","filename":"file2"},{"photo_id":"1327567661","filename":"file1"},{"photo_id":"1327567658","filename":"file0"},{"photo_id":"1327567666","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327567664":["hashtag1","hashtag2"]},{"1327567661":["hashtag1","hashtag2"]},{"1327567658":["hashtag1","hashtag2"]},{"1327567666":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327567664, 1327567661, 1327567658, 1327567666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.02981114387512 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:32:22.327158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/31/image_09012025_01_31_02_539716_0003.jpg', '/home/pi/Desktop/images/09012025/01/32/image_09012025_01_32_03_126435_0000.jpg', '/home/pi/Desktop/images/09012025/01/32/image_09012025_01_32_03_126435_0001.jpg', '/home/pi/Desktop/images/09012025/01/32/image_09012025_01_32_03_126435_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/31/image_09012025_01_31_02_539716_0003.jpg
/home/pi/Desktop/images/09012025/01/32/image_09012025_01_32_03_126435_0000.jpg
/home/pi/Desktop/images/09012025/01/32/image_09012025_01_32_03_126435_0001.jpg
/home/pi/Desktop/images/09012025/01/32/image_09012025_01_32_03_126435_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327567895","1327567883","1327567859","1327567959"],"photo_ids_order":["1327567859","1327567883","1327567895","1327567959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f80a534fc5a576fb000e3d1d98cd7b45.jpg","text":"TemporaryFile(/tmp/multipartBody8125927864009245887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382812770,"filename":"image_09012025_01_32_03_126435_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5341cc1f3b0887e6001b0afa38d03aae.jpg","text":"TemporaryFile(/tmp/multipartBody2162383684882032837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382812770,"filename":"image_09012025_01_32_03_126435_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/644e06a471da7af55cdb51389054c2a1.jpg","text":"TemporaryFile(/tmp/multipartBody7681940539406358949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382812770,"filename":"image_09012025_01_31_02_539716_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/64205a4c3f2df8c9689a98f9fb795016.jpg","text":"TemporaryFile(/tmp/multipartBody360104868830515260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382812770,"filename":"image_09012025_01_32_03_126435_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327567895","file1":"1327567883","file0":"1327567859","file3":"1327567959"},"map_files_photo_id_array":[{"photo_id":"1327567895","filename":"file2"},{"photo_id":"1327567883","filename":"file1"},{"photo_id":"1327567859","filename":"file0"},{"photo_id":"1327567959","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327567895":["hashtag1","hashtag2"]},{"1327567883":["hashtag1","hashtag2"]},{"1327567859":["hashtag1","hashtag2"]},{"1327567959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327567895, 1327567883, 1327567859, 1327567959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.91165590286255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:33:21.728418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/32/image_09012025_01_32_03_126435_0003.jpg', '/home/pi/Desktop/images/09012025/01/33/image_09012025_01_33_02_651594_0000.jpg', '/home/pi/Desktop/images/09012025/01/33/image_09012025_01_33_02_651594_0001.jpg', '/home/pi/Desktop/images/09012025/01/33/image_09012025_01_33_02_651594_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/32/image_09012025_01_32_03_126435_0003.jpg
/home/pi/Desktop/images/09012025/01/33/image_09012025_01_33_02_651594_0000.jpg
/home/pi/Desktop/images/09012025/01/33/image_09012025_01_33_02_651594_0001.jpg
/home/pi/Desktop/images/09012025/01/33/image_09012025_01_33_02_651594_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327567973","1327567970","1327568009","1327567975"],"photo_ids_order":["1327567970","1327567973","1327567975","1327568009"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/174fab4c099f168e9e8982e9c205862a.jpg","text":"TemporaryFile(/tmp/multipartBody4379099758678152130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382872147,"filename":"image_09012025_01_33_02_651594_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b4742c36d53557924ffe5192793f6bcc.jpg","text":"TemporaryFile(/tmp/multipartBody6337671627827525412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382872147,"filename":"image_09012025_01_32_03_126435_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/12418f236a05f3d60f3772812b806b48.jpg","text":"TemporaryFile(/tmp/multipartBody5405669222521868776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382872147,"filename":"image_09012025_01_33_02_651594_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9c0fe11d8257641bb15020fa61794c58.jpg","text":"TemporaryFile(/tmp/multipartBody6040767148585026306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382872147,"filename":"image_09012025_01_33_02_651594_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327567975","file1":"1327567973","file0":"1327567970","file3":"1327568009"},"map_files_photo_id_array":[{"photo_id":"1327567975","filename":"file2"},{"photo_id":"1327567973","filename":"file1"},{"photo_id":"1327567970","filename":"file0"},{"photo_id":"1327568009","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327567973":["hashtag1","hashtag2"]},{"1327567970":["hashtag1","hashtag2"]},{"1327568009":["hashtag1","hashtag2"]},{"1327567975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327567973, 1327567970, 1327568009, 1327567975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.092594623565674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:34:22.250787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/33/image_09012025_01_33_02_651594_0003.jpg', '/home/pi/Desktop/images/09012025/01/34/image_09012025_01_34_02_115603_0000.jpg', '/home/pi/Desktop/images/09012025/01/34/image_09012025_01_34_02_115603_0001.jpg', '/home/pi/Desktop/images/09012025/01/34/image_09012025_01_34_02_115603_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/33/image_09012025_01_33_02_651594_0003.jpg
/home/pi/Desktop/images/09012025/01/34/image_09012025_01_34_02_115603_0000.jpg
/home/pi/Desktop/images/09012025/01/34/image_09012025_01_34_02_115603_0001.jpg
/home/pi/Desktop/images/09012025/01/34/image_09012025_01_34_02_115603_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327568324","1327568269","1327568277","1327568337"],"photo_ids_order":["1327568269","1327568277","1327568324","1327568337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5866fa470b6682a4e49283f626cb4f7c.jpg","text":"TemporaryFile(/tmp/multipartBody8019733728981572680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382932703,"filename":"image_09012025_01_34_02_115603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/81f21fc291784e3f7387f6460f8edc3b.jpg","text":"TemporaryFile(/tmp/multipartBody7500513403439008047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382932703,"filename":"image_09012025_01_33_02_651594_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c005cf6a911d2219182f42f8fb27f898.jpg","text":"TemporaryFile(/tmp/multipartBody4396806455055531588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382932703,"filename":"image_09012025_01_34_02_115603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/965fc64e165e8a14d22098a9c6cfece5.jpg","text":"TemporaryFile(/tmp/multipartBody8439258493927756906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382932703,"filename":"image_09012025_01_34_02_115603_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327568324","file1":"1327568277","file0":"1327568269","file3":"1327568337"},"map_files_photo_id_array":[{"photo_id":"1327568324","filename":"file2"},{"photo_id":"1327568277","filename":"file1"},{"photo_id":"1327568269","filename":"file0"},{"photo_id":"1327568337","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327568324":["hashtag1","hashtag2"]},{"1327568269":["hashtag1","hashtag2"]},{"1327568277":["hashtag1","hashtag2"]},{"1327568337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327568324, 1327568269, 1327568277, 1327568337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.79641819000244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:35:22.743250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/34/image_09012025_01_34_02_115603_0003.jpg', '/home/pi/Desktop/images/09012025/01/35/image_09012025_01_35_02_582355_0000.jpg', '/home/pi/Desktop/images/09012025/01/35/image_09012025_01_35_02_582355_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/34/image_09012025_01_34_02_115603_0003.jpg
/home/pi/Desktop/images/09012025/01/35/image_09012025_01_35_02_582355_0000.jpg
/home/pi/Desktop/images/09012025/01/35/image_09012025_01_35_02_582355_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327568416","1327568424","1327568418"],"photo_ids_order":["1327568416","1327568418","1327568424"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4c43bd19d2c891c93e154c5d5cef4ceb.jpg","text":"TemporaryFile(/tmp/multipartBody8297480877630126241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382990610,"filename":"image_09012025_01_34_02_115603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/31be7c851cab9c72b76f2659c6af3dc2.jpg","text":"TemporaryFile(/tmp/multipartBody5669740818350881930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382990610,"filename":"image_09012025_01_35_02_582355_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7226f48c6f79840b38efd668c242797d.jpg","text":"TemporaryFile(/tmp/multipartBody4625302516723644165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736382990610,"filename":"image_09012025_01_35_02_582355_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327568424","file1":"1327568418","file0":"1327568416"},"map_files_photo_id_array":[{"photo_id":"1327568424","filename":"file2"},{"photo_id":"1327568418","filename":"file1"},{"photo_id":"1327568416","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327568416":["hashtag1","hashtag2"]},{"1327568424":["hashtag1","hashtag2"]},{"1327568418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327568416, 1327568424, 1327568418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.506126403808594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:36:02.734994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:36:22.318531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/35/image_09012025_01_35_02_582355_0003.jpg', '/home/pi/Desktop/images/09012025/01/36/image_09012025_01_36_03_173477_0000.jpg', '/home/pi/Desktop/images/09012025/01/36/image_09012025_01_36_03_173477_0001.jpg', '/home/pi/Desktop/images/09012025/01/36/image_09012025_01_36_03_173477_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/35/image_09012025_01_35_02_582355_0003.jpg
/home/pi/Desktop/images/09012025/01/36/image_09012025_01_36_03_173477_0000.jpg
/home/pi/Desktop/images/09012025/01/36/image_09012025_01_36_03_173477_0001.jpg
/home/pi/Desktop/images/09012025/01/36/image_09012025_01_36_03_173477_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327568474","1327568438","1327568440","1327568442"],"photo_ids_order":["1327568438","1327568440","1327568442","1327568474"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b6291c8ac64a0f0ff97ff445cbef0fdd.jpg","text":"TemporaryFile(/tmp/multipartBody6248820541203010814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383052851,"filename":"image_09012025_01_36_03_173477_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b795d94288744ef85883ca08b9f1888b.jpg","text":"TemporaryFile(/tmp/multipartBody8006520718244904860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383052851,"filename":"image_09012025_01_35_02_582355_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e877d8515fce5bec264d73191fd0a65.jpg","text":"TemporaryFile(/tmp/multipartBody1217291154355554287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383052851,"filename":"image_09012025_01_36_03_173477_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/49dcfc35decee4b0dc71c0e0b7d60bb3.jpg","text":"TemporaryFile(/tmp/multipartBody1207956186390296033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383052851,"filename":"image_09012025_01_36_03_173477_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327568442","file1":"1327568440","file0":"1327568438","file3":"1327568474"},"map_files_photo_id_array":[{"photo_id":"1327568442","filename":"file2"},{"photo_id":"1327568440","filename":"file1"},{"photo_id":"1327568438","filename":"file0"},{"photo_id":"1327568474","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327568474":["hashtag1","hashtag2"]},{"1327568438":["hashtag1","hashtag2"]},{"1327568440":["hashtag1","hashtag2"]},{"1327568442":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327568474, 1327568438, 1327568440, 1327568442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.12868070602417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:37:21.823399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/36/image_09012025_01_36_03_173477_0003.jpg', '/home/pi/Desktop/images/09012025/01/37/image_09012025_01_37_02_696947_0000.jpg', '/home/pi/Desktop/images/09012025/01/37/image_09012025_01_37_02_696947_0001.jpg', '/home/pi/Desktop/images/09012025/01/37/image_09012025_01_37_02_696947_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/36/image_09012025_01_36_03_173477_0003.jpg
/home/pi/Desktop/images/09012025/01/37/image_09012025_01_37_02_696947_0000.jpg
/home/pi/Desktop/images/09012025/01/37/image_09012025_01_37_02_696947_0001.jpg
/home/pi/Desktop/images/09012025/01/37/image_09012025_01_37_02_696947_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327568513","1327568515","1327568517","1327568511"],"photo_ids_order":["1327568511","1327568513","1327568515","1327568517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/96fce820e509791db0cec10d90fcc1be.jpg","text":"TemporaryFile(/tmp/multipartBody7310837878603657767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383112171,"filename":"image_09012025_01_37_02_696947_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/04a075263af7dfd6b3af92c5fc63b539.jpg","text":"TemporaryFile(/tmp/multipartBody1019856839901925456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383112171,"filename":"image_09012025_01_37_02_696947_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/63cb2a12085436459a3603ba588e22f1.jpg","text":"TemporaryFile(/tmp/multipartBody7433934590828608738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383112171,"filename":"image_09012025_01_37_02_696947_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0c431c70e189b7a6f8eeedbfe37752d8.jpg","text":"TemporaryFile(/tmp/multipartBody6401642225797912739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383112171,"filename":"image_09012025_01_36_03_173477_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327568515","file1":"1327568513","file0":"1327568511","file3":"1327568517"},"map_files_photo_id_array":[{"photo_id":"1327568515","filename":"file2"},{"photo_id":"1327568513","filename":"file1"},{"photo_id":"1327568511","filename":"file0"},{"photo_id":"1327568517","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327568513":["hashtag1","hashtag2"]},{"1327568515":["hashtag1","hashtag2"]},{"1327568517":["hashtag1","hashtag2"]},{"1327568511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327568513, 1327568515, 1327568517, 1327568511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.23689532279968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:38:22.341675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/37/image_09012025_01_37_02_696947_0003.jpg', '/home/pi/Desktop/images/09012025/01/38/image_09012025_01_38_02_195892_0000.jpg', '/home/pi/Desktop/images/09012025/01/38/image_09012025_01_38_02_195892_0001.jpg', '/home/pi/Desktop/images/09012025/01/38/image_09012025_01_38_02_195892_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/37/image_09012025_01_37_02_696947_0003.jpg
/home/pi/Desktop/images/09012025/01/38/image_09012025_01_38_02_195892_0000.jpg
/home/pi/Desktop/images/09012025/01/38/image_09012025_01_38_02_195892_0001.jpg
/home/pi/Desktop/images/09012025/01/38/image_09012025_01_38_02_195892_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327568579","1327568587","1327568581","1327568584"],"photo_ids_order":["1327568579","1327568581","1327568584","1327568587"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2dfba73f4ba24167874efa27473799d9.jpg","text":"TemporaryFile(/tmp/multipartBody375662390233804634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383172743,"filename":"image_09012025_01_37_02_696947_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d4d08025a934e2838eb7a04153654c27.jpg","text":"TemporaryFile(/tmp/multipartBody1932114503775333736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383172743,"filename":"image_09012025_01_38_02_195892_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/00363c15463163102d227bb6a3a58bef.jpg","text":"TemporaryFile(/tmp/multipartBody6785644247252334909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383172743,"filename":"image_09012025_01_38_02_195892_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f36be73249f60454e57e1e2a14843994.jpg","text":"TemporaryFile(/tmp/multipartBody3455742584110427723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383172743,"filename":"image_09012025_01_38_02_195892_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327568584","file1":"1327568581","file0":"1327568579","file3":"1327568587"},"map_files_photo_id_array":[{"photo_id":"1327568584","filename":"file2"},{"photo_id":"1327568581","filename":"file1"},{"photo_id":"1327568579","filename":"file0"},{"photo_id":"1327568587","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327568579":["hashtag1","hashtag2"]},{"1327568587":["hashtag1","hashtag2"]},{"1327568581":["hashtag1","hashtag2"]},{"1327568584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327568579, 1327568587, 1327568581, 1327568584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.52402067184448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:39:21.776481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/38/image_09012025_01_38_02_195892_0003.jpg', '/home/pi/Desktop/images/09012025/01/39/image_09012025_01_39_02_696611_0001.jpg', '/home/pi/Desktop/images/09012025/01/39/image_09012025_01_39_02_696611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/38/image_09012025_01_38_02_195892_0003.jpg
/home/pi/Desktop/images/09012025/01/39/image_09012025_01_39_02_696611_0001.jpg
/home/pi/Desktop/images/09012025/01/39/image_09012025_01_39_02_696611_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327568600","1327568596","1327568598"],"photo_ids_order":["1327568596","1327568598","1327568600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/37b6fc1d6772df66faf0d7dc1ced41ae.jpg","text":"TemporaryFile(/tmp/multipartBody206081041486175653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383229820,"filename":"image_09012025_01_39_02_696611_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/08eabf3825a797e7b4a466e7405a8735.jpg","text":"TemporaryFile(/tmp/multipartBody2973366872267500367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383229820,"filename":"image_09012025_01_38_02_195892_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/081e6d6b8742d393dad06f006bf3d722.jpg","text":"TemporaryFile(/tmp/multipartBody1140302404033751954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383229820,"filename":"image_09012025_01_39_02_696611_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327568600","file1":"1327568598","file0":"1327568596"},"map_files_photo_id_array":[{"photo_id":"1327568600","filename":"file2"},{"photo_id":"1327568598","filename":"file1"},{"photo_id":"1327568596","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327568600":["hashtag1","hashtag2"]},{"1327568596":["hashtag1","hashtag2"]},{"1327568598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327568600, 1327568596, 1327568598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.101303577423096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:40:02.859732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:40:22.371056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/39/image_09012025_01_39_02_696611_0003.jpg', '/home/pi/Desktop/images/09012025/01/40/image_09012025_01_40_02_250678_0000.jpg', '/home/pi/Desktop/images/09012025/01/40/image_09012025_01_40_02_250678_0001.jpg', '/home/pi/Desktop/images/09012025/01/40/image_09012025_01_40_02_250678_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/39/image_09012025_01_39_02_696611_0003.jpg
/home/pi/Desktop/images/09012025/01/40/image_09012025_01_40_02_250678_0000.jpg
/home/pi/Desktop/images/09012025/01/40/image_09012025_01_40_02_250678_0001.jpg
/home/pi/Desktop/images/09012025/01/40/image_09012025_01_40_02_250678_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.947771787643433 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:41:02.511295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/39/image_09012025_01_39_02_696611_0003.jpg', '/home/pi/Desktop/images/09012025/01/40/image_09012025_01_40_02_250678_0000.jpg', '/home/pi/Desktop/images/09012025/01/40/image_09012025_01_40_02_250678_0001.jpg', '/home/pi/Desktop/images/09012025/01/40/image_09012025_01_40_02_250678_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/39/image_09012025_01_39_02_696611_0003.jpg
/home/pi/Desktop/images/09012025/01/40/image_09012025_01_40_02_250678_0000.jpg
/home/pi/Desktop/images/09012025/01/40/image_09012025_01_40_02_250678_0001.jpg
/home/pi/Desktop/images/09012025/01/40/image_09012025_01_40_02_250678_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327568639","1327568636","1327568641","1327568637"],"photo_ids_order":["1327568636","1327568637","1327568639","1327568641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bb0bc901e744e37b3675575295a508aa.jpg","text":"TemporaryFile(/tmp/multipartBody8618911623712099116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383332871,"filename":"image_09012025_01_40_02_250678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/534b3d4c6a187454d3c964f0a560996e.jpg","text":"TemporaryFile(/tmp/multipartBody4658475581220700779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383332871,"filename":"image_09012025_01_39_02_696611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f6aea1f3c4c95bfd269cb3e98566de1d.jpg","text":"TemporaryFile(/tmp/multipartBody1287689458877293598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383332871,"filename":"image_09012025_01_40_02_250678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/19075902c47861b0dfff81efef84256c.jpg","text":"TemporaryFile(/tmp/multipartBody7705479107026583210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383332871,"filename":"image_09012025_01_40_02_250678_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327568639","file1":"1327568637","file0":"1327568636","file3":"1327568641"},"map_files_photo_id_array":[{"photo_id":"1327568639","filename":"file2"},{"photo_id":"1327568637","filename":"file1"},{"photo_id":"1327568636","filename":"file0"},{"photo_id":"1327568641","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327568639":["hashtag1","hashtag2"]},{"1327568636":["hashtag1","hashtag2"]},{"1327568641":["hashtag1","hashtag2"]},{"1327568637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327568639, 1327568636, 1327568641, 1327568637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.72997736930847 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:42:02.865804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/40/image_09012025_01_40_02_250678_0003.jpg', '/home/pi/Desktop/images/09012025/01/41/image_09012025_01_41_02_729944_0000.jpg', '/home/pi/Desktop/images/09012025/01/41/image_09012025_01_41_02_729944_0001.jpg', '/home/pi/Desktop/images/09012025/01/41/image_09012025_01_41_02_729944_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/40/image_09012025_01_40_02_250678_0003.jpg
/home/pi/Desktop/images/09012025/01/41/image_09012025_01_41_02_729944_0000.jpg
/home/pi/Desktop/images/09012025/01/41/image_09012025_01_41_02_729944_0001.jpg
/home/pi/Desktop/images/09012025/01/41/image_09012025_01_41_02_729944_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.89106798171997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:42:22.583715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/40/image_09012025_01_40_02_250678_0003.jpg', '/home/pi/Desktop/images/09012025/01/41/image_09012025_01_41_02_729944_0000.jpg', '/home/pi/Desktop/images/09012025/01/41/image_09012025_01_41_02_729944_0001.jpg', '/home/pi/Desktop/images/09012025/01/41/image_09012025_01_41_02_729944_0002.jpg', '/home/pi/Desktop/images/09012025/01/41/image_09012025_01_41_02_729944_0003.jpg', '/home/pi/Desktop/images/09012025/01/42/image_09012025_01_42_02_295608_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/40/image_09012025_01_40_02_250678_0003.jpg
/home/pi/Desktop/images/09012025/01/41/image_09012025_01_41_02_729944_0000.jpg
/home/pi/Desktop/images/09012025/01/41/image_09012025_01_41_02_729944_0001.jpg
/home/pi/Desktop/images/09012025/01/41/image_09012025_01_41_02_729944_0002.jpg
/home/pi/Desktop/images/09012025/01/41/image_09012025_01_41_02_729944_0003.jpg
/home/pi/Desktop/images/09012025/01/42/image_09012025_01_42_02_295608_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327568657","1327568914","1327568659","1327568685","1327568787","1327568655"],"photo_ids_order":["1327568655","1327568657","1327568659","1327568685","1327568787","1327568914"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/88b2456f197a9b39949a7203692d584f.jpg","text":"TemporaryFile(/tmp/multipartBody2072593835129523717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383417667,"filename":"image_09012025_01_41_02_729944_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ea7d4c35dca028ec371bbd2e875d3308.jpg","text":"TemporaryFile(/tmp/multipartBody4033474669623757069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383417667,"filename":"image_09012025_01_42_02_295608_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f77ef101f7cbd26fa91d24e73c228985.jpg","text":"TemporaryFile(/tmp/multipartBody4231709733185886873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383417667,"filename":"image_09012025_01_41_02_729944_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1a1eb3e52c4cba1953ff82be76e985a4.jpg","text":"TemporaryFile(/tmp/multipartBody8325361819461098001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383417667,"filename":"image_09012025_01_41_02_729944_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/baf262f52c047d1dc14654ac5217ae0c.jpg","text":"TemporaryFile(/tmp/multipartBody975966123656584721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383417667,"filename":"image_09012025_01_41_02_729944_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a037e063f8e425dbc5e92ee3b695c2cd.jpg","text":"TemporaryFile(/tmp/multipartBody361365781350537952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383417667,"filename":"image_09012025_01_40_02_250678_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327568659","file1":"1327568657","file0":"1327568655","file4":"1327568787","file5":"1327568914","file3":"1327568685"},"map_files_photo_id_array":[{"photo_id":"1327568914","filename":"file5"},{"photo_id":"1327568659","filename":"file2"},{"photo_id":"1327568787","filename":"file4"},{"photo_id":"1327568657","filename":"file1"},{"photo_id":"1327568655","filename":"file0"},{"photo_id":"1327568685","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327568657":["hashtag1","hashtag2"]},{"1327568914":["hashtag1","hashtag2"]},{"1327568659":["hashtag1","hashtag2"]},{"1327568685":["hashtag1","hashtag2"]},{"1327568787":["hashtag1","hashtag2"]},{"1327568655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327568657, 1327568914, 1327568659, 1327568685, 1327568787, 1327568655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.546324729919434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:44:02.911637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/42/image_09012025_01_42_02_295608_0001.jpg', '/home/pi/Desktop/images/09012025/01/42/image_09012025_01_42_02_295608_0002.jpg', '/home/pi/Desktop/images/09012025/01/42/image_09012025_01_42_02_295608_0003.jpg', '/home/pi/Desktop/images/09012025/01/43/image_09012025_01_43_02_927706_0000.jpg', '/home/pi/Desktop/images/09012025/01/43/image_09012025_01_43_02_927706_0001.jpg', '/home/pi/Desktop/images/09012025/01/43/image_09012025_01_43_02_927706_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/42/image_09012025_01_42_02_295608_0001.jpg
/home/pi/Desktop/images/09012025/01/42/image_09012025_01_42_02_295608_0002.jpg
/home/pi/Desktop/images/09012025/01/42/image_09012025_01_42_02_295608_0003.jpg
/home/pi/Desktop/images/09012025/01/43/image_09012025_01_43_02_927706_0000.jpg
/home/pi/Desktop/images/09012025/01/43/image_09012025_01_43_02_927706_0001.jpg
/home/pi/Desktop/images/09012025/01/43/image_09012025_01_43_02_927706_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327569472","1327569475","1327569494","1327569488","1327569485","1327569470"],"photo_ids_order":["1327569470","1327569472","1327569475","1327569485","1327569488","1327569494"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/af7c3327ea12efa20c7469e3d61a7137.jpg","text":"TemporaryFile(/tmp/multipartBody1073464690560980068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383518050,"filename":"image_09012025_01_42_02_295608_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1ca935b2a9643d7dd98e558d7f62b2ce.jpg","text":"TemporaryFile(/tmp/multipartBody6763169733519753503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383518050,"filename":"image_09012025_01_42_02_295608_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e505d503bccc51d674cb2018d77b7a05.jpg","text":"TemporaryFile(/tmp/multipartBody3326402139348897841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383518050,"filename":"image_09012025_01_43_02_927706_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aaf3919fc138289f92adddc90dc0be0d.jpg","text":"TemporaryFile(/tmp/multipartBody8078032168501800434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383518050,"filename":"image_09012025_01_43_02_927706_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/868348d93c32ec6c6b62606b304a4e78.jpg","text":"TemporaryFile(/tmp/multipartBody7611062956471531318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383518050,"filename":"image_09012025_01_43_02_927706_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f1330dc949391b42229b7c6cb82f9643.jpg","text":"TemporaryFile(/tmp/multipartBody2563185340116428292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383518050,"filename":"image_09012025_01_42_02_295608_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327569475","file1":"1327569472","file0":"1327569470","file4":"1327569488","file5":"1327569494","file3":"1327569485"},"map_files_photo_id_array":[{"photo_id":"1327569494","filename":"file5"},{"photo_id":"1327569475","filename":"file2"},{"photo_id":"1327569488","filename":"file4"},{"photo_id":"1327569472","filename":"file1"},{"photo_id":"1327569470","filename":"file0"},{"photo_id":"1327569485","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327569472":["hashtag1","hashtag2"]},{"1327569475":["hashtag1","hashtag2"]},{"1327569494":["hashtag1","hashtag2"]},{"1327569488":["hashtag1","hashtag2"]},{"1327569485":["hashtag1","hashtag2"]},{"1327569470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327569472, 1327569475, 1327569494, 1327569488, 1327569485, 1327569470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.49778604507446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:45:02.679942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/43/image_09012025_01_43_02_927706_0003.jpg', '/home/pi/Desktop/images/09012025/01/44/image_09012025_01_44_02_430295_0000.jpg', '/home/pi/Desktop/images/09012025/01/44/image_09012025_01_44_02_430295_0001.jpg', '/home/pi/Desktop/images/09012025/01/44/image_09012025_01_44_02_430295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/43/image_09012025_01_43_02_927706_0003.jpg
/home/pi/Desktop/images/09012025/01/44/image_09012025_01_44_02_430295_0000.jpg
/home/pi/Desktop/images/09012025/01/44/image_09012025_01_44_02_430295_0001.jpg
/home/pi/Desktop/images/09012025/01/44/image_09012025_01_44_02_430295_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327569664","1327569658","1327569580","1327569657"],"photo_ids_order":["1327569580","1327569657","1327569658","1327569664"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d6f2550e9f449fdb4aa12e137ea271a7.jpg","text":"TemporaryFile(/tmp/multipartBody3674697951170996990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383573075,"filename":"image_09012025_01_44_02_430295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8d7ad4e2cd5c833a3b91a819efba0b33.jpg","text":"TemporaryFile(/tmp/multipartBody4343387438370900723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383573075,"filename":"image_09012025_01_44_02_430295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/76e15d8bd1d0bcc21aa79c6a7e7d0325.jpg","text":"TemporaryFile(/tmp/multipartBody9159971534719006257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383573075,"filename":"image_09012025_01_43_02_927706_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5f7c3c17dba346ff850b57238098d75d.jpg","text":"TemporaryFile(/tmp/multipartBody5043875933658895048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383573075,"filename":"image_09012025_01_44_02_430295_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327569658","file1":"1327569657","file0":"1327569580","file3":"1327569664"},"map_files_photo_id_array":[{"photo_id":"1327569658","filename":"file2"},{"photo_id":"1327569657","filename":"file1"},{"photo_id":"1327569580","filename":"file0"},{"photo_id":"1327569664","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327569664":["hashtag1","hashtag2"]},{"1327569658":["hashtag1","hashtag2"]},{"1327569580":["hashtag1","hashtag2"]},{"1327569657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327569664, 1327569658, 1327569580, 1327569657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.320513010025024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:46:03.142560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/44/image_09012025_01_44_02_430295_0003.jpg', '/home/pi/Desktop/images/09012025/01/45/image_09012025_01_45_02_941779_0000.jpg', '/home/pi/Desktop/images/09012025/01/45/image_09012025_01_45_02_941779_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/44/image_09012025_01_44_02_430295_0003.jpg
/home/pi/Desktop/images/09012025/01/45/image_09012025_01_45_02_941779_0000.jpg
/home/pi/Desktop/images/09012025/01/45/image_09012025_01_45_02_941779_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.4420366287231445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:46:22.702210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/44/image_09012025_01_44_02_430295_0003.jpg', '/home/pi/Desktop/images/09012025/01/45/image_09012025_01_45_02_941779_0000.jpg', '/home/pi/Desktop/images/09012025/01/45/image_09012025_01_45_02_941779_0001.jpg', '/home/pi/Desktop/images/09012025/01/45/image_09012025_01_45_02_941779_0003.jpg', '/home/pi/Desktop/images/09012025/01/46/image_09012025_01_46_02_442490_0000.jpg', '/home/pi/Desktop/images/09012025/01/46/image_09012025_01_46_02_442490_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/44/image_09012025_01_44_02_430295_0003.jpg
/home/pi/Desktop/images/09012025/01/45/image_09012025_01_45_02_941779_0000.jpg
/home/pi/Desktop/images/09012025/01/45/image_09012025_01_45_02_941779_0001.jpg
/home/pi/Desktop/images/09012025/01/45/image_09012025_01_45_02_941779_0003.jpg
/home/pi/Desktop/images/09012025/01/46/image_09012025_01_46_02_442490_0000.jpg
/home/pi/Desktop/images/09012025/01/46/image_09012025_01_46_02_442490_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327569747","1327569899","1327569791","1327569773","1327569749","1327569740"],"photo_ids_order":["1327569740","1327569747","1327569749","1327569773","1327569791","1327569899"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6ed4d52b59486edccf27ba811e9ee163.jpg","text":"TemporaryFile(/tmp/multipartBody2502705670635688612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383657864,"filename":"image_09012025_01_45_02_941779_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/357233a879ba2229b2fd0ba28c5662a3.jpg","text":"TemporaryFile(/tmp/multipartBody8608506574636677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383657864,"filename":"image_09012025_01_46_02_442490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0d4b861632c5e351d456f5321a1b0c5b.jpg","text":"TemporaryFile(/tmp/multipartBody6281462369506396205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383657864,"filename":"image_09012025_01_46_02_442490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/884cfbc5aeaa7f0d5343474d30941c95.jpg","text":"TemporaryFile(/tmp/multipartBody5006943119130483049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383657864,"filename":"image_09012025_01_45_02_941779_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e9925b8716f2c4af403db7aece6cfe3d.jpg","text":"TemporaryFile(/tmp/multipartBody6017673829762744844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383657864,"filename":"image_09012025_01_45_02_941779_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8d8a3206244cd9ce4e490c720623d612.jpg","text":"TemporaryFile(/tmp/multipartBody7117198806468182194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383657864,"filename":"image_09012025_01_44_02_430295_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327569749","file1":"1327569747","file0":"1327569740","file4":"1327569791","file5":"1327569899","file3":"1327569773"},"map_files_photo_id_array":[{"photo_id":"1327569899","filename":"file5"},{"photo_id":"1327569749","filename":"file2"},{"photo_id":"1327569791","filename":"file4"},{"photo_id":"1327569747","filename":"file1"},{"photo_id":"1327569740","filename":"file0"},{"photo_id":"1327569773","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327569747":["hashtag1","hashtag2"]},{"1327569899":["hashtag1","hashtag2"]},{"1327569791":["hashtag1","hashtag2"]},{"1327569773":["hashtag1","hashtag2"]},{"1327569749":["hashtag1","hashtag2"]},{"1327569740":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327569747, 1327569899, 1327569791, 1327569773, 1327569749, 1327569740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.08813285827637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:47:22.277911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/46/image_09012025_01_46_02_442490_0002.jpg', '/home/pi/Desktop/images/09012025/01/46/image_09012025_01_46_02_442490_0003.jpg', '/home/pi/Desktop/images/09012025/01/47/image_09012025_01_47_03_100974_0000.jpg', '/home/pi/Desktop/images/09012025/01/47/image_09012025_01_47_03_100974_0001.jpg', '/home/pi/Desktop/images/09012025/01/47/image_09012025_01_47_03_100974_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/46/image_09012025_01_46_02_442490_0002.jpg
/home/pi/Desktop/images/09012025/01/46/image_09012025_01_46_02_442490_0003.jpg
/home/pi/Desktop/images/09012025/01/47/image_09012025_01_47_03_100974_0000.jpg
/home/pi/Desktop/images/09012025/01/47/image_09012025_01_47_03_100974_0001.jpg
/home/pi/Desktop/images/09012025/01/47/image_09012025_01_47_03_100974_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327570419","1327570465","1327570095","1327570512","1327570257"],"photo_ids_order":["1327570095","1327570257","1327570419","1327570465","1327570512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4830dab38ac54172ecdc7d738532557b.jpg","text":"TemporaryFile(/tmp/multipartBody677781720432905428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383714892,"filename":"image_09012025_01_47_03_100974_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e44edef8cf4d1c2e3aaceb5453328c8e.jpg","text":"TemporaryFile(/tmp/multipartBody2459070785226048664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383714892,"filename":"image_09012025_01_47_03_100974_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d596c88a84205fa883a225b74eae0cfb.jpg","text":"TemporaryFile(/tmp/multipartBody3296036305125118888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383714892,"filename":"image_09012025_01_46_02_442490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/39a91f46561e440adce91950550301d3.jpg","text":"TemporaryFile(/tmp/multipartBody7596286381538042264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383714892,"filename":"image_09012025_01_47_03_100974_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7f69afe458a77c123353772ee0d0307f.jpg","text":"TemporaryFile(/tmp/multipartBody946391045355202396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383714892,"filename":"image_09012025_01_46_02_442490_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327570419","file1":"1327570257","file0":"1327570095","file4":"1327570512","file3":"1327570465"},"map_files_photo_id_array":[{"photo_id":"1327570419","filename":"file2"},{"photo_id":"1327570512","filename":"file4"},{"photo_id":"1327570257","filename":"file1"},{"photo_id":"1327570095","filename":"file0"},{"photo_id":"1327570465","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327570419":["hashtag1","hashtag2"]},{"1327570465":["hashtag1","hashtag2"]},{"1327570095":["hashtag1","hashtag2"]},{"1327570512":["hashtag1","hashtag2"]},{"1327570257":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327570419, 1327570465, 1327570095, 1327570512, 1327570257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 45.9538631439209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:48:21.742297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/47/image_09012025_01_47_03_100974_0003.jpg', '/home/pi/Desktop/images/09012025/01/48/image_09012025_01_48_02_604523_0000.jpg', '/home/pi/Desktop/images/09012025/01/48/image_09012025_01_48_02_604523_0001.jpg', '/home/pi/Desktop/images/09012025/01/48/image_09012025_01_48_02_604523_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/47/image_09012025_01_47_03_100974_0003.jpg
/home/pi/Desktop/images/09012025/01/48/image_09012025_01_48_02_604523_0000.jpg
/home/pi/Desktop/images/09012025/01/48/image_09012025_01_48_02_604523_0001.jpg
/home/pi/Desktop/images/09012025/01/48/image_09012025_01_48_02_604523_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327570800","1327570778","1327570834","1327570796"],"photo_ids_order":["1327570778","1327570796","1327570800","1327570834"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/34407b5e0f59b84bcaacc5ec96480e19.jpg","text":"TemporaryFile(/tmp/multipartBody152953966057805178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383772306,"filename":"image_09012025_01_48_02_604523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d046350323d104c062b260a2941643a5.jpg","text":"TemporaryFile(/tmp/multipartBody6161113053180309924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383772306,"filename":"image_09012025_01_47_03_100974_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/de37eab272dbf7baa3d5181a8f1e706d.jpg","text":"TemporaryFile(/tmp/multipartBody6496219097443896487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383772306,"filename":"image_09012025_01_48_02_604523_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d6a2f94a90ccb3ae0dc045a6726e33fb.jpg","text":"TemporaryFile(/tmp/multipartBody8510241692773811083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383772306,"filename":"image_09012025_01_48_02_604523_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327570800","file1":"1327570796","file0":"1327570778","file3":"1327570834"},"map_files_photo_id_array":[{"photo_id":"1327570800","filename":"file2"},{"photo_id":"1327570796","filename":"file1"},{"photo_id":"1327570778","filename":"file0"},{"photo_id":"1327570834","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327570800":["hashtag1","hashtag2"]},{"1327570778":["hashtag1","hashtag2"]},{"1327570834":["hashtag1","hashtag2"]},{"1327570796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327570800, 1327570778, 1327570834, 1327570796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.2746901512146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:49:22.352532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/48/image_09012025_01_48_02_604523_0003.jpg', '/home/pi/Desktop/images/09012025/01/49/image_09012025_01_49_02_154989_0000.jpg', '/home/pi/Desktop/images/09012025/01/49/image_09012025_01_49_02_154989_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/48/image_09012025_01_48_02_604523_0003.jpg
/home/pi/Desktop/images/09012025/01/49/image_09012025_01_49_02_154989_0000.jpg
/home/pi/Desktop/images/09012025/01/49/image_09012025_01_49_02_154989_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327571216","1327571213","1327571218"],"photo_ids_order":["1327571213","1327571216","1327571218"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d1bdbeda5ec9d7a00b4b91a97e1e16fd.jpg","text":"TemporaryFile(/tmp/multipartBody3289093110196896065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383830382,"filename":"image_09012025_01_49_02_154989_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3531e6f0efa84838991e28d0e8bf4173.jpg","text":"TemporaryFile(/tmp/multipartBody7969302645850786633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383830382,"filename":"image_09012025_01_48_02_604523_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7fa8015b1a7157b8ff79f2d406d67793.jpg","text":"TemporaryFile(/tmp/multipartBody2674383402467781710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383830382,"filename":"image_09012025_01_49_02_154989_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327571218","file1":"1327571216","file0":"1327571213"},"map_files_photo_id_array":[{"photo_id":"1327571218","filename":"file2"},{"photo_id":"1327571216","filename":"file1"},{"photo_id":"1327571213","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327571216":["hashtag1","hashtag2"]},{"1327571213":["hashtag1","hashtag2"]},{"1327571218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327571216, 1327571213, 1327571218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.15126323699951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:50:02.476703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:50:21.903081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/49/image_09012025_01_49_02_154989_0002.jpg', '/home/pi/Desktop/images/09012025/01/50/image_09012025_01_50_02_707440_0000.jpg', '/home/pi/Desktop/images/09012025/01/50/image_09012025_01_50_02_707440_0001.jpg', '/home/pi/Desktop/images/09012025/01/50/image_09012025_01_50_02_707440_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/49/image_09012025_01_49_02_154989_0002.jpg
/home/pi/Desktop/images/09012025/01/50/image_09012025_01_50_02_707440_0000.jpg
/home/pi/Desktop/images/09012025/01/50/image_09012025_01_50_02_707440_0001.jpg
/home/pi/Desktop/images/09012025/01/50/image_09012025_01_50_02_707440_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.984478950500488 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:51:02.916188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/49/image_09012025_01_49_02_154989_0002.jpg', '/home/pi/Desktop/images/09012025/01/50/image_09012025_01_50_02_707440_0000.jpg', '/home/pi/Desktop/images/09012025/01/50/image_09012025_01_50_02_707440_0001.jpg', '/home/pi/Desktop/images/09012025/01/50/image_09012025_01_50_02_707440_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/49/image_09012025_01_49_02_154989_0002.jpg
/home/pi/Desktop/images/09012025/01/50/image_09012025_01_50_02_707440_0000.jpg
/home/pi/Desktop/images/09012025/01/50/image_09012025_01_50_02_707440_0001.jpg
/home/pi/Desktop/images/09012025/01/50/image_09012025_01_50_02_707440_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327571236","1327571238","1327571241","1327571235"],"photo_ids_order":["1327571235","1327571236","1327571238","1327571241"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4fbcc93f4135ffada4ec935a72e50a3b.jpg","text":"TemporaryFile(/tmp/multipartBody4583107478099653906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383933337,"filename":"image_09012025_01_50_02_707440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d88e58c5bf8e11ca43ad7cb3f7742d8f.jpg","text":"TemporaryFile(/tmp/multipartBody1493520614267003567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383933337,"filename":"image_09012025_01_50_02_707440_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/46651e71bdf2429005292801863c7617.jpg","text":"TemporaryFile(/tmp/multipartBody5096341429577624003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383933337,"filename":"image_09012025_01_50_02_707440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ae2ed7d82786b23b6a9bdbdc8afdf651.jpg","text":"TemporaryFile(/tmp/multipartBody7740153808757118128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736383933337,"filename":"image_09012025_01_49_02_154989_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327571238","file1":"1327571236","file0":"1327571235","file3":"1327571241"},"map_files_photo_id_array":[{"photo_id":"1327571238","filename":"file2"},{"photo_id":"1327571236","filename":"file1"},{"photo_id":"1327571235","filename":"file0"},{"photo_id":"1327571241","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327571236":["hashtag1","hashtag2"]},{"1327571238":["hashtag1","hashtag2"]},{"1327571241":["hashtag1","hashtag2"]},{"1327571235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327571236, 1327571238, 1327571241, 1327571235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.31659746170044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:52:02.393086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/50/image_09012025_01_50_02_707440_0003.jpg', '/home/pi/Desktop/images/09012025/01/51/image_09012025_01_51_02_187287_0000.jpg', '/home/pi/Desktop/images/09012025/01/51/image_09012025_01_51_02_187287_0001.jpg', '/home/pi/Desktop/images/09012025/01/51/image_09012025_01_51_02_187287_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/50/image_09012025_01_50_02_707440_0003.jpg
/home/pi/Desktop/images/09012025/01/51/image_09012025_01_51_02_187287_0000.jpg
/home/pi/Desktop/images/09012025/01/51/image_09012025_01_51_02_187287_0001.jpg
/home/pi/Desktop/images/09012025/01/51/image_09012025_01_51_02_187287_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.051739692687988 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:52:22.026067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/50/image_09012025_01_50_02_707440_0003.jpg', '/home/pi/Desktop/images/09012025/01/51/image_09012025_01_51_02_187287_0000.jpg', '/home/pi/Desktop/images/09012025/01/51/image_09012025_01_51_02_187287_0001.jpg', '/home/pi/Desktop/images/09012025/01/51/image_09012025_01_51_02_187287_0002.jpg', '/home/pi/Desktop/images/09012025/01/51/image_09012025_01_51_02_187287_0003.jpg', '/home/pi/Desktop/images/09012025/01/52/image_09012025_01_52_02_727924_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/50/image_09012025_01_50_02_707440_0003.jpg
/home/pi/Desktop/images/09012025/01/51/image_09012025_01_51_02_187287_0000.jpg
/home/pi/Desktop/images/09012025/01/51/image_09012025_01_51_02_187287_0001.jpg
/home/pi/Desktop/images/09012025/01/51/image_09012025_01_51_02_187287_0002.jpg
/home/pi/Desktop/images/09012025/01/51/image_09012025_01_51_02_187287_0003.jpg
/home/pi/Desktop/images/09012025/01/52/image_09012025_01_52_02_727924_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327571263","1327571257","1327571565","1327571361","1327571588","1327571261"],"photo_ids_order":["1327571257","1327571261","1327571263","1327571361","1327571565","1327571588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/31fe1b66591e1d70cad67a7c9b88fbbc.jpg","text":"TemporaryFile(/tmp/multipartBody4961562204084994534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384017233,"filename":"image_09012025_01_51_02_187287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3b259da95d3785767827ca543db29109.jpg","text":"TemporaryFile(/tmp/multipartBody400813574686326289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384017233,"filename":"image_09012025_01_50_02_707440_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dbca98f9a6d5141e6446d0da9e86cf31.jpg","text":"TemporaryFile(/tmp/multipartBody2432712084975042879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384017233,"filename":"image_09012025_01_51_02_187287_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5cf56af43226dd8703b73c5c380cbfcc.jpg","text":"TemporaryFile(/tmp/multipartBody5160355165458554578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384017233,"filename":"image_09012025_01_51_02_187287_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5429c74706f25e47e96e0337de75f8f5.jpg","text":"TemporaryFile(/tmp/multipartBody1984228901290619677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384017233,"filename":"image_09012025_01_52_02_727924_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/97838e95560b615a7078b0f88076cef7.jpg","text":"TemporaryFile(/tmp/multipartBody8560844044425106996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384017233,"filename":"image_09012025_01_51_02_187287_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327571263","file1":"1327571261","file0":"1327571257","file4":"1327571565","file5":"1327571588","file3":"1327571361"},"map_files_photo_id_array":[{"photo_id":"1327571588","filename":"file5"},{"photo_id":"1327571263","filename":"file2"},{"photo_id":"1327571565","filename":"file4"},{"photo_id":"1327571261","filename":"file1"},{"photo_id":"1327571257","filename":"file0"},{"photo_id":"1327571361","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327571263":["hashtag1","hashtag2"]},{"1327571257":["hashtag1","hashtag2"]},{"1327571565":["hashtag1","hashtag2"]},{"1327571361":["hashtag1","hashtag2"]},{"1327571588":["hashtag1","hashtag2"]},{"1327571261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327571263, 1327571257, 1327571565, 1327571361, 1327571588, 1327571261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.12353229522705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:53:22.501770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/52/image_09012025_01_52_02_727924_0001.jpg', '/home/pi/Desktop/images/09012025/01/52/image_09012025_01_52_02_727924_0002.jpg', '/home/pi/Desktop/images/09012025/01/52/image_09012025_01_52_02_727924_0003.jpg', '/home/pi/Desktop/images/09012025/01/53/image_09012025_01_53_02_389014_0000.jpg', '/home/pi/Desktop/images/09012025/01/53/image_09012025_01_53_02_389014_0001.jpg', '/home/pi/Desktop/images/09012025/01/53/image_09012025_01_53_02_389014_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/52/image_09012025_01_52_02_727924_0001.jpg
/home/pi/Desktop/images/09012025/01/52/image_09012025_01_52_02_727924_0002.jpg
/home/pi/Desktop/images/09012025/01/52/image_09012025_01_52_02_727924_0003.jpg
/home/pi/Desktop/images/09012025/01/53/image_09012025_01_53_02_389014_0000.jpg
/home/pi/Desktop/images/09012025/01/53/image_09012025_01_53_02_389014_0001.jpg
/home/pi/Desktop/images/09012025/01/53/image_09012025_01_53_02_389014_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327571729","1327571752","1327571758","1327571679","1327571769","1327571760"],"photo_ids_order":["1327571679","1327571729","1327571752","1327571758","1327571760","1327571769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3e937af201e3724cea73ab0c03e6db7b.jpg","text":"TemporaryFile(/tmp/multipartBody8257383665709420029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384077599,"filename":"image_09012025_01_52_02_727924_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dd9f501cbea1a749466f21a4c18e9ccc.jpg","text":"TemporaryFile(/tmp/multipartBody1932228235851059176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384077599,"filename":"image_09012025_01_52_02_727924_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/baced948b6cb219f600ed8d279ca8649.jpg","text":"TemporaryFile(/tmp/multipartBody4226069798569128125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384077599,"filename":"image_09012025_01_53_02_389014_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6a84a8a85380ff05d1ed0ff02110af94.jpg","text":"TemporaryFile(/tmp/multipartBody58435520142932261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384077599,"filename":"image_09012025_01_52_02_727924_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/681fe45b34bf2e7d0618d9f4d8af1a36.jpg","text":"TemporaryFile(/tmp/multipartBody589797410988951622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384077599,"filename":"image_09012025_01_53_02_389014_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e72378b05b6a6bc85fc161981b71f1de.jpg","text":"TemporaryFile(/tmp/multipartBody801078195988760428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384077599,"filename":"image_09012025_01_53_02_389014_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327571752","file1":"1327571729","file0":"1327571679","file4":"1327571760","file5":"1327571769","file3":"1327571758"},"map_files_photo_id_array":[{"photo_id":"1327571769","filename":"file5"},{"photo_id":"1327571752","filename":"file2"},{"photo_id":"1327571760","filename":"file4"},{"photo_id":"1327571729","filename":"file1"},{"photo_id":"1327571679","filename":"file0"},{"photo_id":"1327571758","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327571729":["hashtag1","hashtag2"]},{"1327571752":["hashtag1","hashtag2"]},{"1327571758":["hashtag1","hashtag2"]},{"1327571679":["hashtag1","hashtag2"]},{"1327571769":["hashtag1","hashtag2"]},{"1327571760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327571729, 1327571752, 1327571758, 1327571679, 1327571769, 1327571760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.54571080207825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:54:22.057753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/53/image_09012025_01_53_02_389014_0003.jpg', '/home/pi/Desktop/images/09012025/01/54/image_09012025_01_54_02_939312_0000.jpg', '/home/pi/Desktop/images/09012025/01/54/image_09012025_01_54_02_939312_0001.jpg', '/home/pi/Desktop/images/09012025/01/54/image_09012025_01_54_02_939312_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/53/image_09012025_01_53_02_389014_0003.jpg
/home/pi/Desktop/images/09012025/01/54/image_09012025_01_54_02_939312_0000.jpg
/home/pi/Desktop/images/09012025/01/54/image_09012025_01_54_02_939312_0001.jpg
/home/pi/Desktop/images/09012025/01/54/image_09012025_01_54_02_939312_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327571802","1327571805","1327571795","1327571789"],"photo_ids_order":["1327571789","1327571795","1327571802","1327571805"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/56daf69d38534d7bfab47a4ef35310f9.jpg","text":"TemporaryFile(/tmp/multipartBody8822430434980821068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384132439,"filename":"image_09012025_01_54_02_939312_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6f3c3693cbda0b8473a90f8c8dbf343e.jpg","text":"TemporaryFile(/tmp/multipartBody80131237543878183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384132439,"filename":"image_09012025_01_54_02_939312_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4e944950c856ae5a04658d8adaedb963.jpg","text":"TemporaryFile(/tmp/multipartBody6595460571405776784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384132439,"filename":"image_09012025_01_54_02_939312_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/96dbbf602d3a4cb1d0b88bd1c1652f57.jpg","text":"TemporaryFile(/tmp/multipartBody6159667880222732748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384132439,"filename":"image_09012025_01_53_02_389014_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327571802","file1":"1327571795","file0":"1327571789","file3":"1327571805"},"map_files_photo_id_array":[{"photo_id":"1327571802","filename":"file2"},{"photo_id":"1327571795","filename":"file1"},{"photo_id":"1327571789","filename":"file0"},{"photo_id":"1327571805","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327571802":["hashtag1","hashtag2"]},{"1327571805":["hashtag1","hashtag2"]},{"1327571795":["hashtag1","hashtag2"]},{"1327571789":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327571802, 1327571805, 1327571795, 1327571789)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 40.21997404098511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:55:22.663627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/54/image_09012025_01_54_02_939312_0003.jpg', '/home/pi/Desktop/images/09012025/01/55/image_09012025_01_55_02_518379_0000.jpg', '/home/pi/Desktop/images/09012025/01/55/image_09012025_01_55_02_518379_0001.jpg', '/home/pi/Desktop/images/09012025/01/55/image_09012025_01_55_02_518379_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/54/image_09012025_01_54_02_939312_0003.jpg
/home/pi/Desktop/images/09012025/01/55/image_09012025_01_55_02_518379_0000.jpg
/home/pi/Desktop/images/09012025/01/55/image_09012025_01_55_02_518379_0001.jpg
/home/pi/Desktop/images/09012025/01/55/image_09012025_01_55_02_518379_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327571899","1327571911","1327571908","1327571898"],"photo_ids_order":["1327571898","1327571899","1327571908","1327571911"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cfe5a0d3e831d2c6b2edd322ff68af07.jpg","text":"TemporaryFile(/tmp/multipartBody2495684122412038179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384192863,"filename":"image_09012025_01_55_02_518379_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a530ec6eeba992274cd70df90da2f1b5.jpg","text":"TemporaryFile(/tmp/multipartBody5846228992912953416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384192863,"filename":"image_09012025_01_55_02_518379_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/71a45fc343d45ede4cc2891d0fde4c51.jpg","text":"TemporaryFile(/tmp/multipartBody482763622628327367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384192863,"filename":"image_09012025_01_55_02_518379_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cb444a285162f5bb9b4395f74490d529.jpg","text":"TemporaryFile(/tmp/multipartBody6916406801262064933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384192863,"filename":"image_09012025_01_54_02_939312_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327571908","file1":"1327571899","file0":"1327571898","file3":"1327571911"},"map_files_photo_id_array":[{"photo_id":"1327571908","filename":"file2"},{"photo_id":"1327571899","filename":"file1"},{"photo_id":"1327571898","filename":"file0"},{"photo_id":"1327571911","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327571899":["hashtag1","hashtag2"]},{"1327571911":["hashtag1","hashtag2"]},{"1327571908":["hashtag1","hashtag2"]},{"1327571898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327571899, 1327571911, 1327571908, 1327571898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.696110010147095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:56:22.215233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/55/image_09012025_01_55_02_518379_0003.jpg', '/home/pi/Desktop/images/09012025/01/56/image_09012025_01_56_03_077413_0000.jpg', '/home/pi/Desktop/images/09012025/01/56/image_09012025_01_56_03_077413_0001.jpg', '/home/pi/Desktop/images/09012025/01/56/image_09012025_01_56_03_077413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/55/image_09012025_01_55_02_518379_0003.jpg
/home/pi/Desktop/images/09012025/01/56/image_09012025_01_56_03_077413_0000.jpg
/home/pi/Desktop/images/09012025/01/56/image_09012025_01_56_03_077413_0001.jpg
/home/pi/Desktop/images/09012025/01/56/image_09012025_01_56_03_077413_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327571924","1327571917","1327571919","1327571921"],"photo_ids_order":["1327571917","1327571919","1327571921","1327571924"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f3b14e8d0b79a636f36e4a98c5e1662c.jpg","text":"TemporaryFile(/tmp/multipartBody5313723450112350974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384252496,"filename":"image_09012025_01_56_03_077413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7a271acdc9dacd4371eff2d0de4d0a54.jpg","text":"TemporaryFile(/tmp/multipartBody4297115520584301857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384252496,"filename":"image_09012025_01_55_02_518379_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cdd745d6052ec1f7cc7d02c8aa314403.jpg","text":"TemporaryFile(/tmp/multipartBody2153130990663054270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384252496,"filename":"image_09012025_01_56_03_077413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d5b72356c934248892e1f7a65eca1bf0.jpg","text":"TemporaryFile(/tmp/multipartBody2401095144569674930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384252496,"filename":"image_09012025_01_56_03_077413_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327571921","file1":"1327571919","file0":"1327571917","file3":"1327571924"},"map_files_photo_id_array":[{"photo_id":"1327571921","filename":"file2"},{"photo_id":"1327571919","filename":"file1"},{"photo_id":"1327571917","filename":"file0"},{"photo_id":"1327571924","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327571924":["hashtag1","hashtag2"]},{"1327571917":["hashtag1","hashtag2"]},{"1327571919":["hashtag1","hashtag2"]},{"1327571921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327571924, 1327571917, 1327571919, 1327571921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.77259159088135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:57:03.487418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 01:57:22.685054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/56/image_09012025_01_56_03_077413_0003.jpg', '/home/pi/Desktop/images/09012025/01/57/image_09012025_01_57_02_598641_0000.jpg', '/home/pi/Desktop/images/09012025/01/57/image_09012025_01_57_02_598641_0001.jpg', '/home/pi/Desktop/images/09012025/01/57/image_09012025_01_57_02_598641_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/56/image_09012025_01_56_03_077413_0003.jpg
/home/pi/Desktop/images/09012025/01/57/image_09012025_01_57_02_598641_0000.jpg
/home/pi/Desktop/images/09012025/01/57/image_09012025_01_57_02_598641_0001.jpg
/home/pi/Desktop/images/09012025/01/57/image_09012025_01_57_02_598641_0002.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 01:59:03.142063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/56/image_09012025_01_56_03_077413_0003.jpg', '/home/pi/Desktop/images/09012025/01/57/image_09012025_01_57_02_598641_0000.jpg', '/home/pi/Desktop/images/09012025/01/57/image_09012025_01_57_02_598641_0001.jpg', '/home/pi/Desktop/images/09012025/01/57/image_09012025_01_57_02_598641_0002.jpg', '/home/pi/Desktop/images/09012025/01/57/image_09012025_01_57_02_598641_0003.jpg', '/home/pi/Desktop/images/09012025/01/58/image_09012025_01_58_03_093305_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/56/image_09012025_01_56_03_077413_0003.jpg
/home/pi/Desktop/images/09012025/01/57/image_09012025_01_57_02_598641_0000.jpg
/home/pi/Desktop/images/09012025/01/57/image_09012025_01_57_02_598641_0001.jpg
/home/pi/Desktop/images/09012025/01/57/image_09012025_01_57_02_598641_0002.jpg
/home/pi/Desktop/images/09012025/01/57/image_09012025_01_57_02_598641_0003.jpg
/home/pi/Desktop/images/09012025/01/58/image_09012025_01_58_03_093305_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327571983","1327571985","1327571979","1327571970","1327571987","1327571975"],"photo_ids_order":["1327571970","1327571975","1327571979","1327571983","1327571985","1327571987"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9b4c53002e991827fcb2dc7521a8d019.jpg","text":"TemporaryFile(/tmp/multipartBody3107371393067405280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384418458,"filename":"image_09012025_01_57_02_598641_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b6423e1e36d43331f5c924cc261461c.jpg","text":"TemporaryFile(/tmp/multipartBody7139870753042706091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384418458,"filename":"image_09012025_01_57_02_598641_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cd4b3310dc52d0cbf34a4d037e674e57.jpg","text":"TemporaryFile(/tmp/multipartBody1752770399108180541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384418458,"filename":"image_09012025_01_57_02_598641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1a8f0113d207d52cf256beb261e9ce56.jpg","text":"TemporaryFile(/tmp/multipartBody895956286791361046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384418458,"filename":"image_09012025_01_56_03_077413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/37de2fcde5a98c7cd74f58793702e1c4.jpg","text":"TemporaryFile(/tmp/multipartBody9023478998784051527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384418458,"filename":"image_09012025_01_58_03_093305_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6498e2238957a172cfc98b0a1916bc42.jpg","text":"TemporaryFile(/tmp/multipartBody3449898111498675914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384418458,"filename":"image_09012025_01_57_02_598641_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327571979","file1":"1327571975","file0":"1327571970","file4":"1327571985","file5":"1327571987","file3":"1327571983"},"map_files_photo_id_array":[{"photo_id":"1327571987","filename":"file5"},{"photo_id":"1327571979","filename":"file2"},{"photo_id":"1327571985","filename":"file4"},{"photo_id":"1327571975","filename":"file1"},{"photo_id":"1327571970","filename":"file0"},{"photo_id":"1327571983","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327571983":["hashtag1","hashtag2"]},{"1327571985":["hashtag1","hashtag2"]},{"1327571979":["hashtag1","hashtag2"]},{"1327571970":["hashtag1","hashtag2"]},{"1327571987":["hashtag1","hashtag2"]},{"1327571975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327571983, 1327571985, 1327571979, 1327571970, 1327571987, 1327571975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.81181883811951 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:00:02.699036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/58/image_09012025_01_58_03_093305_0001.jpg', '/home/pi/Desktop/images/09012025/01/58/image_09012025_01_58_03_093305_0002.jpg', '/home/pi/Desktop/images/09012025/01/58/image_09012025_01_58_03_093305_0003.jpg', '/home/pi/Desktop/images/09012025/01/59/image_09012025_01_59_02_763190_0000.jpg', '/home/pi/Desktop/images/09012025/01/59/image_09012025_01_59_02_763190_0001.jpg', '/home/pi/Desktop/images/09012025/01/59/image_09012025_01_59_02_763190_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/58/image_09012025_01_58_03_093305_0001.jpg
/home/pi/Desktop/images/09012025/01/58/image_09012025_01_58_03_093305_0002.jpg
/home/pi/Desktop/images/09012025/01/58/image_09012025_01_58_03_093305_0003.jpg
/home/pi/Desktop/images/09012025/01/59/image_09012025_01_59_02_763190_0000.jpg
/home/pi/Desktop/images/09012025/01/59/image_09012025_01_59_02_763190_0001.jpg
/home/pi/Desktop/images/09012025/01/59/image_09012025_01_59_02_763190_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327572014","1327572008","1327572001","1327572004","1327572006","1327572011"],"photo_ids_order":["1327572001","1327572004","1327572006","1327572008","1327572011","1327572014"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c769688ede61f2caf707967f32cd8f93.jpg","text":"TemporaryFile(/tmp/multipartBody5811675363653541700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384477944,"filename":"image_09012025_01_59_02_763190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a7ade8045f3291b8d8bd524b04faf77e.jpg","text":"TemporaryFile(/tmp/multipartBody2147955999534016403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384477944,"filename":"image_09012025_01_59_02_763190_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5e940aeb711c2e9c33f238e58c70ce97.jpg","text":"TemporaryFile(/tmp/multipartBody454726957892751859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384477944,"filename":"image_09012025_01_58_03_093305_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4fa20fff05ad9c354ca0201a848f1425.jpg","text":"TemporaryFile(/tmp/multipartBody6711116116539170814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384477944,"filename":"image_09012025_01_58_03_093305_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a9d4a37ea024b1133d996abd0a9e854a.jpg","text":"TemporaryFile(/tmp/multipartBody8511998857445799054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384477944,"filename":"image_09012025_01_58_03_093305_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fe449b5e103a614ecb3634350f9bf705.jpg","text":"TemporaryFile(/tmp/multipartBody8533372689089586942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384477944,"filename":"image_09012025_01_59_02_763190_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327572006","file1":"1327572004","file0":"1327572001","file4":"1327572011","file5":"1327572014","file3":"1327572008"},"map_files_photo_id_array":[{"photo_id":"1327572014","filename":"file5"},{"photo_id":"1327572006","filename":"file2"},{"photo_id":"1327572011","filename":"file4"},{"photo_id":"1327572004","filename":"file1"},{"photo_id":"1327572001","filename":"file0"},{"photo_id":"1327572008","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327572014":["hashtag1","hashtag2"]},{"1327572008":["hashtag1","hashtag2"]},{"1327572001":["hashtag1","hashtag2"]},{"1327572004":["hashtag1","hashtag2"]},{"1327572006":["hashtag1","hashtag2"]},{"1327572011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327572014, 1327572008, 1327572001, 1327572004, 1327572006, 1327572011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.40299844741821 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:01:03.481179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/01/59/image_09012025_01_59_02_763190_0003.jpg', '/home/pi/Desktop/images/09012025/02/00/image_09012025_02_00_02_939452_0000.jpg', '/home/pi/Desktop/images/09012025/02/00/image_09012025_02_00_02_939452_0001.jpg', '/home/pi/Desktop/images/09012025/02/00/image_09012025_02_00_02_939452_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/01/59/image_09012025_01_59_02_763190_0003.jpg
/home/pi/Desktop/images/09012025/02/00/image_09012025_02_00_02_939452_0000.jpg
/home/pi/Desktop/images/09012025/02/00/image_09012025_02_00_02_939452_0001.jpg
/home/pi/Desktop/images/09012025/02/00/image_09012025_02_00_02_939452_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327572037","1327572039","1327572023","1327572032"],"photo_ids_order":["1327572023","1327572032","1327572037","1327572039"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0689892b0bad99510cfb0e5da9a377e0.jpg","text":"TemporaryFile(/tmp/multipartBody2350990430500249948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384533816,"filename":"image_09012025_02_00_02_939452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/018b6f785017f9b6f1e664430b14b954.jpg","text":"TemporaryFile(/tmp/multipartBody1298216298549338315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384533816,"filename":"image_09012025_02_00_02_939452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f859d2dcb84d314f157c676b7d5ddabb.jpg","text":"TemporaryFile(/tmp/multipartBody5438768547700232747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384533816,"filename":"image_09012025_01_59_02_763190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8473444c7769ccbbf11258e4ad859e64.jpg","text":"TemporaryFile(/tmp/multipartBody9008926095424470458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384533816,"filename":"image_09012025_02_00_02_939452_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327572037","file1":"1327572032","file0":"1327572023","file3":"1327572039"},"map_files_photo_id_array":[{"photo_id":"1327572037","filename":"file2"},{"photo_id":"1327572032","filename":"file1"},{"photo_id":"1327572023","filename":"file0"},{"photo_id":"1327572039","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327572037":["hashtag1","hashtag2"]},{"1327572039":["hashtag1","hashtag2"]},{"1327572023":["hashtag1","hashtag2"]},{"1327572032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327572037, 1327572039, 1327572023, 1327572032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.53965926170349 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:02:02.671697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/00/image_09012025_02_00_02_939452_0003.jpg', '/home/pi/Desktop/images/09012025/02/01/image_09012025_02_01_02_545858_0000.jpg', '/home/pi/Desktop/images/09012025/02/01/image_09012025_02_01_02_545858_0001.jpg', '/home/pi/Desktop/images/09012025/02/01/image_09012025_02_01_02_545858_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/00/image_09012025_02_00_02_939452_0003.jpg
/home/pi/Desktop/images/09012025/02/01/image_09012025_02_01_02_545858_0000.jpg
/home/pi/Desktop/images/09012025/02/01/image_09012025_02_01_02_545858_0001.jpg
/home/pi/Desktop/images/09012025/02/01/image_09012025_02_01_02_545858_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327572082","1327572085","1327572083","1327572088"],"photo_ids_order":["1327572082","1327572083","1327572085","1327572088"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d21da678b0a5d9ab37deef3e9ed5ee61.jpg","text":"TemporaryFile(/tmp/multipartBody855296877112941875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384593063,"filename":"image_09012025_02_00_02_939452_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d4ad5baba89964f04db3f774588fe267.jpg","text":"TemporaryFile(/tmp/multipartBody1871787736258510677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384593063,"filename":"image_09012025_02_01_02_545858_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c53efc2f63abb59f11ee1a9964dac65b.jpg","text":"TemporaryFile(/tmp/multipartBody1903624066626762473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384593063,"filename":"image_09012025_02_01_02_545858_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4050721c1939b302513dd37360ad77b6.jpg","text":"TemporaryFile(/tmp/multipartBody6451190762868809014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384593063,"filename":"image_09012025_02_01_02_545858_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327572085","file1":"1327572083","file0":"1327572082","file3":"1327572088"},"map_files_photo_id_array":[{"photo_id":"1327572085","filename":"file2"},{"photo_id":"1327572083","filename":"file1"},{"photo_id":"1327572082","filename":"file0"},{"photo_id":"1327572088","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327572082":["hashtag1","hashtag2"]},{"1327572085":["hashtag1","hashtag2"]},{"1327572083":["hashtag1","hashtag2"]},{"1327572088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327572082, 1327572085, 1327572083, 1327572088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.5236611366272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:03:02.492504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/01/image_09012025_02_01_02_545858_0003.jpg', '/home/pi/Desktop/images/09012025/02/02/image_09012025_02_02_03_050283_0000.jpg', '/home/pi/Desktop/images/09012025/02/02/image_09012025_02_02_03_050283_0001.jpg', '/home/pi/Desktop/images/09012025/02/02/image_09012025_02_02_03_050283_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/01/image_09012025_02_01_02_545858_0003.jpg
/home/pi/Desktop/images/09012025/02/02/image_09012025_02_02_03_050283_0000.jpg
/home/pi/Desktop/images/09012025/02/02/image_09012025_02_02_03_050283_0001.jpg
/home/pi/Desktop/images/09012025/02/02/image_09012025_02_02_03_050283_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327572099","1327572103","1327572105","1327572101"],"photo_ids_order":["1327572099","1327572101","1327572103","1327572105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5658f7159c6b22a6648011053912ff77.jpg","text":"TemporaryFile(/tmp/multipartBody6466069664639433788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384652918,"filename":"image_09012025_02_01_02_545858_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d9e2bf99173709a45a4d4022afbfc838.jpg","text":"TemporaryFile(/tmp/multipartBody8202717682503478207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384652918,"filename":"image_09012025_02_02_03_050283_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bd20599f11b751a06d4d4f125ce2541b.jpg","text":"TemporaryFile(/tmp/multipartBody5299583797569211045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384652918,"filename":"image_09012025_02_02_03_050283_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5121e23843c85cf6dbc7f49379e9bfab.jpg","text":"TemporaryFile(/tmp/multipartBody4669920028248485460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384652918,"filename":"image_09012025_02_02_03_050283_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327572103","file1":"1327572101","file0":"1327572099","file3":"1327572105"},"map_files_photo_id_array":[{"photo_id":"1327572103","filename":"file2"},{"photo_id":"1327572101","filename":"file1"},{"photo_id":"1327572099","filename":"file0"},{"photo_id":"1327572105","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327572099":["hashtag1","hashtag2"]},{"1327572103":["hashtag1","hashtag2"]},{"1327572105":["hashtag1","hashtag2"]},{"1327572101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327572099, 1327572103, 1327572105, 1327572101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.726221799850464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:04:02.994845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/02/image_09012025_02_02_03_050283_0003.jpg', '/home/pi/Desktop/images/09012025/02/03/image_09012025_02_03_02_721860_0000.jpg', '/home/pi/Desktop/images/09012025/02/03/image_09012025_02_03_02_721860_0001.jpg', '/home/pi/Desktop/images/09012025/02/03/image_09012025_02_03_02_721860_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/02/image_09012025_02_02_03_050283_0003.jpg
/home/pi/Desktop/images/09012025/02/03/image_09012025_02_03_02_721860_0000.jpg
/home/pi/Desktop/images/09012025/02/03/image_09012025_02_03_02_721860_0001.jpg
/home/pi/Desktop/images/09012025/02/03/image_09012025_02_03_02_721860_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.935304880142212 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:04:22.512633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/02/image_09012025_02_02_03_050283_0003.jpg', '/home/pi/Desktop/images/09012025/02/03/image_09012025_02_03_02_721860_0000.jpg', '/home/pi/Desktop/images/09012025/02/03/image_09012025_02_03_02_721860_0001.jpg', '/home/pi/Desktop/images/09012025/02/03/image_09012025_02_03_02_721860_0002.jpg', '/home/pi/Desktop/images/09012025/02/03/image_09012025_02_03_02_721860_0003.jpg', '/home/pi/Desktop/images/09012025/02/04/image_09012025_02_04_02_240550_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/02/image_09012025_02_02_03_050283_0003.jpg
/home/pi/Desktop/images/09012025/02/03/image_09012025_02_03_02_721860_0000.jpg
/home/pi/Desktop/images/09012025/02/03/image_09012025_02_03_02_721860_0001.jpg
/home/pi/Desktop/images/09012025/02/03/image_09012025_02_03_02_721860_0002.jpg
/home/pi/Desktop/images/09012025/02/03/image_09012025_02_03_02_721860_0003.jpg
/home/pi/Desktop/images/09012025/02/04/image_09012025_02_04_02_240550_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327572151","1327572145","1327572139","1327572154","1327572129","1327572137"],"photo_ids_order":["1327572129","1327572137","1327572139","1327572145","1327572151","1327572154"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/62ef1a2cd70ccc09d882348ee38455ab.jpg","text":"TemporaryFile(/tmp/multipartBody4649532242404464312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384737748,"filename":"image_09012025_02_03_02_721860_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4a473fec5b5285f4a2687e741d3e6e63.jpg","text":"TemporaryFile(/tmp/multipartBody4473276806517009793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384737748,"filename":"image_09012025_02_03_02_721860_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d4f656165b72c98d140a6ec5220da87f.jpg","text":"TemporaryFile(/tmp/multipartBody6294434107540168395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384737748,"filename":"image_09012025_02_03_02_721860_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e9cc1e4f308c569c77b47256f8b599ae.jpg","text":"TemporaryFile(/tmp/multipartBody4706644746054318055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384737748,"filename":"image_09012025_02_04_02_240550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/54ce2332de7101584188e52f571ff967.jpg","text":"TemporaryFile(/tmp/multipartBody6632918836674298919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384737748,"filename":"image_09012025_02_02_03_050283_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d94c9018595c65f7d7a9742752881807.jpg","text":"TemporaryFile(/tmp/multipartBody1132643834799006413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384737748,"filename":"image_09012025_02_03_02_721860_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327572139","file1":"1327572137","file0":"1327572129","file4":"1327572151","file5":"1327572154","file3":"1327572145"},"map_files_photo_id_array":[{"photo_id":"1327572154","filename":"file5"},{"photo_id":"1327572139","filename":"file2"},{"photo_id":"1327572151","filename":"file4"},{"photo_id":"1327572137","filename":"file1"},{"photo_id":"1327572129","filename":"file0"},{"photo_id":"1327572145","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327572151":["hashtag1","hashtag2"]},{"1327572145":["hashtag1","hashtag2"]},{"1327572139":["hashtag1","hashtag2"]},{"1327572154":["hashtag1","hashtag2"]},{"1327572129":["hashtag1","hashtag2"]},{"1327572137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327572151, 1327572145, 1327572139, 1327572154, 1327572129, 1327572137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.683326959609985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:05:22.044478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/04/image_09012025_02_04_02_240550_0001.jpg', '/home/pi/Desktop/images/09012025/02/04/image_09012025_02_04_02_240550_0002.jpg', '/home/pi/Desktop/images/09012025/02/04/image_09012025_02_04_02_240550_0003.jpg', '/home/pi/Desktop/images/09012025/02/05/image_09012025_02_05_02_883202_0000.jpg', '/home/pi/Desktop/images/09012025/02/05/image_09012025_02_05_02_883202_0001.jpg', '/home/pi/Desktop/images/09012025/02/05/image_09012025_02_05_02_883202_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/04/image_09012025_02_04_02_240550_0001.jpg
/home/pi/Desktop/images/09012025/02/04/image_09012025_02_04_02_240550_0002.jpg
/home/pi/Desktop/images/09012025/02/04/image_09012025_02_04_02_240550_0003.jpg
/home/pi/Desktop/images/09012025/02/05/image_09012025_02_05_02_883202_0000.jpg
/home/pi/Desktop/images/09012025/02/05/image_09012025_02_05_02_883202_0001.jpg
/home/pi/Desktop/images/09012025/02/05/image_09012025_02_05_02_883202_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327572169","1327572168","1327572162","1327572159","1327572179","1327572164"],"photo_ids_order":["1327572159","1327572162","1327572164","1327572168","1327572169","1327572179"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b9fcd714ed29e38d50062e912f1a8398.jpg","text":"TemporaryFile(/tmp/multipartBody3409379854143957516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384797426,"filename":"image_09012025_02_05_02_883202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0078d80d1db7abad4de5d646f7692afc.jpg","text":"TemporaryFile(/tmp/multipartBody7759862892538400974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384797426,"filename":"image_09012025_02_05_02_883202_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b49005fc5156daba6ae47d6bee347ace.jpg","text":"TemporaryFile(/tmp/multipartBody9222027653279372178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384797426,"filename":"image_09012025_02_04_02_240550_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0371e80d75f7e84244aef01947ddc5e3.jpg","text":"TemporaryFile(/tmp/multipartBody1942428369245890766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384797426,"filename":"image_09012025_02_04_02_240550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2adc7eb4185f7a638239f2241b76c43a.jpg","text":"TemporaryFile(/tmp/multipartBody5964594746361638445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384797426,"filename":"image_09012025_02_05_02_883202_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/28a4a888eaacb5a2dd2c93ced4b7027d.jpg","text":"TemporaryFile(/tmp/multipartBody1451618341465181160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384797426,"filename":"image_09012025_02_04_02_240550_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327572164","file1":"1327572162","file0":"1327572159","file4":"1327572169","file5":"1327572179","file3":"1327572168"},"map_files_photo_id_array":[{"photo_id":"1327572179","filename":"file5"},{"photo_id":"1327572164","filename":"file2"},{"photo_id":"1327572169","filename":"file4"},{"photo_id":"1327572162","filename":"file1"},{"photo_id":"1327572159","filename":"file0"},{"photo_id":"1327572168","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327572169":["hashtag1","hashtag2"]},{"1327572168":["hashtag1","hashtag2"]},{"1327572162":["hashtag1","hashtag2"]},{"1327572159":["hashtag1","hashtag2"]},{"1327572179":["hashtag1","hashtag2"]},{"1327572164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327572169, 1327572168, 1327572162, 1327572159, 1327572179, 1327572164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.19393277168274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:07:02.671728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/05/image_09012025_02_05_02_883202_0003.jpg', '/home/pi/Desktop/images/09012025/02/06/image_09012025_02_06_02_439455_0000.jpg', '/home/pi/Desktop/images/09012025/02/06/image_09012025_02_06_02_439455_0001.jpg', '/home/pi/Desktop/images/09012025/02/06/image_09012025_02_06_02_439455_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/05/image_09012025_02_05_02_883202_0003.jpg
/home/pi/Desktop/images/09012025/02/06/image_09012025_02_06_02_439455_0000.jpg
/home/pi/Desktop/images/09012025/02/06/image_09012025_02_06_02_439455_0001.jpg
/home/pi/Desktop/images/09012025/02/06/image_09012025_02_06_02_439455_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.10634446144104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:07:22.070122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/05/image_09012025_02_05_02_883202_0003.jpg', '/home/pi/Desktop/images/09012025/02/06/image_09012025_02_06_02_439455_0000.jpg', '/home/pi/Desktop/images/09012025/02/06/image_09012025_02_06_02_439455_0001.jpg', '/home/pi/Desktop/images/09012025/02/06/image_09012025_02_06_02_439455_0002.jpg', '/home/pi/Desktop/images/09012025/02/06/image_09012025_02_06_02_439455_0003.jpg', '/home/pi/Desktop/images/09012025/02/07/image_09012025_02_07_02_955856_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/05/image_09012025_02_05_02_883202_0003.jpg
/home/pi/Desktop/images/09012025/02/06/image_09012025_02_06_02_439455_0000.jpg
/home/pi/Desktop/images/09012025/02/06/image_09012025_02_06_02_439455_0001.jpg
/home/pi/Desktop/images/09012025/02/06/image_09012025_02_06_02_439455_0002.jpg
/home/pi/Desktop/images/09012025/02/06/image_09012025_02_06_02_439455_0003.jpg
/home/pi/Desktop/images/09012025/02/07/image_09012025_02_07_02_955856_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327572223","1327572226","1327572228","1327572233","1327572221","1327572230"],"photo_ids_order":["1327572221","1327572223","1327572226","1327572228","1327572230","1327572233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bc5cc1f208edf55b2f6bca8ddd2613ca.jpg","text":"TemporaryFile(/tmp/multipartBody8563698929989198363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384917789,"filename":"image_09012025_02_06_02_439455_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3294b8479ad79b52285425459d71f67f.jpg","text":"TemporaryFile(/tmp/multipartBody5912236658329611977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384917789,"filename":"image_09012025_02_06_02_439455_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2ee2ebabdbc8e95b73fcf4146a235035.jpg","text":"TemporaryFile(/tmp/multipartBody4399079627902413907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384917789,"filename":"image_09012025_02_06_02_439455_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/08488ec80d2d354bd07b492a8c2eac85.jpg","text":"TemporaryFile(/tmp/multipartBody5970931919555573785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384917789,"filename":"image_09012025_02_07_02_955856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f2b02bd92863d8134bdfc7f3c34da452.jpg","text":"TemporaryFile(/tmp/multipartBody1871779006138378812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384917789,"filename":"image_09012025_02_05_02_883202_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f6933bd4f37b80920eeb746e534ef9ff.jpg","text":"TemporaryFile(/tmp/multipartBody5489648326498754303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384917789,"filename":"image_09012025_02_06_02_439455_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327572226","file1":"1327572223","file0":"1327572221","file4":"1327572230","file5":"1327572233","file3":"1327572228"},"map_files_photo_id_array":[{"photo_id":"1327572233","filename":"file5"},{"photo_id":"1327572226","filename":"file2"},{"photo_id":"1327572230","filename":"file4"},{"photo_id":"1327572223","filename":"file1"},{"photo_id":"1327572221","filename":"file0"},{"photo_id":"1327572228","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327572223":["hashtag1","hashtag2"]},{"1327572226":["hashtag1","hashtag2"]},{"1327572228":["hashtag1","hashtag2"]},{"1327572233":["hashtag1","hashtag2"]},{"1327572221":["hashtag1","hashtag2"]},{"1327572230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327572223, 1327572226, 1327572228, 1327572233, 1327572221, 1327572230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.11719822883606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:08:22.731671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/07/image_09012025_02_07_02_955856_0001.jpg', '/home/pi/Desktop/images/09012025/02/07/image_09012025_02_07_02_955856_0002.jpg', '/home/pi/Desktop/images/09012025/02/07/image_09012025_02_07_02_955856_0003.jpg', '/home/pi/Desktop/images/09012025/02/08/image_09012025_02_08_02_432764_0000.jpg', '/home/pi/Desktop/images/09012025/02/08/image_09012025_02_08_02_432764_0001.jpg', '/home/pi/Desktop/images/09012025/02/08/image_09012025_02_08_02_432764_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/07/image_09012025_02_07_02_955856_0001.jpg
/home/pi/Desktop/images/09012025/02/07/image_09012025_02_07_02_955856_0002.jpg
/home/pi/Desktop/images/09012025/02/07/image_09012025_02_07_02_955856_0003.jpg
/home/pi/Desktop/images/09012025/02/08/image_09012025_02_08_02_432764_0000.jpg
/home/pi/Desktop/images/09012025/02/08/image_09012025_02_08_02_432764_0001.jpg
/home/pi/Desktop/images/09012025/02/08/image_09012025_02_08_02_432764_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327572265","1327572264","1327572281","1327572275","1327572284","1327572278"],"photo_ids_order":["1327572264","1327572265","1327572275","1327572278","1327572281","1327572284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3e480c4ee394135c6ecc0330af7cbafc.jpg","text":"TemporaryFile(/tmp/multipartBody1428147968022285868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384977890,"filename":"image_09012025_02_07_02_955856_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/17bf5763fc1f61002a299f50209cede3.jpg","text":"TemporaryFile(/tmp/multipartBody2337339343361564373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384977890,"filename":"image_09012025_02_07_02_955856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8ef724209c943a75e392a6714b39da62.jpg","text":"TemporaryFile(/tmp/multipartBody6569495706984767986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384977890,"filename":"image_09012025_02_08_02_432764_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/24e6e6465e7c679e5fc61764760dd251.jpg","text":"TemporaryFile(/tmp/multipartBody3904981601439033515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384977890,"filename":"image_09012025_02_07_02_955856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/df1841ce99e4dd18694bf90fcb8efaf6.jpg","text":"TemporaryFile(/tmp/multipartBody924825646915935257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384977890,"filename":"image_09012025_02_08_02_432764_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/13f4f2b6279eae636a7c00178bbcb82d.jpg","text":"TemporaryFile(/tmp/multipartBody3545708870912453724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736384977890,"filename":"image_09012025_02_08_02_432764_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327572275","file1":"1327572265","file0":"1327572264","file4":"1327572281","file5":"1327572284","file3":"1327572278"},"map_files_photo_id_array":[{"photo_id":"1327572284","filename":"file5"},{"photo_id":"1327572275","filename":"file2"},{"photo_id":"1327572281","filename":"file4"},{"photo_id":"1327572265","filename":"file1"},{"photo_id":"1327572264","filename":"file0"},{"photo_id":"1327572278","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327572265":["hashtag1","hashtag2"]},{"1327572264":["hashtag1","hashtag2"]},{"1327572281":["hashtag1","hashtag2"]},{"1327572275":["hashtag1","hashtag2"]},{"1327572284":["hashtag1","hashtag2"]},{"1327572278":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327572265, 1327572264, 1327572281, 1327572275, 1327572284, 1327572278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.45605278015137 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:09:22.186286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/08/image_09012025_02_08_02_432764_0003.jpg', '/home/pi/Desktop/images/09012025/02/09/image_09012025_02_09_03_075669_0000.jpg', '/home/pi/Desktop/images/09012025/02/09/image_09012025_02_09_03_075669_0001.jpg', '/home/pi/Desktop/images/09012025/02/09/image_09012025_02_09_03_075669_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/08/image_09012025_02_08_02_432764_0003.jpg
/home/pi/Desktop/images/09012025/02/09/image_09012025_02_09_03_075669_0000.jpg
/home/pi/Desktop/images/09012025/02/09/image_09012025_02_09_03_075669_0001.jpg
/home/pi/Desktop/images/09012025/02/09/image_09012025_02_09_03_075669_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327572295","1327572289","1327572291","1327572293"],"photo_ids_order":["1327572289","1327572291","1327572293","1327572295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b5da1cee3a145a4b9f51ce9ca60962d.jpg","text":"TemporaryFile(/tmp/multipartBody313253512906439695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385032565,"filename":"image_09012025_02_09_03_075669_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1fdac3f9067e2d26f8fe1d5cacc775d1.jpg","text":"TemporaryFile(/tmp/multipartBody1569201582600669577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385032565,"filename":"image_09012025_02_08_02_432764_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/25a916f48ce11e2a9d144f98868d9cf9.jpg","text":"TemporaryFile(/tmp/multipartBody7814962711538177131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385032565,"filename":"image_09012025_02_09_03_075669_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/37c430724f1bec5b1640c78c70697460.jpg","text":"TemporaryFile(/tmp/multipartBody1200276586069322069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385032565,"filename":"image_09012025_02_09_03_075669_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327572293","file1":"1327572291","file0":"1327572289","file3":"1327572295"},"map_files_photo_id_array":[{"photo_id":"1327572293","filename":"file2"},{"photo_id":"1327572291","filename":"file1"},{"photo_id":"1327572289","filename":"file0"},{"photo_id":"1327572295","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327572295":["hashtag1","hashtag2"]},{"1327572289":["hashtag1","hashtag2"]},{"1327572291":["hashtag1","hashtag2"]},{"1327572293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327572295, 1327572289, 1327572291, 1327572293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.80359148979187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:10:22.763782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/09/image_09012025_02_09_03_075669_0003.jpg', '/home/pi/Desktop/images/09012025/02/10/image_09012025_02_10_02_604490_0000.jpg', '/home/pi/Desktop/images/09012025/02/10/image_09012025_02_10_02_604490_0001.jpg', '/home/pi/Desktop/images/09012025/02/10/image_09012025_02_10_02_604490_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/09/image_09012025_02_09_03_075669_0003.jpg
/home/pi/Desktop/images/09012025/02/10/image_09012025_02_10_02_604490_0000.jpg
/home/pi/Desktop/images/09012025/02/10/image_09012025_02_10_02_604490_0001.jpg
/home/pi/Desktop/images/09012025/02/10/image_09012025_02_10_02_604490_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327572349","1327572351","1327572353","1327572347"],"photo_ids_order":["1327572347","1327572349","1327572351","1327572353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3740a9502626d678f7698f5905bb0485.jpg","text":"TemporaryFile(/tmp/multipartBody8184500268987904597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385093013,"filename":"image_09012025_02_10_02_604490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/445c183ff42c59528bcf1ee2fa191fea.jpg","text":"TemporaryFile(/tmp/multipartBody2123152571945704287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385093013,"filename":"image_09012025_02_10_02_604490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fff99bf0d7a08be51db17ccf0f38d9cf.jpg","text":"TemporaryFile(/tmp/multipartBody3182001677007363365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385093013,"filename":"image_09012025_02_10_02_604490_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c1fb4b4b6b2299d52661516be2ac89eb.jpg","text":"TemporaryFile(/tmp/multipartBody5010628975843700464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385093013,"filename":"image_09012025_02_09_03_075669_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327572351","file1":"1327572349","file0":"1327572347","file3":"1327572353"},"map_files_photo_id_array":[{"photo_id":"1327572351","filename":"file2"},{"photo_id":"1327572349","filename":"file1"},{"photo_id":"1327572347","filename":"file0"},{"photo_id":"1327572353","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327572349":["hashtag1","hashtag2"]},{"1327572351":["hashtag1","hashtag2"]},{"1327572353":["hashtag1","hashtag2"]},{"1327572347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327572349, 1327572351, 1327572353, 1327572347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57135200500488 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:11:22.159337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/10/image_09012025_02_10_02_604490_0003.jpg', '/home/pi/Desktop/images/09012025/02/11/image_09012025_02_11_03_066885_0000.jpg', '/home/pi/Desktop/images/09012025/02/11/image_09012025_02_11_03_066885_0001.jpg', '/home/pi/Desktop/images/09012025/02/11/image_09012025_02_11_03_066885_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/10/image_09012025_02_10_02_604490_0003.jpg
/home/pi/Desktop/images/09012025/02/11/image_09012025_02_11_03_066885_0000.jpg
/home/pi/Desktop/images/09012025/02/11/image_09012025_02_11_03_066885_0001.jpg
/home/pi/Desktop/images/09012025/02/11/image_09012025_02_11_03_066885_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327572394","1327572388","1327572390","1327572392"],"photo_ids_order":["1327572388","1327572390","1327572392","1327572394"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fdc2caca7a1155898786eab3b16952b9.jpg","text":"TemporaryFile(/tmp/multipartBody323675594677608145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385152575,"filename":"image_09012025_02_11_03_066885_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b06ed2df90c1d221dc48b7b6c270b788.jpg","text":"TemporaryFile(/tmp/multipartBody1502881764839065337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385152575,"filename":"image_09012025_02_10_02_604490_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/45bba013d265f2c98a2a47e274944aa6.jpg","text":"TemporaryFile(/tmp/multipartBody4156714384456405436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385152575,"filename":"image_09012025_02_11_03_066885_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bc578470fa6974e9d713139c0101fd9a.jpg","text":"TemporaryFile(/tmp/multipartBody6920678907396241303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385152575,"filename":"image_09012025_02_11_03_066885_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327572392","file1":"1327572390","file0":"1327572388","file3":"1327572394"},"map_files_photo_id_array":[{"photo_id":"1327572392","filename":"file2"},{"photo_id":"1327572390","filename":"file1"},{"photo_id":"1327572388","filename":"file0"},{"photo_id":"1327572394","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327572394":["hashtag1","hashtag2"]},{"1327572388":["hashtag1","hashtag2"]},{"1327572390":["hashtag1","hashtag2"]},{"1327572392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327572394, 1327572388, 1327572390, 1327572392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.372016191482544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:12:02.040375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:12:21.657825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/11/image_09012025_02_11_03_066885_0003.jpg', '/home/pi/Desktop/images/09012025/02/12/image_09012025_02_12_02_591720_0000.jpg', '/home/pi/Desktop/images/09012025/02/12/image_09012025_02_12_02_591720_0001.jpg', '/home/pi/Desktop/images/09012025/02/12/image_09012025_02_12_02_591720_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/11/image_09012025_02_11_03_066885_0003.jpg
/home/pi/Desktop/images/09012025/02/12/image_09012025_02_12_02_591720_0000.jpg
/home/pi/Desktop/images/09012025/02/12/image_09012025_02_12_02_591720_0001.jpg
/home/pi/Desktop/images/09012025/02/12/image_09012025_02_12_02_591720_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327572403","1327572400","1327572408","1327572413"],"photo_ids_order":["1327572400","1327572403","1327572408","1327572413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ede07c7ad7899a49fc340e9df2507bc8.jpg","text":"TemporaryFile(/tmp/multipartBody4380191227778487484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385211850,"filename":"image_09012025_02_12_02_591720_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/15151973ac4cece457ecd47b485dfbf4.jpg","text":"TemporaryFile(/tmp/multipartBody8326122341002483939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385211850,"filename":"image_09012025_02_11_03_066885_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0b3bbc9dbb5cb050263a701b8eaf6d8f.jpg","text":"TemporaryFile(/tmp/multipartBody3684991640523623406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385211850,"filename":"image_09012025_02_12_02_591720_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1075a664d7edf570216c4bf6d00af2b0.jpg","text":"TemporaryFile(/tmp/multipartBody5991763923976802967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385211850,"filename":"image_09012025_02_12_02_591720_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327572408","file1":"1327572403","file0":"1327572400","file3":"1327572413"},"map_files_photo_id_array":[{"photo_id":"1327572408","filename":"file2"},{"photo_id":"1327572403","filename":"file1"},{"photo_id":"1327572400","filename":"file0"},{"photo_id":"1327572413","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327572403":["hashtag1","hashtag2"]},{"1327572400":["hashtag1","hashtag2"]},{"1327572408":["hashtag1","hashtag2"]},{"1327572413":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327572403, 1327572400, 1327572408, 1327572413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.22648239135742 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:13:22.188715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/12/image_09012025_02_12_02_591720_0003.jpg', '/home/pi/Desktop/images/09012025/02/13/image_09012025_02_13_02_086196_0001.jpg', '/home/pi/Desktop/images/09012025/02/13/image_09012025_02_13_02_086196_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/12/image_09012025_02_12_02_591720_0003.jpg
/home/pi/Desktop/images/09012025/02/13/image_09012025_02_13_02_086196_0001.jpg
/home/pi/Desktop/images/09012025/02/13/image_09012025_02_13_02_086196_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327573429","1327573425","1327573427"],"photo_ids_order":["1327573425","1327573427","1327573429"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/23d770b1222251273b6f797edbd3c51e.jpg","text":"TemporaryFile(/tmp/multipartBody8709842724682102028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385270066,"filename":"image_09012025_02_13_02_086196_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9b67c898798ba39e1480e1c1174796c2.jpg","text":"TemporaryFile(/tmp/multipartBody4048706557474932181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385270066,"filename":"image_09012025_02_12_02_591720_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c263e7b2398ee7a16c37a7aeaf5a761e.jpg","text":"TemporaryFile(/tmp/multipartBody2524930947734143015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385270066,"filename":"image_09012025_02_13_02_086196_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327573429","file1":"1327573427","file0":"1327573425"},"map_files_photo_id_array":[{"photo_id":"1327573429","filename":"file2"},{"photo_id":"1327573427","filename":"file1"},{"photo_id":"1327573425","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327573429":["hashtag1","hashtag2"]},{"1327573425":["hashtag1","hashtag2"]},{"1327573427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327573429, 1327573425, 1327573427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.816181421279907 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:14:03.209342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:14:22.724138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/13/image_09012025_02_13_02_086196_0003.jpg', '/home/pi/Desktop/images/09012025/02/14/image_09012025_02_14_02_616662_0000.jpg', '/home/pi/Desktop/images/09012025/02/14/image_09012025_02_14_02_616662_0001.jpg', '/home/pi/Desktop/images/09012025/02/14/image_09012025_02_14_02_616662_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/13/image_09012025_02_13_02_086196_0003.jpg
/home/pi/Desktop/images/09012025/02/14/image_09012025_02_14_02_616662_0000.jpg
/home/pi/Desktop/images/09012025/02/14/image_09012025_02_14_02_616662_0001.jpg
/home/pi/Desktop/images/09012025/02/14/image_09012025_02_14_02_616662_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327573692","1327573686","1327573593","1327573643"],"photo_ids_order":["1327573593","1327573643","1327573686","1327573692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/456f6b3fc0298a0e0afc46a98e444b04.jpg","text":"TemporaryFile(/tmp/multipartBody3143015253324996461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385333121,"filename":"image_09012025_02_14_02_616662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/39e9c5fd1c2e05c1a431881b655496c8.jpg","text":"TemporaryFile(/tmp/multipartBody5178311809094108210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385333121,"filename":"image_09012025_02_14_02_616662_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8a034c9d8b6404303f17dbfdcf753a97.jpg","text":"TemporaryFile(/tmp/multipartBody8108429981320756510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385333121,"filename":"image_09012025_02_13_02_086196_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9df9b988a3491a908c65eb5bad991123.jpg","text":"TemporaryFile(/tmp/multipartBody6851375935154862198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385333121,"filename":"image_09012025_02_14_02_616662_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327573686","file1":"1327573643","file0":"1327573593","file3":"1327573692"},"map_files_photo_id_array":[{"photo_id":"1327573686","filename":"file2"},{"photo_id":"1327573643","filename":"file1"},{"photo_id":"1327573593","filename":"file0"},{"photo_id":"1327573692","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327573692":["hashtag1","hashtag2"]},{"1327573686":["hashtag1","hashtag2"]},{"1327573593":["hashtag1","hashtag2"]},{"1327573643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327573692, 1327573686, 1327573593, 1327573643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28287100791931 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:15:02.816823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:15:22.212314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/14/image_09012025_02_14_02_616662_0003.jpg', '/home/pi/Desktop/images/09012025/02/15/image_09012025_02_15_03_102556_0000.jpg', '/home/pi/Desktop/images/09012025/02/15/image_09012025_02_15_03_102556_0001.jpg', '/home/pi/Desktop/images/09012025/02/15/image_09012025_02_15_03_102556_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/14/image_09012025_02_14_02_616662_0003.jpg
/home/pi/Desktop/images/09012025/02/15/image_09012025_02_15_03_102556_0000.jpg
/home/pi/Desktop/images/09012025/02/15/image_09012025_02_15_03_102556_0001.jpg
/home/pi/Desktop/images/09012025/02/15/image_09012025_02_15_03_102556_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327574168","1327574066","1327574120","1327573969"],"photo_ids_order":["1327573969","1327574066","1327574120","1327574168"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/91caf6a31d39abb24965a4b4a3843741.jpg","text":"TemporaryFile(/tmp/multipartBody170815416958479411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385392553,"filename":"image_09012025_02_15_03_102556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ea71071544b8e5653464abdc39172937.jpg","text":"TemporaryFile(/tmp/multipartBody5759717023276900492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385392553,"filename":"image_09012025_02_15_03_102556_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a7bebfbd2196405f5a1878a50dd9caab.jpg","text":"TemporaryFile(/tmp/multipartBody2686252244519807532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385392553,"filename":"image_09012025_02_15_03_102556_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f9e49ffaf207a2e935aa85dc841a9d92.jpg","text":"TemporaryFile(/tmp/multipartBody5836661574151710690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385392553,"filename":"image_09012025_02_14_02_616662_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327574120","file1":"1327574066","file0":"1327573969","file3":"1327574168"},"map_files_photo_id_array":[{"photo_id":"1327574120","filename":"file2"},{"photo_id":"1327574066","filename":"file1"},{"photo_id":"1327573969","filename":"file0"},{"photo_id":"1327574168","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327574168":["hashtag1","hashtag2"]},{"1327574066":["hashtag1","hashtag2"]},{"1327574120":["hashtag1","hashtag2"]},{"1327573969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327574168, 1327574066, 1327574120, 1327573969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.16503858566284 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:16:21.924928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/15/image_09012025_02_15_03_102556_0003.jpg', '/home/pi/Desktop/images/09012025/02/16/image_09012025_02_16_02_590558_0000.jpg', '/home/pi/Desktop/images/09012025/02/16/image_09012025_02_16_02_590558_0001.jpg', '/home/pi/Desktop/images/09012025/02/16/image_09012025_02_16_02_590558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/15/image_09012025_02_15_03_102556_0003.jpg
/home/pi/Desktop/images/09012025/02/16/image_09012025_02_16_02_590558_0000.jpg
/home/pi/Desktop/images/09012025/02/16/image_09012025_02_16_02_590558_0001.jpg
/home/pi/Desktop/images/09012025/02/16/image_09012025_02_16_02_590558_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327574205","1327574194","1327574191","1327574212"],"photo_ids_order":["1327574191","1327574194","1327574205","1327574212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b4f084e32a11d0171a7177cc18b15df0.jpg","text":"TemporaryFile(/tmp/multipartBody7373916691483059726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385452242,"filename":"image_09012025_02_16_02_590558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ad4ff8b7127b41a6e399fc99337bb10f.jpg","text":"TemporaryFile(/tmp/multipartBody730386848041381620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385452242,"filename":"image_09012025_02_16_02_590558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/16ca5b3c9bed029f332a115bb3e1361c.jpg","text":"TemporaryFile(/tmp/multipartBody7343753478884143153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385452242,"filename":"image_09012025_02_15_03_102556_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6114ab15118a50323501697559a14680.jpg","text":"TemporaryFile(/tmp/multipartBody6657700023616455654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385452242,"filename":"image_09012025_02_16_02_590558_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327574205","file1":"1327574194","file0":"1327574191","file3":"1327574212"},"map_files_photo_id_array":[{"photo_id":"1327574205","filename":"file2"},{"photo_id":"1327574194","filename":"file1"},{"photo_id":"1327574191","filename":"file0"},{"photo_id":"1327574212","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327574205":["hashtag1","hashtag2"]},{"1327574194":["hashtag1","hashtag2"]},{"1327574191":["hashtag1","hashtag2"]},{"1327574212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327574205, 1327574194, 1327574191, 1327574212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.91163086891174 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:17:22.505972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/16/image_09012025_02_16_02_590558_0003.jpg', '/home/pi/Desktop/images/09012025/02/17/image_09012025_02_17_02_302224_0000.jpg', '/home/pi/Desktop/images/09012025/02/17/image_09012025_02_17_02_302224_0001.jpg', '/home/pi/Desktop/images/09012025/02/17/image_09012025_02_17_02_302224_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/16/image_09012025_02_16_02_590558_0003.jpg
/home/pi/Desktop/images/09012025/02/17/image_09012025_02_17_02_302224_0000.jpg
/home/pi/Desktop/images/09012025/02/17/image_09012025_02_17_02_302224_0001.jpg
/home/pi/Desktop/images/09012025/02/17/image_09012025_02_17_02_302224_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327574244","1327574246","1327574240","1327574242"],"photo_ids_order":["1327574240","1327574242","1327574244","1327574246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/64c79ad0a321a471487563e7b20e3e71.jpg","text":"TemporaryFile(/tmp/multipartBody6329708870131663799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385512711,"filename":"image_09012025_02_17_02_302224_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5584c53edeaccaa6056441fa5a4b5cf3.jpg","text":"TemporaryFile(/tmp/multipartBody5041220112371806378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385512711,"filename":"image_09012025_02_17_02_302224_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8a8cba1942d0530d3fdf931ba40920e9.jpg","text":"TemporaryFile(/tmp/multipartBody2204061286677883693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385512711,"filename":"image_09012025_02_16_02_590558_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3695ee4050b8ecb863f018d41ea81226.jpg","text":"TemporaryFile(/tmp/multipartBody1584448082694441119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385512711,"filename":"image_09012025_02_17_02_302224_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327574244","file1":"1327574242","file0":"1327574240","file3":"1327574246"},"map_files_photo_id_array":[{"photo_id":"1327574244","filename":"file2"},{"photo_id":"1327574242","filename":"file1"},{"photo_id":"1327574240","filename":"file0"},{"photo_id":"1327574246","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327574244":["hashtag1","hashtag2"]},{"1327574246":["hashtag1","hashtag2"]},{"1327574240":["hashtag1","hashtag2"]},{"1327574242":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327574244, 1327574246, 1327574240, 1327574242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.309524059295654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:18:02.512214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:18:21.956135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/17/image_09012025_02_17_02_302224_0003.jpg', '/home/pi/Desktop/images/09012025/02/18/image_09012025_02_18_02_896931_0000.jpg', '/home/pi/Desktop/images/09012025/02/18/image_09012025_02_18_02_896931_0001.jpg', '/home/pi/Desktop/images/09012025/02/18/image_09012025_02_18_02_896931_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/17/image_09012025_02_17_02_302224_0003.jpg
/home/pi/Desktop/images/09012025/02/18/image_09012025_02_18_02_896931_0000.jpg
/home/pi/Desktop/images/09012025/02/18/image_09012025_02_18_02_896931_0001.jpg
/home/pi/Desktop/images/09012025/02/18/image_09012025_02_18_02_896931_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.984933376312256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:19:03.117995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/17/image_09012025_02_17_02_302224_0003.jpg', '/home/pi/Desktop/images/09012025/02/18/image_09012025_02_18_02_896931_0000.jpg', '/home/pi/Desktop/images/09012025/02/18/image_09012025_02_18_02_896931_0001.jpg', '/home/pi/Desktop/images/09012025/02/18/image_09012025_02_18_02_896931_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/17/image_09012025_02_17_02_302224_0003.jpg
/home/pi/Desktop/images/09012025/02/18/image_09012025_02_18_02_896931_0000.jpg
/home/pi/Desktop/images/09012025/02/18/image_09012025_02_18_02_896931_0001.jpg
/home/pi/Desktop/images/09012025/02/18/image_09012025_02_18_02_896931_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327574295","1327574288","1327574293","1327574290"],"photo_ids_order":["1327574288","1327574290","1327574293","1327574295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4f988f8e67f82ec3be5069883ae5068a.jpg","text":"TemporaryFile(/tmp/multipartBody3015293962353534379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385613553,"filename":"image_09012025_02_18_02_896931_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a8fa4810ff4c6c8f41dc370f08aa24a6.jpg","text":"TemporaryFile(/tmp/multipartBody5456527826169708818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385613553,"filename":"image_09012025_02_17_02_302224_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/04a1ddd94d8de84ef704bfc62413745d.jpg","text":"TemporaryFile(/tmp/multipartBody1947884015443244009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385613553,"filename":"image_09012025_02_18_02_896931_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0cf239efb436b4b964711b02f62fccfd.jpg","text":"TemporaryFile(/tmp/multipartBody8181507462946112853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385613553,"filename":"image_09012025_02_18_02_896931_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327574293","file1":"1327574290","file0":"1327574288","file3":"1327574295"},"map_files_photo_id_array":[{"photo_id":"1327574293","filename":"file2"},{"photo_id":"1327574290","filename":"file1"},{"photo_id":"1327574288","filename":"file0"},{"photo_id":"1327574295","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327574295":["hashtag1","hashtag2"]},{"1327574288":["hashtag1","hashtag2"]},{"1327574293":["hashtag1","hashtag2"]},{"1327574290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327574295, 1327574288, 1327574293, 1327574290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.994863748550415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:20:02.521283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/18/image_09012025_02_18_02_896931_0003.jpg', '/home/pi/Desktop/images/09012025/02/19/image_09012025_02_19_02_371097_0000.jpg', '/home/pi/Desktop/images/09012025/02/19/image_09012025_02_19_02_371097_0001.jpg', '/home/pi/Desktop/images/09012025/02/19/image_09012025_02_19_02_371097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/18/image_09012025_02_18_02_896931_0003.jpg
/home/pi/Desktop/images/09012025/02/19/image_09012025_02_19_02_371097_0000.jpg
/home/pi/Desktop/images/09012025/02/19/image_09012025_02_19_02_371097_0001.jpg
/home/pi/Desktop/images/09012025/02/19/image_09012025_02_19_02_371097_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.984269618988037 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:20:22.050733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/18/image_09012025_02_18_02_896931_0003.jpg', '/home/pi/Desktop/images/09012025/02/19/image_09012025_02_19_02_371097_0000.jpg', '/home/pi/Desktop/images/09012025/02/19/image_09012025_02_19_02_371097_0001.jpg', '/home/pi/Desktop/images/09012025/02/19/image_09012025_02_19_02_371097_0002.jpg', '/home/pi/Desktop/images/09012025/02/19/image_09012025_02_19_02_371097_0003.jpg', '/home/pi/Desktop/images/09012025/02/20/image_09012025_02_20_02_870878_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/18/image_09012025_02_18_02_896931_0003.jpg
/home/pi/Desktop/images/09012025/02/19/image_09012025_02_19_02_371097_0000.jpg
/home/pi/Desktop/images/09012025/02/19/image_09012025_02_19_02_371097_0001.jpg
/home/pi/Desktop/images/09012025/02/19/image_09012025_02_19_02_371097_0002.jpg
/home/pi/Desktop/images/09012025/02/19/image_09012025_02_19_02_371097_0003.jpg
/home/pi/Desktop/images/09012025/02/20/image_09012025_02_20_02_870878_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327574361","1327574364","1327574358","1327574363","1327574366","1327574354"],"photo_ids_order":["1327574354","1327574358","1327574361","1327574363","1327574364","1327574366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ca59b42a950d63951db94fb8c2a503ea.jpg","text":"TemporaryFile(/tmp/multipartBody9167308470296252916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385697197,"filename":"image_09012025_02_19_02_371097_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b2c09e9241f1b3543ef2d2a9d0ca3e40.jpg","text":"TemporaryFile(/tmp/multipartBody1239674868783195616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385697197,"filename":"image_09012025_02_19_02_371097_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d7cff174f58514491b7df0139ba44b48.jpg","text":"TemporaryFile(/tmp/multipartBody6221491684911722431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385697197,"filename":"image_09012025_02_19_02_371097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/77c8ab6e8d24f9a40fe3074def52f872.jpg","text":"TemporaryFile(/tmp/multipartBody6644716413173020058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385697197,"filename":"image_09012025_02_19_02_371097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/747733a6da1da074b706b7ce2f75abde.jpg","text":"TemporaryFile(/tmp/multipartBody1542399876728252904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385697197,"filename":"image_09012025_02_20_02_870878_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7eb6b813364b62d1a455367b06a536a4.jpg","text":"TemporaryFile(/tmp/multipartBody3220435671041663617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385697197,"filename":"image_09012025_02_18_02_896931_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327574361","file1":"1327574358","file0":"1327574354","file4":"1327574364","file5":"1327574366","file3":"1327574363"},"map_files_photo_id_array":[{"photo_id":"1327574366","filename":"file5"},{"photo_id":"1327574361","filename":"file2"},{"photo_id":"1327574364","filename":"file4"},{"photo_id":"1327574358","filename":"file1"},{"photo_id":"1327574354","filename":"file0"},{"photo_id":"1327574363","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327574361":["hashtag1","hashtag2"]},{"1327574364":["hashtag1","hashtag2"]},{"1327574358":["hashtag1","hashtag2"]},{"1327574363":["hashtag1","hashtag2"]},{"1327574366":["hashtag1","hashtag2"]},{"1327574354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327574361, 1327574364, 1327574358, 1327574363, 1327574366, 1327574354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.078025579452515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:21:22.672840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/20/image_09012025_02_20_02_870878_0001.jpg', '/home/pi/Desktop/images/09012025/02/20/image_09012025_02_20_02_870878_0002.jpg', '/home/pi/Desktop/images/09012025/02/20/image_09012025_02_20_02_870878_0003.jpg', '/home/pi/Desktop/images/09012025/02/21/image_09012025_02_21_02_483229_0000.jpg', '/home/pi/Desktop/images/09012025/02/21/image_09012025_02_21_02_483229_0001.jpg', '/home/pi/Desktop/images/09012025/02/21/image_09012025_02_21_02_483229_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/20/image_09012025_02_20_02_870878_0001.jpg
/home/pi/Desktop/images/09012025/02/20/image_09012025_02_20_02_870878_0002.jpg
/home/pi/Desktop/images/09012025/02/20/image_09012025_02_20_02_870878_0003.jpg
/home/pi/Desktop/images/09012025/02/21/image_09012025_02_21_02_483229_0000.jpg
/home/pi/Desktop/images/09012025/02/21/image_09012025_02_21_02_483229_0001.jpg
/home/pi/Desktop/images/09012025/02/21/image_09012025_02_21_02_483229_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327574400","1327574387","1327574402","1327574395","1327574383","1327574385"],"photo_ids_order":["1327574383","1327574385","1327574387","1327574395","1327574400","1327574402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b84d29bd0d2ce10bcbb43dccde9394fe.jpg","text":"TemporaryFile(/tmp/multipartBody4074049413989300915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385757892,"filename":"image_09012025_02_21_02_483229_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f8933b1abd09cc93b09f0a4419db328f.jpg","text":"TemporaryFile(/tmp/multipartBody4621092169258991863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385757892,"filename":"image_09012025_02_20_02_870878_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/31e53a48e10ab78798fbe15b07704fe2.jpg","text":"TemporaryFile(/tmp/multipartBody5449193022652404598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385757892,"filename":"image_09012025_02_21_02_483229_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5fb283295b2be8a2100aa61d73fd649e.jpg","text":"TemporaryFile(/tmp/multipartBody2148404288288824304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385757892,"filename":"image_09012025_02_21_02_483229_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4e33578c9454f2aefd420e38d9c2fd7b.jpg","text":"TemporaryFile(/tmp/multipartBody2792861446668275164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385757892,"filename":"image_09012025_02_20_02_870878_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c9d56da48043e0d05c8f57fc2cbb9831.jpg","text":"TemporaryFile(/tmp/multipartBody1598048082744062551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385757892,"filename":"image_09012025_02_20_02_870878_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327574387","file1":"1327574385","file0":"1327574383","file4":"1327574400","file5":"1327574402","file3":"1327574395"},"map_files_photo_id_array":[{"photo_id":"1327574402","filename":"file5"},{"photo_id":"1327574387","filename":"file2"},{"photo_id":"1327574400","filename":"file4"},{"photo_id":"1327574385","filename":"file1"},{"photo_id":"1327574383","filename":"file0"},{"photo_id":"1327574395","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327574400":["hashtag1","hashtag2"]},{"1327574387":["hashtag1","hashtag2"]},{"1327574402":["hashtag1","hashtag2"]},{"1327574395":["hashtag1","hashtag2"]},{"1327574383":["hashtag1","hashtag2"]},{"1327574385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327574400, 1327574387, 1327574402, 1327574395, 1327574383, 1327574385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.082204818725586 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:23:03.316558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/21/image_09012025_02_21_02_483229_0003.jpg', '/home/pi/Desktop/images/09012025/02/22/image_09012025_02_22_03_026943_0000.jpg', '/home/pi/Desktop/images/09012025/02/22/image_09012025_02_22_03_026943_0001.jpg', '/home/pi/Desktop/images/09012025/02/22/image_09012025_02_22_03_026943_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/21/image_09012025_02_21_02_483229_0003.jpg
/home/pi/Desktop/images/09012025/02/22/image_09012025_02_22_03_026943_0000.jpg
/home/pi/Desktop/images/09012025/02/22/image_09012025_02_22_03_026943_0001.jpg
/home/pi/Desktop/images/09012025/02/22/image_09012025_02_22_03_026943_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.138924598693848 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:23:22.648460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/21/image_09012025_02_21_02_483229_0003.jpg', '/home/pi/Desktop/images/09012025/02/22/image_09012025_02_22_03_026943_0000.jpg', '/home/pi/Desktop/images/09012025/02/22/image_09012025_02_22_03_026943_0001.jpg', '/home/pi/Desktop/images/09012025/02/22/image_09012025_02_22_03_026943_0002.jpg', '/home/pi/Desktop/images/09012025/02/22/image_09012025_02_22_03_026943_0003.jpg', '/home/pi/Desktop/images/09012025/02/23/image_09012025_02_23_02_521562_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/21/image_09012025_02_21_02_483229_0003.jpg
/home/pi/Desktop/images/09012025/02/22/image_09012025_02_22_03_026943_0000.jpg
/home/pi/Desktop/images/09012025/02/22/image_09012025_02_22_03_026943_0001.jpg
/home/pi/Desktop/images/09012025/02/22/image_09012025_02_22_03_026943_0002.jpg
/home/pi/Desktop/images/09012025/02/22/image_09012025_02_22_03_026943_0003.jpg
/home/pi/Desktop/images/09012025/02/23/image_09012025_02_23_02_521562_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327574466","1327574460","1327574462","1327574468","1327574464","1327574458"],"photo_ids_order":["1327574458","1327574460","1327574462","1327574464","1327574466","1327574468"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8047fe49b8234c05094bafa0896b9cec.jpg","text":"TemporaryFile(/tmp/multipartBody1728112477208079554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385878051,"filename":"image_09012025_02_22_03_026943_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d95e0f7f5675d2d5fe644c3912e1b1c6.jpg","text":"TemporaryFile(/tmp/multipartBody1075231962926621565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385878051,"filename":"image_09012025_02_22_03_026943_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6bb987783988f6a9a36593eec71a0ffe.jpg","text":"TemporaryFile(/tmp/multipartBody1121758823633727740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385878051,"filename":"image_09012025_02_22_03_026943_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6cbec302602ce84581dfee5dae621321.jpg","text":"TemporaryFile(/tmp/multipartBody8220557124090033388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385878051,"filename":"image_09012025_02_23_02_521562_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6c86021abd3aaed4d981d37b7cdc5cda.jpg","text":"TemporaryFile(/tmp/multipartBody6130185784972899212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385878051,"filename":"image_09012025_02_22_03_026943_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7375b42f41d0876335feb67c6896c2e1.jpg","text":"TemporaryFile(/tmp/multipartBody3873434761530776076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385878051,"filename":"image_09012025_02_21_02_483229_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327574462","file1":"1327574460","file0":"1327574458","file4":"1327574466","file5":"1327574468","file3":"1327574464"},"map_files_photo_id_array":[{"photo_id":"1327574468","filename":"file5"},{"photo_id":"1327574462","filename":"file2"},{"photo_id":"1327574466","filename":"file4"},{"photo_id":"1327574460","filename":"file1"},{"photo_id":"1327574458","filename":"file0"},{"photo_id":"1327574464","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327574466":["hashtag1","hashtag2"]},{"1327574460":["hashtag1","hashtag2"]},{"1327574462":["hashtag1","hashtag2"]},{"1327574468":["hashtag1","hashtag2"]},{"1327574464":["hashtag1","hashtag2"]},{"1327574458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327574466, 1327574460, 1327574462, 1327574468, 1327574464, 1327574458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.86787700653076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:24:22.304979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/23/image_09012025_02_23_02_521562_0001.jpg', '/home/pi/Desktop/images/09012025/02/23/image_09012025_02_23_02_521562_0002.jpg', '/home/pi/Desktop/images/09012025/02/23/image_09012025_02_23_02_521562_0003.jpg', '/home/pi/Desktop/images/09012025/02/24/image_09012025_02_24_03_045057_0000.jpg', '/home/pi/Desktop/images/09012025/02/24/image_09012025_02_24_03_045057_0001.jpg', '/home/pi/Desktop/images/09012025/02/24/image_09012025_02_24_03_045057_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/23/image_09012025_02_23_02_521562_0001.jpg
/home/pi/Desktop/images/09012025/02/23/image_09012025_02_23_02_521562_0002.jpg
/home/pi/Desktop/images/09012025/02/23/image_09012025_02_23_02_521562_0003.jpg
/home/pi/Desktop/images/09012025/02/24/image_09012025_02_24_03_045057_0000.jpg
/home/pi/Desktop/images/09012025/02/24/image_09012025_02_24_03_045057_0001.jpg
/home/pi/Desktop/images/09012025/02/24/image_09012025_02_24_03_045057_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327574481","1327574475","1327574480","1327574483","1327574471","1327574478"],"photo_ids_order":["1327574471","1327574475","1327574478","1327574480","1327574481","1327574483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9b149628657399147268cc8b9065dbc7.jpg","text":"TemporaryFile(/tmp/multipartBody3331705157855408504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385937502,"filename":"image_09012025_02_24_03_045057_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/02e8d47d91207e50886102f50bb9a963.jpg","text":"TemporaryFile(/tmp/multipartBody3730896102769728403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385937502,"filename":"image_09012025_02_23_02_521562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3c697fc2f5670d82395e319e4fbe7374.jpg","text":"TemporaryFile(/tmp/multipartBody4501231618721272329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385937502,"filename":"image_09012025_02_24_03_045057_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eb255126c9dcb63d7fa4d98ef3b548e4.jpg","text":"TemporaryFile(/tmp/multipartBody1550180495321588588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385937502,"filename":"image_09012025_02_24_03_045057_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e3e078150f6f69e83bc7338014a7aea.jpg","text":"TemporaryFile(/tmp/multipartBody7403015944896884395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385937502,"filename":"image_09012025_02_23_02_521562_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/123927d37c161a0de70134dd16396e1c.jpg","text":"TemporaryFile(/tmp/multipartBody7560722735607373840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385937502,"filename":"image_09012025_02_23_02_521562_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327574478","file1":"1327574475","file0":"1327574471","file4":"1327574481","file5":"1327574483","file3":"1327574480"},"map_files_photo_id_array":[{"photo_id":"1327574483","filename":"file5"},{"photo_id":"1327574478","filename":"file2"},{"photo_id":"1327574481","filename":"file4"},{"photo_id":"1327574475","filename":"file1"},{"photo_id":"1327574471","filename":"file0"},{"photo_id":"1327574480","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327574481":["hashtag1","hashtag2"]},{"1327574475":["hashtag1","hashtag2"]},{"1327574480":["hashtag1","hashtag2"]},{"1327574483":["hashtag1","hashtag2"]},{"1327574471":["hashtag1","hashtag2"]},{"1327574478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327574481, 1327574475, 1327574480, 1327574483, 1327574471, 1327574478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.50153064727783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:25:21.776495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/24/image_09012025_02_24_03_045057_0003.jpg', '/home/pi/Desktop/images/09012025/02/25/image_09012025_02_25_02_661425_0001.jpg', '/home/pi/Desktop/images/09012025/02/25/image_09012025_02_25_02_661425_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/24/image_09012025_02_24_03_045057_0003.jpg
/home/pi/Desktop/images/09012025/02/25/image_09012025_02_25_02_661425_0001.jpg
/home/pi/Desktop/images/09012025/02/25/image_09012025_02_25_02_661425_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327574489","1327574491","1327574490"],"photo_ids_order":["1327574489","1327574490","1327574491"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6926be1774b72905af8b9a189ef5056d.jpg","text":"TemporaryFile(/tmp/multipartBody1218107373903384407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385989765,"filename":"image_09012025_02_24_03_045057_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bbe202b61d40bdf37bd4760226b7b74b.jpg","text":"TemporaryFile(/tmp/multipartBody8393723811323924463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385989765,"filename":"image_09012025_02_25_02_661425_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4121e97e3c63ec4b572c32e9ffbd59c0.jpg","text":"TemporaryFile(/tmp/multipartBody2530182410164933051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736385989765,"filename":"image_09012025_02_25_02_661425_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327574491","file1":"1327574490","file0":"1327574489"},"map_files_photo_id_array":[{"photo_id":"1327574491","filename":"file2"},{"photo_id":"1327574490","filename":"file1"},{"photo_id":"1327574489","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327574489":["hashtag1","hashtag2"]},{"1327574491":["hashtag1","hashtag2"]},{"1327574490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327574489, 1327574491, 1327574490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.41973161697388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:26:02.491873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:26:22.113566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/25/image_09012025_02_25_02_661425_0003.jpg', '/home/pi/Desktop/images/09012025/02/26/image_09012025_02_26_02_086318_0000.jpg', '/home/pi/Desktop/images/09012025/02/26/image_09012025_02_26_02_086318_0001.jpg', '/home/pi/Desktop/images/09012025/02/26/image_09012025_02_26_02_086318_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/25/image_09012025_02_25_02_661425_0003.jpg
/home/pi/Desktop/images/09012025/02/26/image_09012025_02_26_02_086318_0000.jpg
/home/pi/Desktop/images/09012025/02/26/image_09012025_02_26_02_086318_0001.jpg
/home/pi/Desktop/images/09012025/02/26/image_09012025_02_26_02_086318_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.000300884246826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:27:03.354412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/25/image_09012025_02_25_02_661425_0003.jpg', '/home/pi/Desktop/images/09012025/02/26/image_09012025_02_26_02_086318_0000.jpg', '/home/pi/Desktop/images/09012025/02/26/image_09012025_02_26_02_086318_0001.jpg', '/home/pi/Desktop/images/09012025/02/26/image_09012025_02_26_02_086318_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/25/image_09012025_02_25_02_661425_0003.jpg
/home/pi/Desktop/images/09012025/02/26/image_09012025_02_26_02_086318_0000.jpg
/home/pi/Desktop/images/09012025/02/26/image_09012025_02_26_02_086318_0001.jpg
/home/pi/Desktop/images/09012025/02/26/image_09012025_02_26_02_086318_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327574537","1327574542","1327574539","1327574577"],"photo_ids_order":["1327574537","1327574539","1327574542","1327574577"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c85cf81b2a2bf9415db8101d22be0f16.jpg","text":"TemporaryFile(/tmp/multipartBody5178135761879262360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386093813,"filename":"image_09012025_02_25_02_661425_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5e808e0545d32eccc72eb6492bc4fac3.jpg","text":"TemporaryFile(/tmp/multipartBody1389019534370397489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386093813,"filename":"image_09012025_02_26_02_086318_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/af6e58eae45f847d5fcdfd87f9cafc17.jpg","text":"TemporaryFile(/tmp/multipartBody1515719507822137946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386093813,"filename":"image_09012025_02_26_02_086318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3201b73529a46311ad1e1a15075f15cc.jpg","text":"TemporaryFile(/tmp/multipartBody7898457824853100250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386093813,"filename":"image_09012025_02_26_02_086318_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327574542","file1":"1327574539","file0":"1327574537","file3":"1327574577"},"map_files_photo_id_array":[{"photo_id":"1327574542","filename":"file2"},{"photo_id":"1327574539","filename":"file1"},{"photo_id":"1327574537","filename":"file0"},{"photo_id":"1327574577","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327574537":["hashtag1","hashtag2"]},{"1327574542":["hashtag1","hashtag2"]},{"1327574539":["hashtag1","hashtag2"]},{"1327574577":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327574537, 1327574542, 1327574539, 1327574577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.31529927253723 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:28:02.892216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/26/image_09012025_02_26_02_086318_0003.jpg', '/home/pi/Desktop/images/09012025/02/27/image_09012025_02_27_02_600934_0000.jpg', '/home/pi/Desktop/images/09012025/02/27/image_09012025_02_27_02_600934_0001.jpg', '/home/pi/Desktop/images/09012025/02/27/image_09012025_02_27_02_600934_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/26/image_09012025_02_26_02_086318_0003.jpg
/home/pi/Desktop/images/09012025/02/27/image_09012025_02_27_02_600934_0000.jpg
/home/pi/Desktop/images/09012025/02/27/image_09012025_02_27_02_600934_0001.jpg
/home/pi/Desktop/images/09012025/02/27/image_09012025_02_27_02_600934_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.069462537765503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:28:22.499620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/26/image_09012025_02_26_02_086318_0003.jpg', '/home/pi/Desktop/images/09012025/02/27/image_09012025_02_27_02_600934_0000.jpg', '/home/pi/Desktop/images/09012025/02/27/image_09012025_02_27_02_600934_0001.jpg', '/home/pi/Desktop/images/09012025/02/27/image_09012025_02_27_02_600934_0002.jpg', '/home/pi/Desktop/images/09012025/02/27/image_09012025_02_27_02_600934_0003.jpg', '/home/pi/Desktop/images/09012025/02/28/image_09012025_02_28_03_117764_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/26/image_09012025_02_26_02_086318_0003.jpg
/home/pi/Desktop/images/09012025/02/27/image_09012025_02_27_02_600934_0000.jpg
/home/pi/Desktop/images/09012025/02/27/image_09012025_02_27_02_600934_0001.jpg
/home/pi/Desktop/images/09012025/02/27/image_09012025_02_27_02_600934_0002.jpg
/home/pi/Desktop/images/09012025/02/27/image_09012025_02_27_02_600934_0003.jpg
/home/pi/Desktop/images/09012025/02/28/image_09012025_02_28_03_117764_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327574685","1327574688","1327574675","1327574680","1327574677","1327574682"],"photo_ids_order":["1327574675","1327574677","1327574680","1327574682","1327574685","1327574688"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2361495e743e8f171cdcc5c24eab5f36.jpg","text":"TemporaryFile(/tmp/multipartBody6345614376016698950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386177753,"filename":"image_09012025_02_27_02_600934_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c6a80edf245e398b9d34ff9e3879c6ee.jpg","text":"TemporaryFile(/tmp/multipartBody2309041062425155750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386177753,"filename":"image_09012025_02_28_03_117764_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f90a49a928cd42211491daaa859bc4ef.jpg","text":"TemporaryFile(/tmp/multipartBody8799460212745531862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386177753,"filename":"image_09012025_02_26_02_086318_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7872b329a82d92ff0257dadc73213936.jpg","text":"TemporaryFile(/tmp/multipartBody2933709774557442560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386177753,"filename":"image_09012025_02_27_02_600934_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2a6f4cb3658d54a4c985feac1a78bdef.jpg","text":"TemporaryFile(/tmp/multipartBody4268272726377397420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386177753,"filename":"image_09012025_02_27_02_600934_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e5de3976d79187d4ebc6aad8da33ac4c.jpg","text":"TemporaryFile(/tmp/multipartBody6600803523384083507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386177753,"filename":"image_09012025_02_27_02_600934_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327574680","file1":"1327574677","file0":"1327574675","file4":"1327574685","file5":"1327574688","file3":"1327574682"},"map_files_photo_id_array":[{"photo_id":"1327574688","filename":"file5"},{"photo_id":"1327574680","filename":"file2"},{"photo_id":"1327574685","filename":"file4"},{"photo_id":"1327574677","filename":"file1"},{"photo_id":"1327574675","filename":"file0"},{"photo_id":"1327574682","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327574685":["hashtag1","hashtag2"]},{"1327574688":["hashtag1","hashtag2"]},{"1327574675":["hashtag1","hashtag2"]},{"1327574680":["hashtag1","hashtag2"]},{"1327574677":["hashtag1","hashtag2"]},{"1327574682":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327574685, 1327574688, 1327574675, 1327574680, 1327574677, 1327574682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.88062596321106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:30:02.871201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/28/image_09012025_02_28_03_117764_0001.jpg', '/home/pi/Desktop/images/09012025/02/28/image_09012025_02_28_03_117764_0002.jpg', '/home/pi/Desktop/images/09012025/02/28/image_09012025_02_28_03_117764_0003.jpg', '/home/pi/Desktop/images/09012025/02/29/image_09012025_02_29_02_816353_0000.jpg', '/home/pi/Desktop/images/09012025/02/29/image_09012025_02_29_02_816353_0001.jpg', '/home/pi/Desktop/images/09012025/02/29/image_09012025_02_29_02_816353_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/28/image_09012025_02_28_03_117764_0001.jpg
/home/pi/Desktop/images/09012025/02/28/image_09012025_02_28_03_117764_0002.jpg
/home/pi/Desktop/images/09012025/02/28/image_09012025_02_28_03_117764_0003.jpg
/home/pi/Desktop/images/09012025/02/29/image_09012025_02_29_02_816353_0000.jpg
/home/pi/Desktop/images/09012025/02/29/image_09012025_02_29_02_816353_0001.jpg
/home/pi/Desktop/images/09012025/02/29/image_09012025_02_29_02_816353_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327574712","1327574706","1327574714","1327574708","1327574710","1327574704"],"photo_ids_order":["1327574704","1327574706","1327574708","1327574710","1327574712","1327574714"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8b366d49cc30b9bcb47133e48fa1cb70.jpg","text":"TemporaryFile(/tmp/multipartBody9167288887506455487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386278341,"filename":"image_09012025_02_29_02_816353_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cb297121389dff60bed948825e0ba41c.jpg","text":"TemporaryFile(/tmp/multipartBody4035119613612514353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386278341,"filename":"image_09012025_02_28_03_117764_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3d5b326e20927a9b552fb48b681a1398.jpg","text":"TemporaryFile(/tmp/multipartBody6297744445268567711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386278341,"filename":"image_09012025_02_29_02_816353_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/53c63da4a84f6e28a3abdc76dfcdce47.jpg","text":"TemporaryFile(/tmp/multipartBody997181444187972074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386278341,"filename":"image_09012025_02_28_03_117764_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/465747b5def724d8b561ab3c7b93559f.jpg","text":"TemporaryFile(/tmp/multipartBody218645560414984772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386278341,"filename":"image_09012025_02_29_02_816353_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7a4e0860af26748c268afeb0884d07ee.jpg","text":"TemporaryFile(/tmp/multipartBody8715484884725245810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386278341,"filename":"image_09012025_02_28_03_117764_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327574708","file1":"1327574706","file0":"1327574704","file4":"1327574712","file5":"1327574714","file3":"1327574710"},"map_files_photo_id_array":[{"photo_id":"1327574714","filename":"file5"},{"photo_id":"1327574708","filename":"file2"},{"photo_id":"1327574712","filename":"file4"},{"photo_id":"1327574706","filename":"file1"},{"photo_id":"1327574704","filename":"file0"},{"photo_id":"1327574710","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327574712":["hashtag1","hashtag2"]},{"1327574706":["hashtag1","hashtag2"]},{"1327574714":["hashtag1","hashtag2"]},{"1327574708":["hashtag1","hashtag2"]},{"1327574710":["hashtag1","hashtag2"]},{"1327574704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327574712, 1327574706, 1327574714, 1327574708, 1327574710, 1327574704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.10574913024902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:31:21.989699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/29/image_09012025_02_29_02_816353_0003.jpg', '/home/pi/Desktop/images/09012025/02/30/image_09012025_02_30_02_330699_0000.jpg', '/home/pi/Desktop/images/09012025/02/30/image_09012025_02_30_02_330699_0001.jpg', '/home/pi/Desktop/images/09012025/02/30/image_09012025_02_30_02_330699_0002.jpg', '/home/pi/Desktop/images/09012025/02/30/image_09012025_02_30_02_330699_0003.jpg', '/home/pi/Desktop/images/09012025/02/31/image_09012025_02_31_02_842361_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/29/image_09012025_02_29_02_816353_0003.jpg
/home/pi/Desktop/images/09012025/02/30/image_09012025_02_30_02_330699_0000.jpg
/home/pi/Desktop/images/09012025/02/30/image_09012025_02_30_02_330699_0001.jpg
/home/pi/Desktop/images/09012025/02/30/image_09012025_02_30_02_330699_0002.jpg
/home/pi/Desktop/images/09012025/02/30/image_09012025_02_30_02_330699_0003.jpg
/home/pi/Desktop/images/09012025/02/31/image_09012025_02_31_02_842361_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327574751","1327574727","1327574723","1327574729","1327574749","1327574743"],"photo_ids_order":["1327574723","1327574727","1327574729","1327574743","1327574749","1327574751"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dfdeb01bf7d736da58b181e4884c0709.jpg","text":"TemporaryFile(/tmp/multipartBody3681866829540969014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386357287,"filename":"image_09012025_02_31_02_842361_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0d386ada839e9dfcf9a8fe82d1006971.jpg","text":"TemporaryFile(/tmp/multipartBody3024387778250256380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386357287,"filename":"image_09012025_02_30_02_330699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2fd83d95e63398559721b70ca1b758ea.jpg","text":"TemporaryFile(/tmp/multipartBody2712446772109183745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386357287,"filename":"image_09012025_02_29_02_816353_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4d6ea9b87d768b903cf263e38aaeb4f6.jpg","text":"TemporaryFile(/tmp/multipartBody6020345112145539678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386357287,"filename":"image_09012025_02_30_02_330699_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5fdf878a2887d28f1a579feac1c90cc3.jpg","text":"TemporaryFile(/tmp/multipartBody5623519849613795398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386357287,"filename":"image_09012025_02_30_02_330699_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/87974b2836467c538ea1b9ef99cab5c8.jpg","text":"TemporaryFile(/tmp/multipartBody2768136145986708236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386357287,"filename":"image_09012025_02_30_02_330699_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327574729","file1":"1327574727","file0":"1327574723","file4":"1327574749","file5":"1327574751","file3":"1327574743"},"map_files_photo_id_array":[{"photo_id":"1327574751","filename":"file5"},{"photo_id":"1327574729","filename":"file2"},{"photo_id":"1327574749","filename":"file4"},{"photo_id":"1327574727","filename":"file1"},{"photo_id":"1327574723","filename":"file0"},{"photo_id":"1327574743","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327574751":["hashtag1","hashtag2"]},{"1327574727":["hashtag1","hashtag2"]},{"1327574723":["hashtag1","hashtag2"]},{"1327574729":["hashtag1","hashtag2"]},{"1327574749":["hashtag1","hashtag2"]},{"1327574743":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327574751, 1327574727, 1327574723, 1327574729, 1327574749, 1327574743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.731385231018066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:32:22.472985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/31/image_09012025_02_31_02_842361_0001.jpg', '/home/pi/Desktop/images/09012025/02/31/image_09012025_02_31_02_842361_0002.jpg', '/home/pi/Desktop/images/09012025/02/31/image_09012025_02_31_02_842361_0003.jpg', '/home/pi/Desktop/images/09012025/02/32/image_09012025_02_32_02_363936_0000.jpg', '/home/pi/Desktop/images/09012025/02/32/image_09012025_02_32_02_363936_0001.jpg', '/home/pi/Desktop/images/09012025/02/32/image_09012025_02_32_02_363936_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/31/image_09012025_02_31_02_842361_0001.jpg
/home/pi/Desktop/images/09012025/02/31/image_09012025_02_31_02_842361_0002.jpg
/home/pi/Desktop/images/09012025/02/31/image_09012025_02_31_02_842361_0003.jpg
/home/pi/Desktop/images/09012025/02/32/image_09012025_02_32_02_363936_0000.jpg
/home/pi/Desktop/images/09012025/02/32/image_09012025_02_32_02_363936_0001.jpg
/home/pi/Desktop/images/09012025/02/32/image_09012025_02_32_02_363936_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327574757","1327574766","1327574816","1327574785","1327574755","1327574793"],"photo_ids_order":["1327574755","1327574757","1327574766","1327574785","1327574793","1327574816"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aa4bfcb82ebebab8de8cf1550bec5358.jpg","text":"TemporaryFile(/tmp/multipartBody4547953565105642352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386417794,"filename":"image_09012025_02_31_02_842361_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/137b30b245ab27c5f9068f8c1f7f36de.jpg","text":"TemporaryFile(/tmp/multipartBody8018197248964364334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386417794,"filename":"image_09012025_02_31_02_842361_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b94f1180a529e70bca78ce6a651fee3a.jpg","text":"TemporaryFile(/tmp/multipartBody9116827756245724104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386417794,"filename":"image_09012025_02_32_02_363936_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2b7bfced1b9efb27a790719da14121fe.jpg","text":"TemporaryFile(/tmp/multipartBody7944598274359581652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386417794,"filename":"image_09012025_02_32_02_363936_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4640a64bdce93cfc80465e153e64b751.jpg","text":"TemporaryFile(/tmp/multipartBody4396295957659418379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386417794,"filename":"image_09012025_02_31_02_842361_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/66436bf16983b49e40ce3d6348f1f24f.jpg","text":"TemporaryFile(/tmp/multipartBody1958017076984182349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386417794,"filename":"image_09012025_02_32_02_363936_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327574766","file1":"1327574757","file0":"1327574755","file4":"1327574793","file5":"1327574816","file3":"1327574785"},"map_files_photo_id_array":[{"photo_id":"1327574816","filename":"file5"},{"photo_id":"1327574766","filename":"file2"},{"photo_id":"1327574793","filename":"file4"},{"photo_id":"1327574757","filename":"file1"},{"photo_id":"1327574755","filename":"file0"},{"photo_id":"1327574785","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327574757":["hashtag1","hashtag2"]},{"1327574766":["hashtag1","hashtag2"]},{"1327574816":["hashtag1","hashtag2"]},{"1327574785":["hashtag1","hashtag2"]},{"1327574755":["hashtag1","hashtag2"]},{"1327574793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327574757, 1327574766, 1327574816, 1327574785, 1327574755, 1327574793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.29689073562622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:33:21.969825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/32/image_09012025_02_32_02_363936_0003.jpg', '/home/pi/Desktop/images/09012025/02/33/image_09012025_02_33_02_866899_0000.jpg', '/home/pi/Desktop/images/09012025/02/33/image_09012025_02_33_02_866899_0001.jpg', '/home/pi/Desktop/images/09012025/02/33/image_09012025_02_33_02_866899_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/32/image_09012025_02_32_02_363936_0003.jpg
/home/pi/Desktop/images/09012025/02/33/image_09012025_02_33_02_866899_0000.jpg
/home/pi/Desktop/images/09012025/02/33/image_09012025_02_33_02_866899_0001.jpg
/home/pi/Desktop/images/09012025/02/33/image_09012025_02_33_02_866899_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327574931","1327574987","1327574903","1327574947"],"photo_ids_order":["1327574903","1327574931","1327574947","1327574987"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5385659e4f206d58d341f4b322771d36.jpg","text":"TemporaryFile(/tmp/multipartBody2724787971328179150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386472302,"filename":"image_09012025_02_33_02_866899_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7c8ec5d8801d69bdca4d1a7b67187af6.jpg","text":"TemporaryFile(/tmp/multipartBody1750302329206362889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386472302,"filename":"image_09012025_02_33_02_866899_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9480dd54e8f8ac6c120405aecac0e5bd.jpg","text":"TemporaryFile(/tmp/multipartBody52444850622804992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386472302,"filename":"image_09012025_02_32_02_363936_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c78a56aaafe51f5577efa8616dda8c2b.jpg","text":"TemporaryFile(/tmp/multipartBody4531897643787129138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386472302,"filename":"image_09012025_02_33_02_866899_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327574947","file1":"1327574931","file0":"1327574903","file3":"1327574987"},"map_files_photo_id_array":[{"photo_id":"1327574947","filename":"file2"},{"photo_id":"1327574931","filename":"file1"},{"photo_id":"1327574903","filename":"file0"},{"photo_id":"1327574987","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327574931":["hashtag1","hashtag2"]},{"1327574987":["hashtag1","hashtag2"]},{"1327574903":["hashtag1","hashtag2"]},{"1327574947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327574931, 1327574987, 1327574903, 1327574947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.69864535331726 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:34:22.535388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/33/image_09012025_02_33_02_866899_0003.jpg', '/home/pi/Desktop/images/09012025/02/34/image_09012025_02_34_02_372279_0000.jpg', '/home/pi/Desktop/images/09012025/02/34/image_09012025_02_34_02_372279_0001.jpg', '/home/pi/Desktop/images/09012025/02/34/image_09012025_02_34_02_372279_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/33/image_09012025_02_33_02_866899_0003.jpg
/home/pi/Desktop/images/09012025/02/34/image_09012025_02_34_02_372279_0000.jpg
/home/pi/Desktop/images/09012025/02/34/image_09012025_02_34_02_372279_0001.jpg
/home/pi/Desktop/images/09012025/02/34/image_09012025_02_34_02_372279_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.82131838798523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:35:02.607993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/33/image_09012025_02_33_02_866899_0003.jpg', '/home/pi/Desktop/images/09012025/02/34/image_09012025_02_34_02_372279_0000.jpg', '/home/pi/Desktop/images/09012025/02/34/image_09012025_02_34_02_372279_0001.jpg', '/home/pi/Desktop/images/09012025/02/34/image_09012025_02_34_02_372279_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/33/image_09012025_02_33_02_866899_0003.jpg
/home/pi/Desktop/images/09012025/02/34/image_09012025_02_34_02_372279_0000.jpg
/home/pi/Desktop/images/09012025/02/34/image_09012025_02_34_02_372279_0001.jpg
/home/pi/Desktop/images/09012025/02/34/image_09012025_02_34_02_372279_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327575140","1327575133","1327575141","1327575135"],"photo_ids_order":["1327575133","1327575135","1327575140","1327575141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ab2a5c1e1d9dd5a4df9a1225b880a98d.jpg","text":"TemporaryFile(/tmp/multipartBody5851818314776266767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386572944,"filename":"image_09012025_02_34_02_372279_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d7e932b1b4f291942f80a286f5e313ad.jpg","text":"TemporaryFile(/tmp/multipartBody840389304508753630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386572944,"filename":"image_09012025_02_33_02_866899_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d28204a61b2b1654e3721620607d667b.jpg","text":"TemporaryFile(/tmp/multipartBody859323213421314348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386572944,"filename":"image_09012025_02_34_02_372279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ea0b1d9000934b2c8c6d7c524fffe2d6.jpg","text":"TemporaryFile(/tmp/multipartBody886653385999012423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386572944,"filename":"image_09012025_02_34_02_372279_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327575140","file1":"1327575135","file0":"1327575133","file3":"1327575141"},"map_files_photo_id_array":[{"photo_id":"1327575140","filename":"file2"},{"photo_id":"1327575135","filename":"file1"},{"photo_id":"1327575133","filename":"file0"},{"photo_id":"1327575141","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327575140":["hashtag1","hashtag2"]},{"1327575133":["hashtag1","hashtag2"]},{"1327575141":["hashtag1","hashtag2"]},{"1327575135":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327575140, 1327575133, 1327575141, 1327575135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.41453814506531 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:36:03.015936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/34/image_09012025_02_34_02_372279_0003.jpg', '/home/pi/Desktop/images/09012025/02/35/image_09012025_02_35_02_922637_0000.jpg', '/home/pi/Desktop/images/09012025/02/35/image_09012025_02_35_02_922637_0001.jpg', '/home/pi/Desktop/images/09012025/02/35/image_09012025_02_35_02_922637_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/34/image_09012025_02_34_02_372279_0003.jpg
/home/pi/Desktop/images/09012025/02/35/image_09012025_02_35_02_922637_0000.jpg
/home/pi/Desktop/images/09012025/02/35/image_09012025_02_35_02_922637_0001.jpg
/home/pi/Desktop/images/09012025/02/35/image_09012025_02_35_02_922637_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.07411527633667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:36:22.635361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/34/image_09012025_02_34_02_372279_0003.jpg', '/home/pi/Desktop/images/09012025/02/35/image_09012025_02_35_02_922637_0000.jpg', '/home/pi/Desktop/images/09012025/02/35/image_09012025_02_35_02_922637_0001.jpg', '/home/pi/Desktop/images/09012025/02/35/image_09012025_02_35_02_922637_0002.jpg', '/home/pi/Desktop/images/09012025/02/35/image_09012025_02_35_02_922637_0003.jpg', '/home/pi/Desktop/images/09012025/02/36/image_09012025_02_36_02_412755_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/34/image_09012025_02_34_02_372279_0003.jpg
/home/pi/Desktop/images/09012025/02/35/image_09012025_02_35_02_922637_0000.jpg
/home/pi/Desktop/images/09012025/02/35/image_09012025_02_35_02_922637_0001.jpg
/home/pi/Desktop/images/09012025/02/35/image_09012025_02_35_02_922637_0002.jpg
/home/pi/Desktop/images/09012025/02/35/image_09012025_02_35_02_922637_0003.jpg
/home/pi/Desktop/images/09012025/02/36/image_09012025_02_36_02_412755_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327575293","1327575272","1327575347","1327575277","1327575345","1327575288"],"photo_ids_order":["1327575272","1327575277","1327575288","1327575293","1327575345","1327575347"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6f80fce9a2e661f8139ef841fbdd63ac.jpg","text":"TemporaryFile(/tmp/multipartBody183984550498576736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386657954,"filename":"image_09012025_02_35_02_922637_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3614ac8a86f77a4460a5e048f4a5710b.jpg","text":"TemporaryFile(/tmp/multipartBody6481610596500464887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386657954,"filename":"image_09012025_02_34_02_372279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/43c8fb542e99e779e22667e82415a6fa.jpg","text":"TemporaryFile(/tmp/multipartBody312838644509932261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386657954,"filename":"image_09012025_02_36_02_412755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/65c6d423a08c630dfd570da036102666.jpg","text":"TemporaryFile(/tmp/multipartBody9181276947268215445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386657954,"filename":"image_09012025_02_35_02_922637_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8a45afc1625e0a89e0baf8c7c970218b.jpg","text":"TemporaryFile(/tmp/multipartBody3597816104715041626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386657954,"filename":"image_09012025_02_35_02_922637_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4fdc17089983844849c766fc58f34594.jpg","text":"TemporaryFile(/tmp/multipartBody7831228110853117832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386657954,"filename":"image_09012025_02_35_02_922637_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327575288","file1":"1327575277","file0":"1327575272","file4":"1327575345","file5":"1327575347","file3":"1327575293"},"map_files_photo_id_array":[{"photo_id":"1327575347","filename":"file5"},{"photo_id":"1327575288","filename":"file2"},{"photo_id":"1327575345","filename":"file4"},{"photo_id":"1327575277","filename":"file1"},{"photo_id":"1327575272","filename":"file0"},{"photo_id":"1327575293","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327575293":["hashtag1","hashtag2"]},{"1327575272":["hashtag1","hashtag2"]},{"1327575347":["hashtag1","hashtag2"]},{"1327575277":["hashtag1","hashtag2"]},{"1327575345":["hashtag1","hashtag2"]},{"1327575288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327575293, 1327575272, 1327575347, 1327575277, 1327575345, 1327575288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.22861337661743 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:37:22.148297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/36/image_09012025_02_36_02_412755_0001.jpg', '/home/pi/Desktop/images/09012025/02/36/image_09012025_02_36_02_412755_0002.jpg', '/home/pi/Desktop/images/09012025/02/36/image_09012025_02_36_02_412755_0003.jpg', '/home/pi/Desktop/images/09012025/02/37/image_09012025_02_37_03_050587_0000.jpg', '/home/pi/Desktop/images/09012025/02/37/image_09012025_02_37_03_050587_0001.jpg', '/home/pi/Desktop/images/09012025/02/37/image_09012025_02_37_03_050587_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/36/image_09012025_02_36_02_412755_0001.jpg
/home/pi/Desktop/images/09012025/02/36/image_09012025_02_36_02_412755_0002.jpg
/home/pi/Desktop/images/09012025/02/36/image_09012025_02_36_02_412755_0003.jpg
/home/pi/Desktop/images/09012025/02/37/image_09012025_02_37_03_050587_0000.jpg
/home/pi/Desktop/images/09012025/02/37/image_09012025_02_37_03_050587_0001.jpg
/home/pi/Desktop/images/09012025/02/37/image_09012025_02_37_03_050587_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327575521","1327575518","1327575515","1327575352","1327575517","1327575511"],"photo_ids_order":["1327575352","1327575511","1327575515","1327575517","1327575518","1327575521"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/081b7844022be3f8cbdde029d5761158.jpg","text":"TemporaryFile(/tmp/multipartBody4888324622390286711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386717458,"filename":"image_09012025_02_37_03_050587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/61d4ec38849b4843fb06718fac7d0010.jpg","text":"TemporaryFile(/tmp/multipartBody638273133273118144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386717458,"filename":"image_09012025_02_37_03_050587_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9ea63b86fffefd007673daa16c7faae2.jpg","text":"TemporaryFile(/tmp/multipartBody7750314910611800173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386717458,"filename":"image_09012025_02_36_02_412755_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2d48d849ff9a631617f7c59d0abe466c.jpg","text":"TemporaryFile(/tmp/multipartBody3520371904088200610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386717458,"filename":"image_09012025_02_36_02_412755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/71f6947e5d646159587031f840bf7d1a.jpg","text":"TemporaryFile(/tmp/multipartBody3349719769909586293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386717458,"filename":"image_09012025_02_37_03_050587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ac0ebecad95693edb3b6562c149204dc.jpg","text":"TemporaryFile(/tmp/multipartBody2869500105975752217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386717458,"filename":"image_09012025_02_36_02_412755_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327575515","file1":"1327575511","file0":"1327575352","file4":"1327575518","file5":"1327575521","file3":"1327575517"},"map_files_photo_id_array":[{"photo_id":"1327575521","filename":"file5"},{"photo_id":"1327575515","filename":"file2"},{"photo_id":"1327575518","filename":"file4"},{"photo_id":"1327575511","filename":"file1"},{"photo_id":"1327575352","filename":"file0"},{"photo_id":"1327575517","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327575521":["hashtag1","hashtag2"]},{"1327575518":["hashtag1","hashtag2"]},{"1327575515":["hashtag1","hashtag2"]},{"1327575352":["hashtag1","hashtag2"]},{"1327575517":["hashtag1","hashtag2"]},{"1327575511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327575521, 1327575518, 1327575515, 1327575352, 1327575517, 1327575511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.983803510665894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:38:22.662496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/37/image_09012025_02_37_03_050587_0003.jpg', '/home/pi/Desktop/images/09012025/02/38/image_09012025_02_38_02_553274_0000.jpg', '/home/pi/Desktop/images/09012025/02/38/image_09012025_02_38_02_553274_0001.jpg', '/home/pi/Desktop/images/09012025/02/38/image_09012025_02_38_02_553274_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/37/image_09012025_02_37_03_050587_0003.jpg
/home/pi/Desktop/images/09012025/02/38/image_09012025_02_38_02_553274_0000.jpg
/home/pi/Desktop/images/09012025/02/38/image_09012025_02_38_02_553274_0001.jpg
/home/pi/Desktop/images/09012025/02/38/image_09012025_02_38_02_553274_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327575650","1327575530","1327575691","1327575523"],"photo_ids_order":["1327575523","1327575530","1327575650","1327575691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2397f083c4dee3c44f3331b63ccbf092.jpg","text":"TemporaryFile(/tmp/multipartBody2882749978816141025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386773041,"filename":"image_09012025_02_38_02_553274_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/63a2f1ca48d463d2e759cd2c65cf43f8.jpg","text":"TemporaryFile(/tmp/multipartBody3295332006097632742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386773041,"filename":"image_09012025_02_38_02_553274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/97bc6d715a54729fac7160aebc647695.jpg","text":"TemporaryFile(/tmp/multipartBody111003144391248036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386773041,"filename":"image_09012025_02_38_02_553274_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4d1f7ab8dfb37f687e8f3d0133271107.jpg","text":"TemporaryFile(/tmp/multipartBody5571129335399995100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386773041,"filename":"image_09012025_02_37_03_050587_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327575650","file1":"1327575530","file0":"1327575523","file3":"1327575691"},"map_files_photo_id_array":[{"photo_id":"1327575650","filename":"file2"},{"photo_id":"1327575530","filename":"file1"},{"photo_id":"1327575523","filename":"file0"},{"photo_id":"1327575691","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327575650":["hashtag1","hashtag2"]},{"1327575530":["hashtag1","hashtag2"]},{"1327575691":["hashtag1","hashtag2"]},{"1327575523":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327575650, 1327575530, 1327575691, 1327575523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.952712535858154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:39:22.225784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/38/image_09012025_02_38_02_553274_0003.jpg', '/home/pi/Desktop/images/09012025/02/39/image_09012025_02_39_03_156330_0000.jpg', '/home/pi/Desktop/images/09012025/02/39/image_09012025_02_39_03_156330_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/38/image_09012025_02_38_02_553274_0003.jpg
/home/pi/Desktop/images/09012025/02/39/image_09012025_02_39_03_156330_0000.jpg
/home/pi/Desktop/images/09012025/02/39/image_09012025_02_39_03_156330_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327575705","1327575701","1327575703"],"photo_ids_order":["1327575701","1327575703","1327575705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3afcce35f99bee077fa0bdc717395e97.jpg","text":"TemporaryFile(/tmp/multipartBody2223173036321306586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386830231,"filename":"image_09012025_02_39_03_156330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c6ebc1d92b149745a9ba79e8de1f9e6c.jpg","text":"TemporaryFile(/tmp/multipartBody2265628331349065355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386830231,"filename":"image_09012025_02_38_02_553274_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c6c040edd6fe9c8956008e56df3b3fa6.jpg","text":"TemporaryFile(/tmp/multipartBody4875177243868651962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386830231,"filename":"image_09012025_02_39_03_156330_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327575705","file1":"1327575703","file0":"1327575701"},"map_files_photo_id_array":[{"photo_id":"1327575705","filename":"file2"},{"photo_id":"1327575703","filename":"file1"},{"photo_id":"1327575701","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327575705":["hashtag1","hashtag2"]},{"1327575701":["hashtag1","hashtag2"]},{"1327575703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327575705, 1327575701, 1327575703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.01591372489929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:40:02.405173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:40:21.877338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/39/image_09012025_02_39_03_156330_0002.jpg', '/home/pi/Desktop/images/09012025/02/40/image_09012025_02_40_02_653859_0000.jpg', '/home/pi/Desktop/images/09012025/02/40/image_09012025_02_40_02_653859_0001.jpg', '/home/pi/Desktop/images/09012025/02/40/image_09012025_02_40_02_653859_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/39/image_09012025_02_39_03_156330_0002.jpg
/home/pi/Desktop/images/09012025/02/40/image_09012025_02_40_02_653859_0000.jpg
/home/pi/Desktop/images/09012025/02/40/image_09012025_02_40_02_653859_0001.jpg
/home/pi/Desktop/images/09012025/02/40/image_09012025_02_40_02_653859_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.909980773925781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:41:02.940839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/39/image_09012025_02_39_03_156330_0002.jpg', '/home/pi/Desktop/images/09012025/02/40/image_09012025_02_40_02_653859_0000.jpg', '/home/pi/Desktop/images/09012025/02/40/image_09012025_02_40_02_653859_0001.jpg', '/home/pi/Desktop/images/09012025/02/40/image_09012025_02_40_02_653859_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/39/image_09012025_02_39_03_156330_0002.jpg
/home/pi/Desktop/images/09012025/02/40/image_09012025_02_40_02_653859_0000.jpg
/home/pi/Desktop/images/09012025/02/40/image_09012025_02_40_02_653859_0001.jpg
/home/pi/Desktop/images/09012025/02/40/image_09012025_02_40_02_653859_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327575737","1327575739","1327575741","1327575738"],"photo_ids_order":["1327575737","1327575738","1327575739","1327575741"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ee32b20cb262db510ee093a6e60b8171.jpg","text":"TemporaryFile(/tmp/multipartBody305486711089890266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386933309,"filename":"image_09012025_02_39_03_156330_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/833726e4140a785707e00859e1ffe0ba.jpg","text":"TemporaryFile(/tmp/multipartBody3484170264973963414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386933309,"filename":"image_09012025_02_40_02_653859_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e48b5c6c383db0d22000bcf7c7512247.jpg","text":"TemporaryFile(/tmp/multipartBody1934280963155307447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386933309,"filename":"image_09012025_02_40_02_653859_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fb04fae0a04a85f2a5fad16bf41f5ff6.jpg","text":"TemporaryFile(/tmp/multipartBody7407272681912368643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736386933309,"filename":"image_09012025_02_40_02_653859_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327575739","file1":"1327575738","file0":"1327575737","file3":"1327575741"},"map_files_photo_id_array":[{"photo_id":"1327575739","filename":"file2"},{"photo_id":"1327575738","filename":"file1"},{"photo_id":"1327575737","filename":"file0"},{"photo_id":"1327575741","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327575737":["hashtag1","hashtag2"]},{"1327575739":["hashtag1","hashtag2"]},{"1327575741":["hashtag1","hashtag2"]},{"1327575738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327575737, 1327575739, 1327575741, 1327575738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.718918323516846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:42:02.316265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/40/image_09012025_02_40_02_653859_0003.jpg', '/home/pi/Desktop/images/09012025/02/41/image_09012025_02_41_02_215530_0000.jpg', '/home/pi/Desktop/images/09012025/02/41/image_09012025_02_41_02_215530_0001.jpg', '/home/pi/Desktop/images/09012025/02/41/image_09012025_02_41_02_215530_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/40/image_09012025_02_40_02_653859_0003.jpg
/home/pi/Desktop/images/09012025/02/41/image_09012025_02_41_02_215530_0000.jpg
/home/pi/Desktop/images/09012025/02/41/image_09012025_02_41_02_215530_0001.jpg
/home/pi/Desktop/images/09012025/02/41/image_09012025_02_41_02_215530_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.879814624786377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:42:21.960753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/40/image_09012025_02_40_02_653859_0003.jpg', '/home/pi/Desktop/images/09012025/02/41/image_09012025_02_41_02_215530_0000.jpg', '/home/pi/Desktop/images/09012025/02/41/image_09012025_02_41_02_215530_0001.jpg', '/home/pi/Desktop/images/09012025/02/41/image_09012025_02_41_02_215530_0002.jpg', '/home/pi/Desktop/images/09012025/02/41/image_09012025_02_41_02_215530_0003.jpg', '/home/pi/Desktop/images/09012025/02/42/image_09012025_02_42_02_722971_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/40/image_09012025_02_40_02_653859_0003.jpg
/home/pi/Desktop/images/09012025/02/41/image_09012025_02_41_02_215530_0000.jpg
/home/pi/Desktop/images/09012025/02/41/image_09012025_02_41_02_215530_0001.jpg
/home/pi/Desktop/images/09012025/02/41/image_09012025_02_41_02_215530_0002.jpg
/home/pi/Desktop/images/09012025/02/41/image_09012025_02_41_02_215530_0003.jpg
/home/pi/Desktop/images/09012025/02/42/image_09012025_02_42_02_722971_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327575767","1327575761","1327575758","1327575769","1327575763","1327575765"],"photo_ids_order":["1327575758","1327575761","1327575763","1327575765","1327575767","1327575769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/437ef8abea3c7b5dbb55d046768b8dd5.jpg","text":"TemporaryFile(/tmp/multipartBody856489384733269795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387017086,"filename":"image_09012025_02_41_02_215530_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4256f0213d7855f0df907d2524f19a00.jpg","text":"TemporaryFile(/tmp/multipartBody3767509373382515018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387017086,"filename":"image_09012025_02_41_02_215530_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d53bf478635bfc7d33e7d73d316e5ab6.jpg","text":"TemporaryFile(/tmp/multipartBody6852948212068150346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387017086,"filename":"image_09012025_02_40_02_653859_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3e41ca0736ac4811d9cbcfd58d2675ed.jpg","text":"TemporaryFile(/tmp/multipartBody8936238753243651224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387017086,"filename":"image_09012025_02_42_02_722971_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b1713860cb68584d2558a4292f673508.jpg","text":"TemporaryFile(/tmp/multipartBody4541349490528557774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387017086,"filename":"image_09012025_02_41_02_215530_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6da6bdc07cda8f043f18e9a7181b4e50.jpg","text":"TemporaryFile(/tmp/multipartBody7828544510085886689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387017086,"filename":"image_09012025_02_41_02_215530_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327575763","file1":"1327575761","file0":"1327575758","file4":"1327575767","file5":"1327575769","file3":"1327575765"},"map_files_photo_id_array":[{"photo_id":"1327575769","filename":"file5"},{"photo_id":"1327575763","filename":"file2"},{"photo_id":"1327575767","filename":"file4"},{"photo_id":"1327575761","filename":"file1"},{"photo_id":"1327575758","filename":"file0"},{"photo_id":"1327575765","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327575767":["hashtag1","hashtag2"]},{"1327575761":["hashtag1","hashtag2"]},{"1327575758":["hashtag1","hashtag2"]},{"1327575769":["hashtag1","hashtag2"]},{"1327575763":["hashtag1","hashtag2"]},{"1327575765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327575767, 1327575761, 1327575758, 1327575769, 1327575763, 1327575765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.65887784957886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:44:02.762395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/42/image_09012025_02_42_02_722971_0001.jpg', '/home/pi/Desktop/images/09012025/02/42/image_09012025_02_42_02_722971_0002.jpg', '/home/pi/Desktop/images/09012025/02/42/image_09012025_02_42_02_722971_0003.jpg', '/home/pi/Desktop/images/09012025/02/43/image_09012025_02_43_02_377817_0000.jpg', '/home/pi/Desktop/images/09012025/02/43/image_09012025_02_43_02_377817_0001.jpg', '/home/pi/Desktop/images/09012025/02/43/image_09012025_02_43_02_377817_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/42/image_09012025_02_42_02_722971_0001.jpg
/home/pi/Desktop/images/09012025/02/42/image_09012025_02_42_02_722971_0002.jpg
/home/pi/Desktop/images/09012025/02/42/image_09012025_02_42_02_722971_0003.jpg
/home/pi/Desktop/images/09012025/02/43/image_09012025_02_43_02_377817_0000.jpg
/home/pi/Desktop/images/09012025/02/43/image_09012025_02_43_02_377817_0001.jpg
/home/pi/Desktop/images/09012025/02/43/image_09012025_02_43_02_377817_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327575794","1327575787","1327575796","1327575790","1327575784","1327575792"],"photo_ids_order":["1327575784","1327575787","1327575790","1327575792","1327575794","1327575796"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/52df10769c08a702b8886347aa735033.jpg","text":"TemporaryFile(/tmp/multipartBody3374691114266436172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387118082,"filename":"image_09012025_02_43_02_377817_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b0b3203f6de038ea1e96f613730d4079.jpg","text":"TemporaryFile(/tmp/multipartBody4026187248870636209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387118082,"filename":"image_09012025_02_42_02_722971_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1d7de91abdbc9347711ef35ab679da7e.jpg","text":"TemporaryFile(/tmp/multipartBody6067822370930187379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387118082,"filename":"image_09012025_02_43_02_377817_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b1a97e7fdd79b45bdb96916eb94ffcae.jpg","text":"TemporaryFile(/tmp/multipartBody7877840637058262722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387118082,"filename":"image_09012025_02_42_02_722971_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f9d9ed6c15cc04c5d9a1c8b5ab533150.jpg","text":"TemporaryFile(/tmp/multipartBody639834429181910429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387118082,"filename":"image_09012025_02_42_02_722971_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/478a229536bd5889fb4f1b8ce75363d6.jpg","text":"TemporaryFile(/tmp/multipartBody4884649927017085727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387118082,"filename":"image_09012025_02_43_02_377817_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327575790","file1":"1327575787","file0":"1327575784","file4":"1327575794","file5":"1327575796","file3":"1327575792"},"map_files_photo_id_array":[{"photo_id":"1327575796","filename":"file5"},{"photo_id":"1327575790","filename":"file2"},{"photo_id":"1327575794","filename":"file4"},{"photo_id":"1327575787","filename":"file1"},{"photo_id":"1327575784","filename":"file0"},{"photo_id":"1327575792","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327575794":["hashtag1","hashtag2"]},{"1327575787":["hashtag1","hashtag2"]},{"1327575796":["hashtag1","hashtag2"]},{"1327575790":["hashtag1","hashtag2"]},{"1327575784":["hashtag1","hashtag2"]},{"1327575792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327575794, 1327575787, 1327575796, 1327575790, 1327575784, 1327575792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.38252329826355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:45:02.716313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/43/image_09012025_02_43_02_377817_0003.jpg', '/home/pi/Desktop/images/09012025/02/44/image_09012025_02_44_03_339798_0000.jpg', '/home/pi/Desktop/images/09012025/02/44/image_09012025_02_44_03_339798_0001.jpg', '/home/pi/Desktop/images/09012025/02/44/image_09012025_02_44_03_339798_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/43/image_09012025_02_43_02_377817_0003.jpg
/home/pi/Desktop/images/09012025/02/44/image_09012025_02_44_03_339798_0000.jpg
/home/pi/Desktop/images/09012025/02/44/image_09012025_02_44_03_339798_0001.jpg
/home/pi/Desktop/images/09012025/02/44/image_09012025_02_44_03_339798_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327575807","1327575811","1327575814","1327575808"],"photo_ids_order":["1327575807","1327575808","1327575811","1327575814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fac84d1d0c2db77800b171fafea9895a.jpg","text":"TemporaryFile(/tmp/multipartBody881402655166347632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387173152,"filename":"image_09012025_02_43_02_377817_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ae5e339952f943ea5ea6c0be21963b5f.jpg","text":"TemporaryFile(/tmp/multipartBody4178166730066708766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387173152,"filename":"image_09012025_02_44_03_339798_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/73fa56fabd2496ba4a9a5c627fd00c37.jpg","text":"TemporaryFile(/tmp/multipartBody2176947935119061313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387173152,"filename":"image_09012025_02_44_03_339798_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/52e84204ace1ecfd4cb616d9d1ff1b90.jpg","text":"TemporaryFile(/tmp/multipartBody4105944790532090636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387173152,"filename":"image_09012025_02_44_03_339798_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327575811","file1":"1327575808","file0":"1327575807","file3":"1327575814"},"map_files_photo_id_array":[{"photo_id":"1327575811","filename":"file2"},{"photo_id":"1327575808","filename":"file1"},{"photo_id":"1327575807","filename":"file0"},{"photo_id":"1327575814","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327575807":["hashtag1","hashtag2"]},{"1327575811":["hashtag1","hashtag2"]},{"1327575814":["hashtag1","hashtag2"]},{"1327575808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327575807, 1327575811, 1327575814, 1327575808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.61839461326599 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:46:02.898474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/44/image_09012025_02_44_03_339798_0003.jpg', '/home/pi/Desktop/images/09012025/02/45/image_09012025_02_45_02_872287_0001.jpg', '/home/pi/Desktop/images/09012025/02/45/image_09012025_02_45_02_872287_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/44/image_09012025_02_44_03_339798_0003.jpg
/home/pi/Desktop/images/09012025/02/45/image_09012025_02_45_02_872287_0001.jpg
/home/pi/Desktop/images/09012025/02/45/image_09012025_02_45_02_872287_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.502333879470825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:46:22.573983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/44/image_09012025_02_44_03_339798_0003.jpg', '/home/pi/Desktop/images/09012025/02/45/image_09012025_02_45_02_872287_0001.jpg', '/home/pi/Desktop/images/09012025/02/45/image_09012025_02_45_02_872287_0002.jpg', '/home/pi/Desktop/images/09012025/02/45/image_09012025_02_45_02_872287_0003.jpg', '/home/pi/Desktop/images/09012025/02/46/image_09012025_02_46_02_381170_0000.jpg', '/home/pi/Desktop/images/09012025/02/46/image_09012025_02_46_02_381170_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/44/image_09012025_02_44_03_339798_0003.jpg
/home/pi/Desktop/images/09012025/02/45/image_09012025_02_45_02_872287_0001.jpg
/home/pi/Desktop/images/09012025/02/45/image_09012025_02_45_02_872287_0002.jpg
/home/pi/Desktop/images/09012025/02/45/image_09012025_02_45_02_872287_0003.jpg
/home/pi/Desktop/images/09012025/02/46/image_09012025_02_46_02_381170_0000.jpg
/home/pi/Desktop/images/09012025/02/46/image_09012025_02_46_02_381170_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327575831","1327575833","1327575839","1327575841","1327575835","1327575837"],"photo_ids_order":["1327575831","1327575833","1327575835","1327575837","1327575839","1327575841"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/12ec87d3f7fa5e117b71fa3a6c403ced.jpg","text":"TemporaryFile(/tmp/multipartBody9216436221482184335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387257700,"filename":"image_09012025_02_44_03_339798_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c2bd898d3a1273cf6dfd64fba071c479.jpg","text":"TemporaryFile(/tmp/multipartBody3990306178832714709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387257700,"filename":"image_09012025_02_45_02_872287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ccf230fab743d61e74061de3e8a79320.jpg","text":"TemporaryFile(/tmp/multipartBody5815531753725253578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387257700,"filename":"image_09012025_02_46_02_381170_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ea818f7f3c4d338a253c5254246da66c.jpg","text":"TemporaryFile(/tmp/multipartBody4637824378759584961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387257700,"filename":"image_09012025_02_46_02_381170_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3593890ac63e9a06c9b7f9bfc82fe937.jpg","text":"TemporaryFile(/tmp/multipartBody697973948841345766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387257700,"filename":"image_09012025_02_45_02_872287_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/605f67c83ec197320ed277a39e5218f5.jpg","text":"TemporaryFile(/tmp/multipartBody2041395205003106928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387257700,"filename":"image_09012025_02_45_02_872287_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327575835","file1":"1327575833","file0":"1327575831","file4":"1327575839","file5":"1327575841","file3":"1327575837"},"map_files_photo_id_array":[{"photo_id":"1327575841","filename":"file5"},{"photo_id":"1327575835","filename":"file2"},{"photo_id":"1327575839","filename":"file4"},{"photo_id":"1327575833","filename":"file1"},{"photo_id":"1327575831","filename":"file0"},{"photo_id":"1327575837","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327575831":["hashtag1","hashtag2"]},{"1327575833":["hashtag1","hashtag2"]},{"1327575839":["hashtag1","hashtag2"]},{"1327575841":["hashtag1","hashtag2"]},{"1327575835":["hashtag1","hashtag2"]},{"1327575837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327575831, 1327575833, 1327575839, 1327575841, 1327575835, 1327575837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.36947584152222 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:47:22.007806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/46/image_09012025_02_46_02_381170_0002.jpg', '/home/pi/Desktop/images/09012025/02/46/image_09012025_02_46_02_381170_0003.jpg', '/home/pi/Desktop/images/09012025/02/47/image_09012025_02_47_02_894006_0000.jpg', '/home/pi/Desktop/images/09012025/02/47/image_09012025_02_47_02_894006_0001.jpg', '/home/pi/Desktop/images/09012025/02/47/image_09012025_02_47_02_894006_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/46/image_09012025_02_46_02_381170_0002.jpg
/home/pi/Desktop/images/09012025/02/46/image_09012025_02_46_02_381170_0003.jpg
/home/pi/Desktop/images/09012025/02/47/image_09012025_02_47_02_894006_0000.jpg
/home/pi/Desktop/images/09012025/02/47/image_09012025_02_47_02_894006_0001.jpg
/home/pi/Desktop/images/09012025/02/47/image_09012025_02_47_02_894006_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327575854","1327575856","1327575850","1327575847","1327575852"],"photo_ids_order":["1327575847","1327575850","1327575852","1327575854","1327575856"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e2dd993f8c1ed91d5bd67f0fc2f57b89.jpg","text":"TemporaryFile(/tmp/multipartBody785935319506060968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387314887,"filename":"image_09012025_02_47_02_894006_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b716f76b8a55592cdc5430c252f3b5fb.jpg","text":"TemporaryFile(/tmp/multipartBody4268904248923932577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387314887,"filename":"image_09012025_02_47_02_894006_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fce09b7019f8c6ac6f1722660cf8f92b.jpg","text":"TemporaryFile(/tmp/multipartBody5899395042165471486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387314887,"filename":"image_09012025_02_46_02_381170_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fce7d9acbf51a3607d970ab7cc6fb25c.jpg","text":"TemporaryFile(/tmp/multipartBody7778110533612545944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387314887,"filename":"image_09012025_02_46_02_381170_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/33812aa93497b14150362e7f27cf819e.jpg","text":"TemporaryFile(/tmp/multipartBody7076793827613150112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387314887,"filename":"image_09012025_02_47_02_894006_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327575852","file1":"1327575850","file0":"1327575847","file4":"1327575856","file3":"1327575854"},"map_files_photo_id_array":[{"photo_id":"1327575852","filename":"file2"},{"photo_id":"1327575856","filename":"file4"},{"photo_id":"1327575850","filename":"file1"},{"photo_id":"1327575847","filename":"file0"},{"photo_id":"1327575854","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327575854":["hashtag1","hashtag2"]},{"1327575856":["hashtag1","hashtag2"]},{"1327575850":["hashtag1","hashtag2"]},{"1327575847":["hashtag1","hashtag2"]},{"1327575852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327575854, 1327575856, 1327575850, 1327575847, 1327575852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.40197968482971 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:48:22.600679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/47/image_09012025_02_47_02_894006_0003.jpg', '/home/pi/Desktop/images/09012025/02/48/image_09012025_02_48_02_446342_0000.jpg', '/home/pi/Desktop/images/09012025/02/48/image_09012025_02_48_02_446342_0001.jpg', '/home/pi/Desktop/images/09012025/02/48/image_09012025_02_48_02_446342_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/47/image_09012025_02_47_02_894006_0003.jpg
/home/pi/Desktop/images/09012025/02/48/image_09012025_02_48_02_446342_0000.jpg
/home/pi/Desktop/images/09012025/02/48/image_09012025_02_48_02_446342_0001.jpg
/home/pi/Desktop/images/09012025/02/48/image_09012025_02_48_02_446342_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327575859","1327575867","1327575861","1327575864"],"photo_ids_order":["1327575859","1327575861","1327575864","1327575867"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f2fe2103cfb7c4d491d6f7d7652dddd1.jpg","text":"TemporaryFile(/tmp/multipartBody699781229371793992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387372914,"filename":"image_09012025_02_47_02_894006_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d0e700c9a5a4343cf30906602cdaf493.jpg","text":"TemporaryFile(/tmp/multipartBody8929589331805482852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387372914,"filename":"image_09012025_02_48_02_446342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4d8d95608aad2aa2ababbcd89ae9fab0.jpg","text":"TemporaryFile(/tmp/multipartBody3244268657718204578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387372914,"filename":"image_09012025_02_48_02_446342_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fe5f07b995eda3f818ff405ac0c64a4a.jpg","text":"TemporaryFile(/tmp/multipartBody9014336582136080485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387372914,"filename":"image_09012025_02_48_02_446342_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327575864","file1":"1327575861","file0":"1327575859","file3":"1327575867"},"map_files_photo_id_array":[{"photo_id":"1327575864","filename":"file2"},{"photo_id":"1327575861","filename":"file1"},{"photo_id":"1327575859","filename":"file0"},{"photo_id":"1327575867","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327575859":["hashtag1","hashtag2"]},{"1327575867":["hashtag1","hashtag2"]},{"1327575861":["hashtag1","hashtag2"]},{"1327575864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327575859, 1327575867, 1327575861, 1327575864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.05935192108154 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:49:22.107104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/48/image_09012025_02_48_02_446342_0003.jpg', '/home/pi/Desktop/images/09012025/02/49/image_09012025_02_49_03_047615_0000.jpg', '/home/pi/Desktop/images/09012025/02/49/image_09012025_02_49_03_047615_0001.jpg', '/home/pi/Desktop/images/09012025/02/49/image_09012025_02_49_03_047615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/48/image_09012025_02_48_02_446342_0003.jpg
/home/pi/Desktop/images/09012025/02/49/image_09012025_02_49_03_047615_0000.jpg
/home/pi/Desktop/images/09012025/02/49/image_09012025_02_49_03_047615_0001.jpg
/home/pi/Desktop/images/09012025/02/49/image_09012025_02_49_03_047615_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327575881","1327575883","1327575879","1327575876"],"photo_ids_order":["1327575876","1327575879","1327575881","1327575883"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ead608fe86bd6925aea58f2ca80dcbed.jpg","text":"TemporaryFile(/tmp/multipartBody3153334456667638931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387432450,"filename":"image_09012025_02_49_03_047615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b68cde92fe12b741f7d6e920d58aaf65.jpg","text":"TemporaryFile(/tmp/multipartBody514275936392437450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387432450,"filename":"image_09012025_02_49_03_047615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/808d57d9a0dd64748ed40f705cf44713.jpg","text":"TemporaryFile(/tmp/multipartBody4024534301719156738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387432450,"filename":"image_09012025_02_49_03_047615_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aa1d4672655c79cff0a41c611685f0d5.jpg","text":"TemporaryFile(/tmp/multipartBody1506703018073008852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387432450,"filename":"image_09012025_02_48_02_446342_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327575881","file1":"1327575879","file0":"1327575876","file3":"1327575883"},"map_files_photo_id_array":[{"photo_id":"1327575881","filename":"file2"},{"photo_id":"1327575879","filename":"file1"},{"photo_id":"1327575876","filename":"file0"},{"photo_id":"1327575883","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327575881":["hashtag1","hashtag2"]},{"1327575883":["hashtag1","hashtag2"]},{"1327575879":["hashtag1","hashtag2"]},{"1327575876":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327575881, 1327575883, 1327575879, 1327575876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.726598501205444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:50:22.728162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/49/image_09012025_02_49_03_047615_0003.jpg', '/home/pi/Desktop/images/09012025/02/50/image_09012025_02_50_02_608878_0000.jpg', '/home/pi/Desktop/images/09012025/02/50/image_09012025_02_50_02_608878_0001.jpg', '/home/pi/Desktop/images/09012025/02/50/image_09012025_02_50_02_608878_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/49/image_09012025_02_49_03_047615_0003.jpg
/home/pi/Desktop/images/09012025/02/50/image_09012025_02_50_02_608878_0000.jpg
/home/pi/Desktop/images/09012025/02/50/image_09012025_02_50_02_608878_0001.jpg
/home/pi/Desktop/images/09012025/02/50/image_09012025_02_50_02_608878_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.0387704372406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:51:02.962918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/49/image_09012025_02_49_03_047615_0003.jpg', '/home/pi/Desktop/images/09012025/02/50/image_09012025_02_50_02_608878_0000.jpg', '/home/pi/Desktop/images/09012025/02/50/image_09012025_02_50_02_608878_0001.jpg', '/home/pi/Desktop/images/09012025/02/50/image_09012025_02_50_02_608878_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/49/image_09012025_02_49_03_047615_0003.jpg
/home/pi/Desktop/images/09012025/02/50/image_09012025_02_50_02_608878_0000.jpg
/home/pi/Desktop/images/09012025/02/50/image_09012025_02_50_02_608878_0001.jpg
/home/pi/Desktop/images/09012025/02/50/image_09012025_02_50_02_608878_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327575924","1327575925","1327575919","1327575921"],"photo_ids_order":["1327575919","1327575921","1327575924","1327575925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6eb0dec80679a8b35fe412cb3b980983.jpg","text":"TemporaryFile(/tmp/multipartBody2951230856854218376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387533425,"filename":"image_09012025_02_50_02_608878_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/93089d1655a34a7387c73a4e4e58ac22.jpg","text":"TemporaryFile(/tmp/multipartBody4365020503024975814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387533425,"filename":"image_09012025_02_50_02_608878_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4a1ab20db8772c6ad34337c14afec502.jpg","text":"TemporaryFile(/tmp/multipartBody2790070612555596885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387533425,"filename":"image_09012025_02_49_03_047615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2480f3b59dd84ef471b64d51dad84161.jpg","text":"TemporaryFile(/tmp/multipartBody3818309952908512986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387533425,"filename":"image_09012025_02_50_02_608878_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327575924","file1":"1327575921","file0":"1327575919","file3":"1327575925"},"map_files_photo_id_array":[{"photo_id":"1327575924","filename":"file2"},{"photo_id":"1327575921","filename":"file1"},{"photo_id":"1327575919","filename":"file0"},{"photo_id":"1327575925","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327575924":["hashtag1","hashtag2"]},{"1327575925":["hashtag1","hashtag2"]},{"1327575919":["hashtag1","hashtag2"]},{"1327575921":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327575924, 1327575925, 1327575919, 1327575921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.704519748687744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:52:02.330246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/50/image_09012025_02_50_02_608878_0003.jpg', '/home/pi/Desktop/images/09012025/02/51/image_09012025_02_51_03_131125_0000.jpg', '/home/pi/Desktop/images/09012025/02/51/image_09012025_02_51_03_131125_0001.jpg', '/home/pi/Desktop/images/09012025/02/51/image_09012025_02_51_03_131125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/50/image_09012025_02_50_02_608878_0003.jpg
/home/pi/Desktop/images/09012025/02/51/image_09012025_02_51_03_131125_0000.jpg
/home/pi/Desktop/images/09012025/02/51/image_09012025_02_51_03_131125_0001.jpg
/home/pi/Desktop/images/09012025/02/51/image_09012025_02_51_03_131125_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.810420513153076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:52:21.914892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/50/image_09012025_02_50_02_608878_0003.jpg', '/home/pi/Desktop/images/09012025/02/51/image_09012025_02_51_03_131125_0000.jpg', '/home/pi/Desktop/images/09012025/02/51/image_09012025_02_51_03_131125_0001.jpg', '/home/pi/Desktop/images/09012025/02/51/image_09012025_02_51_03_131125_0002.jpg', '/home/pi/Desktop/images/09012025/02/51/image_09012025_02_51_03_131125_0003.jpg', '/home/pi/Desktop/images/09012025/02/52/image_09012025_02_52_02_696030_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/50/image_09012025_02_50_02_608878_0003.jpg
/home/pi/Desktop/images/09012025/02/51/image_09012025_02_51_03_131125_0000.jpg
/home/pi/Desktop/images/09012025/02/51/image_09012025_02_51_03_131125_0001.jpg
/home/pi/Desktop/images/09012025/02/51/image_09012025_02_51_03_131125_0002.jpg
/home/pi/Desktop/images/09012025/02/51/image_09012025_02_51_03_131125_0003.jpg
/home/pi/Desktop/images/09012025/02/52/image_09012025_02_52_02_696030_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327575950","1327575944","1327575955","1327575952","1327575946","1327575948"],"photo_ids_order":["1327575944","1327575946","1327575948","1327575950","1327575952","1327575955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1c20dcc8642fe6d2f65c1ed97db416a6.jpg","text":"TemporaryFile(/tmp/multipartBody8671357047095022899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387616998,"filename":"image_09012025_02_51_03_131125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ac72bdf13f9b432ec70a00b08b8479b7.jpg","text":"TemporaryFile(/tmp/multipartBody4057938950505002999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387616998,"filename":"image_09012025_02_50_02_608878_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e8655a6be630da59c73947e334892ac.jpg","text":"TemporaryFile(/tmp/multipartBody4769442525673139512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387616998,"filename":"image_09012025_02_52_02_696030_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9696506a48cd32ada8c73887fc7c6a84.jpg","text":"TemporaryFile(/tmp/multipartBody6608917049494412513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387616998,"filename":"image_09012025_02_51_03_131125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/69dd173708bc96c996acc3b22133ef4f.jpg","text":"TemporaryFile(/tmp/multipartBody6511900005823673937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387616998,"filename":"image_09012025_02_51_03_131125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/91c509939a23902f9bae05c9032cb031.jpg","text":"TemporaryFile(/tmp/multipartBody3500610439647102639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387616998,"filename":"image_09012025_02_51_03_131125_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327575948","file1":"1327575946","file0":"1327575944","file4":"1327575952","file5":"1327575955","file3":"1327575950"},"map_files_photo_id_array":[{"photo_id":"1327575955","filename":"file5"},{"photo_id":"1327575948","filename":"file2"},{"photo_id":"1327575952","filename":"file4"},{"photo_id":"1327575946","filename":"file1"},{"photo_id":"1327575944","filename":"file0"},{"photo_id":"1327575950","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327575950":["hashtag1","hashtag2"]},{"1327575944":["hashtag1","hashtag2"]},{"1327575955":["hashtag1","hashtag2"]},{"1327575952":["hashtag1","hashtag2"]},{"1327575946":["hashtag1","hashtag2"]},{"1327575948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327575950, 1327575944, 1327575955, 1327575952, 1327575946, 1327575948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.93019938468933 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:53:22.464399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/52/image_09012025_02_52_02_696030_0001.jpg', '/home/pi/Desktop/images/09012025/02/52/image_09012025_02_52_02_696030_0002.jpg', '/home/pi/Desktop/images/09012025/02/52/image_09012025_02_52_02_696030_0003.jpg', '/home/pi/Desktop/images/09012025/02/53/image_09012025_02_53_02_302160_0000.jpg', '/home/pi/Desktop/images/09012025/02/53/image_09012025_02_53_02_302160_0001.jpg', '/home/pi/Desktop/images/09012025/02/53/image_09012025_02_53_02_302160_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/52/image_09012025_02_52_02_696030_0001.jpg
/home/pi/Desktop/images/09012025/02/52/image_09012025_02_52_02_696030_0002.jpg
/home/pi/Desktop/images/09012025/02/52/image_09012025_02_52_02_696030_0003.jpg
/home/pi/Desktop/images/09012025/02/53/image_09012025_02_53_02_302160_0000.jpg
/home/pi/Desktop/images/09012025/02/53/image_09012025_02_53_02_302160_0001.jpg
/home/pi/Desktop/images/09012025/02/53/image_09012025_02_53_02_302160_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327575959","1327575967","1327575961","1327575964","1327575966","1327575969"],"photo_ids_order":["1327575959","1327575961","1327575964","1327575966","1327575967","1327575969"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/89ea14caf5f6492ac330f646a96660b4.jpg","text":"TemporaryFile(/tmp/multipartBody3283281233916768116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387677779,"filename":"image_09012025_02_52_02_696030_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ad649a3401b607bf2f853e9e1877bd8d.jpg","text":"TemporaryFile(/tmp/multipartBody2268818756113773758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387677779,"filename":"image_09012025_02_53_02_302160_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/541216a46758d5a1321461b881446bb1.jpg","text":"TemporaryFile(/tmp/multipartBody1035901938796539342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387677779,"filename":"image_09012025_02_52_02_696030_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/93222a052820c07e16da48ec89118d2e.jpg","text":"TemporaryFile(/tmp/multipartBody1102978708177101521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387677779,"filename":"image_09012025_02_52_02_696030_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a38cf6cd85e72af0f1f838a5f820b051.jpg","text":"TemporaryFile(/tmp/multipartBody6543785862167332206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387677779,"filename":"image_09012025_02_53_02_302160_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/32c9b1cc90198fc49df08debc9aecf95.jpg","text":"TemporaryFile(/tmp/multipartBody5820731760176156367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387677779,"filename":"image_09012025_02_53_02_302160_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327575964","file1":"1327575961","file0":"1327575959","file4":"1327575967","file5":"1327575969","file3":"1327575966"},"map_files_photo_id_array":[{"photo_id":"1327575969","filename":"file5"},{"photo_id":"1327575964","filename":"file2"},{"photo_id":"1327575967","filename":"file4"},{"photo_id":"1327575961","filename":"file1"},{"photo_id":"1327575959","filename":"file0"},{"photo_id":"1327575966","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327575959":["hashtag1","hashtag2"]},{"1327575967":["hashtag1","hashtag2"]},{"1327575961":["hashtag1","hashtag2"]},{"1327575964":["hashtag1","hashtag2"]},{"1327575966":["hashtag1","hashtag2"]},{"1327575969":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327575959, 1327575967, 1327575961, 1327575964, 1327575966, 1327575969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.345582723617554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:55:03.024222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/53/image_09012025_02_53_02_302160_0003.jpg', '/home/pi/Desktop/images/09012025/02/54/image_09012025_02_54_02_849771_0000.jpg', '/home/pi/Desktop/images/09012025/02/54/image_09012025_02_54_02_849771_0001.jpg', '/home/pi/Desktop/images/09012025/02/54/image_09012025_02_54_02_849771_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/53/image_09012025_02_53_02_302160_0003.jpg
/home/pi/Desktop/images/09012025/02/54/image_09012025_02_54_02_849771_0000.jpg
/home/pi/Desktop/images/09012025/02/54/image_09012025_02_54_02_849771_0001.jpg
/home/pi/Desktop/images/09012025/02/54/image_09012025_02_54_02_849771_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.025818824768066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:55:22.476600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/53/image_09012025_02_53_02_302160_0003.jpg', '/home/pi/Desktop/images/09012025/02/54/image_09012025_02_54_02_849771_0000.jpg', '/home/pi/Desktop/images/09012025/02/54/image_09012025_02_54_02_849771_0001.jpg', '/home/pi/Desktop/images/09012025/02/54/image_09012025_02_54_02_849771_0002.jpg', '/home/pi/Desktop/images/09012025/02/54/image_09012025_02_54_02_849771_0003.jpg', '/home/pi/Desktop/images/09012025/02/55/image_09012025_02_55_02_411704_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/53/image_09012025_02_53_02_302160_0003.jpg
/home/pi/Desktop/images/09012025/02/54/image_09012025_02_54_02_849771_0000.jpg
/home/pi/Desktop/images/09012025/02/54/image_09012025_02_54_02_849771_0001.jpg
/home/pi/Desktop/images/09012025/02/54/image_09012025_02_54_02_849771_0002.jpg
/home/pi/Desktop/images/09012025/02/54/image_09012025_02_54_02_849771_0003.jpg
/home/pi/Desktop/images/09012025/02/55/image_09012025_02_55_02_411704_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576007","1327576010","1327576003","1327576012","1327576009","1327576005"],"photo_ids_order":["1327576003","1327576005","1327576007","1327576009","1327576010","1327576012"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f6b962cee1eac44c6b82a4ab49c82aec.jpg","text":"TemporaryFile(/tmp/multipartBody6171107353344069157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387797665,"filename":"image_09012025_02_54_02_849771_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/19dab38cfcf1221a461155f1512df816.jpg","text":"TemporaryFile(/tmp/multipartBody4549306954135624523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387797665,"filename":"image_09012025_02_54_02_849771_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/25dada1cfedb56c6dedff2a2a0aeca72.jpg","text":"TemporaryFile(/tmp/multipartBody8176557139086175385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387797665,"filename":"image_09012025_02_53_02_302160_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3a78c74ecdc9b13e03c503906897ff72.jpg","text":"TemporaryFile(/tmp/multipartBody3844022675449322512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387797665,"filename":"image_09012025_02_55_02_411704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fc1318c92f373e8b10a7b0db92e01867.jpg","text":"TemporaryFile(/tmp/multipartBody5691583232252284998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387797665,"filename":"image_09012025_02_54_02_849771_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8234d10bf7f22b5608fa8026fc97eb5d.jpg","text":"TemporaryFile(/tmp/multipartBody4931951472470267533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387797665,"filename":"image_09012025_02_54_02_849771_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576007","file1":"1327576005","file0":"1327576003","file4":"1327576010","file5":"1327576012","file3":"1327576009"},"map_files_photo_id_array":[{"photo_id":"1327576012","filename":"file5"},{"photo_id":"1327576007","filename":"file2"},{"photo_id":"1327576010","filename":"file4"},{"photo_id":"1327576005","filename":"file1"},{"photo_id":"1327576003","filename":"file0"},{"photo_id":"1327576009","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576007":["hashtag1","hashtag2"]},{"1327576010":["hashtag1","hashtag2"]},{"1327576003":["hashtag1","hashtag2"]},{"1327576012":["hashtag1","hashtag2"]},{"1327576009":["hashtag1","hashtag2"]},{"1327576005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576007, 1327576010, 1327576003, 1327576012, 1327576009, 1327576005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.74562478065491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:56:22.123065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/55/image_09012025_02_55_02_411704_0001.jpg', '/home/pi/Desktop/images/09012025/02/55/image_09012025_02_55_02_411704_0002.jpg', '/home/pi/Desktop/images/09012025/02/55/image_09012025_02_55_02_411704_0003.jpg', '/home/pi/Desktop/images/09012025/02/56/image_09012025_02_56_02_918367_0000.jpg', '/home/pi/Desktop/images/09012025/02/56/image_09012025_02_56_02_918367_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/55/image_09012025_02_55_02_411704_0001.jpg
/home/pi/Desktop/images/09012025/02/55/image_09012025_02_55_02_411704_0002.jpg
/home/pi/Desktop/images/09012025/02/55/image_09012025_02_55_02_411704_0003.jpg
/home/pi/Desktop/images/09012025/02/56/image_09012025_02_56_02_918367_0000.jpg
/home/pi/Desktop/images/09012025/02/56/image_09012025_02_56_02_918367_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576029","1327576020","1327576023","1327576017","1327576026"],"photo_ids_order":["1327576017","1327576020","1327576023","1327576026","1327576029"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3d4c6d6335f9e1e3a22b8a7ce9985fb0.jpg","text":"TemporaryFile(/tmp/multipartBody1298463594391879089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387855105,"filename":"image_09012025_02_56_02_918367_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/55d28ee67ae5cd0572067579eb58fb61.jpg","text":"TemporaryFile(/tmp/multipartBody6397126770641973951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387855105,"filename":"image_09012025_02_55_02_411704_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e219fbb2e60aafe6b5487aee320e01b9.jpg","text":"TemporaryFile(/tmp/multipartBody8652202041792417099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387855105,"filename":"image_09012025_02_55_02_411704_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f67cebd710687ee8d0d8d3f3dfb7bcf0.jpg","text":"TemporaryFile(/tmp/multipartBody7306195574642671207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387855105,"filename":"image_09012025_02_55_02_411704_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3848465fbc900c075e355708f9ace650.jpg","text":"TemporaryFile(/tmp/multipartBody7573968941807224803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736387855105,"filename":"image_09012025_02_56_02_918367_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576023","file1":"1327576020","file0":"1327576017","file4":"1327576029","file3":"1327576026"},"map_files_photo_id_array":[{"photo_id":"1327576023","filename":"file2"},{"photo_id":"1327576029","filename":"file4"},{"photo_id":"1327576020","filename":"file1"},{"photo_id":"1327576017","filename":"file0"},{"photo_id":"1327576026","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576029":["hashtag1","hashtag2"]},{"1327576020":["hashtag1","hashtag2"]},{"1327576023":["hashtag1","hashtag2"]},{"1327576017":["hashtag1","hashtag2"]},{"1327576026":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576029, 1327576020, 1327576023, 1327576017, 1327576026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.53255605697632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:57:22.622030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/56/image_09012025_02_56_02_918367_0003.jpg', '/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0000.jpg', '/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0001.jpg', '/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/56/image_09012025_02_56_02_918367_0003.jpg
/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0000.jpg
/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0001.jpg
/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0002.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 02:59:03.046499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/56/image_09012025_02_56_02_918367_0003.jpg', '/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0000.jpg', '/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0001.jpg', '/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0002.jpg', '/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0003.jpg', '/home/pi/Desktop/images/09012025/02/58/image_09012025_02_58_03_091522_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/56/image_09012025_02_56_02_918367_0003.jpg
/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0000.jpg
/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0001.jpg
/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0002.jpg
/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0003.jpg
/home/pi/Desktop/images/09012025/02/58/image_09012025_02_58_03_091522_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.904208660125732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 02:59:22.364239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/56/image_09012025_02_56_02_918367_0003.jpg', '/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0000.jpg', '/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0001.jpg', '/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0002.jpg', '/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0003.jpg', '/home/pi/Desktop/images/09012025/02/58/image_09012025_02_58_03_091522_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/56/image_09012025_02_56_02_918367_0003.jpg
/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0000.jpg
/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0001.jpg
/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0002.jpg
/home/pi/Desktop/images/09012025/02/57/image_09012025_02_57_02_514917_0003.jpg
/home/pi/Desktop/images/09012025/02/58/image_09012025_02_58_03_091522_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576082","1327576076","1327576085","1327576079","1327576087","1327576083"],"photo_ids_order":["1327576076","1327576079","1327576082","1327576083","1327576085","1327576087"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/785336dd11c2d45a02fca1c71238a837.jpg","text":"TemporaryFile(/tmp/multipartBody6882995412541082917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388037625,"filename":"image_09012025_02_57_02_514917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1b295fd8c9694f00f852ee0849444311.jpg","text":"TemporaryFile(/tmp/multipartBody970944742252914879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388037625,"filename":"image_09012025_02_56_02_918367_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e8eb5c5dbf03c9fa71a3005ea74d7a1f.jpg","text":"TemporaryFile(/tmp/multipartBody4520496803425147196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388037625,"filename":"image_09012025_02_57_02_514917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ba569a3166d0ce40d40bf29fa4d40ae6.jpg","text":"TemporaryFile(/tmp/multipartBody5853082930260136499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388037625,"filename":"image_09012025_02_57_02_514917_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e475d0010dadb7a321d5f988357c3fb5.jpg","text":"TemporaryFile(/tmp/multipartBody8378177007487701111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388037625,"filename":"image_09012025_02_58_03_091522_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/51e610515ec0cc252772cc04310fd565.jpg","text":"TemporaryFile(/tmp/multipartBody8026883219885614186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388037625,"filename":"image_09012025_02_57_02_514917_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576082","file1":"1327576079","file0":"1327576076","file4":"1327576085","file5":"1327576087","file3":"1327576083"},"map_files_photo_id_array":[{"photo_id":"1327576087","filename":"file5"},{"photo_id":"1327576082","filename":"file2"},{"photo_id":"1327576085","filename":"file4"},{"photo_id":"1327576079","filename":"file1"},{"photo_id":"1327576076","filename":"file0"},{"photo_id":"1327576083","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576082":["hashtag1","hashtag2"]},{"1327576076":["hashtag1","hashtag2"]},{"1327576085":["hashtag1","hashtag2"]},{"1327576079":["hashtag1","hashtag2"]},{"1327576087":["hashtag1","hashtag2"]},{"1327576083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576082, 1327576076, 1327576085, 1327576079, 1327576087, 1327576083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.407670974731445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:00:21.977495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/58/image_09012025_02_58_03_091522_0001.jpg', '/home/pi/Desktop/images/09012025/02/58/image_09012025_02_58_03_091522_0002.jpg', '/home/pi/Desktop/images/09012025/02/58/image_09012025_02_58_03_091522_0003.jpg', '/home/pi/Desktop/images/09012025/02/59/image_09012025_02_59_02_589317_0000.jpg', '/home/pi/Desktop/images/09012025/02/59/image_09012025_02_59_02_589317_0001.jpg', '/home/pi/Desktop/images/09012025/02/59/image_09012025_02_59_02_589317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/58/image_09012025_02_58_03_091522_0001.jpg
/home/pi/Desktop/images/09012025/02/58/image_09012025_02_58_03_091522_0002.jpg
/home/pi/Desktop/images/09012025/02/58/image_09012025_02_58_03_091522_0003.jpg
/home/pi/Desktop/images/09012025/02/59/image_09012025_02_59_02_589317_0000.jpg
/home/pi/Desktop/images/09012025/02/59/image_09012025_02_59_02_589317_0001.jpg
/home/pi/Desktop/images/09012025/02/59/image_09012025_02_59_02_589317_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576097","1327576099","1327576103","1327576093","1327576095","1327576101"],"photo_ids_order":["1327576093","1327576095","1327576097","1327576099","1327576101","1327576103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/78938bd0fadb4f228c2b8fc9fb66dc2b.jpg","text":"TemporaryFile(/tmp/multipartBody3476412245055796861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388097289,"filename":"image_09012025_02_58_03_091522_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7269db1db2f63b2e1da79f976e53e800.jpg","text":"TemporaryFile(/tmp/multipartBody8754690277931925824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388097289,"filename":"image_09012025_02_59_02_589317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1eef016d2ac8630f2ad65513cf14ddc6.jpg","text":"TemporaryFile(/tmp/multipartBody652428267601871611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388097289,"filename":"image_09012025_02_59_02_589317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5c5d9fa3297c7833dfd8a87f22fb60b4.jpg","text":"TemporaryFile(/tmp/multipartBody2707514583511748150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388097289,"filename":"image_09012025_02_58_03_091522_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/48af46b1e2e6bd74ce420141292c7758.jpg","text":"TemporaryFile(/tmp/multipartBody1389517610476731920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388097289,"filename":"image_09012025_02_58_03_091522_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6c63b66224714f1fd1eed37b4d8de164.jpg","text":"TemporaryFile(/tmp/multipartBody450994302995826844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388097289,"filename":"image_09012025_02_59_02_589317_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576097","file1":"1327576095","file0":"1327576093","file4":"1327576101","file5":"1327576103","file3":"1327576099"},"map_files_photo_id_array":[{"photo_id":"1327576103","filename":"file5"},{"photo_id":"1327576097","filename":"file2"},{"photo_id":"1327576101","filename":"file4"},{"photo_id":"1327576095","filename":"file1"},{"photo_id":"1327576093","filename":"file0"},{"photo_id":"1327576099","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576097":["hashtag1","hashtag2"]},{"1327576099":["hashtag1","hashtag2"]},{"1327576103":["hashtag1","hashtag2"]},{"1327576093":["hashtag1","hashtag2"]},{"1327576095":["hashtag1","hashtag2"]},{"1327576101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576097, 1327576099, 1327576103, 1327576093, 1327576095, 1327576101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.449777603149414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:01:22.524105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/02/59/image_09012025_02_59_02_589317_0003.jpg', '/home/pi/Desktop/images/09012025/03/00/image_09012025_03_00_02_775323_0000.jpg', '/home/pi/Desktop/images/09012025/03/00/image_09012025_03_00_02_775323_0001.jpg', '/home/pi/Desktop/images/09012025/03/00/image_09012025_03_00_02_775323_0002.jpg', '/home/pi/Desktop/images/09012025/03/00/image_09012025_03_00_02_775323_0003.jpg', '/home/pi/Desktop/images/09012025/03/01/image_09012025_03_01_02_392889_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/02/59/image_09012025_02_59_02_589317_0003.jpg
/home/pi/Desktop/images/09012025/03/00/image_09012025_03_00_02_775323_0000.jpg
/home/pi/Desktop/images/09012025/03/00/image_09012025_03_00_02_775323_0001.jpg
/home/pi/Desktop/images/09012025/03/00/image_09012025_03_00_02_775323_0002.jpg
/home/pi/Desktop/images/09012025/03/00/image_09012025_03_00_02_775323_0003.jpg
/home/pi/Desktop/images/09012025/03/01/image_09012025_03_01_02_392889_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576121","1327576114","1327576108","1327576116","1327576119","1327576110"],"photo_ids_order":["1327576108","1327576110","1327576114","1327576116","1327576119","1327576121"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/12b5895517466e79247595296540ec93.jpg","text":"TemporaryFile(/tmp/multipartBody6801638931958795849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388157936,"filename":"image_09012025_03_01_02_392889_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9c0d7f151f89b3fc07fb5848d1cfcd1c.jpg","text":"TemporaryFile(/tmp/multipartBody7905866993566304111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388157936,"filename":"image_09012025_03_00_02_775323_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/422ca45375ea634a0352557a8873ac2e.jpg","text":"TemporaryFile(/tmp/multipartBody4387650288285131846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388157936,"filename":"image_09012025_02_59_02_589317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dddb01a5950b01e442ce21d24a82d9d0.jpg","text":"TemporaryFile(/tmp/multipartBody6079895735650624737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388157936,"filename":"image_09012025_03_00_02_775323_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0ad050d138749628d413f5876904d346.jpg","text":"TemporaryFile(/tmp/multipartBody3237673782993963963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388157936,"filename":"image_09012025_03_00_02_775323_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/136bb6084c409f6be0eb1cc8ceaa804e.jpg","text":"TemporaryFile(/tmp/multipartBody6010568554431473236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388157936,"filename":"image_09012025_03_00_02_775323_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576114","file1":"1327576110","file0":"1327576108","file4":"1327576119","file5":"1327576121","file3":"1327576116"},"map_files_photo_id_array":[{"photo_id":"1327576121","filename":"file5"},{"photo_id":"1327576114","filename":"file2"},{"photo_id":"1327576119","filename":"file4"},{"photo_id":"1327576110","filename":"file1"},{"photo_id":"1327576108","filename":"file0"},{"photo_id":"1327576116","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576121":["hashtag1","hashtag2"]},{"1327576114":["hashtag1","hashtag2"]},{"1327576108":["hashtag1","hashtag2"]},{"1327576116":["hashtag1","hashtag2"]},{"1327576119":["hashtag1","hashtag2"]},{"1327576110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576121, 1327576114, 1327576108, 1327576116, 1327576119, 1327576110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.40064764022827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:02:22.080287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/01/image_09012025_03_01_02_392889_0001.jpg', '/home/pi/Desktop/images/09012025/03/01/image_09012025_03_01_02_392889_0002.jpg', '/home/pi/Desktop/images/09012025/03/01/image_09012025_03_01_02_392889_0003.jpg', '/home/pi/Desktop/images/09012025/03/02/image_09012025_03_02_02_918395_0000.jpg', '/home/pi/Desktop/images/09012025/03/02/image_09012025_03_02_02_918395_0001.jpg', '/home/pi/Desktop/images/09012025/03/02/image_09012025_03_02_02_918395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/01/image_09012025_03_01_02_392889_0001.jpg
/home/pi/Desktop/images/09012025/03/01/image_09012025_03_01_02_392889_0002.jpg
/home/pi/Desktop/images/09012025/03/01/image_09012025_03_01_02_392889_0003.jpg
/home/pi/Desktop/images/09012025/03/02/image_09012025_03_02_02_918395_0000.jpg
/home/pi/Desktop/images/09012025/03/02/image_09012025_03_02_02_918395_0001.jpg
/home/pi/Desktop/images/09012025/03/02/image_09012025_03_02_02_918395_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576160","1327576178","1327576165","1327576168","1327576144","1327576176"],"photo_ids_order":["1327576144","1327576160","1327576165","1327576168","1327576176","1327576178"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e0a9eb449a299595e00c211bea8a7796.jpg","text":"TemporaryFile(/tmp/multipartBody7767078692276242262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388217249,"filename":"image_09012025_03_01_02_392889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c72c9f49296b552b1c39103f0675e672.jpg","text":"TemporaryFile(/tmp/multipartBody4820276090899052846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388217249,"filename":"image_09012025_03_02_02_918395_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8018fb35b87fd3df41e2b736b54a486a.jpg","text":"TemporaryFile(/tmp/multipartBody3138949163080359316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388217249,"filename":"image_09012025_03_01_02_392889_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/70fb08150b55057132332e53d9e168fb.jpg","text":"TemporaryFile(/tmp/multipartBody3258780733707853760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388217249,"filename":"image_09012025_03_02_02_918395_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/12304741732477066de42408c5330ac4.jpg","text":"TemporaryFile(/tmp/multipartBody1843355386143315273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388217249,"filename":"image_09012025_03_01_02_392889_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8b33b3e7d415f2505e6b2ba1db593f4f.jpg","text":"TemporaryFile(/tmp/multipartBody5541095897702147540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388217249,"filename":"image_09012025_03_02_02_918395_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576165","file1":"1327576160","file0":"1327576144","file4":"1327576176","file5":"1327576178","file3":"1327576168"},"map_files_photo_id_array":[{"photo_id":"1327576178","filename":"file5"},{"photo_id":"1327576165","filename":"file2"},{"photo_id":"1327576176","filename":"file4"},{"photo_id":"1327576160","filename":"file1"},{"photo_id":"1327576144","filename":"file0"},{"photo_id":"1327576168","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576160":["hashtag1","hashtag2"]},{"1327576178":["hashtag1","hashtag2"]},{"1327576165":["hashtag1","hashtag2"]},{"1327576168":["hashtag1","hashtag2"]},{"1327576144":["hashtag1","hashtag2"]},{"1327576176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576160, 1327576178, 1327576165, 1327576168, 1327576144, 1327576176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.47224450111389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:03:22.609672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/02/image_09012025_03_02_02_918395_0003.jpg', '/home/pi/Desktop/images/09012025/03/03/image_09012025_03_03_02_406831_0000.jpg', '/home/pi/Desktop/images/09012025/03/03/image_09012025_03_03_02_406831_0001.jpg', '/home/pi/Desktop/images/09012025/03/03/image_09012025_03_03_02_406831_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/02/image_09012025_03_02_02_918395_0003.jpg
/home/pi/Desktop/images/09012025/03/03/image_09012025_03_03_02_406831_0000.jpg
/home/pi/Desktop/images/09012025/03/03/image_09012025_03_03_02_406831_0001.jpg
/home/pi/Desktop/images/09012025/03/03/image_09012025_03_03_02_406831_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576184","1327576186","1327576188","1327576182"],"photo_ids_order":["1327576182","1327576184","1327576186","1327576188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6e3a1fea0ef8f43c03f47663fe8ababe.jpg","text":"TemporaryFile(/tmp/multipartBody5302523445597337530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388272913,"filename":"image_09012025_03_03_02_406831_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c01efd242c8ec2f470b1bd6f4a2c47ee.jpg","text":"TemporaryFile(/tmp/multipartBody189710671920043947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388272913,"filename":"image_09012025_03_03_02_406831_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b2283408735e3b3f87af7fd97d51c2bd.jpg","text":"TemporaryFile(/tmp/multipartBody528329488825496791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388272913,"filename":"image_09012025_03_03_02_406831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b6a88e653f5fb33b3500b21ba12e406.jpg","text":"TemporaryFile(/tmp/multipartBody8666576976987387241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388272913,"filename":"image_09012025_03_02_02_918395_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576186","file1":"1327576184","file0":"1327576182","file3":"1327576188"},"map_files_photo_id_array":[{"photo_id":"1327576186","filename":"file2"},{"photo_id":"1327576184","filename":"file1"},{"photo_id":"1327576182","filename":"file0"},{"photo_id":"1327576188","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576184":["hashtag1","hashtag2"]},{"1327576186":["hashtag1","hashtag2"]},{"1327576188":["hashtag1","hashtag2"]},{"1327576182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576184, 1327576186, 1327576188, 1327576182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.279305934906006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:04:22.123083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/03/image_09012025_03_03_02_406831_0003.jpg', '/home/pi/Desktop/images/09012025/03/04/image_09012025_03_04_03_008916_0000.jpg', '/home/pi/Desktop/images/09012025/03/04/image_09012025_03_04_03_008916_0001.jpg', '/home/pi/Desktop/images/09012025/03/04/image_09012025_03_04_03_008916_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/03/image_09012025_03_03_02_406831_0003.jpg
/home/pi/Desktop/images/09012025/03/04/image_09012025_03_04_03_008916_0000.jpg
/home/pi/Desktop/images/09012025/03/04/image_09012025_03_04_03_008916_0001.jpg
/home/pi/Desktop/images/09012025/03/04/image_09012025_03_04_03_008916_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576196","1327576202","1327576194","1327576199"],"photo_ids_order":["1327576194","1327576196","1327576199","1327576202"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4ff5f86fcbe98f8c0d9ac35001ac341b.jpg","text":"TemporaryFile(/tmp/multipartBody2291819521436832610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388332441,"filename":"image_09012025_03_04_03_008916_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/39e3cce062b515b63abdcb21533c10e7.jpg","text":"TemporaryFile(/tmp/multipartBody38967341621476776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388332441,"filename":"image_09012025_03_04_03_008916_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/57e4d8c4af949afc43fda4cfbecff0da.jpg","text":"TemporaryFile(/tmp/multipartBody4099617591017886547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388332441,"filename":"image_09012025_03_03_02_406831_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4e771f30b17551f6f19f88369db89f77.jpg","text":"TemporaryFile(/tmp/multipartBody712297484677221482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388332441,"filename":"image_09012025_03_04_03_008916_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576199","file1":"1327576196","file0":"1327576194","file3":"1327576202"},"map_files_photo_id_array":[{"photo_id":"1327576199","filename":"file2"},{"photo_id":"1327576196","filename":"file1"},{"photo_id":"1327576194","filename":"file0"},{"photo_id":"1327576202","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576196":["hashtag1","hashtag2"]},{"1327576202":["hashtag1","hashtag2"]},{"1327576194":["hashtag1","hashtag2"]},{"1327576199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576196, 1327576202, 1327576194, 1327576199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10043978691101 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:05:03.157796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:05:22.604297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/04/image_09012025_03_04_03_008916_0003.jpg', '/home/pi/Desktop/images/09012025/03/05/image_09012025_03_05_02_560646_0000.jpg', '/home/pi/Desktop/images/09012025/03/05/image_09012025_03_05_02_560646_0001.jpg', '/home/pi/Desktop/images/09012025/03/05/image_09012025_03_05_02_560646_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/04/image_09012025_03_04_03_008916_0003.jpg
/home/pi/Desktop/images/09012025/03/05/image_09012025_03_05_02_560646_0000.jpg
/home/pi/Desktop/images/09012025/03/05/image_09012025_03_05_02_560646_0001.jpg
/home/pi/Desktop/images/09012025/03/05/image_09012025_03_05_02_560646_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576214","1327576216","1327576212","1327576218"],"photo_ids_order":["1327576212","1327576214","1327576216","1327576218"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fc8841feb6232879dc84b1832a4c9313.jpg","text":"TemporaryFile(/tmp/multipartBody3511219717113215813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388393082,"filename":"image_09012025_03_05_02_560646_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fcfd2c0c92298524f7bc0222ec9c2829.jpg","text":"TemporaryFile(/tmp/multipartBody2766709732800596990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388393082,"filename":"image_09012025_03_05_02_560646_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c04f74e00bd2d079c30fcd871c5b7efd.jpg","text":"TemporaryFile(/tmp/multipartBody3191084361982325889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388393082,"filename":"image_09012025_03_04_03_008916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/84bf12a0b3fd86f609dd9c7de721f48d.jpg","text":"TemporaryFile(/tmp/multipartBody1866419890237090234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388393082,"filename":"image_09012025_03_05_02_560646_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576216","file1":"1327576214","file0":"1327576212","file3":"1327576218"},"map_files_photo_id_array":[{"photo_id":"1327576216","filename":"file2"},{"photo_id":"1327576214","filename":"file1"},{"photo_id":"1327576212","filename":"file0"},{"photo_id":"1327576218","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576214":["hashtag1","hashtag2"]},{"1327576216":["hashtag1","hashtag2"]},{"1327576212":["hashtag1","hashtag2"]},{"1327576218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576214, 1327576216, 1327576212, 1327576218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.712186336517334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:06:22.313114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/05/image_09012025_03_05_02_560646_0003.jpg', '/home/pi/Desktop/images/09012025/03/06/image_09012025_03_06_03_117700_0000.jpg', '/home/pi/Desktop/images/09012025/03/06/image_09012025_03_06_03_117700_0001.jpg', '/home/pi/Desktop/images/09012025/03/06/image_09012025_03_06_03_117700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/05/image_09012025_03_05_02_560646_0003.jpg
/home/pi/Desktop/images/09012025/03/06/image_09012025_03_06_03_117700_0000.jpg
/home/pi/Desktop/images/09012025/03/06/image_09012025_03_06_03_117700_0001.jpg
/home/pi/Desktop/images/09012025/03/06/image_09012025_03_06_03_117700_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.933703422546387 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:07:02.551494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/05/image_09012025_03_05_02_560646_0003.jpg', '/home/pi/Desktop/images/09012025/03/06/image_09012025_03_06_03_117700_0000.jpg', '/home/pi/Desktop/images/09012025/03/06/image_09012025_03_06_03_117700_0001.jpg', '/home/pi/Desktop/images/09012025/03/06/image_09012025_03_06_03_117700_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/05/image_09012025_03_05_02_560646_0003.jpg
/home/pi/Desktop/images/09012025/03/06/image_09012025_03_06_03_117700_0000.jpg
/home/pi/Desktop/images/09012025/03/06/image_09012025_03_06_03_117700_0001.jpg
/home/pi/Desktop/images/09012025/03/06/image_09012025_03_06_03_117700_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576238","1327576234","1327576233","1327576236"],"photo_ids_order":["1327576233","1327576234","1327576236","1327576238"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ea740000ec74dc9509e859f1219a1e6a.jpg","text":"TemporaryFile(/tmp/multipartBody3395926476217523454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388492926,"filename":"image_09012025_03_06_03_117700_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bdc099fe30bd019b356a52ee32f20606.jpg","text":"TemporaryFile(/tmp/multipartBody4494901080885986580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388492926,"filename":"image_09012025_03_06_03_117700_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4701f146cf3d735260c4ddabc1c59539.jpg","text":"TemporaryFile(/tmp/multipartBody6161605542848102205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388492926,"filename":"image_09012025_03_05_02_560646_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/db9c043d6c95830726910557c127548f.jpg","text":"TemporaryFile(/tmp/multipartBody6230950400477841978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388492926,"filename":"image_09012025_03_06_03_117700_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576236","file1":"1327576234","file0":"1327576233","file3":"1327576238"},"map_files_photo_id_array":[{"photo_id":"1327576236","filename":"file2"},{"photo_id":"1327576234","filename":"file1"},{"photo_id":"1327576233","filename":"file0"},{"photo_id":"1327576238","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576238":["hashtag1","hashtag2"]},{"1327576234":["hashtag1","hashtag2"]},{"1327576233":["hashtag1","hashtag2"]},{"1327576236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576238, 1327576234, 1327576233, 1327576236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.16064739227295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:08:03.102887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/06/image_09012025_03_06_03_117700_0003.jpg', '/home/pi/Desktop/images/09012025/03/07/image_09012025_03_07_02_692309_0000.jpg', '/home/pi/Desktop/images/09012025/03/07/image_09012025_03_07_02_692309_0001.jpg', '/home/pi/Desktop/images/09012025/03/07/image_09012025_03_07_02_692309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/06/image_09012025_03_06_03_117700_0003.jpg
/home/pi/Desktop/images/09012025/03/07/image_09012025_03_07_02_692309_0000.jpg
/home/pi/Desktop/images/09012025/03/07/image_09012025_03_07_02_692309_0001.jpg
/home/pi/Desktop/images/09012025/03/07/image_09012025_03_07_02_692309_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.984084129333496 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:08:22.598269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/06/image_09012025_03_06_03_117700_0003.jpg', '/home/pi/Desktop/images/09012025/03/07/image_09012025_03_07_02_692309_0000.jpg', '/home/pi/Desktop/images/09012025/03/07/image_09012025_03_07_02_692309_0001.jpg', '/home/pi/Desktop/images/09012025/03/07/image_09012025_03_07_02_692309_0002.jpg', '/home/pi/Desktop/images/09012025/03/07/image_09012025_03_07_02_692309_0003.jpg', '/home/pi/Desktop/images/09012025/03/08/image_09012025_03_08_02_272662_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/06/image_09012025_03_06_03_117700_0003.jpg
/home/pi/Desktop/images/09012025/03/07/image_09012025_03_07_02_692309_0000.jpg
/home/pi/Desktop/images/09012025/03/07/image_09012025_03_07_02_692309_0001.jpg
/home/pi/Desktop/images/09012025/03/07/image_09012025_03_07_02_692309_0002.jpg
/home/pi/Desktop/images/09012025/03/07/image_09012025_03_07_02_692309_0003.jpg
/home/pi/Desktop/images/09012025/03/08/image_09012025_03_08_02_272662_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576295","1327576283","1327576277","1327576297","1327576285","1327576254"],"photo_ids_order":["1327576254","1327576277","1327576283","1327576285","1327576295","1327576297"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e4d21b107b418ccd585c61a962793071.jpg","text":"TemporaryFile(/tmp/multipartBody4100912875685375121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388577831,"filename":"image_09012025_03_07_02_692309_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0048bacaebff9db442ebb8783a1647b6.jpg","text":"TemporaryFile(/tmp/multipartBody3504088139726837251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388577831,"filename":"image_09012025_03_07_02_692309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ea0e71b28286b5ef36f93b6a8f78fa50.jpg","text":"TemporaryFile(/tmp/multipartBody3907036409978026852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388577831,"filename":"image_09012025_03_07_02_692309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8aa6e6088de6aec26d42e3e32926aee3.jpg","text":"TemporaryFile(/tmp/multipartBody6498631845214075491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388577831,"filename":"image_09012025_03_08_02_272662_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/89fb178d8ba5f4d80516bcfea5f9cfc5.jpg","text":"TemporaryFile(/tmp/multipartBody5505219417463212664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388577831,"filename":"image_09012025_03_07_02_692309_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/209bfa029d6e4d2ae8c39f8b91fbd5db.jpg","text":"TemporaryFile(/tmp/multipartBody5478730117517375273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388577831,"filename":"image_09012025_03_06_03_117700_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576283","file1":"1327576277","file0":"1327576254","file4":"1327576295","file5":"1327576297","file3":"1327576285"},"map_files_photo_id_array":[{"photo_id":"1327576297","filename":"file5"},{"photo_id":"1327576283","filename":"file2"},{"photo_id":"1327576295","filename":"file4"},{"photo_id":"1327576277","filename":"file1"},{"photo_id":"1327576254","filename":"file0"},{"photo_id":"1327576285","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576295":["hashtag1","hashtag2"]},{"1327576283":["hashtag1","hashtag2"]},{"1327576277":["hashtag1","hashtag2"]},{"1327576297":["hashtag1","hashtag2"]},{"1327576285":["hashtag1","hashtag2"]},{"1327576254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576295, 1327576283, 1327576277, 1327576297, 1327576285, 1327576254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.65721035003662 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:09:22.055084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/08/image_09012025_03_08_02_272662_0001.jpg', '/home/pi/Desktop/images/09012025/03/08/image_09012025_03_08_02_272662_0002.jpg', '/home/pi/Desktop/images/09012025/03/08/image_09012025_03_08_02_272662_0003.jpg', '/home/pi/Desktop/images/09012025/03/09/image_09012025_03_09_02_954111_0000.jpg', '/home/pi/Desktop/images/09012025/03/09/image_09012025_03_09_02_954111_0001.jpg', '/home/pi/Desktop/images/09012025/03/09/image_09012025_03_09_02_954111_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/08/image_09012025_03_08_02_272662_0001.jpg
/home/pi/Desktop/images/09012025/03/08/image_09012025_03_08_02_272662_0002.jpg
/home/pi/Desktop/images/09012025/03/08/image_09012025_03_08_02_272662_0003.jpg
/home/pi/Desktop/images/09012025/03/09/image_09012025_03_09_02_954111_0000.jpg
/home/pi/Desktop/images/09012025/03/09/image_09012025_03_09_02_954111_0001.jpg
/home/pi/Desktop/images/09012025/03/09/image_09012025_03_09_02_954111_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576325","1327576319","1327576327","1327576321","1327576323","1327576317"],"photo_ids_order":["1327576317","1327576319","1327576321","1327576323","1327576325","1327576327"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ca6b2be811b1b7427d6d973cc545654e.jpg","text":"TemporaryFile(/tmp/multipartBody4255833752641282343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388637329,"filename":"image_09012025_03_09_02_954111_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ba4750ec59c7601a3c60ee2bc7ae9365.jpg","text":"TemporaryFile(/tmp/multipartBody6014330207489068049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388637329,"filename":"image_09012025_03_08_02_272662_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/238fc155d078cde84203759b180bdeda.jpg","text":"TemporaryFile(/tmp/multipartBody5921770164215864849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388637329,"filename":"image_09012025_03_09_02_954111_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1ef257bad74aaf6d85a271aa60f99eca.jpg","text":"TemporaryFile(/tmp/multipartBody8855992405589004986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388637329,"filename":"image_09012025_03_08_02_272662_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bc8bbb4f542de99c726cd7512cb2e408.jpg","text":"TemporaryFile(/tmp/multipartBody6092566706820191156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388637329,"filename":"image_09012025_03_09_02_954111_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a128f73c8e9b1cca4c3982db970bd0a7.jpg","text":"TemporaryFile(/tmp/multipartBody1955204764295888214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388637329,"filename":"image_09012025_03_08_02_272662_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576321","file1":"1327576319","file0":"1327576317","file4":"1327576325","file5":"1327576327","file3":"1327576323"},"map_files_photo_id_array":[{"photo_id":"1327576327","filename":"file5"},{"photo_id":"1327576321","filename":"file2"},{"photo_id":"1327576325","filename":"file4"},{"photo_id":"1327576319","filename":"file1"},{"photo_id":"1327576317","filename":"file0"},{"photo_id":"1327576323","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576325":["hashtag1","hashtag2"]},{"1327576319":["hashtag1","hashtag2"]},{"1327576327":["hashtag1","hashtag2"]},{"1327576321":["hashtag1","hashtag2"]},{"1327576323":["hashtag1","hashtag2"]},{"1327576317":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576325, 1327576319, 1327576327, 1327576321, 1327576323, 1327576317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.06679344177246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:10:22.656297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/09/image_09012025_03_09_02_954111_0003.jpg', '/home/pi/Desktop/images/09012025/03/10/image_09012025_03_10_02_515523_0000.jpg', '/home/pi/Desktop/images/09012025/03/10/image_09012025_03_10_02_515523_0001.jpg', '/home/pi/Desktop/images/09012025/03/10/image_09012025_03_10_02_515523_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/09/image_09012025_03_09_02_954111_0003.jpg
/home/pi/Desktop/images/09012025/03/10/image_09012025_03_10_02_515523_0000.jpg
/home/pi/Desktop/images/09012025/03/10/image_09012025_03_10_02_515523_0001.jpg
/home/pi/Desktop/images/09012025/03/10/image_09012025_03_10_02_515523_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576340","1327576334","1327576337","1327576332"],"photo_ids_order":["1327576332","1327576334","1327576337","1327576340"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9003176f5b29760dce6d9e76bd998433.jpg","text":"TemporaryFile(/tmp/multipartBody8025146738624439512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388693078,"filename":"image_09012025_03_10_02_515523_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2fa7259e184462491c057cefb1386af5.jpg","text":"TemporaryFile(/tmp/multipartBody4803108516459711530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388693078,"filename":"image_09012025_03_10_02_515523_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5190987dda0814577b6508a0883e563c.jpg","text":"TemporaryFile(/tmp/multipartBody3919171652729398883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388693078,"filename":"image_09012025_03_10_02_515523_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5c6aa01d6f7635765da2ac78485251a2.jpg","text":"TemporaryFile(/tmp/multipartBody1901788277322182804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388693078,"filename":"image_09012025_03_09_02_954111_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576337","file1":"1327576334","file0":"1327576332","file3":"1327576340"},"map_files_photo_id_array":[{"photo_id":"1327576337","filename":"file2"},{"photo_id":"1327576334","filename":"file1"},{"photo_id":"1327576332","filename":"file0"},{"photo_id":"1327576340","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576340":["hashtag1","hashtag2"]},{"1327576334":["hashtag1","hashtag2"]},{"1327576337":["hashtag1","hashtag2"]},{"1327576332":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576340, 1327576334, 1327576337, 1327576332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.077271461486816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:11:22.112668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/10/image_09012025_03_10_02_515523_0003.jpg', '/home/pi/Desktop/images/09012025/03/11/image_09012025_03_11_03_019507_0000.jpg', '/home/pi/Desktop/images/09012025/03/11/image_09012025_03_11_03_019507_0001.jpg', '/home/pi/Desktop/images/09012025/03/11/image_09012025_03_11_03_019507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/10/image_09012025_03_10_02_515523_0003.jpg
/home/pi/Desktop/images/09012025/03/11/image_09012025_03_11_03_019507_0000.jpg
/home/pi/Desktop/images/09012025/03/11/image_09012025_03_11_03_019507_0001.jpg
/home/pi/Desktop/images/09012025/03/11/image_09012025_03_11_03_019507_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576384","1327576375","1327576389","1327576353"],"photo_ids_order":["1327576353","1327576375","1327576384","1327576389"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/92c249c69c0596699c283a5f11aa4db0.jpg","text":"TemporaryFile(/tmp/multipartBody585203880397317775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388752469,"filename":"image_09012025_03_11_03_019507_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/871bfef698c10aaa3d2df4151f45e876.jpg","text":"TemporaryFile(/tmp/multipartBody164429718178519986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388752469,"filename":"image_09012025_03_11_03_019507_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cfff3087378078dc8bf9aa2174643d47.jpg","text":"TemporaryFile(/tmp/multipartBody8330925309083629555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388752469,"filename":"image_09012025_03_11_03_019507_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6c0cdc699c66c738cd2719ca6fd1ef47.jpg","text":"TemporaryFile(/tmp/multipartBody2713784872803059613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388752469,"filename":"image_09012025_03_10_02_515523_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576384","file1":"1327576375","file0":"1327576353","file3":"1327576389"},"map_files_photo_id_array":[{"photo_id":"1327576384","filename":"file2"},{"photo_id":"1327576375","filename":"file1"},{"photo_id":"1327576353","filename":"file0"},{"photo_id":"1327576389","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576384":["hashtag1","hashtag2"]},{"1327576375":["hashtag1","hashtag2"]},{"1327576389":["hashtag1","hashtag2"]},{"1327576353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576384, 1327576375, 1327576389, 1327576353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.57508063316345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:12:22.710561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/11/image_09012025_03_11_03_019507_0003.jpg', '/home/pi/Desktop/images/09012025/03/12/image_09012025_03_12_02_538991_0000.jpg', '/home/pi/Desktop/images/09012025/03/12/image_09012025_03_12_02_538991_0001.jpg', '/home/pi/Desktop/images/09012025/03/12/image_09012025_03_12_02_538991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/11/image_09012025_03_11_03_019507_0003.jpg
/home/pi/Desktop/images/09012025/03/12/image_09012025_03_12_02_538991_0000.jpg
/home/pi/Desktop/images/09012025/03/12/image_09012025_03_12_02_538991_0001.jpg
/home/pi/Desktop/images/09012025/03/12/image_09012025_03_12_02_538991_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.868510961532593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:13:02.761181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/11/image_09012025_03_11_03_019507_0003.jpg', '/home/pi/Desktop/images/09012025/03/12/image_09012025_03_12_02_538991_0000.jpg', '/home/pi/Desktop/images/09012025/03/12/image_09012025_03_12_02_538991_0001.jpg', '/home/pi/Desktop/images/09012025/03/12/image_09012025_03_12_02_538991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/11/image_09012025_03_11_03_019507_0003.jpg
/home/pi/Desktop/images/09012025/03/12/image_09012025_03_12_02_538991_0000.jpg
/home/pi/Desktop/images/09012025/03/12/image_09012025_03_12_02_538991_0001.jpg
/home/pi/Desktop/images/09012025/03/12/image_09012025_03_12_02_538991_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576406","1327576410","1327576413","1327576407"],"photo_ids_order":["1327576406","1327576407","1327576410","1327576413"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/93f764005693d2ced8b2637608c272d1.jpg","text":"TemporaryFile(/tmp/multipartBody8224117390492877041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388853115,"filename":"image_09012025_03_11_03_019507_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f4b9ff2a81c298220a9ab83ad6e818c8.jpg","text":"TemporaryFile(/tmp/multipartBody2599431480613061047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388853115,"filename":"image_09012025_03_12_02_538991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e78fd02bdec0792f8a9f7121444487a1.jpg","text":"TemporaryFile(/tmp/multipartBody1590098827106254994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388853115,"filename":"image_09012025_03_12_02_538991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/388ed8c48f9777905366f8394c7d16ec.jpg","text":"TemporaryFile(/tmp/multipartBody2212378901176576605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388853115,"filename":"image_09012025_03_12_02_538991_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576410","file1":"1327576407","file0":"1327576406","file3":"1327576413"},"map_files_photo_id_array":[{"photo_id":"1327576410","filename":"file2"},{"photo_id":"1327576407","filename":"file1"},{"photo_id":"1327576406","filename":"file0"},{"photo_id":"1327576413","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576406":["hashtag1","hashtag2"]},{"1327576410":["hashtag1","hashtag2"]},{"1327576413":["hashtag1","hashtag2"]},{"1327576407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576406, 1327576410, 1327576413, 1327576407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.3263053894043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:14:02.294812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/12/image_09012025_03_12_02_538991_0003.jpg', '/home/pi/Desktop/images/09012025/03/13/image_09012025_03_13_03_116670_0000.jpg', '/home/pi/Desktop/images/09012025/03/13/image_09012025_03_13_03_116670_0001.jpg', '/home/pi/Desktop/images/09012025/03/13/image_09012025_03_13_03_116670_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/12/image_09012025_03_12_02_538991_0003.jpg
/home/pi/Desktop/images/09012025/03/13/image_09012025_03_13_03_116670_0000.jpg
/home/pi/Desktop/images/09012025/03/13/image_09012025_03_13_03_116670_0001.jpg
/home/pi/Desktop/images/09012025/03/13/image_09012025_03_13_03_116670_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.916934728622437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:14:21.934875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/12/image_09012025_03_12_02_538991_0003.jpg', '/home/pi/Desktop/images/09012025/03/13/image_09012025_03_13_03_116670_0000.jpg', '/home/pi/Desktop/images/09012025/03/13/image_09012025_03_13_03_116670_0001.jpg', '/home/pi/Desktop/images/09012025/03/13/image_09012025_03_13_03_116670_0002.jpg', '/home/pi/Desktop/images/09012025/03/13/image_09012025_03_13_03_116670_0003.jpg', '/home/pi/Desktop/images/09012025/03/14/image_09012025_03_14_02_642670_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/12/image_09012025_03_12_02_538991_0003.jpg
/home/pi/Desktop/images/09012025/03/13/image_09012025_03_13_03_116670_0000.jpg
/home/pi/Desktop/images/09012025/03/13/image_09012025_03_13_03_116670_0001.jpg
/home/pi/Desktop/images/09012025/03/13/image_09012025_03_13_03_116670_0002.jpg
/home/pi/Desktop/images/09012025/03/13/image_09012025_03_13_03_116670_0003.jpg
/home/pi/Desktop/images/09012025/03/14/image_09012025_03_14_02_642670_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576450","1327576444","1327576438","1327576447","1327576441","1327576452"],"photo_ids_order":["1327576438","1327576441","1327576444","1327576447","1327576450","1327576452"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/48940c3d210987c8cba80819c2204a3f.jpg","text":"TemporaryFile(/tmp/multipartBody4045502447589554092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388936945,"filename":"image_09012025_03_13_03_116670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c8de7e6a60f7afe3bb721c0d614017fb.jpg","text":"TemporaryFile(/tmp/multipartBody5863042637835973776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388936945,"filename":"image_09012025_03_13_03_116670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8c0801a5b241f7283a92893af47bc70c.jpg","text":"TemporaryFile(/tmp/multipartBody8996685498060214065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388936945,"filename":"image_09012025_03_12_02_538991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ea95f83e1b34a3d8b953df9c3c88a35e.jpg","text":"TemporaryFile(/tmp/multipartBody4070010726204835102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388936945,"filename":"image_09012025_03_13_03_116670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/329c55c8779222422c7e781c0d2017d1.jpg","text":"TemporaryFile(/tmp/multipartBody8498115864038347241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388936945,"filename":"image_09012025_03_13_03_116670_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7e6a2d1ea67e85090748b76ea8fa332f.jpg","text":"TemporaryFile(/tmp/multipartBody2794040008868869713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388936945,"filename":"image_09012025_03_14_02_642670_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576444","file1":"1327576441","file0":"1327576438","file4":"1327576450","file5":"1327576452","file3":"1327576447"},"map_files_photo_id_array":[{"photo_id":"1327576452","filename":"file5"},{"photo_id":"1327576444","filename":"file2"},{"photo_id":"1327576450","filename":"file4"},{"photo_id":"1327576441","filename":"file1"},{"photo_id":"1327576438","filename":"file0"},{"photo_id":"1327576447","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576450":["hashtag1","hashtag2"]},{"1327576444":["hashtag1","hashtag2"]},{"1327576438":["hashtag1","hashtag2"]},{"1327576447":["hashtag1","hashtag2"]},{"1327576441":["hashtag1","hashtag2"]},{"1327576452":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576450, 1327576444, 1327576438, 1327576447, 1327576441, 1327576452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.452276945114136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:15:22.403876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/14/image_09012025_03_14_02_642670_0001.jpg', '/home/pi/Desktop/images/09012025/03/14/image_09012025_03_14_02_642670_0002.jpg', '/home/pi/Desktop/images/09012025/03/14/image_09012025_03_14_02_642670_0003.jpg', '/home/pi/Desktop/images/09012025/03/15/image_09012025_03_15_02_261623_0000.jpg', '/home/pi/Desktop/images/09012025/03/15/image_09012025_03_15_02_261623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/14/image_09012025_03_14_02_642670_0001.jpg
/home/pi/Desktop/images/09012025/03/14/image_09012025_03_14_02_642670_0002.jpg
/home/pi/Desktop/images/09012025/03/14/image_09012025_03_14_02_642670_0003.jpg
/home/pi/Desktop/images/09012025/03/15/image_09012025_03_15_02_261623_0000.jpg
/home/pi/Desktop/images/09012025/03/15/image_09012025_03_15_02_261623_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576472","1327576475","1327576480","1327576477","1327576482"],"photo_ids_order":["1327576472","1327576475","1327576477","1327576480","1327576482"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9b6aaa30508acdefa4edeef5b3ec1157.jpg","text":"TemporaryFile(/tmp/multipartBody1539494707586665392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388995188,"filename":"image_09012025_03_14_02_642670_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f788444d3bd1451a4e1a2988234edaa6.jpg","text":"TemporaryFile(/tmp/multipartBody2862769185363906787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388995188,"filename":"image_09012025_03_14_02_642670_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/df2f9ce1889e218396804be93c88c6d7.jpg","text":"TemporaryFile(/tmp/multipartBody1061658480637720990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388995188,"filename":"image_09012025_03_15_02_261623_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/116afbd59ecacc3ef13c2f635ce740e5.jpg","text":"TemporaryFile(/tmp/multipartBody1352785667140830890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388995188,"filename":"image_09012025_03_14_02_642670_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fc3cde2724f5e246b63b24c57626009c.jpg","text":"TemporaryFile(/tmp/multipartBody1382281798037428560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736388995188,"filename":"image_09012025_03_15_02_261623_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576477","file1":"1327576475","file0":"1327576472","file4":"1327576482","file3":"1327576480"},"map_files_photo_id_array":[{"photo_id":"1327576477","filename":"file2"},{"photo_id":"1327576482","filename":"file4"},{"photo_id":"1327576475","filename":"file1"},{"photo_id":"1327576472","filename":"file0"},{"photo_id":"1327576480","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576472":["hashtag1","hashtag2"]},{"1327576475":["hashtag1","hashtag2"]},{"1327576480":["hashtag1","hashtag2"]},{"1327576477":["hashtag1","hashtag2"]},{"1327576482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576472, 1327576475, 1327576480, 1327576477, 1327576482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.62061166763306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:16:21.822203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/15/image_09012025_03_15_02_261623_0003.jpg', '/home/pi/Desktop/images/09012025/03/16/image_09012025_03_16_02_732991_0000.jpg', '/home/pi/Desktop/images/09012025/03/16/image_09012025_03_16_02_732991_0001.jpg', '/home/pi/Desktop/images/09012025/03/16/image_09012025_03_16_02_732991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/15/image_09012025_03_15_02_261623_0003.jpg
/home/pi/Desktop/images/09012025/03/16/image_09012025_03_16_02_732991_0000.jpg
/home/pi/Desktop/images/09012025/03/16/image_09012025_03_16_02_732991_0001.jpg
/home/pi/Desktop/images/09012025/03/16/image_09012025_03_16_02_732991_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576498","1327576488","1327576503","1327576490"],"photo_ids_order":["1327576488","1327576490","1327576498","1327576503"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a1ab3a330cfcfedd0afd696a61c7fa8f.jpg","text":"TemporaryFile(/tmp/multipartBody7181982206680330800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389052233,"filename":"image_09012025_03_16_02_732991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/13a889e4a39dda634787bcaff811d4fa.jpg","text":"TemporaryFile(/tmp/multipartBody8510104190531656977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389052233,"filename":"image_09012025_03_15_02_261623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/954f891afdfc399bd41d66317f97a82d.jpg","text":"TemporaryFile(/tmp/multipartBody1269698663987996683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389052233,"filename":"image_09012025_03_16_02_732991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5f384556ec1a685a52fec789f68202db.jpg","text":"TemporaryFile(/tmp/multipartBody2982670842612454107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389052233,"filename":"image_09012025_03_16_02_732991_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576498","file1":"1327576490","file0":"1327576488","file3":"1327576503"},"map_files_photo_id_array":[{"photo_id":"1327576498","filename":"file2"},{"photo_id":"1327576490","filename":"file1"},{"photo_id":"1327576488","filename":"file0"},{"photo_id":"1327576503","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576498":["hashtag1","hashtag2"]},{"1327576488":["hashtag1","hashtag2"]},{"1327576503":["hashtag1","hashtag2"]},{"1327576490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576498, 1327576488, 1327576503, 1327576490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.274986028671265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:17:02.912385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:17:22.367375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/16/image_09012025_03_16_02_732991_0003.jpg', '/home/pi/Desktop/images/09012025/03/17/image_09012025_03_17_02_253656_0000.jpg', '/home/pi/Desktop/images/09012025/03/17/image_09012025_03_17_02_253656_0001.jpg', '/home/pi/Desktop/images/09012025/03/17/image_09012025_03_17_02_253656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/16/image_09012025_03_16_02_732991_0003.jpg
/home/pi/Desktop/images/09012025/03/17/image_09012025_03_17_02_253656_0000.jpg
/home/pi/Desktop/images/09012025/03/17/image_09012025_03_17_02_253656_0001.jpg
/home/pi/Desktop/images/09012025/03/17/image_09012025_03_17_02_253656_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327576532","1327576534","1327576528","1327576530"],"photo_ids_order":["1327576528","1327576530","1327576532","1327576534"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e10c7116765b35eb04afdb4e8ec5ec8d.jpg","text":"TemporaryFile(/tmp/multipartBody3682012743013828864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389112736,"filename":"image_09012025_03_17_02_253656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e856f5dc66dc3526682ec25cd2668636.jpg","text":"TemporaryFile(/tmp/multipartBody2131942693335127601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389112736,"filename":"image_09012025_03_17_02_253656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0c26a491f3ab25f2700eea958c7c8462.jpg","text":"TemporaryFile(/tmp/multipartBody8057576584375117382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389112736,"filename":"image_09012025_03_16_02_732991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5f7a2a234b032007e7a5a223f06c2223.jpg","text":"TemporaryFile(/tmp/multipartBody1396120266382300350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389112736,"filename":"image_09012025_03_17_02_253656_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327576532","file1":"1327576530","file0":"1327576528","file3":"1327576534"},"map_files_photo_id_array":[{"photo_id":"1327576532","filename":"file2"},{"photo_id":"1327576530","filename":"file1"},{"photo_id":"1327576528","filename":"file0"},{"photo_id":"1327576534","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327576532":["hashtag1","hashtag2"]},{"1327576534":["hashtag1","hashtag2"]},{"1327576528":["hashtag1","hashtag2"]},{"1327576530":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327576532, 1327576534, 1327576528, 1327576530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.08955764770508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:18:22.123436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/17/image_09012025_03_17_02_253656_0003.jpg', '/home/pi/Desktop/images/09012025/03/18/image_09012025_03_18_02_778786_0000.jpg', '/home/pi/Desktop/images/09012025/03/18/image_09012025_03_18_02_778786_0001.jpg', '/home/pi/Desktop/images/09012025/03/18/image_09012025_03_18_02_778786_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/17/image_09012025_03_17_02_253656_0003.jpg
/home/pi/Desktop/images/09012025/03/18/image_09012025_03_18_02_778786_0000.jpg
/home/pi/Desktop/images/09012025/03/18/image_09012025_03_18_02_778786_0001.jpg
/home/pi/Desktop/images/09012025/03/18/image_09012025_03_18_02_778786_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327577137","1327577178","1327576962","1327577360"],"photo_ids_order":["1327576962","1327577137","1327577178","1327577360"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a546c67dfc760a7965fd8f9d3f6adc63.jpg","text":"TemporaryFile(/tmp/multipartBody1327403405241269301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389172484,"filename":"image_09012025_03_18_02_778786_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9f356b6f83516a2a1fb42cf83d989f64.jpg","text":"TemporaryFile(/tmp/multipartBody5669640665774077850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389172484,"filename":"image_09012025_03_18_02_778786_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6baab12245a0b5de7c79b0b3977521b4.jpg","text":"TemporaryFile(/tmp/multipartBody980855505779502758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389172484,"filename":"image_09012025_03_17_02_253656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/097beca2b792a352bb2ce137886caacf.jpg","text":"TemporaryFile(/tmp/multipartBody6162015034611324675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389172484,"filename":"image_09012025_03_18_02_778786_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327577178","file1":"1327577137","file0":"1327576962","file3":"1327577360"},"map_files_photo_id_array":[{"photo_id":"1327577178","filename":"file2"},{"photo_id":"1327577137","filename":"file1"},{"photo_id":"1327576962","filename":"file0"},{"photo_id":"1327577360","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327577137":["hashtag1","hashtag2"]},{"1327577178":["hashtag1","hashtag2"]},{"1327576962":["hashtag1","hashtag2"]},{"1327577360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327577137, 1327577178, 1327576962, 1327577360)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 40.02869367599487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:19:22.684530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/18/image_09012025_03_18_02_778786_0003.jpg', '/home/pi/Desktop/images/09012025/03/19/image_09012025_03_19_02_473049_0000.jpg', '/home/pi/Desktop/images/09012025/03/19/image_09012025_03_19_02_473049_0001.jpg', '/home/pi/Desktop/images/09012025/03/19/image_09012025_03_19_02_473049_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/18/image_09012025_03_18_02_778786_0003.jpg
/home/pi/Desktop/images/09012025/03/19/image_09012025_03_19_02_473049_0000.jpg
/home/pi/Desktop/images/09012025/03/19/image_09012025_03_19_02_473049_0001.jpg
/home/pi/Desktop/images/09012025/03/19/image_09012025_03_19_02_473049_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327578124","1327578135","1327578120","1327578122"],"photo_ids_order":["1327578120","1327578122","1327578124","1327578135"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ecf4cd31dbb863c6f783cf198dbf97f9.jpg","text":"TemporaryFile(/tmp/multipartBody358351132905845561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389233072,"filename":"image_09012025_03_19_02_473049_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4799f2edc9c497ecf347d171a4df0023.jpg","text":"TemporaryFile(/tmp/multipartBody6988899348487908092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389233072,"filename":"image_09012025_03_19_02_473049_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/49192d9009907d043cd0f923b5cea71b.jpg","text":"TemporaryFile(/tmp/multipartBody4331455477894583232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389233072,"filename":"image_09012025_03_18_02_778786_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2e641bca116d70a1d2f1a8fe1810ec7e.jpg","text":"TemporaryFile(/tmp/multipartBody9031375586383015390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389233072,"filename":"image_09012025_03_19_02_473049_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327578124","file1":"1327578122","file0":"1327578120","file3":"1327578135"},"map_files_photo_id_array":[{"photo_id":"1327578124","filename":"file2"},{"photo_id":"1327578122","filename":"file1"},{"photo_id":"1327578120","filename":"file0"},{"photo_id":"1327578135","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327578124":["hashtag1","hashtag2"]},{"1327578135":["hashtag1","hashtag2"]},{"1327578120":["hashtag1","hashtag2"]},{"1327578122":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327578124, 1327578135, 1327578120, 1327578122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64260411262512 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:20:02.641678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:20:22.103783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/19/image_09012025_03_19_02_473049_0003.jpg', '/home/pi/Desktop/images/09012025/03/20/image_09012025_03_20_02_978679_0000.jpg', '/home/pi/Desktop/images/09012025/03/20/image_09012025_03_20_02_978679_0001.jpg', '/home/pi/Desktop/images/09012025/03/20/image_09012025_03_20_02_978679_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/19/image_09012025_03_19_02_473049_0003.jpg
/home/pi/Desktop/images/09012025/03/20/image_09012025_03_20_02_978679_0000.jpg
/home/pi/Desktop/images/09012025/03/20/image_09012025_03_20_02_978679_0001.jpg
/home/pi/Desktop/images/09012025/03/20/image_09012025_03_20_02_978679_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.944519519805908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:21:03.242945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/19/image_09012025_03_19_02_473049_0003.jpg', '/home/pi/Desktop/images/09012025/03/20/image_09012025_03_20_02_978679_0000.jpg', '/home/pi/Desktop/images/09012025/03/20/image_09012025_03_20_02_978679_0001.jpg', '/home/pi/Desktop/images/09012025/03/20/image_09012025_03_20_02_978679_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/19/image_09012025_03_19_02_473049_0003.jpg
/home/pi/Desktop/images/09012025/03/20/image_09012025_03_20_02_978679_0000.jpg
/home/pi/Desktop/images/09012025/03/20/image_09012025_03_20_02_978679_0001.jpg
/home/pi/Desktop/images/09012025/03/20/image_09012025_03_20_02_978679_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327578823","1327578897","1327578882","1327578835"],"photo_ids_order":["1327578823","1327578835","1327578882","1327578897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a8cb82f4e0ae4acf63fb5b98b6f0c166.jpg","text":"TemporaryFile(/tmp/multipartBody7940580219770387893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389333643,"filename":"image_09012025_03_19_02_473049_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d51e5a2423a9875a5132c78f71e611e7.jpg","text":"TemporaryFile(/tmp/multipartBody4569387969195441890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389333643,"filename":"image_09012025_03_20_02_978679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fc8967bac172c81635364a9977df07ea.jpg","text":"TemporaryFile(/tmp/multipartBody6837302755929766732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389333643,"filename":"image_09012025_03_20_02_978679_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/48945d7466031fba763b0af245658e9f.jpg","text":"TemporaryFile(/tmp/multipartBody2320856879888670875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389333643,"filename":"image_09012025_03_20_02_978679_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327578882","file1":"1327578835","file0":"1327578823","file3":"1327578897"},"map_files_photo_id_array":[{"photo_id":"1327578882","filename":"file2"},{"photo_id":"1327578835","filename":"file1"},{"photo_id":"1327578823","filename":"file0"},{"photo_id":"1327578897","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327578823":["hashtag1","hashtag2"]},{"1327578897":["hashtag1","hashtag2"]},{"1327578882":["hashtag1","hashtag2"]},{"1327578835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327578823, 1327578897, 1327578882, 1327578835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.78160309791565 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:22:02.715897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/20/image_09012025_03_20_02_978679_0003.jpg', '/home/pi/Desktop/images/09012025/03/21/image_09012025_03_21_02_501645_0000.jpg', '/home/pi/Desktop/images/09012025/03/21/image_09012025_03_21_02_501645_0001.jpg', '/home/pi/Desktop/images/09012025/03/21/image_09012025_03_21_02_501645_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/20/image_09012025_03_20_02_978679_0003.jpg
/home/pi/Desktop/images/09012025/03/21/image_09012025_03_21_02_501645_0000.jpg
/home/pi/Desktop/images/09012025/03/21/image_09012025_03_21_02_501645_0001.jpg
/home/pi/Desktop/images/09012025/03/21/image_09012025_03_21_02_501645_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.204287767410278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:22:22.297369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/20/image_09012025_03_20_02_978679_0003.jpg', '/home/pi/Desktop/images/09012025/03/21/image_09012025_03_21_02_501645_0000.jpg', '/home/pi/Desktop/images/09012025/03/21/image_09012025_03_21_02_501645_0001.jpg', '/home/pi/Desktop/images/09012025/03/21/image_09012025_03_21_02_501645_0002.jpg', '/home/pi/Desktop/images/09012025/03/21/image_09012025_03_21_02_501645_0003.jpg', '/home/pi/Desktop/images/09012025/03/22/image_09012025_03_22_03_107744_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/20/image_09012025_03_20_02_978679_0003.jpg
/home/pi/Desktop/images/09012025/03/21/image_09012025_03_21_02_501645_0000.jpg
/home/pi/Desktop/images/09012025/03/21/image_09012025_03_21_02_501645_0001.jpg
/home/pi/Desktop/images/09012025/03/21/image_09012025_03_21_02_501645_0002.jpg
/home/pi/Desktop/images/09012025/03/21/image_09012025_03_21_02_501645_0003.jpg
/home/pi/Desktop/images/09012025/03/22/image_09012025_03_22_03_107744_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327578931","1327578966","1327578959","1327578944","1327578938","1327578923"],"photo_ids_order":["1327578923","1327578931","1327578938","1327578944","1327578959","1327578966"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c5717484f8c9a77f3e331d741faa2996.jpg","text":"TemporaryFile(/tmp/multipartBody1600589790576513950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389417788,"filename":"image_09012025_03_21_02_501645_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/38ff670102b7263e06788dfcfe0b8215.jpg","text":"TemporaryFile(/tmp/multipartBody8380271889838631398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389417788,"filename":"image_09012025_03_22_03_107744_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e50869e6635e6c1b4ad12cd18fb53a3c.jpg","text":"TemporaryFile(/tmp/multipartBody7756054004039492334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389417788,"filename":"image_09012025_03_21_02_501645_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2447f56ff8e26403675e94365eb16e73.jpg","text":"TemporaryFile(/tmp/multipartBody7871587941505235248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389417788,"filename":"image_09012025_03_21_02_501645_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4eb6a4b9f0aa7662c92a4adacd7d787a.jpg","text":"TemporaryFile(/tmp/multipartBody6745880117705725694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389417788,"filename":"image_09012025_03_21_02_501645_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/55f309786aae10dacfa38b37f3b1772f.jpg","text":"TemporaryFile(/tmp/multipartBody2219138281203372821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389417788,"filename":"image_09012025_03_20_02_978679_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327578938","file1":"1327578931","file0":"1327578923","file4":"1327578959","file5":"1327578966","file3":"1327578944"},"map_files_photo_id_array":[{"photo_id":"1327578966","filename":"file5"},{"photo_id":"1327578938","filename":"file2"},{"photo_id":"1327578959","filename":"file4"},{"photo_id":"1327578931","filename":"file1"},{"photo_id":"1327578923","filename":"file0"},{"photo_id":"1327578944","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327578931":["hashtag1","hashtag2"]},{"1327578966":["hashtag1","hashtag2"]},{"1327578959":["hashtag1","hashtag2"]},{"1327578944":["hashtag1","hashtag2"]},{"1327578938":["hashtag1","hashtag2"]},{"1327578923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327578931, 1327578966, 1327578959, 1327578944, 1327578938, 1327578923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.29339528083801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:23:21.881257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/22/image_09012025_03_22_03_107744_0001.jpg', '/home/pi/Desktop/images/09012025/03/22/image_09012025_03_22_03_107744_0002.jpg', '/home/pi/Desktop/images/09012025/03/22/image_09012025_03_22_03_107744_0003.jpg', '/home/pi/Desktop/images/09012025/03/23/image_09012025_03_23_02_700881_0000.jpg', '/home/pi/Desktop/images/09012025/03/23/image_09012025_03_23_02_700881_0001.jpg', '/home/pi/Desktop/images/09012025/03/23/image_09012025_03_23_02_700881_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/22/image_09012025_03_22_03_107744_0001.jpg
/home/pi/Desktop/images/09012025/03/22/image_09012025_03_22_03_107744_0002.jpg
/home/pi/Desktop/images/09012025/03/22/image_09012025_03_22_03_107744_0003.jpg
/home/pi/Desktop/images/09012025/03/23/image_09012025_03_23_02_700881_0000.jpg
/home/pi/Desktop/images/09012025/03/23/image_09012025_03_23_02_700881_0001.jpg
/home/pi/Desktop/images/09012025/03/23/image_09012025_03_23_02_700881_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327578996","1327578990","1327578987","1327578992","1327578998","1327578994"],"photo_ids_order":["1327578987","1327578990","1327578992","1327578994","1327578996","1327578998"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f7cff5963c2c27009737f90fd03f8582.jpg","text":"TemporaryFile(/tmp/multipartBody7195502804182887852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389476999,"filename":"image_09012025_03_23_02_700881_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1d5596a2106c003398ae72ccd721885c.jpg","text":"TemporaryFile(/tmp/multipartBody6972743803940513517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389476999,"filename":"image_09012025_03_22_03_107744_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/794395c9ebc37863d3bb237e32c577e5.jpg","text":"TemporaryFile(/tmp/multipartBody5455023991594157311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389476999,"filename":"image_09012025_03_22_03_107744_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ee6a66b8fef8df8bd4f9710cfd52a144.jpg","text":"TemporaryFile(/tmp/multipartBody6638994470851582372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389476999,"filename":"image_09012025_03_22_03_107744_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/52be77294526250b6d3b3cbe61c572d3.jpg","text":"TemporaryFile(/tmp/multipartBody5546160807495878838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389476999,"filename":"image_09012025_03_23_02_700881_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4e0e534e558738a02966cbb50c4556c8.jpg","text":"TemporaryFile(/tmp/multipartBody8782251567045461667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389476999,"filename":"image_09012025_03_23_02_700881_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327578992","file1":"1327578990","file0":"1327578987","file4":"1327578996","file5":"1327578998","file3":"1327578994"},"map_files_photo_id_array":[{"photo_id":"1327578998","filename":"file5"},{"photo_id":"1327578992","filename":"file2"},{"photo_id":"1327578996","filename":"file4"},{"photo_id":"1327578990","filename":"file1"},{"photo_id":"1327578987","filename":"file0"},{"photo_id":"1327578994","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327578996":["hashtag1","hashtag2"]},{"1327578990":["hashtag1","hashtag2"]},{"1327578987":["hashtag1","hashtag2"]},{"1327578992":["hashtag1","hashtag2"]},{"1327578998":["hashtag1","hashtag2"]},{"1327578994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327578996, 1327578990, 1327578987, 1327578992, 1327578998, 1327578994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.41765308380127 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:24:22.396001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/23/image_09012025_03_23_02_700881_0003.jpg', '/home/pi/Desktop/images/09012025/03/24/image_09012025_03_24_02_264758_0000.jpg', '/home/pi/Desktop/images/09012025/03/24/image_09012025_03_24_02_264758_0001.jpg', '/home/pi/Desktop/images/09012025/03/24/image_09012025_03_24_02_264758_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/23/image_09012025_03_23_02_700881_0003.jpg
/home/pi/Desktop/images/09012025/03/24/image_09012025_03_24_02_264758_0000.jpg
/home/pi/Desktop/images/09012025/03/24/image_09012025_03_24_02_264758_0001.jpg
/home/pi/Desktop/images/09012025/03/24/image_09012025_03_24_02_264758_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579015","1327579017","1327579022","1327579048"],"photo_ids_order":["1327579015","1327579017","1327579022","1327579048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8fc5372cfacc934d8866ebb208e403dd.jpg","text":"TemporaryFile(/tmp/multipartBody4482574739301611084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389532816,"filename":"image_09012025_03_23_02_700881_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eaee1cbec19dd68215fe58dd72f48216.jpg","text":"TemporaryFile(/tmp/multipartBody4701891278716185574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389532816,"filename":"image_09012025_03_24_02_264758_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a9b69a1ab7d6250d605a8d4d1a6b1489.jpg","text":"TemporaryFile(/tmp/multipartBody9084071928108963923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389532816,"filename":"image_09012025_03_24_02_264758_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/acf033f29d3106bf40bb8f3de1aba0d8.jpg","text":"TemporaryFile(/tmp/multipartBody445784126241311460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389532816,"filename":"image_09012025_03_24_02_264758_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579022","file1":"1327579017","file0":"1327579015","file3":"1327579048"},"map_files_photo_id_array":[{"photo_id":"1327579022","filename":"file2"},{"photo_id":"1327579017","filename":"file1"},{"photo_id":"1327579015","filename":"file0"},{"photo_id":"1327579048","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579015":["hashtag1","hashtag2"]},{"1327579017":["hashtag1","hashtag2"]},{"1327579022":["hashtag1","hashtag2"]},{"1327579048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579015, 1327579017, 1327579022, 1327579048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.83859348297119 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:25:02.543769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:25:21.910995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/24/image_09012025_03_24_02_264758_0003.jpg', '/home/pi/Desktop/images/09012025/03/25/image_09012025_03_25_02_744104_0000.jpg', '/home/pi/Desktop/images/09012025/03/25/image_09012025_03_25_02_744104_0001.jpg', '/home/pi/Desktop/images/09012025/03/25/image_09012025_03_25_02_744104_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/24/image_09012025_03_24_02_264758_0003.jpg
/home/pi/Desktop/images/09012025/03/25/image_09012025_03_25_02_744104_0000.jpg
/home/pi/Desktop/images/09012025/03/25/image_09012025_03_25_02_744104_0001.jpg
/home/pi/Desktop/images/09012025/03/25/image_09012025_03_25_02_744104_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579089","1327579059","1327579068","1327579064"],"photo_ids_order":["1327579059","1327579064","1327579068","1327579089"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dd658ca3da4cb019da64e4e0de4d1a1a.jpg","text":"TemporaryFile(/tmp/multipartBody7622627887979387009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389592262,"filename":"image_09012025_03_25_02_744104_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9c8cb85bbae4491270abbe4afa0a66e6.jpg","text":"TemporaryFile(/tmp/multipartBody5664455851573858348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389592262,"filename":"image_09012025_03_24_02_264758_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6875f6a5679c7f8ba7e273c58ee017a0.jpg","text":"TemporaryFile(/tmp/multipartBody223430326531126470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389592262,"filename":"image_09012025_03_25_02_744104_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/646474f0383485874abeb84ca4451b73.jpg","text":"TemporaryFile(/tmp/multipartBody7317075021427038011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389592262,"filename":"image_09012025_03_25_02_744104_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579068","file1":"1327579064","file0":"1327579059","file3":"1327579089"},"map_files_photo_id_array":[{"photo_id":"1327579068","filename":"file2"},{"photo_id":"1327579064","filename":"file1"},{"photo_id":"1327579059","filename":"file0"},{"photo_id":"1327579089","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579089":["hashtag1","hashtag2"]},{"1327579059":["hashtag1","hashtag2"]},{"1327579068":["hashtag1","hashtag2"]},{"1327579064":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579089, 1327579059, 1327579068, 1327579064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.902587890625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:26:03.045987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:26:22.572891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/25/image_09012025_03_25_02_744104_0003.jpg', '/home/pi/Desktop/images/09012025/03/26/image_09012025_03_26_02_306112_0000.jpg', '/home/pi/Desktop/images/09012025/03/26/image_09012025_03_26_02_306112_0001.jpg', '/home/pi/Desktop/images/09012025/03/26/image_09012025_03_26_02_306112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/25/image_09012025_03_25_02_744104_0003.jpg
/home/pi/Desktop/images/09012025/03/26/image_09012025_03_26_02_306112_0000.jpg
/home/pi/Desktop/images/09012025/03/26/image_09012025_03_26_02_306112_0001.jpg
/home/pi/Desktop/images/09012025/03/26/image_09012025_03_26_02_306112_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579131","1327579136","1327579139","1327579133"],"photo_ids_order":["1327579131","1327579133","1327579136","1327579139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/54d056de7df1068a38818157bfd8ea29.jpg","text":"TemporaryFile(/tmp/multipartBody6765774261370148023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389652899,"filename":"image_09012025_03_25_02_744104_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c57175e9dec213293ec77ff621e902d1.jpg","text":"TemporaryFile(/tmp/multipartBody6161994114382674836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389652899,"filename":"image_09012025_03_26_02_306112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8da788ddbe7c33920e92ad372ae623bb.jpg","text":"TemporaryFile(/tmp/multipartBody1587691999877886949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389652899,"filename":"image_09012025_03_26_02_306112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a57dc1ad12a097d0f82f0048c089c0e3.jpg","text":"TemporaryFile(/tmp/multipartBody3584216051729407146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389652899,"filename":"image_09012025_03_26_02_306112_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579136","file1":"1327579133","file0":"1327579131","file3":"1327579139"},"map_files_photo_id_array":[{"photo_id":"1327579136","filename":"file2"},{"photo_id":"1327579133","filename":"file1"},{"photo_id":"1327579131","filename":"file0"},{"photo_id":"1327579139","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579131":["hashtag1","hashtag2"]},{"1327579136":["hashtag1","hashtag2"]},{"1327579139":["hashtag1","hashtag2"]},{"1327579133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579131, 1327579136, 1327579139, 1327579133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.31209921836853 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:27:22.111567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/26/image_09012025_03_26_02_306112_0003.jpg', '/home/pi/Desktop/images/09012025/03/27/image_09012025_03_27_02_983621_0000.jpg', '/home/pi/Desktop/images/09012025/03/27/image_09012025_03_27_02_983621_0001.jpg', '/home/pi/Desktop/images/09012025/03/27/image_09012025_03_27_02_983621_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/26/image_09012025_03_26_02_306112_0003.jpg
/home/pi/Desktop/images/09012025/03/27/image_09012025_03_27_02_983621_0000.jpg
/home/pi/Desktop/images/09012025/03/27/image_09012025_03_27_02_983621_0001.jpg
/home/pi/Desktop/images/09012025/03/27/image_09012025_03_27_02_983621_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579158","1327579154","1327579150","1327579156"],"photo_ids_order":["1327579150","1327579154","1327579156","1327579158"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7073a280ca0d60b592357d5a9543d221.jpg","text":"TemporaryFile(/tmp/multipartBody4736430070646778418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389712321,"filename":"image_09012025_03_27_02_983621_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b33c8caa85d0e9746c14e4282b043bb0.jpg","text":"TemporaryFile(/tmp/multipartBody3844915601476216617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389712321,"filename":"image_09012025_03_27_02_983621_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a72afdfe945462b84f6a6db35b2a3007.jpg","text":"TemporaryFile(/tmp/multipartBody4933296942481718668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389712321,"filename":"image_09012025_03_26_02_306112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d4d0bd3db7ff6be093344a7a7cc31f35.jpg","text":"TemporaryFile(/tmp/multipartBody65172932039807965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389712321,"filename":"image_09012025_03_27_02_983621_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579156","file1":"1327579154","file0":"1327579150","file3":"1327579158"},"map_files_photo_id_array":[{"photo_id":"1327579156","filename":"file2"},{"photo_id":"1327579154","filename":"file1"},{"photo_id":"1327579150","filename":"file0"},{"photo_id":"1327579158","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579158":["hashtag1","hashtag2"]},{"1327579154":["hashtag1","hashtag2"]},{"1327579150":["hashtag1","hashtag2"]},{"1327579156":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579158, 1327579154, 1327579150, 1327579156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.89127016067505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:28:03.012664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:28:22.600113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/27/image_09012025_03_27_02_983621_0003.jpg', '/home/pi/Desktop/images/09012025/03/28/image_09012025_03_28_02_516357_0000.jpg', '/home/pi/Desktop/images/09012025/03/28/image_09012025_03_28_02_516357_0001.jpg', '/home/pi/Desktop/images/09012025/03/28/image_09012025_03_28_02_516357_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/27/image_09012025_03_27_02_983621_0003.jpg
/home/pi/Desktop/images/09012025/03/28/image_09012025_03_28_02_516357_0000.jpg
/home/pi/Desktop/images/09012025/03/28/image_09012025_03_28_02_516357_0001.jpg
/home/pi/Desktop/images/09012025/03/28/image_09012025_03_28_02_516357_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579170","1327579172","1327579165","1327579168"],"photo_ids_order":["1327579165","1327579168","1327579170","1327579172"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f0393999f4539c4c2431f68da7befa94.jpg","text":"TemporaryFile(/tmp/multipartBody6325843104233503207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389772819,"filename":"image_09012025_03_28_02_516357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0faaf900d5b48b2121350eac5af44f46.jpg","text":"TemporaryFile(/tmp/multipartBody8576593316199984678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389772819,"filename":"image_09012025_03_28_02_516357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/16256a14cd47669dc1d67fb20d31bdc0.jpg","text":"TemporaryFile(/tmp/multipartBody6037956002349659175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389772819,"filename":"image_09012025_03_27_02_983621_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/82abd330f629e83ceda5fe5e2b816cad.jpg","text":"TemporaryFile(/tmp/multipartBody1785105960524130854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389772819,"filename":"image_09012025_03_28_02_516357_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579170","file1":"1327579168","file0":"1327579165","file3":"1327579172"},"map_files_photo_id_array":[{"photo_id":"1327579170","filename":"file2"},{"photo_id":"1327579168","filename":"file1"},{"photo_id":"1327579165","filename":"file0"},{"photo_id":"1327579172","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579170":["hashtag1","hashtag2"]},{"1327579172":["hashtag1","hashtag2"]},{"1327579165":["hashtag1","hashtag2"]},{"1327579168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579170, 1327579172, 1327579165, 1327579168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.444825410842896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:29:02.891671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:29:22.105542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/28/image_09012025_03_28_02_516357_0003.jpg', '/home/pi/Desktop/images/09012025/03/29/image_09012025_03_29_03_067876_0000.jpg', '/home/pi/Desktop/images/09012025/03/29/image_09012025_03_29_03_067876_0001.jpg', '/home/pi/Desktop/images/09012025/03/29/image_09012025_03_29_03_067876_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/28/image_09012025_03_28_02_516357_0003.jpg
/home/pi/Desktop/images/09012025/03/29/image_09012025_03_29_03_067876_0000.jpg
/home/pi/Desktop/images/09012025/03/29/image_09012025_03_29_03_067876_0001.jpg
/home/pi/Desktop/images/09012025/03/29/image_09012025_03_29_03_067876_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.835981130599976 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:30:02.266614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/28/image_09012025_03_28_02_516357_0003.jpg', '/home/pi/Desktop/images/09012025/03/29/image_09012025_03_29_03_067876_0000.jpg', '/home/pi/Desktop/images/09012025/03/29/image_09012025_03_29_03_067876_0001.jpg', '/home/pi/Desktop/images/09012025/03/29/image_09012025_03_29_03_067876_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/28/image_09012025_03_28_02_516357_0003.jpg
/home/pi/Desktop/images/09012025/03/29/image_09012025_03_29_03_067876_0000.jpg
/home/pi/Desktop/images/09012025/03/29/image_09012025_03_29_03_067876_0001.jpg
/home/pi/Desktop/images/09012025/03/29/image_09012025_03_29_03_067876_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579353","1327579349","1327579351","1327579348"],"photo_ids_order":["1327579348","1327579349","1327579351","1327579353"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bcfe16c9796567b191b299aad247f47a.jpg","text":"TemporaryFile(/tmp/multipartBody3660179569324543021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389872554,"filename":"image_09012025_03_29_03_067876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c4c95c2893c571057d7d2090bb08683f.jpg","text":"TemporaryFile(/tmp/multipartBody7731424154858970772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389872554,"filename":"image_09012025_03_29_03_067876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2723eea30a9f0bc2b57dabaef2d8532a.jpg","text":"TemporaryFile(/tmp/multipartBody3780926894854741658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389872554,"filename":"image_09012025_03_29_03_067876_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8ccd4faa117212f2a0873c270b0e23c2.jpg","text":"TemporaryFile(/tmp/multipartBody6188151843818264695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389872554,"filename":"image_09012025_03_28_02_516357_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579351","file1":"1327579349","file0":"1327579348","file3":"1327579353"},"map_files_photo_id_array":[{"photo_id":"1327579351","filename":"file2"},{"photo_id":"1327579349","filename":"file1"},{"photo_id":"1327579348","filename":"file0"},{"photo_id":"1327579353","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579353":["hashtag1","hashtag2"]},{"1327579349":["hashtag1","hashtag2"]},{"1327579351":["hashtag1","hashtag2"]},{"1327579348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579353, 1327579349, 1327579351, 1327579348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.77762770652771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:31:02.950912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/29/image_09012025_03_29_03_067876_0003.jpg', '/home/pi/Desktop/images/09012025/03/30/image_09012025_03_30_02_549851_0000.jpg', '/home/pi/Desktop/images/09012025/03/30/image_09012025_03_30_02_549851_0001.jpg', '/home/pi/Desktop/images/09012025/03/30/image_09012025_03_30_02_549851_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/29/image_09012025_03_29_03_067876_0003.jpg
/home/pi/Desktop/images/09012025/03/30/image_09012025_03_30_02_549851_0000.jpg
/home/pi/Desktop/images/09012025/03/30/image_09012025_03_30_02_549851_0001.jpg
/home/pi/Desktop/images/09012025/03/30/image_09012025_03_30_02_549851_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.960554122924805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:31:22.351518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/29/image_09012025_03_29_03_067876_0003.jpg', '/home/pi/Desktop/images/09012025/03/30/image_09012025_03_30_02_549851_0000.jpg', '/home/pi/Desktop/images/09012025/03/30/image_09012025_03_30_02_549851_0001.jpg', '/home/pi/Desktop/images/09012025/03/30/image_09012025_03_30_02_549851_0002.jpg', '/home/pi/Desktop/images/09012025/03/30/image_09012025_03_30_02_549851_0003.jpg', '/home/pi/Desktop/images/09012025/03/31/image_09012025_03_31_02_259735_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/29/image_09012025_03_29_03_067876_0003.jpg
/home/pi/Desktop/images/09012025/03/30/image_09012025_03_30_02_549851_0000.jpg
/home/pi/Desktop/images/09012025/03/30/image_09012025_03_30_02_549851_0001.jpg
/home/pi/Desktop/images/09012025/03/30/image_09012025_03_30_02_549851_0002.jpg
/home/pi/Desktop/images/09012025/03/30/image_09012025_03_30_02_549851_0003.jpg
/home/pi/Desktop/images/09012025/03/31/image_09012025_03_31_02_259735_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579374","1327579368","1327579377","1327579370","1327579376","1327579372"],"photo_ids_order":["1327579368","1327579370","1327579372","1327579374","1327579376","1327579377"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f6595a8dea51caa6387836e5db2706f8.jpg","text":"TemporaryFile(/tmp/multipartBody1670272798433009332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389957480,"filename":"image_09012025_03_30_02_549851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5ecfc90d7999fa938529d98912686e33.jpg","text":"TemporaryFile(/tmp/multipartBody3172498574229847276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389957480,"filename":"image_09012025_03_29_03_067876_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/68500408794fed47a42413d0c6738d3d.jpg","text":"TemporaryFile(/tmp/multipartBody5963458957901940634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389957480,"filename":"image_09012025_03_31_02_259735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/598ffe17e2f1b42ea91973e0a87c10cd.jpg","text":"TemporaryFile(/tmp/multipartBody1430452954410383084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389957480,"filename":"image_09012025_03_30_02_549851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/500c588ec49ad91996db26d6eae88031.jpg","text":"TemporaryFile(/tmp/multipartBody2053303773362652338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389957480,"filename":"image_09012025_03_30_02_549851_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/25d8f37fe2511b4417c40e868e4fbb96.jpg","text":"TemporaryFile(/tmp/multipartBody1270960171325616092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736389957480,"filename":"image_09012025_03_30_02_549851_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579372","file1":"1327579370","file0":"1327579368","file4":"1327579376","file5":"1327579377","file3":"1327579374"},"map_files_photo_id_array":[{"photo_id":"1327579377","filename":"file5"},{"photo_id":"1327579372","filename":"file2"},{"photo_id":"1327579376","filename":"file4"},{"photo_id":"1327579370","filename":"file1"},{"photo_id":"1327579368","filename":"file0"},{"photo_id":"1327579374","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579374":["hashtag1","hashtag2"]},{"1327579368":["hashtag1","hashtag2"]},{"1327579377":["hashtag1","hashtag2"]},{"1327579370":["hashtag1","hashtag2"]},{"1327579376":["hashtag1","hashtag2"]},{"1327579372":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579374, 1327579368, 1327579377, 1327579370, 1327579376, 1327579372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.18768811225891 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:32:22.104139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/31/image_09012025_03_31_02_259735_0001.jpg', '/home/pi/Desktop/images/09012025/03/31/image_09012025_03_31_02_259735_0002.jpg', '/home/pi/Desktop/images/09012025/03/31/image_09012025_03_31_02_259735_0003.jpg', '/home/pi/Desktop/images/09012025/03/32/image_09012025_03_32_02_823118_0000.jpg', '/home/pi/Desktop/images/09012025/03/32/image_09012025_03_32_02_823118_0001.jpg', '/home/pi/Desktop/images/09012025/03/32/image_09012025_03_32_02_823118_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/31/image_09012025_03_31_02_259735_0001.jpg
/home/pi/Desktop/images/09012025/03/31/image_09012025_03_31_02_259735_0002.jpg
/home/pi/Desktop/images/09012025/03/31/image_09012025_03_31_02_259735_0003.jpg
/home/pi/Desktop/images/09012025/03/32/image_09012025_03_32_02_823118_0000.jpg
/home/pi/Desktop/images/09012025/03/32/image_09012025_03_32_02_823118_0001.jpg
/home/pi/Desktop/images/09012025/03/32/image_09012025_03_32_02_823118_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.837137937545776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:33:03.266840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/31/image_09012025_03_31_02_259735_0001.jpg', '/home/pi/Desktop/images/09012025/03/31/image_09012025_03_31_02_259735_0002.jpg', '/home/pi/Desktop/images/09012025/03/31/image_09012025_03_31_02_259735_0003.jpg', '/home/pi/Desktop/images/09012025/03/32/image_09012025_03_32_02_823118_0000.jpg', '/home/pi/Desktop/images/09012025/03/32/image_09012025_03_32_02_823118_0001.jpg', '/home/pi/Desktop/images/09012025/03/32/image_09012025_03_32_02_823118_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/31/image_09012025_03_31_02_259735_0001.jpg
/home/pi/Desktop/images/09012025/03/31/image_09012025_03_31_02_259735_0002.jpg
/home/pi/Desktop/images/09012025/03/31/image_09012025_03_31_02_259735_0003.jpg
/home/pi/Desktop/images/09012025/03/32/image_09012025_03_32_02_823118_0000.jpg
/home/pi/Desktop/images/09012025/03/32/image_09012025_03_32_02_823118_0001.jpg
/home/pi/Desktop/images/09012025/03/32/image_09012025_03_32_02_823118_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579513","1327579515","1327579464","1327579512","1327579487","1327579495"],"photo_ids_order":["1327579464","1327579487","1327579495","1327579512","1327579513","1327579515"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f842ec37e94c4b45dbdbf36473f5dd79.jpg","text":"TemporaryFile(/tmp/multipartBody2004504752528727774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390058559,"filename":"image_09012025_03_32_02_823118_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/775b8a679694f9893a120f8b4348c2d1.jpg","text":"TemporaryFile(/tmp/multipartBody8993283657564284769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390058559,"filename":"image_09012025_03_32_02_823118_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e4045d9f5cdd83370a72dc90459a8394.jpg","text":"TemporaryFile(/tmp/multipartBody3331057071606660522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390058559,"filename":"image_09012025_03_31_02_259735_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3e6b49f79142265c7bf26da12280fdae.jpg","text":"TemporaryFile(/tmp/multipartBody3067464332712567703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390058559,"filename":"image_09012025_03_32_02_823118_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/343789e4cd2df3a5fa718376794919f9.jpg","text":"TemporaryFile(/tmp/multipartBody6892280621118183721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390058559,"filename":"image_09012025_03_31_02_259735_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/77ad059df71cb336b17d0f4c0bead8c1.jpg","text":"TemporaryFile(/tmp/multipartBody3127898174363114001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390058559,"filename":"image_09012025_03_31_02_259735_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579495","file1":"1327579487","file0":"1327579464","file4":"1327579513","file5":"1327579515","file3":"1327579512"},"map_files_photo_id_array":[{"photo_id":"1327579515","filename":"file5"},{"photo_id":"1327579495","filename":"file2"},{"photo_id":"1327579513","filename":"file4"},{"photo_id":"1327579487","filename":"file1"},{"photo_id":"1327579464","filename":"file0"},{"photo_id":"1327579512","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579513":["hashtag1","hashtag2"]},{"1327579515":["hashtag1","hashtag2"]},{"1327579464":["hashtag1","hashtag2"]},{"1327579512":["hashtag1","hashtag2"]},{"1327579487":["hashtag1","hashtag2"]},{"1327579495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579513, 1327579515, 1327579464, 1327579512, 1327579487, 1327579495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.11437487602234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:34:02.708594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/32/image_09012025_03_32_02_823118_0003.jpg', '/home/pi/Desktop/images/09012025/03/33/image_09012025_03_33_02_559648_0000.jpg', '/home/pi/Desktop/images/09012025/03/33/image_09012025_03_33_02_559648_0001.jpg', '/home/pi/Desktop/images/09012025/03/33/image_09012025_03_33_02_559648_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/32/image_09012025_03_32_02_823118_0003.jpg
/home/pi/Desktop/images/09012025/03/33/image_09012025_03_33_02_559648_0000.jpg
/home/pi/Desktop/images/09012025/03/33/image_09012025_03_33_02_559648_0001.jpg
/home/pi/Desktop/images/09012025/03/33/image_09012025_03_33_02_559648_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.06874132156372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:34:22.350586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/32/image_09012025_03_32_02_823118_0003.jpg', '/home/pi/Desktop/images/09012025/03/33/image_09012025_03_33_02_559648_0000.jpg', '/home/pi/Desktop/images/09012025/03/33/image_09012025_03_33_02_559648_0001.jpg', '/home/pi/Desktop/images/09012025/03/33/image_09012025_03_33_02_559648_0002.jpg', '/home/pi/Desktop/images/09012025/03/33/image_09012025_03_33_02_559648_0003.jpg', '/home/pi/Desktop/images/09012025/03/34/image_09012025_03_34_03_105688_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/32/image_09012025_03_32_02_823118_0003.jpg
/home/pi/Desktop/images/09012025/03/33/image_09012025_03_33_02_559648_0000.jpg
/home/pi/Desktop/images/09012025/03/33/image_09012025_03_33_02_559648_0001.jpg
/home/pi/Desktop/images/09012025/03/33/image_09012025_03_33_02_559648_0002.jpg
/home/pi/Desktop/images/09012025/03/33/image_09012025_03_33_02_559648_0003.jpg
/home/pi/Desktop/images/09012025/03/34/image_09012025_03_34_03_105688_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579540","1327579542","1327579527","1327579529","1327579531","1327579525"],"photo_ids_order":["1327579525","1327579527","1327579529","1327579531","1327579540","1327579542"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/32f653be1b827228dd112c7befe2ee2a.jpg","text":"TemporaryFile(/tmp/multipartBody2234843792521574227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390137577,"filename":"image_09012025_03_33_02_559648_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/de33be51135d2c14fab2eef07cdbc98f.jpg","text":"TemporaryFile(/tmp/multipartBody2756745256126580914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390137577,"filename":"image_09012025_03_34_03_105688_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/888fb097d5232f3ecb6b67984bcec2ce.jpg","text":"TemporaryFile(/tmp/multipartBody6981054685262431026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390137577,"filename":"image_09012025_03_33_02_559648_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/37ac89248a691afcc711263ed12eae02.jpg","text":"TemporaryFile(/tmp/multipartBody7135157101487452691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390137577,"filename":"image_09012025_03_33_02_559648_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/02a3a2bc4f0e8b7f9f970fab67d023d8.jpg","text":"TemporaryFile(/tmp/multipartBody9078139724085414856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390137577,"filename":"image_09012025_03_33_02_559648_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6975ecfcfdbfe3253bb7dece05f44d17.jpg","text":"TemporaryFile(/tmp/multipartBody7526273236093801676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390137577,"filename":"image_09012025_03_32_02_823118_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579529","file1":"1327579527","file0":"1327579525","file4":"1327579540","file5":"1327579542","file3":"1327579531"},"map_files_photo_id_array":[{"photo_id":"1327579542","filename":"file5"},{"photo_id":"1327579529","filename":"file2"},{"photo_id":"1327579540","filename":"file4"},{"photo_id":"1327579527","filename":"file1"},{"photo_id":"1327579525","filename":"file0"},{"photo_id":"1327579531","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579540":["hashtag1","hashtag2"]},{"1327579542":["hashtag1","hashtag2"]},{"1327579527":["hashtag1","hashtag2"]},{"1327579529":["hashtag1","hashtag2"]},{"1327579531":["hashtag1","hashtag2"]},{"1327579525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579540, 1327579542, 1327579527, 1327579529, 1327579531, 1327579525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.65349864959717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:35:21.823921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/34/image_09012025_03_34_03_105688_0001.jpg', '/home/pi/Desktop/images/09012025/03/34/image_09012025_03_34_03_105688_0002.jpg', '/home/pi/Desktop/images/09012025/03/34/image_09012025_03_34_03_105688_0003.jpg', '/home/pi/Desktop/images/09012025/03/35/image_09012025_03_35_02_703859_0000.jpg', '/home/pi/Desktop/images/09012025/03/35/image_09012025_03_35_02_703859_0001.jpg', '/home/pi/Desktop/images/09012025/03/35/image_09012025_03_35_02_703859_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/34/image_09012025_03_34_03_105688_0001.jpg
/home/pi/Desktop/images/09012025/03/34/image_09012025_03_34_03_105688_0002.jpg
/home/pi/Desktop/images/09012025/03/34/image_09012025_03_34_03_105688_0003.jpg
/home/pi/Desktop/images/09012025/03/35/image_09012025_03_35_02_703859_0000.jpg
/home/pi/Desktop/images/09012025/03/35/image_09012025_03_35_02_703859_0001.jpg
/home/pi/Desktop/images/09012025/03/35/image_09012025_03_35_02_703859_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579606","1327579600","1327579602","1327579598","1327579585","1327579604"],"photo_ids_order":["1327579585","1327579598","1327579600","1327579602","1327579604","1327579606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b83c2b16351ca1e7e618dd455120b551.jpg","text":"TemporaryFile(/tmp/multipartBody1828658687627364145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390196899,"filename":"image_09012025_03_35_02_703859_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c67e3ca7b3afbdcb0028aa5a0f807da0.jpg","text":"TemporaryFile(/tmp/multipartBody2089629712540807610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390196899,"filename":"image_09012025_03_34_03_105688_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2b00133272c40c94be4ed6da7d0558cf.jpg","text":"TemporaryFile(/tmp/multipartBody1634847426585450809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390196899,"filename":"image_09012025_03_35_02_703859_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4d25d8aabe667f028627a5bf0e111639.jpg","text":"TemporaryFile(/tmp/multipartBody8549186445825477427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390196899,"filename":"image_09012025_03_34_03_105688_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a22875815640558e79e991e44180f7bd.jpg","text":"TemporaryFile(/tmp/multipartBody3046739047680079889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390196899,"filename":"image_09012025_03_34_03_105688_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/797db7e7c6d012b09c6a314a03d16b37.jpg","text":"TemporaryFile(/tmp/multipartBody7424759905168719422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390196899,"filename":"image_09012025_03_35_02_703859_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579600","file1":"1327579598","file0":"1327579585","file4":"1327579604","file5":"1327579606","file3":"1327579602"},"map_files_photo_id_array":[{"photo_id":"1327579606","filename":"file5"},{"photo_id":"1327579600","filename":"file2"},{"photo_id":"1327579604","filename":"file4"},{"photo_id":"1327579598","filename":"file1"},{"photo_id":"1327579585","filename":"file0"},{"photo_id":"1327579602","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579606":["hashtag1","hashtag2"]},{"1327579600":["hashtag1","hashtag2"]},{"1327579602":["hashtag1","hashtag2"]},{"1327579598":["hashtag1","hashtag2"]},{"1327579585":["hashtag1","hashtag2"]},{"1327579604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579606, 1327579600, 1327579602, 1327579598, 1327579585, 1327579604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.60091495513916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:36:22.389099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/35/image_09012025_03_35_02_703859_0003.jpg', '/home/pi/Desktop/images/09012025/03/36/image_09012025_03_36_02_277107_0000.jpg', '/home/pi/Desktop/images/09012025/03/36/image_09012025_03_36_02_277107_0001.jpg', '/home/pi/Desktop/images/09012025/03/36/image_09012025_03_36_02_277107_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/35/image_09012025_03_35_02_703859_0003.jpg
/home/pi/Desktop/images/09012025/03/36/image_09012025_03_36_02_277107_0000.jpg
/home/pi/Desktop/images/09012025/03/36/image_09012025_03_36_02_277107_0001.jpg
/home/pi/Desktop/images/09012025/03/36/image_09012025_03_36_02_277107_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579612","1327579615","1327579610","1327579618"],"photo_ids_order":["1327579610","1327579612","1327579615","1327579618"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5a91a44f3db7e2294fee621330c22faa.jpg","text":"TemporaryFile(/tmp/multipartBody5998445120282333611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390252693,"filename":"image_09012025_03_36_02_277107_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8e2b587ad6379e8049080302d2b25950.jpg","text":"TemporaryFile(/tmp/multipartBody3800400556335264281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390252693,"filename":"image_09012025_03_36_02_277107_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6d155c5657ca323ec1e2c653ee420673.jpg","text":"TemporaryFile(/tmp/multipartBody3672644045216477887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390252693,"filename":"image_09012025_03_35_02_703859_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/07d698e7e483cc229493359ef8924d05.jpg","text":"TemporaryFile(/tmp/multipartBody4189623922874388377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390252693,"filename":"image_09012025_03_36_02_277107_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579615","file1":"1327579612","file0":"1327579610","file3":"1327579618"},"map_files_photo_id_array":[{"photo_id":"1327579615","filename":"file2"},{"photo_id":"1327579612","filename":"file1"},{"photo_id":"1327579610","filename":"file0"},{"photo_id":"1327579618","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579612":["hashtag1","hashtag2"]},{"1327579615":["hashtag1","hashtag2"]},{"1327579610":["hashtag1","hashtag2"]},{"1327579618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579612, 1327579615, 1327579610, 1327579618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.314022064208984 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:37:02.395342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:37:21.862924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/36/image_09012025_03_36_02_277107_0003.jpg', '/home/pi/Desktop/images/09012025/03/37/image_09012025_03_37_02_805279_0000.jpg', '/home/pi/Desktop/images/09012025/03/37/image_09012025_03_37_02_805279_0001.jpg', '/home/pi/Desktop/images/09012025/03/37/image_09012025_03_37_02_805279_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/36/image_09012025_03_36_02_277107_0003.jpg
/home/pi/Desktop/images/09012025/03/37/image_09012025_03_37_02_805279_0000.jpg
/home/pi/Desktop/images/09012025/03/37/image_09012025_03_37_02_805279_0001.jpg
/home/pi/Desktop/images/09012025/03/37/image_09012025_03_37_02_805279_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579635","1327579626","1327579628","1327579630"],"photo_ids_order":["1327579626","1327579628","1327579630","1327579635"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e6f5b72ce22eb7ec977789a71939b0b3.jpg","text":"TemporaryFile(/tmp/multipartBody4271466962934038065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390312053,"filename":"image_09012025_03_37_02_805279_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e576dfeed0e9e929234c1feb4a6ccd5c.jpg","text":"TemporaryFile(/tmp/multipartBody1432908386857225815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390312053,"filename":"image_09012025_03_36_02_277107_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f8b1f1f828b11f355344a03f53730bdb.jpg","text":"TemporaryFile(/tmp/multipartBody3196113170136108072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390312053,"filename":"image_09012025_03_37_02_805279_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a93de4869f35c3c2dfd3e00f76c2c6f3.jpg","text":"TemporaryFile(/tmp/multipartBody7070565866955609379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390312053,"filename":"image_09012025_03_37_02_805279_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579630","file1":"1327579628","file0":"1327579626","file3":"1327579635"},"map_files_photo_id_array":[{"photo_id":"1327579630","filename":"file2"},{"photo_id":"1327579628","filename":"file1"},{"photo_id":"1327579626","filename":"file0"},{"photo_id":"1327579635","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579635":["hashtag1","hashtag2"]},{"1327579626":["hashtag1","hashtag2"]},{"1327579628":["hashtag1","hashtag2"]},{"1327579630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579635, 1327579626, 1327579628, 1327579630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68060874938965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:38:02.981499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:38:22.466168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/37/image_09012025_03_37_02_805279_0003.jpg', '/home/pi/Desktop/images/09012025/03/38/image_09012025_03_38_02_258788_0000.jpg', '/home/pi/Desktop/images/09012025/03/38/image_09012025_03_38_02_258788_0001.jpg', '/home/pi/Desktop/images/09012025/03/38/image_09012025_03_38_02_258788_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/37/image_09012025_03_37_02_805279_0003.jpg
/home/pi/Desktop/images/09012025/03/38/image_09012025_03_38_02_258788_0000.jpg
/home/pi/Desktop/images/09012025/03/38/image_09012025_03_38_02_258788_0001.jpg
/home/pi/Desktop/images/09012025/03/38/image_09012025_03_38_02_258788_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579683","1327579685","1327579654","1327579657"],"photo_ids_order":["1327579654","1327579657","1327579683","1327579685"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ec313c81e3e5970a50ec7074239e76f2.jpg","text":"TemporaryFile(/tmp/multipartBody6517663323661591039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390372720,"filename":"image_09012025_03_38_02_258788_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e1ff15d1cfce7797eacfdce83179879b.jpg","text":"TemporaryFile(/tmp/multipartBody7058701844705764156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390372720,"filename":"image_09012025_03_38_02_258788_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d186d226bed84c0d8a594d1299952d14.jpg","text":"TemporaryFile(/tmp/multipartBody107332481467983274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390372720,"filename":"image_09012025_03_37_02_805279_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/38e9d2b3bf250b6e3268fbfec550acf1.jpg","text":"TemporaryFile(/tmp/multipartBody8469322091051407521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390372720,"filename":"image_09012025_03_38_02_258788_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579683","file1":"1327579657","file0":"1327579654","file3":"1327579685"},"map_files_photo_id_array":[{"photo_id":"1327579683","filename":"file2"},{"photo_id":"1327579657","filename":"file1"},{"photo_id":"1327579654","filename":"file0"},{"photo_id":"1327579685","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579683":["hashtag1","hashtag2"]},{"1327579685":["hashtag1","hashtag2"]},{"1327579654":["hashtag1","hashtag2"]},{"1327579657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579683, 1327579685, 1327579654, 1327579657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.440478801727295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:39:21.988432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/38/image_09012025_03_38_02_258788_0003.jpg', '/home/pi/Desktop/images/09012025/03/39/image_09012025_03_39_02_837035_0000.jpg', '/home/pi/Desktop/images/09012025/03/39/image_09012025_03_39_02_837035_0001.jpg', '/home/pi/Desktop/images/09012025/03/39/image_09012025_03_39_02_837035_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/38/image_09012025_03_38_02_258788_0003.jpg
/home/pi/Desktop/images/09012025/03/39/image_09012025_03_39_02_837035_0000.jpg
/home/pi/Desktop/images/09012025/03/39/image_09012025_03_39_02_837035_0001.jpg
/home/pi/Desktop/images/09012025/03/39/image_09012025_03_39_02_837035_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579706","1327579709","1327579700","1327579702"],"photo_ids_order":["1327579700","1327579702","1327579706","1327579709"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/91fd1ce707fb7f53c2c08858c32ea67a.jpg","text":"TemporaryFile(/tmp/multipartBody7391636520391685988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390432185,"filename":"image_09012025_03_39_02_837035_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fe6d2101b14896f3ef56930540408a21.jpg","text":"TemporaryFile(/tmp/multipartBody597036761345497855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390432185,"filename":"image_09012025_03_39_02_837035_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/283fab6beda957814128c4bfc53fe399.jpg","text":"TemporaryFile(/tmp/multipartBody3306780111186628220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390432185,"filename":"image_09012025_03_38_02_258788_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e516f495f87839cced11cd018ea7f0ca.jpg","text":"TemporaryFile(/tmp/multipartBody495151954642675393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390432185,"filename":"image_09012025_03_39_02_837035_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579706","file1":"1327579702","file0":"1327579700","file3":"1327579709"},"map_files_photo_id_array":[{"photo_id":"1327579706","filename":"file2"},{"photo_id":"1327579702","filename":"file1"},{"photo_id":"1327579700","filename":"file0"},{"photo_id":"1327579709","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579706":["hashtag1","hashtag2"]},{"1327579709":["hashtag1","hashtag2"]},{"1327579700":["hashtag1","hashtag2"]},{"1327579702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579706, 1327579709, 1327579700, 1327579702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55447769165039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:40:02.964358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:40:22.420897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/39/image_09012025_03_39_02_837035_0003.jpg', '/home/pi/Desktop/images/09012025/03/40/image_09012025_03_40_02_360681_0000.jpg', '/home/pi/Desktop/images/09012025/03/40/image_09012025_03_40_02_360681_0001.jpg', '/home/pi/Desktop/images/09012025/03/40/image_09012025_03_40_02_360681_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/39/image_09012025_03_39_02_837035_0003.jpg
/home/pi/Desktop/images/09012025/03/40/image_09012025_03_40_02_360681_0000.jpg
/home/pi/Desktop/images/09012025/03/40/image_09012025_03_40_02_360681_0001.jpg
/home/pi/Desktop/images/09012025/03/40/image_09012025_03_40_02_360681_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579752","1327579728","1327579743","1327579760"],"photo_ids_order":["1327579728","1327579743","1327579752","1327579760"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/12bddbab76f5d12b4724afd0548ac29d.jpg","text":"TemporaryFile(/tmp/multipartBody349025920955984620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390492738,"filename":"image_09012025_03_40_02_360681_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7e10ad5e673bb3aacdc326e0d8af0e56.jpg","text":"TemporaryFile(/tmp/multipartBody4813656981656503769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390492738,"filename":"image_09012025_03_39_02_837035_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f54ab98fc5da972e48edf32e23a806b4.jpg","text":"TemporaryFile(/tmp/multipartBody2672905675784798397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390492738,"filename":"image_09012025_03_40_02_360681_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b4d9880937d9e81b726627c3e0639598.jpg","text":"TemporaryFile(/tmp/multipartBody7597699129423729089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390492738,"filename":"image_09012025_03_40_02_360681_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579752","file1":"1327579743","file0":"1327579728","file3":"1327579760"},"map_files_photo_id_array":[{"photo_id":"1327579752","filename":"file2"},{"photo_id":"1327579743","filename":"file1"},{"photo_id":"1327579728","filename":"file0"},{"photo_id":"1327579760","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579752":["hashtag1","hashtag2"]},{"1327579728":["hashtag1","hashtag2"]},{"1327579743":["hashtag1","hashtag2"]},{"1327579760":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579752, 1327579728, 1327579743, 1327579760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.46034026145935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:41:21.869126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/40/image_09012025_03_40_02_360681_0003.jpg', '/home/pi/Desktop/images/09012025/03/41/image_09012025_03_41_02_820402_0000.jpg', '/home/pi/Desktop/images/09012025/03/41/image_09012025_03_41_02_820402_0001.jpg', '/home/pi/Desktop/images/09012025/03/41/image_09012025_03_41_02_820402_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/40/image_09012025_03_40_02_360681_0003.jpg
/home/pi/Desktop/images/09012025/03/41/image_09012025_03_41_02_820402_0000.jpg
/home/pi/Desktop/images/09012025/03/41/image_09012025_03_41_02_820402_0001.jpg
/home/pi/Desktop/images/09012025/03/41/image_09012025_03_41_02_820402_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579776","1327579773","1327579775","1327579769"],"photo_ids_order":["1327579769","1327579773","1327579775","1327579776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fbf4329c71e9dcf2cd8463856353d565.jpg","text":"TemporaryFile(/tmp/multipartBody4180663950607069671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390552248,"filename":"image_09012025_03_41_02_820402_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c189980fdc35dbca03aec2a94d2b8601.jpg","text":"TemporaryFile(/tmp/multipartBody4454031245972747613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390552248,"filename":"image_09012025_03_41_02_820402_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9d0be95848ad5b556f238ff0694e0ebd.jpg","text":"TemporaryFile(/tmp/multipartBody4411079133372755600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390552248,"filename":"image_09012025_03_41_02_820402_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d008c4d841957cbdb844565f02582d71.jpg","text":"TemporaryFile(/tmp/multipartBody628536214696791473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390552248,"filename":"image_09012025_03_40_02_360681_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579775","file1":"1327579773","file0":"1327579769","file3":"1327579776"},"map_files_photo_id_array":[{"photo_id":"1327579775","filename":"file2"},{"photo_id":"1327579773","filename":"file1"},{"photo_id":"1327579769","filename":"file0"},{"photo_id":"1327579776","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579776":["hashtag1","hashtag2"]},{"1327579773":["hashtag1","hashtag2"]},{"1327579775":["hashtag1","hashtag2"]},{"1327579769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579776, 1327579773, 1327579775, 1327579769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.03815579414368 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:42:22.474961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/41/image_09012025_03_41_02_820402_0003.jpg', '/home/pi/Desktop/images/09012025/03/42/image_09012025_03_42_02_326636_0000.jpg', '/home/pi/Desktop/images/09012025/03/42/image_09012025_03_42_02_326636_0001.jpg', '/home/pi/Desktop/images/09012025/03/42/image_09012025_03_42_02_326636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/41/image_09012025_03_41_02_820402_0003.jpg
/home/pi/Desktop/images/09012025/03/42/image_09012025_03_42_02_326636_0000.jpg
/home/pi/Desktop/images/09012025/03/42/image_09012025_03_42_02_326636_0001.jpg
/home/pi/Desktop/images/09012025/03/42/image_09012025_03_42_02_326636_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579807","1327579793","1327579790","1327579784"],"photo_ids_order":["1327579784","1327579790","1327579793","1327579807"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7ccd1801d2414b1676e308d2de688b77.jpg","text":"TemporaryFile(/tmp/multipartBody8374919793904624179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390612949,"filename":"image_09012025_03_42_02_326636_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a7b169a2469c614f26db1276bd199c32.jpg","text":"TemporaryFile(/tmp/multipartBody5651689582277563083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390612949,"filename":"image_09012025_03_42_02_326636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/20cc0229294bf72e7f72e138a1763540.jpg","text":"TemporaryFile(/tmp/multipartBody4531718448359233990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390612949,"filename":"image_09012025_03_42_02_326636_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6246447358cc43a5f617832112bb5c2e.jpg","text":"TemporaryFile(/tmp/multipartBody513859566551424841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390612949,"filename":"image_09012025_03_41_02_820402_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579793","file1":"1327579790","file0":"1327579784","file3":"1327579807"},"map_files_photo_id_array":[{"photo_id":"1327579793","filename":"file2"},{"photo_id":"1327579790","filename":"file1"},{"photo_id":"1327579784","filename":"file0"},{"photo_id":"1327579807","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579807":["hashtag1","hashtag2"]},{"1327579793":["hashtag1","hashtag2"]},{"1327579790":["hashtag1","hashtag2"]},{"1327579784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579807, 1327579793, 1327579790, 1327579784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.66766047477722 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:43:21.953758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/42/image_09012025_03_42_02_326636_0003.jpg', '/home/pi/Desktop/images/09012025/03/43/image_09012025_03_43_02_809979_0000.jpg', '/home/pi/Desktop/images/09012025/03/43/image_09012025_03_43_02_809979_0001.jpg', '/home/pi/Desktop/images/09012025/03/43/image_09012025_03_43_02_809979_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/42/image_09012025_03_42_02_326636_0003.jpg
/home/pi/Desktop/images/09012025/03/43/image_09012025_03_43_02_809979_0000.jpg
/home/pi/Desktop/images/09012025/03/43/image_09012025_03_43_02_809979_0001.jpg
/home/pi/Desktop/images/09012025/03/43/image_09012025_03_43_02_809979_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579836","1327579838","1327579832","1327579834"],"photo_ids_order":["1327579832","1327579834","1327579836","1327579838"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b55fab8fe8f428069f0affb73f96e6c6.jpg","text":"TemporaryFile(/tmp/multipartBody6161812019172021567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390672334,"filename":"image_09012025_03_43_02_809979_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/24d22624bd2fc1ca7e66552674d35e01.jpg","text":"TemporaryFile(/tmp/multipartBody3549136440994585176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390672334,"filename":"image_09012025_03_43_02_809979_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/685866608bff212ca25b1bddbaf0a80a.jpg","text":"TemporaryFile(/tmp/multipartBody6081482236980905905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390672334,"filename":"image_09012025_03_42_02_326636_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4babcb7239771b8e7a667199f7325e25.jpg","text":"TemporaryFile(/tmp/multipartBody6973909764521636743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390672334,"filename":"image_09012025_03_43_02_809979_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579836","file1":"1327579834","file0":"1327579832","file3":"1327579838"},"map_files_photo_id_array":[{"photo_id":"1327579836","filename":"file2"},{"photo_id":"1327579834","filename":"file1"},{"photo_id":"1327579832","filename":"file0"},{"photo_id":"1327579838","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579836":["hashtag1","hashtag2"]},{"1327579838":["hashtag1","hashtag2"]},{"1327579832":["hashtag1","hashtag2"]},{"1327579834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579836, 1327579838, 1327579832, 1327579834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26300287246704 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:44:02.826789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:44:22.392035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/43/image_09012025_03_43_02_809979_0003.jpg', '/home/pi/Desktop/images/09012025/03/44/image_09012025_03_44_02_381190_0000.jpg', '/home/pi/Desktop/images/09012025/03/44/image_09012025_03_44_02_381190_0001.jpg', '/home/pi/Desktop/images/09012025/03/44/image_09012025_03_44_02_381190_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/43/image_09012025_03_43_02_809979_0003.jpg
/home/pi/Desktop/images/09012025/03/44/image_09012025_03_44_02_381190_0000.jpg
/home/pi/Desktop/images/09012025/03/44/image_09012025_03_44_02_381190_0001.jpg
/home/pi/Desktop/images/09012025/03/44/image_09012025_03_44_02_381190_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579854","1327579856","1327579850","1327579852"],"photo_ids_order":["1327579850","1327579852","1327579854","1327579856"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5df578b0f84401e9eea10281ca44b027.jpg","text":"TemporaryFile(/tmp/multipartBody3540891251627829574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390732659,"filename":"image_09012025_03_44_02_381190_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f8b38642ba30369fdebbf25c6dcfe338.jpg","text":"TemporaryFile(/tmp/multipartBody4521571539761080092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390732659,"filename":"image_09012025_03_44_02_381190_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/16e68387a86112f6bb1a3af8eae7b292.jpg","text":"TemporaryFile(/tmp/multipartBody941787144689451884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390732659,"filename":"image_09012025_03_43_02_809979_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/940b40a4e4a632b6e252e74070e21eea.jpg","text":"TemporaryFile(/tmp/multipartBody3045160864122280687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390732659,"filename":"image_09012025_03_44_02_381190_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579854","file1":"1327579852","file0":"1327579850","file3":"1327579856"},"map_files_photo_id_array":[{"photo_id":"1327579854","filename":"file2"},{"photo_id":"1327579852","filename":"file1"},{"photo_id":"1327579850","filename":"file0"},{"photo_id":"1327579856","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579854":["hashtag1","hashtag2"]},{"1327579856":["hashtag1","hashtag2"]},{"1327579850":["hashtag1","hashtag2"]},{"1327579852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579854, 1327579856, 1327579850, 1327579852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.804717779159546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:45:02.688866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:45:21.940855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/44/image_09012025_03_44_02_381190_0003.jpg', '/home/pi/Desktop/images/09012025/03/45/image_09012025_03_45_02_862663_0000.jpg', '/home/pi/Desktop/images/09012025/03/45/image_09012025_03_45_02_862663_0001.jpg', '/home/pi/Desktop/images/09012025/03/45/image_09012025_03_45_02_862663_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/44/image_09012025_03_44_02_381190_0003.jpg
/home/pi/Desktop/images/09012025/03/45/image_09012025_03_45_02_862663_0000.jpg
/home/pi/Desktop/images/09012025/03/45/image_09012025_03_45_02_862663_0001.jpg
/home/pi/Desktop/images/09012025/03/45/image_09012025_03_45_02_862663_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579871","1327579895","1327579874","1327579897"],"photo_ids_order":["1327579871","1327579874","1327579895","1327579897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3a1b20434e6d73c46de3bebaa9f174c8.jpg","text":"TemporaryFile(/tmp/multipartBody5507205388458002792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390792247,"filename":"image_09012025_03_44_02_381190_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b684329832423a3717ebae53a79f370f.jpg","text":"TemporaryFile(/tmp/multipartBody3208046772524320670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390792247,"filename":"image_09012025_03_45_02_862663_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/938818cdb009517bf14836cf38a6974e.jpg","text":"TemporaryFile(/tmp/multipartBody3636097282967915258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390792247,"filename":"image_09012025_03_45_02_862663_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b9250ade04135249c2e621652667ffce.jpg","text":"TemporaryFile(/tmp/multipartBody2786568062219463794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390792247,"filename":"image_09012025_03_45_02_862663_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579895","file1":"1327579874","file0":"1327579871","file3":"1327579897"},"map_files_photo_id_array":[{"photo_id":"1327579895","filename":"file2"},{"photo_id":"1327579874","filename":"file1"},{"photo_id":"1327579871","filename":"file0"},{"photo_id":"1327579897","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579871":["hashtag1","hashtag2"]},{"1327579895":["hashtag1","hashtag2"]},{"1327579874":["hashtag1","hashtag2"]},{"1327579897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579871, 1327579895, 1327579874, 1327579897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.07102632522583 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:46:22.581378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/45/image_09012025_03_45_02_862663_0003.jpg', '/home/pi/Desktop/images/09012025/03/46/image_09012025_03_46_02_346465_0000.jpg', '/home/pi/Desktop/images/09012025/03/46/image_09012025_03_46_02_346465_0001.jpg', '/home/pi/Desktop/images/09012025/03/46/image_09012025_03_46_02_346465_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/45/image_09012025_03_45_02_862663_0003.jpg
/home/pi/Desktop/images/09012025/03/46/image_09012025_03_46_02_346465_0000.jpg
/home/pi/Desktop/images/09012025/03/46/image_09012025_03_46_02_346465_0001.jpg
/home/pi/Desktop/images/09012025/03/46/image_09012025_03_46_02_346465_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579944","1327579940","1327579946","1327579948"],"photo_ids_order":["1327579940","1327579944","1327579946","1327579948"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2b2886b8197713477ec7f5c651ecb889.jpg","text":"TemporaryFile(/tmp/multipartBody166322426592792545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390853063,"filename":"image_09012025_03_46_02_346465_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a7f8beb27f881c6a33e5f6c4021e71d3.jpg","text":"TemporaryFile(/tmp/multipartBody2013273307274224529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390853063,"filename":"image_09012025_03_45_02_862663_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e1a84d133542e34b220ea385547f1b78.jpg","text":"TemporaryFile(/tmp/multipartBody5435718182357347419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390853063,"filename":"image_09012025_03_46_02_346465_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/30e3d4e057750f16fd484dd6dc524e6a.jpg","text":"TemporaryFile(/tmp/multipartBody7452982711502109657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390853063,"filename":"image_09012025_03_46_02_346465_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579946","file1":"1327579944","file0":"1327579940","file3":"1327579948"},"map_files_photo_id_array":[{"photo_id":"1327579946","filename":"file2"},{"photo_id":"1327579944","filename":"file1"},{"photo_id":"1327579940","filename":"file0"},{"photo_id":"1327579948","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579944":["hashtag1","hashtag2"]},{"1327579940":["hashtag1","hashtag2"]},{"1327579946":["hashtag1","hashtag2"]},{"1327579948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579944, 1327579940, 1327579946, 1327579948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.43562841415405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:47:22.061581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/46/image_09012025_03_46_02_346465_0003.jpg', '/home/pi/Desktop/images/09012025/03/47/image_09012025_03_47_02_957923_0000.jpg', '/home/pi/Desktop/images/09012025/03/47/image_09012025_03_47_02_957923_0001.jpg', '/home/pi/Desktop/images/09012025/03/47/image_09012025_03_47_02_957923_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/46/image_09012025_03_46_02_346465_0003.jpg
/home/pi/Desktop/images/09012025/03/47/image_09012025_03_47_02_957923_0000.jpg
/home/pi/Desktop/images/09012025/03/47/image_09012025_03_47_02_957923_0001.jpg
/home/pi/Desktop/images/09012025/03/47/image_09012025_03_47_02_957923_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579959","1327579953","1327579955","1327579957"],"photo_ids_order":["1327579953","1327579955","1327579957","1327579959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8f46791e82e830c31e753069cbd7beef.jpg","text":"TemporaryFile(/tmp/multipartBody6423757610669300444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390912496,"filename":"image_09012025_03_47_02_957923_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1b79894e9b97ba5ec4ac2f849da48fdd.jpg","text":"TemporaryFile(/tmp/multipartBody6484967417446132419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390912496,"filename":"image_09012025_03_46_02_346465_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/db3dcd49f06f7205731a387f5bed08e5.jpg","text":"TemporaryFile(/tmp/multipartBody413405052984256378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390912496,"filename":"image_09012025_03_47_02_957923_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/47b78263f950836be50d3c9d9219b888.jpg","text":"TemporaryFile(/tmp/multipartBody7449451470493846728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390912496,"filename":"image_09012025_03_47_02_957923_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579957","file1":"1327579955","file0":"1327579953","file3":"1327579959"},"map_files_photo_id_array":[{"photo_id":"1327579957","filename":"file2"},{"photo_id":"1327579955","filename":"file1"},{"photo_id":"1327579953","filename":"file0"},{"photo_id":"1327579959","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579959":["hashtag1","hashtag2"]},{"1327579953":["hashtag1","hashtag2"]},{"1327579955":["hashtag1","hashtag2"]},{"1327579957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579959, 1327579953, 1327579955, 1327579957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.53928089141846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:48:22.731726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/47/image_09012025_03_47_02_957923_0003.jpg', '/home/pi/Desktop/images/09012025/03/48/image_09012025_03_48_02_531819_0000.jpg', '/home/pi/Desktop/images/09012025/03/48/image_09012025_03_48_02_531819_0001.jpg', '/home/pi/Desktop/images/09012025/03/48/image_09012025_03_48_02_531819_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/47/image_09012025_03_47_02_957923_0003.jpg
/home/pi/Desktop/images/09012025/03/48/image_09012025_03_48_02_531819_0000.jpg
/home/pi/Desktop/images/09012025/03/48/image_09012025_03_48_02_531819_0001.jpg
/home/pi/Desktop/images/09012025/03/48/image_09012025_03_48_02_531819_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579965","1327579970","1327579973","1327579967"],"photo_ids_order":["1327579965","1327579967","1327579970","1327579973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/84987fe2800fb4e062d2ef9937b46f2e.jpg","text":"TemporaryFile(/tmp/multipartBody437795114738796305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390973033,"filename":"image_09012025_03_47_02_957923_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/34fda15b5576ca057928adcba7a1919a.jpg","text":"TemporaryFile(/tmp/multipartBody6012960299777757765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390973033,"filename":"image_09012025_03_48_02_531819_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/963d25ecc768b303050e53835e77117f.jpg","text":"TemporaryFile(/tmp/multipartBody2464729267693334924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390973033,"filename":"image_09012025_03_48_02_531819_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/20c537051d86f192a245bee8d841296d.jpg","text":"TemporaryFile(/tmp/multipartBody6533886456736201606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736390973033,"filename":"image_09012025_03_48_02_531819_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579970","file1":"1327579967","file0":"1327579965","file3":"1327579973"},"map_files_photo_id_array":[{"photo_id":"1327579970","filename":"file2"},{"photo_id":"1327579967","filename":"file1"},{"photo_id":"1327579965","filename":"file0"},{"photo_id":"1327579973","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579965":["hashtag1","hashtag2"]},{"1327579970":["hashtag1","hashtag2"]},{"1327579973":["hashtag1","hashtag2"]},{"1327579967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579965, 1327579970, 1327579973, 1327579967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.300402879714966 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:49:22.159164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/48/image_09012025_03_48_02_531819_0003.jpg', '/home/pi/Desktop/images/09012025/03/49/image_09012025_03_49_03_100037_0000.jpg', '/home/pi/Desktop/images/09012025/03/49/image_09012025_03_49_03_100037_0001.jpg', '/home/pi/Desktop/images/09012025/03/49/image_09012025_03_49_03_100037_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/48/image_09012025_03_48_02_531819_0003.jpg
/home/pi/Desktop/images/09012025/03/49/image_09012025_03_49_03_100037_0000.jpg
/home/pi/Desktop/images/09012025/03/49/image_09012025_03_49_03_100037_0001.jpg
/home/pi/Desktop/images/09012025/03/49/image_09012025_03_49_03_100037_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327579986","1327579988","1327579982","1327579984"],"photo_ids_order":["1327579982","1327579984","1327579986","1327579988"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/812012512c9b7668bc3f2a4b0ba02c1e.jpg","text":"TemporaryFile(/tmp/multipartBody2666128969661773413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391032476,"filename":"image_09012025_03_49_03_100037_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/329f922d113574bfb6067df25182578a.jpg","text":"TemporaryFile(/tmp/multipartBody5832699144161670118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391032476,"filename":"image_09012025_03_49_03_100037_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/60968328c44f60dae0371a06f2b42b53.jpg","text":"TemporaryFile(/tmp/multipartBody5656652853150166173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391032476,"filename":"image_09012025_03_48_02_531819_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8045eee004c8e365cb14c89fa7b8a37f.jpg","text":"TemporaryFile(/tmp/multipartBody2878910397845817561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391032476,"filename":"image_09012025_03_49_03_100037_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327579986","file1":"1327579984","file0":"1327579982","file3":"1327579988"},"map_files_photo_id_array":[{"photo_id":"1327579986","filename":"file2"},{"photo_id":"1327579984","filename":"file1"},{"photo_id":"1327579982","filename":"file0"},{"photo_id":"1327579988","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327579986":["hashtag1","hashtag2"]},{"1327579988":["hashtag1","hashtag2"]},{"1327579982":["hashtag1","hashtag2"]},{"1327579984":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327579986, 1327579988, 1327579982, 1327579984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.701831102371216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:50:03.120189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:50:22.659259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/49/image_09012025_03_49_03_100037_0003.jpg', '/home/pi/Desktop/images/09012025/03/50/image_09012025_03_50_02_616467_0000.jpg', '/home/pi/Desktop/images/09012025/03/50/image_09012025_03_50_02_616467_0001.jpg', '/home/pi/Desktop/images/09012025/03/50/image_09012025_03_50_02_616467_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/49/image_09012025_03_49_03_100037_0003.jpg
/home/pi/Desktop/images/09012025/03/50/image_09012025_03_50_02_616467_0000.jpg
/home/pi/Desktop/images/09012025/03/50/image_09012025_03_50_02_616467_0001.jpg
/home/pi/Desktop/images/09012025/03/50/image_09012025_03_50_02_616467_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327580002","1327580005","1327579996","1327579999"],"photo_ids_order":["1327579996","1327579999","1327580002","1327580005"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2549530e15a6592421f99630c17e5e4c.jpg","text":"TemporaryFile(/tmp/multipartBody6828651017632991190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391092943,"filename":"image_09012025_03_50_02_616467_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/50b92adf314753e0ab5c31b49c1181c7.jpg","text":"TemporaryFile(/tmp/multipartBody1225692741459944337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391092943,"filename":"image_09012025_03_50_02_616467_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8fae5e05d2bd64c086c3e8d310e41496.jpg","text":"TemporaryFile(/tmp/multipartBody5399026198467983757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391092943,"filename":"image_09012025_03_49_03_100037_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/86b443f15ab5f737e570fd9f4b584371.jpg","text":"TemporaryFile(/tmp/multipartBody1734130117462192175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391092943,"filename":"image_09012025_03_50_02_616467_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327580002","file1":"1327579999","file0":"1327579996","file3":"1327580005"},"map_files_photo_id_array":[{"photo_id":"1327580002","filename":"file2"},{"photo_id":"1327579999","filename":"file1"},{"photo_id":"1327579996","filename":"file0"},{"photo_id":"1327580005","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327580002":["hashtag1","hashtag2"]},{"1327580005":["hashtag1","hashtag2"]},{"1327579996":["hashtag1","hashtag2"]},{"1327579999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327580002, 1327580005, 1327579996, 1327579999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66894793510437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:51:02.773180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:51:22.100178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/50/image_09012025_03_50_02_616467_0003.jpg', '/home/pi/Desktop/images/09012025/03/51/image_09012025_03_51_03_054893_0000.jpg', '/home/pi/Desktop/images/09012025/03/51/image_09012025_03_51_03_054893_0001.jpg', '/home/pi/Desktop/images/09012025/03/51/image_09012025_03_51_03_054893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/50/image_09012025_03_50_02_616467_0003.jpg
/home/pi/Desktop/images/09012025/03/51/image_09012025_03_51_03_054893_0000.jpg
/home/pi/Desktop/images/09012025/03/51/image_09012025_03_51_03_054893_0001.jpg
/home/pi/Desktop/images/09012025/03/51/image_09012025_03_51_03_054893_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327580021","1327580018","1327580012","1327580015"],"photo_ids_order":["1327580012","1327580015","1327580018","1327580021"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/17128986476632dd14b2083b5c84ab98.jpg","text":"TemporaryFile(/tmp/multipartBody1675067788481413908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391152514,"filename":"image_09012025_03_51_03_054893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/26b2e6844fd4deba49eeb40665b9cd2f.jpg","text":"TemporaryFile(/tmp/multipartBody3628318644760724190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391152514,"filename":"image_09012025_03_51_03_054893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/982adfbcba006be9691c80a22a746e7c.jpg","text":"TemporaryFile(/tmp/multipartBody334950604492523628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391152514,"filename":"image_09012025_03_50_02_616467_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/859ca50a1228d37eeadb9b131429497a.jpg","text":"TemporaryFile(/tmp/multipartBody8581631815601560908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391152514,"filename":"image_09012025_03_51_03_054893_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327580018","file1":"1327580015","file0":"1327580012","file3":"1327580021"},"map_files_photo_id_array":[{"photo_id":"1327580018","filename":"file2"},{"photo_id":"1327580015","filename":"file1"},{"photo_id":"1327580012","filename":"file0"},{"photo_id":"1327580021","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327580021":["hashtag1","hashtag2"]},{"1327580018":["hashtag1","hashtag2"]},{"1327580012":["hashtag1","hashtag2"]},{"1327580015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327580021, 1327580018, 1327580012, 1327580015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.74584722518921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:52:21.772421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/51/image_09012025_03_51_03_054893_0003.jpg', '/home/pi/Desktop/images/09012025/03/52/image_09012025_03_52_02_465787_0000.jpg', '/home/pi/Desktop/images/09012025/03/52/image_09012025_03_52_02_465787_0001.jpg', '/home/pi/Desktop/images/09012025/03/52/image_09012025_03_52_02_465787_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/51/image_09012025_03_51_03_054893_0003.jpg
/home/pi/Desktop/images/09012025/03/52/image_09012025_03_52_02_465787_0000.jpg
/home/pi/Desktop/images/09012025/03/52/image_09012025_03_52_02_465787_0001.jpg
/home/pi/Desktop/images/09012025/03/52/image_09012025_03_52_02_465787_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327580071","1327580074","1327580058","1327580066"],"photo_ids_order":["1327580058","1327580066","1327580071","1327580074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/78959509fe18ca99aea103bbe9ab9232.jpg","text":"TemporaryFile(/tmp/multipartBody6175084703924529503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391212168,"filename":"image_09012025_03_52_02_465787_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/36037c0ecf57ded51733140bb9d84e4c.jpg","text":"TemporaryFile(/tmp/multipartBody7056794593429003128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391212168,"filename":"image_09012025_03_52_02_465787_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/549405468b92616a16f71ed1554f0321.jpg","text":"TemporaryFile(/tmp/multipartBody6015558678452972631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391212168,"filename":"image_09012025_03_51_03_054893_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fdef728ced5972dd912814475a4a8f5e.jpg","text":"TemporaryFile(/tmp/multipartBody6323377582742451197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391212168,"filename":"image_09012025_03_52_02_465787_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327580071","file1":"1327580066","file0":"1327580058","file3":"1327580074"},"map_files_photo_id_array":[{"photo_id":"1327580071","filename":"file2"},{"photo_id":"1327580066","filename":"file1"},{"photo_id":"1327580058","filename":"file0"},{"photo_id":"1327580074","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327580071":["hashtag1","hashtag2"]},{"1327580074":["hashtag1","hashtag2"]},{"1327580058":["hashtag1","hashtag2"]},{"1327580066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327580071, 1327580074, 1327580058, 1327580066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.66696262359619 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:53:02.932039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:53:22.189555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/52/image_09012025_03_52_02_465787_0003.jpg', '/home/pi/Desktop/images/09012025/03/53/image_09012025_03_53_02_136308_0000.jpg', '/home/pi/Desktop/images/09012025/03/53/image_09012025_03_53_02_136308_0001.jpg', '/home/pi/Desktop/images/09012025/03/53/image_09012025_03_53_02_136308_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/52/image_09012025_03_52_02_465787_0003.jpg
/home/pi/Desktop/images/09012025/03/53/image_09012025_03_53_02_136308_0000.jpg
/home/pi/Desktop/images/09012025/03/53/image_09012025_03_53_02_136308_0001.jpg
/home/pi/Desktop/images/09012025/03/53/image_09012025_03_53_02_136308_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327580106","1327580109","1327580100","1327580103"],"photo_ids_order":["1327580100","1327580103","1327580106","1327580109"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f0e979c28cf6495478083f63a4c3aee7.jpg","text":"TemporaryFile(/tmp/multipartBody5978072535172940385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391272525,"filename":"image_09012025_03_53_02_136308_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/11ec8118f5a1088b0e1272e2a1f7cc44.jpg","text":"TemporaryFile(/tmp/multipartBody4088533212485917463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391272525,"filename":"image_09012025_03_53_02_136308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0801104faa5e9a4e186583163f8493e0.jpg","text":"TemporaryFile(/tmp/multipartBody5013339004638527534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391272525,"filename":"image_09012025_03_52_02_465787_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e0f33631bfebda9f2d90ed33840c72d9.jpg","text":"TemporaryFile(/tmp/multipartBody2029326526907588808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391272525,"filename":"image_09012025_03_53_02_136308_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327580106","file1":"1327580103","file0":"1327580100","file3":"1327580109"},"map_files_photo_id_array":[{"photo_id":"1327580106","filename":"file2"},{"photo_id":"1327580103","filename":"file1"},{"photo_id":"1327580100","filename":"file0"},{"photo_id":"1327580109","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327580106":["hashtag1","hashtag2"]},{"1327580109":["hashtag1","hashtag2"]},{"1327580100":["hashtag1","hashtag2"]},{"1327580103":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327580106, 1327580109, 1327580100, 1327580103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.58462333679199 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:54:02.233070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:54:21.807814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/53/image_09012025_03_53_02_136308_0003.jpg', '/home/pi/Desktop/images/09012025/03/54/image_09012025_03_54_02_628876_0000.jpg', '/home/pi/Desktop/images/09012025/03/54/image_09012025_03_54_02_628876_0001.jpg', '/home/pi/Desktop/images/09012025/03/54/image_09012025_03_54_02_628876_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/53/image_09012025_03_53_02_136308_0003.jpg
/home/pi/Desktop/images/09012025/03/54/image_09012025_03_54_02_628876_0000.jpg
/home/pi/Desktop/images/09012025/03/54/image_09012025_03_54_02_628876_0001.jpg
/home/pi/Desktop/images/09012025/03/54/image_09012025_03_54_02_628876_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327580116","1327580119","1327580127","1327580123"],"photo_ids_order":["1327580116","1327580119","1327580123","1327580127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/76549db47388df0e2b17ac402bb7d216.jpg","text":"TemporaryFile(/tmp/multipartBody1661835154011709752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391332173,"filename":"image_09012025_03_53_02_136308_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3a5616911b55bc30f805929d395f9fea.jpg","text":"TemporaryFile(/tmp/multipartBody3303757219309912310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391332173,"filename":"image_09012025_03_54_02_628876_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d477ab22378205019885db7e569dbc5e.jpg","text":"TemporaryFile(/tmp/multipartBody7271044314980855840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391332173,"filename":"image_09012025_03_54_02_628876_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8018eedfee61d1c710ff2874ea8de3ed.jpg","text":"TemporaryFile(/tmp/multipartBody5920613367694974144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391332173,"filename":"image_09012025_03_54_02_628876_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327580123","file1":"1327580119","file0":"1327580116","file3":"1327580127"},"map_files_photo_id_array":[{"photo_id":"1327580123","filename":"file2"},{"photo_id":"1327580119","filename":"file1"},{"photo_id":"1327580116","filename":"file0"},{"photo_id":"1327580127","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327580116":["hashtag1","hashtag2"]},{"1327580119":["hashtag1","hashtag2"]},{"1327580127":["hashtag1","hashtag2"]},{"1327580123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327580116, 1327580119, 1327580127, 1327580123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.38538074493408 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:55:02.814714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:55:22.325624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/54/image_09012025_03_54_02_628876_0003.jpg', '/home/pi/Desktop/images/09012025/03/55/image_09012025_03_55_02_206997_0000.jpg', '/home/pi/Desktop/images/09012025/03/55/image_09012025_03_55_02_206997_0001.jpg', '/home/pi/Desktop/images/09012025/03/55/image_09012025_03_55_02_206997_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/54/image_09012025_03_54_02_628876_0003.jpg
/home/pi/Desktop/images/09012025/03/55/image_09012025_03_55_02_206997_0000.jpg
/home/pi/Desktop/images/09012025/03/55/image_09012025_03_55_02_206997_0001.jpg
/home/pi/Desktop/images/09012025/03/55/image_09012025_03_55_02_206997_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327580140","1327580136","1327580147","1327580144"],"photo_ids_order":["1327580136","1327580140","1327580144","1327580147"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/01e23712395ca1c68192c6fb80a0f797.jpg","text":"TemporaryFile(/tmp/multipartBody709359270977880617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391392738,"filename":"image_09012025_03_55_02_206997_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/264dca5ca04ba8ce9ce3194cab1918cb.jpg","text":"TemporaryFile(/tmp/multipartBody8156375246992193125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391392738,"filename":"image_09012025_03_54_02_628876_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/120c021345b858d15b236da25e5fa7b5.jpg","text":"TemporaryFile(/tmp/multipartBody1204578247583121491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391392738,"filename":"image_09012025_03_55_02_206997_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8d35796df5595bf98ac4a7942fa02c51.jpg","text":"TemporaryFile(/tmp/multipartBody5799249536478109880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391392738,"filename":"image_09012025_03_55_02_206997_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327580144","file1":"1327580140","file0":"1327580136","file3":"1327580147"},"map_files_photo_id_array":[{"photo_id":"1327580144","filename":"file2"},{"photo_id":"1327580140","filename":"file1"},{"photo_id":"1327580136","filename":"file0"},{"photo_id":"1327580147","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327580140":["hashtag1","hashtag2"]},{"1327580136":["hashtag1","hashtag2"]},{"1327580147":["hashtag1","hashtag2"]},{"1327580144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327580140, 1327580136, 1327580147, 1327580144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.45824074745178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:56:02.547833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 03:56:22.045976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/55/image_09012025_03_55_02_206997_0003.jpg', '/home/pi/Desktop/images/09012025/03/56/image_09012025_03_56_02_749727_0000.jpg', '/home/pi/Desktop/images/09012025/03/56/image_09012025_03_56_02_749727_0001.jpg', '/home/pi/Desktop/images/09012025/03/56/image_09012025_03_56_02_749727_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/55/image_09012025_03_55_02_206997_0003.jpg
/home/pi/Desktop/images/09012025/03/56/image_09012025_03_56_02_749727_0000.jpg
/home/pi/Desktop/images/09012025/03/56/image_09012025_03_56_02_749727_0001.jpg
/home/pi/Desktop/images/09012025/03/56/image_09012025_03_56_02_749727_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.836840867996216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:57:03.324781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/55/image_09012025_03_55_02_206997_0003.jpg', '/home/pi/Desktop/images/09012025/03/56/image_09012025_03_56_02_749727_0000.jpg', '/home/pi/Desktop/images/09012025/03/56/image_09012025_03_56_02_749727_0001.jpg', '/home/pi/Desktop/images/09012025/03/56/image_09012025_03_56_02_749727_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/55/image_09012025_03_55_02_206997_0003.jpg
/home/pi/Desktop/images/09012025/03/56/image_09012025_03_56_02_749727_0000.jpg
/home/pi/Desktop/images/09012025/03/56/image_09012025_03_56_02_749727_0001.jpg
/home/pi/Desktop/images/09012025/03/56/image_09012025_03_56_02_749727_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327580199","1327580203","1327580201","1327580197"],"photo_ids_order":["1327580197","1327580199","1327580201","1327580203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9703a88afbd0f343b1df9cee79575049.jpg","text":"TemporaryFile(/tmp/multipartBody7430110579043319920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391493646,"filename":"image_09012025_03_56_02_749727_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/28757575ea0de1dfc2767f2058c8d41a.jpg","text":"TemporaryFile(/tmp/multipartBody2026822961189368960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391493646,"filename":"image_09012025_03_56_02_749727_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/827cdad647970981e13fd4f239c75202.jpg","text":"TemporaryFile(/tmp/multipartBody3454437493215435465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391493646,"filename":"image_09012025_03_56_02_749727_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/30a66ebce6e8530e86ecee9f53d3e291.jpg","text":"TemporaryFile(/tmp/multipartBody8335602002514437539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391493646,"filename":"image_09012025_03_55_02_206997_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327580201","file1":"1327580199","file0":"1327580197","file3":"1327580203"},"map_files_photo_id_array":[{"photo_id":"1327580201","filename":"file2"},{"photo_id":"1327580199","filename":"file1"},{"photo_id":"1327580197","filename":"file0"},{"photo_id":"1327580203","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327580199":["hashtag1","hashtag2"]},{"1327580203":["hashtag1","hashtag2"]},{"1327580201":["hashtag1","hashtag2"]},{"1327580197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327580199, 1327580203, 1327580201, 1327580197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.25065875053406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 03:59:03.106420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/56/image_09012025_03_56_02_749727_0003.jpg', '/home/pi/Desktop/images/09012025/03/57/image_09012025_03_57_02_513475_0000.jpg', '/home/pi/Desktop/images/09012025/03/57/image_09012025_03_57_02_513475_0001.jpg', '/home/pi/Desktop/images/09012025/03/57/image_09012025_03_57_02_513475_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/56/image_09012025_03_56_02_749727_0003.jpg
/home/pi/Desktop/images/09012025/03/57/image_09012025_03_57_02_513475_0000.jpg
/home/pi/Desktop/images/09012025/03/57/image_09012025_03_57_02_513475_0001.jpg
/home/pi/Desktop/images/09012025/03/57/image_09012025_03_57_02_513475_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327580383","1327580377","1327580370","1327580387"],"photo_ids_order":["1327580370","1327580377","1327580383","1327580387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5a71c49b054e52f4ddd5040c82e83835.jpg","text":"TemporaryFile(/tmp/multipartBody6008162476567799720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391613557,"filename":"image_09012025_03_57_02_513475_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/84665ad6246f194632b069f6270e7123.jpg","text":"TemporaryFile(/tmp/multipartBody302563459182698994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391613557,"filename":"image_09012025_03_57_02_513475_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/081770ad39d069894da4c395c1dab403.jpg","text":"TemporaryFile(/tmp/multipartBody7292858822580807655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391613557,"filename":"image_09012025_03_56_02_749727_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9513b64cc373fed7da38eb918e4e8655.jpg","text":"TemporaryFile(/tmp/multipartBody2643889371676620170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391613557,"filename":"image_09012025_03_57_02_513475_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327580383","file1":"1327580377","file0":"1327580370","file3":"1327580387"},"map_files_photo_id_array":[{"photo_id":"1327580383","filename":"file2"},{"photo_id":"1327580377","filename":"file1"},{"photo_id":"1327580370","filename":"file0"},{"photo_id":"1327580387","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327580383":["hashtag1","hashtag2"]},{"1327580377":["hashtag1","hashtag2"]},{"1327580370":["hashtag1","hashtag2"]},{"1327580387":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327580383, 1327580377, 1327580370, 1327580387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.39261078834534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:00:02.542582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/57/image_09012025_03_57_02_513475_0003.jpg', '/home/pi/Desktop/images/09012025/03/58/image_09012025_03_58_03_055646_0000.jpg', '/home/pi/Desktop/images/09012025/03/58/image_09012025_03_58_03_055646_0001.jpg', '/home/pi/Desktop/images/09012025/03/58/image_09012025_03_58_03_055646_0002.jpg', '/home/pi/Desktop/images/09012025/03/58/image_09012025_03_58_03_055646_0003.jpg', '/home/pi/Desktop/images/09012025/03/59/image_09012025_03_59_02_689992_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/57/image_09012025_03_57_02_513475_0003.jpg
/home/pi/Desktop/images/09012025/03/58/image_09012025_03_58_03_055646_0000.jpg
/home/pi/Desktop/images/09012025/03/58/image_09012025_03_58_03_055646_0001.jpg
/home/pi/Desktop/images/09012025/03/58/image_09012025_03_58_03_055646_0002.jpg
/home/pi/Desktop/images/09012025/03/58/image_09012025_03_58_03_055646_0003.jpg
/home/pi/Desktop/images/09012025/03/59/image_09012025_03_59_02_689992_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327580419","1327580416","1327580403","1327580412","1327580409","1327580414"],"photo_ids_order":["1327580403","1327580409","1327580412","1327580414","1327580416","1327580419"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7d7aaa678f0bf2a7efbebe5c1660af62.jpg","text":"TemporaryFile(/tmp/multipartBody2085345561190542254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391677816,"filename":"image_09012025_03_59_02_689992_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/41339eb9ab40acee6c156d23f50af760.jpg","text":"TemporaryFile(/tmp/multipartBody2159498540009378668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391677816,"filename":"image_09012025_03_58_03_055646_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f1e54f1bb5c9283c50eb0d6c8a6eefbd.jpg","text":"TemporaryFile(/tmp/multipartBody1644665568536083247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391677816,"filename":"image_09012025_03_57_02_513475_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bd0a8f351babdb09a4d6db330c315094.jpg","text":"TemporaryFile(/tmp/multipartBody6943680055933881547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391677816,"filename":"image_09012025_03_58_03_055646_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/71278a216bc71809508c76b003402e80.jpg","text":"TemporaryFile(/tmp/multipartBody4583016236785308978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391677816,"filename":"image_09012025_03_58_03_055646_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/61bb878b3e526997016c159bd6bf91b7.jpg","text":"TemporaryFile(/tmp/multipartBody5905837772822266678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391677816,"filename":"image_09012025_03_58_03_055646_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327580412","file1":"1327580409","file0":"1327580403","file4":"1327580416","file5":"1327580419","file3":"1327580414"},"map_files_photo_id_array":[{"photo_id":"1327580419","filename":"file5"},{"photo_id":"1327580412","filename":"file2"},{"photo_id":"1327580416","filename":"file4"},{"photo_id":"1327580409","filename":"file1"},{"photo_id":"1327580403","filename":"file0"},{"photo_id":"1327580414","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327580419":["hashtag1","hashtag2"]},{"1327580416":["hashtag1","hashtag2"]},{"1327580403":["hashtag1","hashtag2"]},{"1327580412":["hashtag1","hashtag2"]},{"1327580409":["hashtag1","hashtag2"]},{"1327580414":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327580419, 1327580416, 1327580403, 1327580412, 1327580409, 1327580414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.25993347167969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:01:03.164336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/03/59/image_09012025_03_59_02_689992_0001.jpg', '/home/pi/Desktop/images/09012025/03/59/image_09012025_03_59_02_689992_0002.jpg', '/home/pi/Desktop/images/09012025/03/59/image_09012025_03_59_02_689992_0003.jpg', '/home/pi/Desktop/images/09012025/04/00/image_09012025_04_00_02_881776_0000.jpg', '/home/pi/Desktop/images/09012025/04/00/image_09012025_04_00_02_881776_0001.jpg', '/home/pi/Desktop/images/09012025/04/00/image_09012025_04_00_02_881776_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/03/59/image_09012025_03_59_02_689992_0001.jpg
/home/pi/Desktop/images/09012025/03/59/image_09012025_03_59_02_689992_0002.jpg
/home/pi/Desktop/images/09012025/03/59/image_09012025_03_59_02_689992_0003.jpg
/home/pi/Desktop/images/09012025/04/00/image_09012025_04_00_02_881776_0000.jpg
/home/pi/Desktop/images/09012025/04/00/image_09012025_04_00_02_881776_0001.jpg
/home/pi/Desktop/images/09012025/04/00/image_09012025_04_00_02_881776_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327580452","1327580445","1327580438","1327580447","1327580441","1327580435"],"photo_ids_order":["1327580435","1327580438","1327580441","1327580445","1327580447","1327580452"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e0159046e1ac4bc6b688531d11e798eb.jpg","text":"TemporaryFile(/tmp/multipartBody4340257414052525378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391738727,"filename":"image_09012025_04_00_02_881776_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6c28571417809bb9cc9376ecc79fe91c.jpg","text":"TemporaryFile(/tmp/multipartBody5299586201924251382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391738727,"filename":"image_09012025_04_00_02_881776_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/478dbad6e74b6430bd25c85db7fc70bf.jpg","text":"TemporaryFile(/tmp/multipartBody7448088285541870103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391738727,"filename":"image_09012025_03_59_02_689992_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1a93350c9b1284d7a097dde0d544a344.jpg","text":"TemporaryFile(/tmp/multipartBody5968646124561564264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391738727,"filename":"image_09012025_04_00_02_881776_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/469a499dd7142176b21cce15f8754c8c.jpg","text":"TemporaryFile(/tmp/multipartBody2504978460410102627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391738727,"filename":"image_09012025_03_59_02_689992_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8e86848f998053434d63008492f9e438.jpg","text":"TemporaryFile(/tmp/multipartBody459692579486832380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391738727,"filename":"image_09012025_03_59_02_689992_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327580441","file1":"1327580438","file0":"1327580435","file4":"1327580447","file5":"1327580452","file3":"1327580445"},"map_files_photo_id_array":[{"photo_id":"1327580452","filename":"file5"},{"photo_id":"1327580441","filename":"file2"},{"photo_id":"1327580447","filename":"file4"},{"photo_id":"1327580438","filename":"file1"},{"photo_id":"1327580435","filename":"file0"},{"photo_id":"1327580445","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327580452":["hashtag1","hashtag2"]},{"1327580445":["hashtag1","hashtag2"]},{"1327580438":["hashtag1","hashtag2"]},{"1327580447":["hashtag1","hashtag2"]},{"1327580441":["hashtag1","hashtag2"]},{"1327580435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327580452, 1327580445, 1327580438, 1327580447, 1327580441, 1327580435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.40938401222229 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:02:02.545600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/00/image_09012025_04_00_02_881776_0003.jpg', '/home/pi/Desktop/images/09012025/04/01/image_09012025_04_01_02_378923_0000.jpg', '/home/pi/Desktop/images/09012025/04/01/image_09012025_04_01_02_378923_0001.jpg', '/home/pi/Desktop/images/09012025/04/01/image_09012025_04_01_02_378923_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/00/image_09012025_04_00_02_881776_0003.jpg
/home/pi/Desktop/images/09012025/04/01/image_09012025_04_01_02_378923_0000.jpg
/home/pi/Desktop/images/09012025/04/01/image_09012025_04_01_02_378923_0001.jpg
/home/pi/Desktop/images/09012025/04/01/image_09012025_04_01_02_378923_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.078741788864136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:02:22.093769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/00/image_09012025_04_00_02_881776_0003.jpg', '/home/pi/Desktop/images/09012025/04/01/image_09012025_04_01_02_378923_0000.jpg', '/home/pi/Desktop/images/09012025/04/01/image_09012025_04_01_02_378923_0001.jpg', '/home/pi/Desktop/images/09012025/04/01/image_09012025_04_01_02_378923_0002.jpg', '/home/pi/Desktop/images/09012025/04/01/image_09012025_04_01_02_378923_0003.jpg', '/home/pi/Desktop/images/09012025/04/02/image_09012025_04_02_02_894990_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/00/image_09012025_04_00_02_881776_0003.jpg
/home/pi/Desktop/images/09012025/04/01/image_09012025_04_01_02_378923_0000.jpg
/home/pi/Desktop/images/09012025/04/01/image_09012025_04_01_02_378923_0001.jpg
/home/pi/Desktop/images/09012025/04/01/image_09012025_04_01_02_378923_0002.jpg
/home/pi/Desktop/images/09012025/04/01/image_09012025_04_01_02_378923_0003.jpg
/home/pi/Desktop/images/09012025/04/02/image_09012025_04_02_02_894990_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327580476","1327580521","1327580470","1327580499","1327580558","1327580473"],"photo_ids_order":["1327580470","1327580473","1327580476","1327580499","1327580521","1327580558"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/faddca7d3c4d5397b90fcefa229e4fe2.jpg","text":"TemporaryFile(/tmp/multipartBody2066794752624433899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391817406,"filename":"image_09012025_04_01_02_378923_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/46183e1ba47b65e1cf013a0f81d4b05a.jpg","text":"TemporaryFile(/tmp/multipartBody1715312699208635770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391817406,"filename":"image_09012025_04_01_02_378923_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a479439e1f84c61bca84f418cd94c983.jpg","text":"TemporaryFile(/tmp/multipartBody7587389936743652688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391817406,"filename":"image_09012025_04_00_02_881776_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/80b118d22b7ee1903e47b71531291c4c.jpg","text":"TemporaryFile(/tmp/multipartBody4597105476209317868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391817406,"filename":"image_09012025_04_01_02_378923_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/42907544813551d9ca4372c7aac4f2de.jpg","text":"TemporaryFile(/tmp/multipartBody4810542287597255292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391817406,"filename":"image_09012025_04_02_02_894990_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e8ff3a061f470792c06aec2d16caecbf.jpg","text":"TemporaryFile(/tmp/multipartBody3454694211123255891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391817406,"filename":"image_09012025_04_01_02_378923_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327580476","file1":"1327580473","file0":"1327580470","file4":"1327580521","file5":"1327580558","file3":"1327580499"},"map_files_photo_id_array":[{"photo_id":"1327580558","filename":"file5"},{"photo_id":"1327580476","filename":"file2"},{"photo_id":"1327580521","filename":"file4"},{"photo_id":"1327580473","filename":"file1"},{"photo_id":"1327580470","filename":"file0"},{"photo_id":"1327580499","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327580476":["hashtag1","hashtag2"]},{"1327580521":["hashtag1","hashtag2"]},{"1327580470":["hashtag1","hashtag2"]},{"1327580499":["hashtag1","hashtag2"]},{"1327580558":["hashtag1","hashtag2"]},{"1327580473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327580476, 1327580521, 1327580470, 1327580499, 1327580558, 1327580473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.479955196380615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:03:22.600958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/02/image_09012025_04_02_02_894990_0001.jpg', '/home/pi/Desktop/images/09012025/04/02/image_09012025_04_02_02_894990_0002.jpg', '/home/pi/Desktop/images/09012025/04/03/image_09012025_04_03_02_466125_0000.jpg', '/home/pi/Desktop/images/09012025/04/03/image_09012025_04_03_02_466125_0001.jpg', '/home/pi/Desktop/images/09012025/04/03/image_09012025_04_03_02_466125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/02/image_09012025_04_02_02_894990_0001.jpg
/home/pi/Desktop/images/09012025/04/02/image_09012025_04_02_02_894990_0002.jpg
/home/pi/Desktop/images/09012025/04/03/image_09012025_04_03_02_466125_0000.jpg
/home/pi/Desktop/images/09012025/04/03/image_09012025_04_03_02_466125_0001.jpg
/home/pi/Desktop/images/09012025/04/03/image_09012025_04_03_02_466125_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327580629","1327580626","1327580622","1327580619","1327580630"],"photo_ids_order":["1327580619","1327580622","1327580626","1327580629","1327580630"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9d26e3879b1936c6581b9ab32e1dca8f.jpg","text":"TemporaryFile(/tmp/multipartBody3532668838486543504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391875272,"filename":"image_09012025_04_03_02_466125_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/173b6a2ba198d514c34a907679627605.jpg","text":"TemporaryFile(/tmp/multipartBody973650258093506186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391875272,"filename":"image_09012025_04_03_02_466125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9d0ae828079798737bd6a951c99a2218.jpg","text":"TemporaryFile(/tmp/multipartBody1588083884679929740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391875272,"filename":"image_09012025_04_02_02_894990_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/34162e8f1f9158dd661e7b177086ac0c.jpg","text":"TemporaryFile(/tmp/multipartBody3440636796350957339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391875272,"filename":"image_09012025_04_02_02_894990_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0b527cf06f3c4bbe0b4efe39c7d6533f.jpg","text":"TemporaryFile(/tmp/multipartBody957932031089794814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391875272,"filename":"image_09012025_04_03_02_466125_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327580626","file1":"1327580622","file0":"1327580619","file4":"1327580630","file3":"1327580629"},"map_files_photo_id_array":[{"photo_id":"1327580626","filename":"file2"},{"photo_id":"1327580630","filename":"file4"},{"photo_id":"1327580622","filename":"file1"},{"photo_id":"1327580619","filename":"file0"},{"photo_id":"1327580629","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327580629":["hashtag1","hashtag2"]},{"1327580626":["hashtag1","hashtag2"]},{"1327580622":["hashtag1","hashtag2"]},{"1327580619":["hashtag1","hashtag2"]},{"1327580630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327580629, 1327580626, 1327580622, 1327580619, 1327580630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.50536561012268 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:04:22.172863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/03/image_09012025_04_03_02_466125_0003.jpg', '/home/pi/Desktop/images/09012025/04/04/image_09012025_04_04_03_006751_0000.jpg', '/home/pi/Desktop/images/09012025/04/04/image_09012025_04_04_03_006751_0001.jpg', '/home/pi/Desktop/images/09012025/04/04/image_09012025_04_04_03_006751_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/03/image_09012025_04_03_02_466125_0003.jpg
/home/pi/Desktop/images/09012025/04/04/image_09012025_04_04_03_006751_0000.jpg
/home/pi/Desktop/images/09012025/04/04/image_09012025_04_04_03_006751_0001.jpg
/home/pi/Desktop/images/09012025/04/04/image_09012025_04_04_03_006751_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327580647","1327580635","1327580643","1327580639"],"photo_ids_order":["1327580635","1327580639","1327580643","1327580647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d4c233f67998c9a58719fe14e991326b.jpg","text":"TemporaryFile(/tmp/multipartBody8111429592226310659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391932779,"filename":"image_09012025_04_04_03_006751_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cef2e382b4ccc5d28fa65cd360301ba8.jpg","text":"TemporaryFile(/tmp/multipartBody4131662490977815020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391932779,"filename":"image_09012025_04_03_02_466125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/56fe3dd619df56f717d2c25d51f438eb.jpg","text":"TemporaryFile(/tmp/multipartBody78605184585999164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391932779,"filename":"image_09012025_04_04_03_006751_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/31009ca26f026b71d0d02aa7f0ad3db0.jpg","text":"TemporaryFile(/tmp/multipartBody65059887769627574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391932779,"filename":"image_09012025_04_04_03_006751_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327580643","file1":"1327580639","file0":"1327580635","file3":"1327580647"},"map_files_photo_id_array":[{"photo_id":"1327580643","filename":"file2"},{"photo_id":"1327580639","filename":"file1"},{"photo_id":"1327580635","filename":"file0"},{"photo_id":"1327580647","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327580647":["hashtag1","hashtag2"]},{"1327580635":["hashtag1","hashtag2"]},{"1327580643":["hashtag1","hashtag2"]},{"1327580639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327580647, 1327580635, 1327580643, 1327580639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.3859589099884 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:05:22.668576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/04/image_09012025_04_04_03_006751_0003.jpg', '/home/pi/Desktop/images/09012025/04/05/image_09012025_04_05_02_503424_0000.jpg', '/home/pi/Desktop/images/09012025/04/05/image_09012025_04_05_02_503424_0001.jpg', '/home/pi/Desktop/images/09012025/04/05/image_09012025_04_05_02_503424_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/04/image_09012025_04_04_03_006751_0003.jpg
/home/pi/Desktop/images/09012025/04/05/image_09012025_04_05_02_503424_0000.jpg
/home/pi/Desktop/images/09012025/04/05/image_09012025_04_05_02_503424_0001.jpg
/home/pi/Desktop/images/09012025/04/05/image_09012025_04_05_02_503424_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327580656","1327580661","1327580673","1327580663"],"photo_ids_order":["1327580656","1327580661","1327580663","1327580673"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4ec4f03ca20c206f997ec5fda5fa9a3d.jpg","text":"TemporaryFile(/tmp/multipartBody2295558558601159357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391993078,"filename":"image_09012025_04_04_03_006751_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8475ed10a2eaeddb4e58ce696b9ba142.jpg","text":"TemporaryFile(/tmp/multipartBody7483674303847277353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391993078,"filename":"image_09012025_04_05_02_503424_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/48f7c7211b5dac9d84031d82a5fc604d.jpg","text":"TemporaryFile(/tmp/multipartBody6430480537705803247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391993078,"filename":"image_09012025_04_05_02_503424_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c56f38319b13fdcbd2933f8a1d446772.jpg","text":"TemporaryFile(/tmp/multipartBody7374919116216283105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736391993078,"filename":"image_09012025_04_05_02_503424_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327580663","file1":"1327580661","file0":"1327580656","file3":"1327580673"},"map_files_photo_id_array":[{"photo_id":"1327580663","filename":"file2"},{"photo_id":"1327580661","filename":"file1"},{"photo_id":"1327580656","filename":"file0"},{"photo_id":"1327580673","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327580656":["hashtag1","hashtag2"]},{"1327580661":["hashtag1","hashtag2"]},{"1327580673":["hashtag1","hashtag2"]},{"1327580663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327580656, 1327580661, 1327580673, 1327580663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.07514023780823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:06:22.164627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/05/image_09012025_04_05_02_503424_0003.jpg', '/home/pi/Desktop/images/09012025/04/06/image_09012025_04_06_03_034373_0000.jpg', '/home/pi/Desktop/images/09012025/04/06/image_09012025_04_06_03_034373_0001.jpg', '/home/pi/Desktop/images/09012025/04/06/image_09012025_04_06_03_034373_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/05/image_09012025_04_05_02_503424_0003.jpg
/home/pi/Desktop/images/09012025/04/06/image_09012025_04_06_03_034373_0000.jpg
/home/pi/Desktop/images/09012025/04/06/image_09012025_04_06_03_034373_0001.jpg
/home/pi/Desktop/images/09012025/04/06/image_09012025_04_06_03_034373_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327580682","1327580679","1327580690","1327580686"],"photo_ids_order":["1327580679","1327580682","1327580686","1327580690"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2508f156c82debf7706697461c78f6b6.jpg","text":"TemporaryFile(/tmp/multipartBody5173564345733323598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392052679,"filename":"image_09012025_04_06_03_034373_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ce872add70360840c306700fd9a25384.jpg","text":"TemporaryFile(/tmp/multipartBody3986268471854965762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392052679,"filename":"image_09012025_04_05_02_503424_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f1dac390d80b0dbdcf1845ffa1e7e401.jpg","text":"TemporaryFile(/tmp/multipartBody8310863870358905702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392052679,"filename":"image_09012025_04_06_03_034373_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3943ec8d108d9170c576bcd5c86c0550.jpg","text":"TemporaryFile(/tmp/multipartBody8860103103204375358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392052679,"filename":"image_09012025_04_06_03_034373_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327580686","file1":"1327580682","file0":"1327580679","file3":"1327580690"},"map_files_photo_id_array":[{"photo_id":"1327580686","filename":"file2"},{"photo_id":"1327580682","filename":"file1"},{"photo_id":"1327580679","filename":"file0"},{"photo_id":"1327580690","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327580682":["hashtag1","hashtag2"]},{"1327580679":["hashtag1","hashtag2"]},{"1327580690":["hashtag1","hashtag2"]},{"1327580686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327580682, 1327580679, 1327580690, 1327580686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.808003664016724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:07:03.389804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:07:22.598463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/06/image_09012025_04_06_03_034373_0003.jpg', '/home/pi/Desktop/images/09012025/04/07/image_09012025_04_07_02_543327_0000.jpg', '/home/pi/Desktop/images/09012025/04/07/image_09012025_04_07_02_543327_0001.jpg', '/home/pi/Desktop/images/09012025/04/07/image_09012025_04_07_02_543327_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/06/image_09012025_04_06_03_034373_0003.jpg
/home/pi/Desktop/images/09012025/04/07/image_09012025_04_07_02_543327_0000.jpg
/home/pi/Desktop/images/09012025/04/07/image_09012025_04_07_02_543327_0001.jpg
/home/pi/Desktop/images/09012025/04/07/image_09012025_04_07_02_543327_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327580892","1327580922","1327580946","1327580983"],"photo_ids_order":["1327580892","1327580922","1327580946","1327580983"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0cd61a857da70ebfdda50c5458088b00.jpg","text":"TemporaryFile(/tmp/multipartBody529445437055935097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392112898,"filename":"image_09012025_04_06_03_034373_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f9d1913abe37f6fcaa265483182e856c.jpg","text":"TemporaryFile(/tmp/multipartBody821096618529687249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392112898,"filename":"image_09012025_04_07_02_543327_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e184ae60944d97a508c1fbb6d632b9a3.jpg","text":"TemporaryFile(/tmp/multipartBody3876374100664558168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392112898,"filename":"image_09012025_04_07_02_543327_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/06fd8d6c9ef8edd6ea219ddb01d694a8.jpg","text":"TemporaryFile(/tmp/multipartBody4011402401406751314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392112898,"filename":"image_09012025_04_07_02_543327_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327580946","file1":"1327580922","file0":"1327580892","file3":"1327580983"},"map_files_photo_id_array":[{"photo_id":"1327580946","filename":"file2"},{"photo_id":"1327580922","filename":"file1"},{"photo_id":"1327580892","filename":"file0"},{"photo_id":"1327580983","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327580892":["hashtag1","hashtag2"]},{"1327580922":["hashtag1","hashtag2"]},{"1327580946":["hashtag1","hashtag2"]},{"1327580983":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327580892, 1327580922, 1327580946, 1327580983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.46430015563965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:08:02.775804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:08:22.276445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/07/image_09012025_04_07_02_543327_0003.jpg', '/home/pi/Desktop/images/09012025/04/08/image_09012025_04_08_03_014611_0000.jpg', '/home/pi/Desktop/images/09012025/04/08/image_09012025_04_08_03_014611_0001.jpg', '/home/pi/Desktop/images/09012025/04/08/image_09012025_04_08_03_014611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/07/image_09012025_04_07_02_543327_0003.jpg
/home/pi/Desktop/images/09012025/04/08/image_09012025_04_08_03_014611_0000.jpg
/home/pi/Desktop/images/09012025/04/08/image_09012025_04_08_03_014611_0001.jpg
/home/pi/Desktop/images/09012025/04/08/image_09012025_04_08_03_014611_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.045389175415039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:09:02.589661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/07/image_09012025_04_07_02_543327_0003.jpg', '/home/pi/Desktop/images/09012025/04/08/image_09012025_04_08_03_014611_0000.jpg', '/home/pi/Desktop/images/09012025/04/08/image_09012025_04_08_03_014611_0001.jpg', '/home/pi/Desktop/images/09012025/04/08/image_09012025_04_08_03_014611_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/07/image_09012025_04_07_02_543327_0003.jpg
/home/pi/Desktop/images/09012025/04/08/image_09012025_04_08_03_014611_0000.jpg
/home/pi/Desktop/images/09012025/04/08/image_09012025_04_08_03_014611_0001.jpg
/home/pi/Desktop/images/09012025/04/08/image_09012025_04_08_03_014611_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327581840","1327581825","1327581842","1327581844"],"photo_ids_order":["1327581825","1327581840","1327581842","1327581844"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2a5ccacdef44a0649f720237c747f8dd.jpg","text":"TemporaryFile(/tmp/multipartBody8633421450042100937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392213087,"filename":"image_09012025_04_08_03_014611_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cf94ec78c5cf3053c1942f40ab4e18a3.jpg","text":"TemporaryFile(/tmp/multipartBody625980405850644398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392213087,"filename":"image_09012025_04_07_02_543327_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/05d67482bed10fb47e2cda6209e38a3d.jpg","text":"TemporaryFile(/tmp/multipartBody7697015476270777773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392213087,"filename":"image_09012025_04_08_03_014611_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a48139a35f60622ef1de56679c55698d.jpg","text":"TemporaryFile(/tmp/multipartBody1603629127109260968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392213087,"filename":"image_09012025_04_08_03_014611_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327581842","file1":"1327581840","file0":"1327581825","file3":"1327581844"},"map_files_photo_id_array":[{"photo_id":"1327581842","filename":"file2"},{"photo_id":"1327581840","filename":"file1"},{"photo_id":"1327581825","filename":"file0"},{"photo_id":"1327581844","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327581840":["hashtag1","hashtag2"]},{"1327581825":["hashtag1","hashtag2"]},{"1327581842":["hashtag1","hashtag2"]},{"1327581844":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327581840, 1327581825, 1327581842, 1327581844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.339675188064575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:10:02.999373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/08/image_09012025_04_08_03_014611_0003.jpg', '/home/pi/Desktop/images/09012025/04/09/image_09012025_04_09_02_770126_0000.jpg', '/home/pi/Desktop/images/09012025/04/09/image_09012025_04_09_02_770126_0001.jpg', '/home/pi/Desktop/images/09012025/04/09/image_09012025_04_09_02_770126_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/08/image_09012025_04_08_03_014611_0003.jpg
/home/pi/Desktop/images/09012025/04/09/image_09012025_04_09_02_770126_0000.jpg
/home/pi/Desktop/images/09012025/04/09/image_09012025_04_09_02_770126_0001.jpg
/home/pi/Desktop/images/09012025/04/09/image_09012025_04_09_02_770126_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.135993242263794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:10:22.595937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/08/image_09012025_04_08_03_014611_0003.jpg', '/home/pi/Desktop/images/09012025/04/09/image_09012025_04_09_02_770126_0000.jpg', '/home/pi/Desktop/images/09012025/04/09/image_09012025_04_09_02_770126_0001.jpg', '/home/pi/Desktop/images/09012025/04/09/image_09012025_04_09_02_770126_0002.jpg', '/home/pi/Desktop/images/09012025/04/09/image_09012025_04_09_02_770126_0003.jpg', '/home/pi/Desktop/images/09012025/04/10/image_09012025_04_10_02_280206_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/08/image_09012025_04_08_03_014611_0003.jpg
/home/pi/Desktop/images/09012025/04/09/image_09012025_04_09_02_770126_0000.jpg
/home/pi/Desktop/images/09012025/04/09/image_09012025_04_09_02_770126_0001.jpg
/home/pi/Desktop/images/09012025/04/09/image_09012025_04_09_02_770126_0002.jpg
/home/pi/Desktop/images/09012025/04/09/image_09012025_04_09_02_770126_0003.jpg
/home/pi/Desktop/images/09012025/04/10/image_09012025_04_10_02_280206_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327581873","1327581867","1327581875","1327581863","1327581869","1327581871"],"photo_ids_order":["1327581863","1327581867","1327581869","1327581871","1327581873","1327581875"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/58876f5a71f61aa473ddf717c352a9c2.jpg","text":"TemporaryFile(/tmp/multipartBody4152678735824080954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392297949,"filename":"image_09012025_04_09_02_770126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8e73dab365f0accadb0719e445a901c1.jpg","text":"TemporaryFile(/tmp/multipartBody596498485241240330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392297949,"filename":"image_09012025_04_09_02_770126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/12e0c910b2ce7810dbf2721a0e6e123e.jpg","text":"TemporaryFile(/tmp/multipartBody3442038680466481304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392297949,"filename":"image_09012025_04_10_02_280206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7a6503b6ebe9f7620ad33f617eebd089.jpg","text":"TemporaryFile(/tmp/multipartBody7089229687988675343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392297949,"filename":"image_09012025_04_08_03_014611_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bb266bd765f01419372333ac6637c543.jpg","text":"TemporaryFile(/tmp/multipartBody7944855806110018817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392297949,"filename":"image_09012025_04_09_02_770126_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e2fff153b43486e85acc9fe97339c56a.jpg","text":"TemporaryFile(/tmp/multipartBody8455654646581074359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392297949,"filename":"image_09012025_04_09_02_770126_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327581869","file1":"1327581867","file0":"1327581863","file4":"1327581873","file5":"1327581875","file3":"1327581871"},"map_files_photo_id_array":[{"photo_id":"1327581875","filename":"file5"},{"photo_id":"1327581869","filename":"file2"},{"photo_id":"1327581873","filename":"file4"},{"photo_id":"1327581867","filename":"file1"},{"photo_id":"1327581863","filename":"file0"},{"photo_id":"1327581871","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327581873":["hashtag1","hashtag2"]},{"1327581867":["hashtag1","hashtag2"]},{"1327581875":["hashtag1","hashtag2"]},{"1327581863":["hashtag1","hashtag2"]},{"1327581869":["hashtag1","hashtag2"]},{"1327581871":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327581873, 1327581867, 1327581875, 1327581863, 1327581869, 1327581871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.71476602554321 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:11:22.126398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/10/image_09012025_04_10_02_280206_0001.jpg', '/home/pi/Desktop/images/09012025/04/10/image_09012025_04_10_02_280206_0002.jpg', '/home/pi/Desktop/images/09012025/04/10/image_09012025_04_10_02_280206_0003.jpg', '/home/pi/Desktop/images/09012025/04/11/image_09012025_04_11_02_989942_0000.jpg', '/home/pi/Desktop/images/09012025/04/11/image_09012025_04_11_02_989942_0001.jpg', '/home/pi/Desktop/images/09012025/04/11/image_09012025_04_11_02_989942_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/10/image_09012025_04_10_02_280206_0001.jpg
/home/pi/Desktop/images/09012025/04/10/image_09012025_04_10_02_280206_0002.jpg
/home/pi/Desktop/images/09012025/04/10/image_09012025_04_10_02_280206_0003.jpg
/home/pi/Desktop/images/09012025/04/11/image_09012025_04_11_02_989942_0000.jpg
/home/pi/Desktop/images/09012025/04/11/image_09012025_04_11_02_989942_0001.jpg
/home/pi/Desktop/images/09012025/04/11/image_09012025_04_11_02_989942_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327581894","1327581899","1327581886","1327581889","1327581880","1327581883"],"photo_ids_order":["1327581880","1327581883","1327581886","1327581889","1327581894","1327581899"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3c796facd7f6824d3b562d7ceeda677a.jpg","text":"TemporaryFile(/tmp/multipartBody6234372237168411631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392357385,"filename":"image_09012025_04_11_02_989942_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/54548c5ad1292db1d011b0f65fb1f56a.jpg","text":"TemporaryFile(/tmp/multipartBody2902610391939335478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392357385,"filename":"image_09012025_04_11_02_989942_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d80c168d4b7a5a5906da8e279a064ebc.jpg","text":"TemporaryFile(/tmp/multipartBody6300089418448579768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392357385,"filename":"image_09012025_04_10_02_280206_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2dad296a8286ed7e41511a0df396af37.jpg","text":"TemporaryFile(/tmp/multipartBody6490683235826763590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392357385,"filename":"image_09012025_04_11_02_989942_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/893cc7a1adf4af065a898fa126e8590d.jpg","text":"TemporaryFile(/tmp/multipartBody6226716823311808124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392357385,"filename":"image_09012025_04_10_02_280206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/90d9099e071d8b28fe3f75f1d5ae9bd6.jpg","text":"TemporaryFile(/tmp/multipartBody6354100473199462117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392357385,"filename":"image_09012025_04_10_02_280206_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327581886","file1":"1327581883","file0":"1327581880","file4":"1327581894","file5":"1327581899","file3":"1327581889"},"map_files_photo_id_array":[{"photo_id":"1327581899","filename":"file5"},{"photo_id":"1327581886","filename":"file2"},{"photo_id":"1327581894","filename":"file4"},{"photo_id":"1327581883","filename":"file1"},{"photo_id":"1327581880","filename":"file0"},{"photo_id":"1327581889","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327581894":["hashtag1","hashtag2"]},{"1327581899":["hashtag1","hashtag2"]},{"1327581886":["hashtag1","hashtag2"]},{"1327581889":["hashtag1","hashtag2"]},{"1327581880":["hashtag1","hashtag2"]},{"1327581883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327581894, 1327581899, 1327581886, 1327581889, 1327581880, 1327581883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.933348655700684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:12:22.601010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/11/image_09012025_04_11_02_989942_0003.jpg', '/home/pi/Desktop/images/09012025/04/12/image_09012025_04_12_02_486542_0000.jpg', '/home/pi/Desktop/images/09012025/04/12/image_09012025_04_12_02_486542_0001.jpg', '/home/pi/Desktop/images/09012025/04/12/image_09012025_04_12_02_486542_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/11/image_09012025_04_11_02_989942_0003.jpg
/home/pi/Desktop/images/09012025/04/12/image_09012025_04_12_02_486542_0000.jpg
/home/pi/Desktop/images/09012025/04/12/image_09012025_04_12_02_486542_0001.jpg
/home/pi/Desktop/images/09012025/04/12/image_09012025_04_12_02_486542_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327582215","1327582282","1327582279","1327582258"],"photo_ids_order":["1327582215","1327582258","1327582279","1327582282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7b5d07be0a8b26c218ab26ed224ef4bd.jpg","text":"TemporaryFile(/tmp/multipartBody9177866426021120798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392412941,"filename":"image_09012025_04_11_02_989942_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e81896b11e9ab99e985a5a70c271527a.jpg","text":"TemporaryFile(/tmp/multipartBody4272285502608101342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392412941,"filename":"image_09012025_04_12_02_486542_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ed60a89c39b8a8886f0d63857e545634.jpg","text":"TemporaryFile(/tmp/multipartBody6131336657916676829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392412941,"filename":"image_09012025_04_12_02_486542_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1c57c17671c27fa18d95e794e895a506.jpg","text":"TemporaryFile(/tmp/multipartBody6683121663189210566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392412941,"filename":"image_09012025_04_12_02_486542_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327582279","file1":"1327582258","file0":"1327582215","file3":"1327582282"},"map_files_photo_id_array":[{"photo_id":"1327582279","filename":"file2"},{"photo_id":"1327582258","filename":"file1"},{"photo_id":"1327582215","filename":"file0"},{"photo_id":"1327582282","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327582215":["hashtag1","hashtag2"]},{"1327582282":["hashtag1","hashtag2"]},{"1327582279":["hashtag1","hashtag2"]},{"1327582258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327582215, 1327582282, 1327582279, 1327582258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.0287401676178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:13:22.208774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/12/image_09012025_04_12_02_486542_0003.jpg', '/home/pi/Desktop/images/09012025/04/13/image_09012025_04_13_03_065195_0000.jpg', '/home/pi/Desktop/images/09012025/04/13/image_09012025_04_13_03_065195_0001.jpg', '/home/pi/Desktop/images/09012025/04/13/image_09012025_04_13_03_065195_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/12/image_09012025_04_12_02_486542_0003.jpg
/home/pi/Desktop/images/09012025/04/13/image_09012025_04_13_03_065195_0000.jpg
/home/pi/Desktop/images/09012025/04/13/image_09012025_04_13_03_065195_0001.jpg
/home/pi/Desktop/images/09012025/04/13/image_09012025_04_13_03_065195_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327582365","1327582381","1327582378","1327582374"],"photo_ids_order":["1327582365","1327582374","1327582378","1327582381"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8e90eec81ed3d54b4cc0e70054c735f9.jpg","text":"TemporaryFile(/tmp/multipartBody2196502304547646011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392472515,"filename":"image_09012025_04_12_02_486542_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4d2b27fdd70f7cb832af4f0e8ecaac6c.jpg","text":"TemporaryFile(/tmp/multipartBody8693989979149348069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392472515,"filename":"image_09012025_04_13_03_065195_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/866d3bc0d37b0233ecafd2f5ac2f2471.jpg","text":"TemporaryFile(/tmp/multipartBody7843882848094703786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392472515,"filename":"image_09012025_04_13_03_065195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4074c63ec4f12a5c20fa790ca2a9e19f.jpg","text":"TemporaryFile(/tmp/multipartBody7759355659033682596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392472515,"filename":"image_09012025_04_13_03_065195_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327582378","file1":"1327582374","file0":"1327582365","file3":"1327582381"},"map_files_photo_id_array":[{"photo_id":"1327582378","filename":"file2"},{"photo_id":"1327582374","filename":"file1"},{"photo_id":"1327582365","filename":"file0"},{"photo_id":"1327582381","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327582365":["hashtag1","hashtag2"]},{"1327582381":["hashtag1","hashtag2"]},{"1327582378":["hashtag1","hashtag2"]},{"1327582374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327582365, 1327582381, 1327582378, 1327582374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.861762046813965 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:14:21.842333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/13/image_09012025_04_13_03_065195_0003.jpg', '/home/pi/Desktop/images/09012025/04/14/image_09012025_04_14_02_679237_0000.jpg', '/home/pi/Desktop/images/09012025/04/14/image_09012025_04_14_02_679237_0001.jpg', '/home/pi/Desktop/images/09012025/04/14/image_09012025_04_14_02_679237_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/13/image_09012025_04_13_03_065195_0003.jpg
/home/pi/Desktop/images/09012025/04/14/image_09012025_04_14_02_679237_0000.jpg
/home/pi/Desktop/images/09012025/04/14/image_09012025_04_14_02_679237_0001.jpg
/home/pi/Desktop/images/09012025/04/14/image_09012025_04_14_02_679237_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327582445","1327582448","1327582442","1327582439"],"photo_ids_order":["1327582439","1327582442","1327582445","1327582448"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/78bacae104d39380c61a8596a7de5636.jpg","text":"TemporaryFile(/tmp/multipartBody4116247296604179528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392532233,"filename":"image_09012025_04_14_02_679237_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/38bae07f3717896f174f8ce09e73cde1.jpg","text":"TemporaryFile(/tmp/multipartBody5486675197528038393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392532233,"filename":"image_09012025_04_14_02_679237_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/56d89e2e21554f2d5ee19e9c986ce8b5.jpg","text":"TemporaryFile(/tmp/multipartBody3251458848008239720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392532233,"filename":"image_09012025_04_14_02_679237_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/850cc1510c049064be0ee9feb18988ce.jpg","text":"TemporaryFile(/tmp/multipartBody6558263701861106877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392532233,"filename":"image_09012025_04_13_03_065195_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327582445","file1":"1327582442","file0":"1327582439","file3":"1327582448"},"map_files_photo_id_array":[{"photo_id":"1327582445","filename":"file2"},{"photo_id":"1327582442","filename":"file1"},{"photo_id":"1327582439","filename":"file0"},{"photo_id":"1327582448","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327582445":["hashtag1","hashtag2"]},{"1327582448":["hashtag1","hashtag2"]},{"1327582442":["hashtag1","hashtag2"]},{"1327582439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327582445, 1327582448, 1327582442, 1327582439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.25836682319641 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:15:02.915215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:15:22.311298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/14/image_09012025_04_14_02_679237_0003.jpg', '/home/pi/Desktop/images/09012025/04/15/image_09012025_04_15_02_185679_0000.jpg', '/home/pi/Desktop/images/09012025/04/15/image_09012025_04_15_02_185679_0001.jpg', '/home/pi/Desktop/images/09012025/04/15/image_09012025_04_15_02_185679_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/14/image_09012025_04_14_02_679237_0003.jpg
/home/pi/Desktop/images/09012025/04/15/image_09012025_04_15_02_185679_0000.jpg
/home/pi/Desktop/images/09012025/04/15/image_09012025_04_15_02_185679_0001.jpg
/home/pi/Desktop/images/09012025/04/15/image_09012025_04_15_02_185679_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327582466","1327582469","1327582477","1327582473"],"photo_ids_order":["1327582466","1327582469","1327582473","1327582477"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1fbeeca0e1f1915ec6c313aa3cf53c07.jpg","text":"TemporaryFile(/tmp/multipartBody5054021490013118501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392592687,"filename":"image_09012025_04_14_02_679237_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/821fe06219c18801685621ab54e65b6a.jpg","text":"TemporaryFile(/tmp/multipartBody1341819706372435114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392592687,"filename":"image_09012025_04_15_02_185679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7eb46378b451e91d1a82c311582d991f.jpg","text":"TemporaryFile(/tmp/multipartBody8003875092385132925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392592687,"filename":"image_09012025_04_15_02_185679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/02b8f9c125c753b6eda7032e941d51b2.jpg","text":"TemporaryFile(/tmp/multipartBody6984271329986043904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392592687,"filename":"image_09012025_04_15_02_185679_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327582473","file1":"1327582469","file0":"1327582466","file3":"1327582477"},"map_files_photo_id_array":[{"photo_id":"1327582473","filename":"file2"},{"photo_id":"1327582469","filename":"file1"},{"photo_id":"1327582466","filename":"file0"},{"photo_id":"1327582477","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327582466":["hashtag1","hashtag2"]},{"1327582469":["hashtag1","hashtag2"]},{"1327582477":["hashtag1","hashtag2"]},{"1327582473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327582466, 1327582469, 1327582477, 1327582473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.65204215049744 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:16:21.929376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/15/image_09012025_04_15_02_185679_0003.jpg', '/home/pi/Desktop/images/09012025/04/16/image_09012025_04_16_02_666377_0000.jpg', '/home/pi/Desktop/images/09012025/04/16/image_09012025_04_16_02_666377_0001.jpg', '/home/pi/Desktop/images/09012025/04/16/image_09012025_04_16_02_666377_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/15/image_09012025_04_15_02_185679_0003.jpg
/home/pi/Desktop/images/09012025/04/16/image_09012025_04_16_02_666377_0000.jpg
/home/pi/Desktop/images/09012025/04/16/image_09012025_04_16_02_666377_0001.jpg
/home/pi/Desktop/images/09012025/04/16/image_09012025_04_16_02_666377_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327583330","1327583342","1327583317","1327583343"],"photo_ids_order":["1327583317","1327583330","1327583342","1327583343"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5bffe6c556e15c02b84372ff0e7d2499.jpg","text":"TemporaryFile(/tmp/multipartBody3691849458648881217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392652271,"filename":"image_09012025_04_16_02_666377_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/787818d187c70db683e5581a8a31c005.jpg","text":"TemporaryFile(/tmp/multipartBody5600250919750963261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392652271,"filename":"image_09012025_04_16_02_666377_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/272c14f4c686ceeeead6f41c25566f09.jpg","text":"TemporaryFile(/tmp/multipartBody7541031542247972821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392652271,"filename":"image_09012025_04_15_02_185679_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/33f172293ac965631c479bf737be154a.jpg","text":"TemporaryFile(/tmp/multipartBody3190325387333277789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392652271,"filename":"image_09012025_04_16_02_666377_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327583342","file1":"1327583330","file0":"1327583317","file3":"1327583343"},"map_files_photo_id_array":[{"photo_id":"1327583342","filename":"file2"},{"photo_id":"1327583330","filename":"file1"},{"photo_id":"1327583317","filename":"file0"},{"photo_id":"1327583343","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327583330":["hashtag1","hashtag2"]},{"1327583342":["hashtag1","hashtag2"]},{"1327583317":["hashtag1","hashtag2"]},{"1327583343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327583330, 1327583342, 1327583317, 1327583343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.25157976150513 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:17:22.562413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/16/image_09012025_04_16_02_666377_0003.jpg', '/home/pi/Desktop/images/09012025/04/17/image_09012025_04_17_02_405668_0000.jpg', '/home/pi/Desktop/images/09012025/04/17/image_09012025_04_17_02_405668_0001.jpg', '/home/pi/Desktop/images/09012025/04/17/image_09012025_04_17_02_405668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/16/image_09012025_04_16_02_666377_0003.jpg
/home/pi/Desktop/images/09012025/04/17/image_09012025_04_17_02_405668_0000.jpg
/home/pi/Desktop/images/09012025/04/17/image_09012025_04_17_02_405668_0001.jpg
/home/pi/Desktop/images/09012025/04/17/image_09012025_04_17_02_405668_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327583777","1327583729","1327583670","1327583613"],"photo_ids_order":["1327583613","1327583670","1327583729","1327583777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ce4a6d7e1bbe6fcdf19749a2142ddd87.jpg","text":"TemporaryFile(/tmp/multipartBody2969173779112125042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392712909,"filename":"image_09012025_04_17_02_405668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1260824adda8636525d92ae0c6fca178.jpg","text":"TemporaryFile(/tmp/multipartBody7937584167089213775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392712909,"filename":"image_09012025_04_17_02_405668_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/18246d44488febdc8b08854db177c417.jpg","text":"TemporaryFile(/tmp/multipartBody7953590829792527731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392712909,"filename":"image_09012025_04_17_02_405668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4e50992a6f28cedd7e91c99f0cba1f09.jpg","text":"TemporaryFile(/tmp/multipartBody7278195895025288489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392712909,"filename":"image_09012025_04_16_02_666377_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327583729","file1":"1327583670","file0":"1327583613","file3":"1327583777"},"map_files_photo_id_array":[{"photo_id":"1327583729","filename":"file2"},{"photo_id":"1327583670","filename":"file1"},{"photo_id":"1327583613","filename":"file0"},{"photo_id":"1327583777","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327583777":["hashtag1","hashtag2"]},{"1327583729":["hashtag1","hashtag2"]},{"1327583670":["hashtag1","hashtag2"]},{"1327583613":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327583777, 1327583729, 1327583670, 1327583613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.48146200180054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:18:02.345660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:18:21.920753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/17/image_09012025_04_17_02_405668_0003.jpg', '/home/pi/Desktop/images/09012025/04/18/image_09012025_04_18_02_904369_0000.jpg', '/home/pi/Desktop/images/09012025/04/18/image_09012025_04_18_02_904369_0001.jpg', '/home/pi/Desktop/images/09012025/04/18/image_09012025_04_18_02_904369_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/17/image_09012025_04_17_02_405668_0003.jpg
/home/pi/Desktop/images/09012025/04/18/image_09012025_04_18_02_904369_0000.jpg
/home/pi/Desktop/images/09012025/04/18/image_09012025_04_18_02_904369_0001.jpg
/home/pi/Desktop/images/09012025/04/18/image_09012025_04_18_02_904369_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327584440","1327584326","1327584603","1327584711"],"photo_ids_order":["1327584326","1327584440","1327584603","1327584711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3279d0b684ca963a36d50e9c08f90310.jpg","text":"TemporaryFile(/tmp/multipartBody4955261234561004242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392772116,"filename":"image_09012025_04_18_02_904369_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4dc40c265dd0e747d09aa85a4f18aa1e.jpg","text":"TemporaryFile(/tmp/multipartBody4570569846097006500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392772116,"filename":"image_09012025_04_17_02_405668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aa27c921b43831a771b624aaa5f5b757.jpg","text":"TemporaryFile(/tmp/multipartBody6332002455868764477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392772116,"filename":"image_09012025_04_18_02_904369_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6c28fdfcd274286a5697bb01ce3b84db.jpg","text":"TemporaryFile(/tmp/multipartBody783232494658715521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392772116,"filename":"image_09012025_04_18_02_904369_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327584603","file1":"1327584440","file0":"1327584326","file3":"1327584711"},"map_files_photo_id_array":[{"photo_id":"1327584603","filename":"file2"},{"photo_id":"1327584440","filename":"file1"},{"photo_id":"1327584326","filename":"file0"},{"photo_id":"1327584711","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327584440":["hashtag1","hashtag2"]},{"1327584326":["hashtag1","hashtag2"]},{"1327584603":["hashtag1","hashtag2"]},{"1327584711":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327584440, 1327584326, 1327584603, 1327584711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.493804693222046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:19:03.023979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:19:22.615449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/18/image_09012025_04_18_02_904369_0003.jpg', '/home/pi/Desktop/images/09012025/04/19/image_09012025_04_19_02_438272_0000.jpg', '/home/pi/Desktop/images/09012025/04/19/image_09012025_04_19_02_438272_0001.jpg', '/home/pi/Desktop/images/09012025/04/19/image_09012025_04_19_02_438272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/18/image_09012025_04_18_02_904369_0003.jpg
/home/pi/Desktop/images/09012025/04/19/image_09012025_04_19_02_438272_0000.jpg
/home/pi/Desktop/images/09012025/04/19/image_09012025_04_19_02_438272_0001.jpg
/home/pi/Desktop/images/09012025/04/19/image_09012025_04_19_02_438272_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327585584","1327585659","1327585740","1327585626"],"photo_ids_order":["1327585584","1327585626","1327585659","1327585740"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/38b49c4abea440ad4682310f8b9291d4.jpg","text":"TemporaryFile(/tmp/multipartBody6628878729992823044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392832716,"filename":"image_09012025_04_18_02_904369_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e6e67c9b1af43aac8586e3b6dda694e7.jpg","text":"TemporaryFile(/tmp/multipartBody7765129830012873190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392832716,"filename":"image_09012025_04_19_02_438272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cbf4c9db861c5635ead3080824a43a05.jpg","text":"TemporaryFile(/tmp/multipartBody1978015451021091871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392832716,"filename":"image_09012025_04_19_02_438272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/21e8a66f79fe5f90787bb6078cf9b426.jpg","text":"TemporaryFile(/tmp/multipartBody3294740977062593309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392832716,"filename":"image_09012025_04_19_02_438272_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327585659","file1":"1327585626","file0":"1327585584","file3":"1327585740"},"map_files_photo_id_array":[{"photo_id":"1327585659","filename":"file2"},{"photo_id":"1327585626","filename":"file1"},{"photo_id":"1327585584","filename":"file0"},{"photo_id":"1327585740","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327585584":["hashtag1","hashtag2"]},{"1327585659":["hashtag1","hashtag2"]},{"1327585740":["hashtag1","hashtag2"]},{"1327585626":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327585584, 1327585659, 1327585740, 1327585626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01526737213135 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:20:22.210274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/19/image_09012025_04_19_02_438272_0003.jpg', '/home/pi/Desktop/images/09012025/04/20/image_09012025_04_20_02_954701_0000.jpg', '/home/pi/Desktop/images/09012025/04/20/image_09012025_04_20_02_954701_0001.jpg', '/home/pi/Desktop/images/09012025/04/20/image_09012025_04_20_02_954701_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/19/image_09012025_04_19_02_438272_0003.jpg
/home/pi/Desktop/images/09012025/04/20/image_09012025_04_20_02_954701_0000.jpg
/home/pi/Desktop/images/09012025/04/20/image_09012025_04_20_02_954701_0001.jpg
/home/pi/Desktop/images/09012025/04/20/image_09012025_04_20_02_954701_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327585790","1327585787","1327585781","1327585784"],"photo_ids_order":["1327585781","1327585784","1327585787","1327585790"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/69a6dafef677e68b943de4d53a706150.jpg","text":"TemporaryFile(/tmp/multipartBody4475317348029480167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392892205,"filename":"image_09012025_04_20_02_954701_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/211376ac72c8de6677013294d7691538.jpg","text":"TemporaryFile(/tmp/multipartBody4186614626402759052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392892205,"filename":"image_09012025_04_20_02_954701_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0722ae331a45e60e869107d862adb486.jpg","text":"TemporaryFile(/tmp/multipartBody2859742579117580443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392892205,"filename":"image_09012025_04_19_02_438272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/994e5a92ddf5a89e0ea5dce4a06a1c64.jpg","text":"TemporaryFile(/tmp/multipartBody4247580493604810552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392892205,"filename":"image_09012025_04_20_02_954701_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327585787","file1":"1327585784","file0":"1327585781","file3":"1327585790"},"map_files_photo_id_array":[{"photo_id":"1327585787","filename":"file2"},{"photo_id":"1327585784","filename":"file1"},{"photo_id":"1327585781","filename":"file0"},{"photo_id":"1327585790","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327585790":["hashtag1","hashtag2"]},{"1327585787":["hashtag1","hashtag2"]},{"1327585781":["hashtag1","hashtag2"]},{"1327585784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327585790, 1327585787, 1327585781, 1327585784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.374744176864624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:21:21.744900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/20/image_09012025_04_20_02_954701_0003.jpg', '/home/pi/Desktop/images/09012025/04/21/image_09012025_04_21_02_625892_0000.jpg', '/home/pi/Desktop/images/09012025/04/21/image_09012025_04_21_02_625892_0001.jpg', '/home/pi/Desktop/images/09012025/04/21/image_09012025_04_21_02_625892_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/20/image_09012025_04_20_02_954701_0003.jpg
/home/pi/Desktop/images/09012025/04/21/image_09012025_04_21_02_625892_0000.jpg
/home/pi/Desktop/images/09012025/04/21/image_09012025_04_21_02_625892_0001.jpg
/home/pi/Desktop/images/09012025/04/21/image_09012025_04_21_02_625892_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327585814","1327585808","1327585818","1327585811"],"photo_ids_order":["1327585808","1327585811","1327585814","1327585818"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d6e8cd0e41e8937cf4f8eba1d456ee54.jpg","text":"TemporaryFile(/tmp/multipartBody4824840209674284515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392951795,"filename":"image_09012025_04_21_02_625892_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/49b7f175e2a7ce8ba82f95202f69fc85.jpg","text":"TemporaryFile(/tmp/multipartBody1584056647728634621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392951795,"filename":"image_09012025_04_20_02_954701_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/df8ba8fcd192689688c52ea6a35e2473.jpg","text":"TemporaryFile(/tmp/multipartBody5096152560092224658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392951795,"filename":"image_09012025_04_21_02_625892_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1b90513ca79d79f58359f324bb41ea3c.jpg","text":"TemporaryFile(/tmp/multipartBody4896549727795311743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736392951795,"filename":"image_09012025_04_21_02_625892_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327585814","file1":"1327585811","file0":"1327585808","file3":"1327585818"},"map_files_photo_id_array":[{"photo_id":"1327585814","filename":"file2"},{"photo_id":"1327585811","filename":"file1"},{"photo_id":"1327585808","filename":"file0"},{"photo_id":"1327585818","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327585814":["hashtag1","hashtag2"]},{"1327585808":["hashtag1","hashtag2"]},{"1327585818":["hashtag1","hashtag2"]},{"1327585811":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327585814, 1327585808, 1327585818, 1327585811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.6660943031311 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:22:02.669646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:22:22.184445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/21/image_09012025_04_21_02_625892_0003.jpg', '/home/pi/Desktop/images/09012025/04/22/image_09012025_04_22_02_112893_0000.jpg', '/home/pi/Desktop/images/09012025/04/22/image_09012025_04_22_02_112893_0001.jpg', '/home/pi/Desktop/images/09012025/04/22/image_09012025_04_22_02_112893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/21/image_09012025_04_21_02_625892_0003.jpg
/home/pi/Desktop/images/09012025/04/22/image_09012025_04_22_02_112893_0000.jpg
/home/pi/Desktop/images/09012025/04/22/image_09012025_04_22_02_112893_0001.jpg
/home/pi/Desktop/images/09012025/04/22/image_09012025_04_22_02_112893_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.027511596679688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:23:03.220607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/21/image_09012025_04_21_02_625892_0003.jpg', '/home/pi/Desktop/images/09012025/04/22/image_09012025_04_22_02_112893_0000.jpg', '/home/pi/Desktop/images/09012025/04/22/image_09012025_04_22_02_112893_0001.jpg', '/home/pi/Desktop/images/09012025/04/22/image_09012025_04_22_02_112893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/21/image_09012025_04_21_02_625892_0003.jpg
/home/pi/Desktop/images/09012025/04/22/image_09012025_04_22_02_112893_0000.jpg
/home/pi/Desktop/images/09012025/04/22/image_09012025_04_22_02_112893_0001.jpg
/home/pi/Desktop/images/09012025/04/22/image_09012025_04_22_02_112893_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327585870","1327585867","1327585872","1327585866"],"photo_ids_order":["1327585866","1327585867","1327585870","1327585872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3155dd878e3bdbaf4b3c8340250024e4.jpg","text":"TemporaryFile(/tmp/multipartBody7054285906281353506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393053722,"filename":"image_09012025_04_22_02_112893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/24201703e49b3bd55f7719302624e394.jpg","text":"TemporaryFile(/tmp/multipartBody6700095166629640466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393053722,"filename":"image_09012025_04_22_02_112893_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b1d62f754785b0f1f3ff8ecf3c8645f1.jpg","text":"TemporaryFile(/tmp/multipartBody8367779233322672504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393053722,"filename":"image_09012025_04_22_02_112893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/edc459b0dc03dd9c406ad03c28490510.jpg","text":"TemporaryFile(/tmp/multipartBody5935935228011439586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393053722,"filename":"image_09012025_04_21_02_625892_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327585870","file1":"1327585867","file0":"1327585866","file3":"1327585872"},"map_files_photo_id_array":[{"photo_id":"1327585870","filename":"file2"},{"photo_id":"1327585867","filename":"file1"},{"photo_id":"1327585866","filename":"file0"},{"photo_id":"1327585872","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327585870":["hashtag1","hashtag2"]},{"1327585867":["hashtag1","hashtag2"]},{"1327585872":["hashtag1","hashtag2"]},{"1327585866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327585870, 1327585867, 1327585872, 1327585866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.89543890953064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:24:02.747864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/22/image_09012025_04_22_02_112893_0003.jpg', '/home/pi/Desktop/images/09012025/04/23/image_09012025_04_23_02_606513_0000.jpg', '/home/pi/Desktop/images/09012025/04/23/image_09012025_04_23_02_606513_0001.jpg', '/home/pi/Desktop/images/09012025/04/23/image_09012025_04_23_02_606513_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/22/image_09012025_04_22_02_112893_0003.jpg
/home/pi/Desktop/images/09012025/04/23/image_09012025_04_23_02_606513_0000.jpg
/home/pi/Desktop/images/09012025/04/23/image_09012025_04_23_02_606513_0001.jpg
/home/pi/Desktop/images/09012025/04/23/image_09012025_04_23_02_606513_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.667434215545654 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:24:22.364078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/22/image_09012025_04_22_02_112893_0003.jpg', '/home/pi/Desktop/images/09012025/04/23/image_09012025_04_23_02_606513_0000.jpg', '/home/pi/Desktop/images/09012025/04/23/image_09012025_04_23_02_606513_0001.jpg', '/home/pi/Desktop/images/09012025/04/23/image_09012025_04_23_02_606513_0002.jpg', '/home/pi/Desktop/images/09012025/04/23/image_09012025_04_23_02_606513_0003.jpg', '/home/pi/Desktop/images/09012025/04/24/image_09012025_04_24_03_082593_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/22/image_09012025_04_22_02_112893_0003.jpg
/home/pi/Desktop/images/09012025/04/23/image_09012025_04_23_02_606513_0000.jpg
/home/pi/Desktop/images/09012025/04/23/image_09012025_04_23_02_606513_0001.jpg
/home/pi/Desktop/images/09012025/04/23/image_09012025_04_23_02_606513_0002.jpg
/home/pi/Desktop/images/09012025/04/23/image_09012025_04_23_02_606513_0003.jpg
/home/pi/Desktop/images/09012025/04/24/image_09012025_04_24_03_082593_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327586560","1327586542","1327586536","1327586544","1327586514","1327586552"],"photo_ids_order":["1327586514","1327586536","1327586542","1327586544","1327586552","1327586560"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2b3acc73fce38e14336676c2d7b76b9d.jpg","text":"TemporaryFile(/tmp/multipartBody6463821749879109104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393137054,"filename":"image_09012025_04_24_03_082593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/01d80b33f8b7520965f94b87724b5917.jpg","text":"TemporaryFile(/tmp/multipartBody4847248571564555229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393137054,"filename":"image_09012025_04_23_02_606513_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a58bd1de217746c5583158df9b73fd63.jpg","text":"TemporaryFile(/tmp/multipartBody721224501330525490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393137054,"filename":"image_09012025_04_23_02_606513_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2f614066b9312f306db27fbb82b3892e.jpg","text":"TemporaryFile(/tmp/multipartBody7877267573366431027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393137054,"filename":"image_09012025_04_23_02_606513_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7891a944cd0994cd807c6e318d445e3f.jpg","text":"TemporaryFile(/tmp/multipartBody3560522242919375398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393137054,"filename":"image_09012025_04_22_02_112893_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b600f633ec595196668eb144856131d7.jpg","text":"TemporaryFile(/tmp/multipartBody1888971177305834425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393137054,"filename":"image_09012025_04_23_02_606513_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327586542","file1":"1327586536","file0":"1327586514","file4":"1327586552","file5":"1327586560","file3":"1327586544"},"map_files_photo_id_array":[{"photo_id":"1327586560","filename":"file5"},{"photo_id":"1327586542","filename":"file2"},{"photo_id":"1327586552","filename":"file4"},{"photo_id":"1327586536","filename":"file1"},{"photo_id":"1327586514","filename":"file0"},{"photo_id":"1327586544","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327586560":["hashtag1","hashtag2"]},{"1327586542":["hashtag1","hashtag2"]},{"1327586536":["hashtag1","hashtag2"]},{"1327586544":["hashtag1","hashtag2"]},{"1327586514":["hashtag1","hashtag2"]},{"1327586552":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327586560, 1327586542, 1327586536, 1327586544, 1327586514, 1327586552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.35127019882202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:25:21.866219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/24/image_09012025_04_24_03_082593_0001.jpg', '/home/pi/Desktop/images/09012025/04/24/image_09012025_04_24_03_082593_0002.jpg', '/home/pi/Desktop/images/09012025/04/25/image_09012025_04_25_02_726837_0000.jpg', '/home/pi/Desktop/images/09012025/04/25/image_09012025_04_25_02_726837_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/24/image_09012025_04_24_03_082593_0001.jpg
/home/pi/Desktop/images/09012025/04/24/image_09012025_04_24_03_082593_0002.jpg
/home/pi/Desktop/images/09012025/04/25/image_09012025_04_25_02_726837_0000.jpg
/home/pi/Desktop/images/09012025/04/25/image_09012025_04_25_02_726837_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327586661","1327586655","1327586664","1327586658"],"photo_ids_order":["1327586655","1327586658","1327586661","1327586664"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/691d5744e684f3bd223102a1018fffb9.jpg","text":"TemporaryFile(/tmp/multipartBody7914420274332831965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393191808,"filename":"image_09012025_04_25_02_726837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/99f0a74942d8fb5b8c5f4722b09f8df9.jpg","text":"TemporaryFile(/tmp/multipartBody3258111104967713402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393191808,"filename":"image_09012025_04_24_03_082593_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/50572620e6b48e816da9f9b9ba5e9087.jpg","text":"TemporaryFile(/tmp/multipartBody4065605175044566205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393191808,"filename":"image_09012025_04_25_02_726837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3db8e11d8d00d5866ba2c6ac6734e215.jpg","text":"TemporaryFile(/tmp/multipartBody1992512765612325205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393191808,"filename":"image_09012025_04_24_03_082593_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327586661","file1":"1327586658","file0":"1327586655","file3":"1327586664"},"map_files_photo_id_array":[{"photo_id":"1327586661","filename":"file2"},{"photo_id":"1327586658","filename":"file1"},{"photo_id":"1327586655","filename":"file0"},{"photo_id":"1327586664","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327586661":["hashtag1","hashtag2"]},{"1327586655":["hashtag1","hashtag2"]},{"1327586664":["hashtag1","hashtag2"]},{"1327586658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327586661, 1327586655, 1327586664, 1327586658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.85933017730713 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:26:02.851559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:26:22.329969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/25/image_09012025_04_25_02_726837_0002.jpg', '/home/pi/Desktop/images/09012025/04/26/image_09012025_04_26_02_232800_0001.jpg', '/home/pi/Desktop/images/09012025/04/26/image_09012025_04_26_02_232800_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/25/image_09012025_04_25_02_726837_0002.jpg
/home/pi/Desktop/images/09012025/04/26/image_09012025_04_26_02_232800_0001.jpg
/home/pi/Desktop/images/09012025/04/26/image_09012025_04_26_02_232800_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327586691","1327586697","1327586693"],"photo_ids_order":["1327586691","1327586693","1327586697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/644f95faa56ad2fa20d3c725fa593cf2.jpg","text":"TemporaryFile(/tmp/multipartBody7884146861558754502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393249955,"filename":"image_09012025_04_25_02_726837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/320844d20cb0babb6e6b384a959dc180.jpg","text":"TemporaryFile(/tmp/multipartBody3791592414748522650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393249955,"filename":"image_09012025_04_26_02_232800_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f4d66e3c4a70ee4e7b7737a94672c483.jpg","text":"TemporaryFile(/tmp/multipartBody5314747892640484911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393249955,"filename":"image_09012025_04_26_02_232800_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327586697","file1":"1327586693","file0":"1327586691"},"map_files_photo_id_array":[{"photo_id":"1327586697","filename":"file2"},{"photo_id":"1327586693","filename":"file1"},{"photo_id":"1327586691","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327586691":["hashtag1","hashtag2"]},{"1327586697":["hashtag1","hashtag2"]},{"1327586693":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327586691, 1327586697, 1327586693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.50895929336548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:27:02.563268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:27:21.802183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/26/image_09012025_04_26_02_232800_0003.jpg', '/home/pi/Desktop/images/09012025/04/27/image_09012025_04_27_02_727259_0000.jpg', '/home/pi/Desktop/images/09012025/04/27/image_09012025_04_27_02_727259_0001.jpg', '/home/pi/Desktop/images/09012025/04/27/image_09012025_04_27_02_727259_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/26/image_09012025_04_26_02_232800_0003.jpg
/home/pi/Desktop/images/09012025/04/27/image_09012025_04_27_02_727259_0000.jpg
/home/pi/Desktop/images/09012025/04/27/image_09012025_04_27_02_727259_0001.jpg
/home/pi/Desktop/images/09012025/04/27/image_09012025_04_27_02_727259_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327586724","1327586718","1327586721","1327586714"],"photo_ids_order":["1327586714","1327586718","1327586721","1327586724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/af77beee7822c4d1574f0e89c3661a14.jpg","text":"TemporaryFile(/tmp/multipartBody298163683703292145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393311753,"filename":"image_09012025_04_27_02_727259_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3eaafe48b2f04c11b414398345924288.jpg","text":"TemporaryFile(/tmp/multipartBody5010063630578658317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393311753,"filename":"image_09012025_04_27_02_727259_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/70737c96b9d372d4dcb8eca5cf31a4c1.jpg","text":"TemporaryFile(/tmp/multipartBody196811662072417723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393311753,"filename":"image_09012025_04_27_02_727259_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/68d2a69eb864a1ea92e5453c5223a6dc.jpg","text":"TemporaryFile(/tmp/multipartBody537660425452774426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393311753,"filename":"image_09012025_04_26_02_232800_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327586721","file1":"1327586718","file0":"1327586714","file3":"1327586724"},"map_files_photo_id_array":[{"photo_id":"1327586721","filename":"file2"},{"photo_id":"1327586718","filename":"file1"},{"photo_id":"1327586714","filename":"file0"},{"photo_id":"1327586724","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327586724":["hashtag1","hashtag2"]},{"1327586718":["hashtag1","hashtag2"]},{"1327586721":["hashtag1","hashtag2"]},{"1327586714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327586724, 1327586718, 1327586721, 1327586714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.82101273536682 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:28:02.876111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:28:22.447786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/27/image_09012025_04_27_02_727259_0003.jpg', '/home/pi/Desktop/images/09012025/04/28/image_09012025_04_28_02_206459_0000.jpg', '/home/pi/Desktop/images/09012025/04/28/image_09012025_04_28_02_206459_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/27/image_09012025_04_27_02_727259_0003.jpg
/home/pi/Desktop/images/09012025/04/28/image_09012025_04_28_02_206459_0000.jpg
/home/pi/Desktop/images/09012025/04/28/image_09012025_04_28_02_206459_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327586731","1327586736","1327586733"],"photo_ids_order":["1327586731","1327586733","1327586736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e572a886d386c832aa442df87fa21487.jpg","text":"TemporaryFile(/tmp/multipartBody7112029558519814508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393370034,"filename":"image_09012025_04_27_02_727259_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/03f152ccaae70057080d14c2a9b57e3e.jpg","text":"TemporaryFile(/tmp/multipartBody6365471836095993823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393370034,"filename":"image_09012025_04_28_02_206459_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/69e2aacc3c36de3354041713eaf0e751.jpg","text":"TemporaryFile(/tmp/multipartBody8056647670391749745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393370034,"filename":"image_09012025_04_28_02_206459_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327586736","file1":"1327586733","file0":"1327586731"},"map_files_photo_id_array":[{"photo_id":"1327586736","filename":"file2"},{"photo_id":"1327586733","filename":"file1"},{"photo_id":"1327586731","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327586731":["hashtag1","hashtag2"]},{"1327586736":["hashtag1","hashtag2"]},{"1327586733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327586731, 1327586736, 1327586733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.726274490356445 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:29:02.459160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:29:21.859466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/28/image_09012025_04_28_02_206459_0002.jpg', '/home/pi/Desktop/images/09012025/04/29/image_09012025_04_29_02_800772_0000.jpg', '/home/pi/Desktop/images/09012025/04/29/image_09012025_04_29_02_800772_0001.jpg', '/home/pi/Desktop/images/09012025/04/29/image_09012025_04_29_02_800772_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/28/image_09012025_04_28_02_206459_0002.jpg
/home/pi/Desktop/images/09012025/04/29/image_09012025_04_29_02_800772_0000.jpg
/home/pi/Desktop/images/09012025/04/29/image_09012025_04_29_02_800772_0001.jpg
/home/pi/Desktop/images/09012025/04/29/image_09012025_04_29_02_800772_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327586760","1327586771","1327586765","1327586768"],"photo_ids_order":["1327586760","1327586765","1327586768","1327586771"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a4689b48cf9a0f65dfdf41db4cddc4ee.jpg","text":"TemporaryFile(/tmp/multipartBody3847286292859598899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393431870,"filename":"image_09012025_04_28_02_206459_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ab27ca4d1e6a3a9a818853bb591811d8.jpg","text":"TemporaryFile(/tmp/multipartBody4784648047165671921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393431870,"filename":"image_09012025_04_29_02_800772_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/31e48f3defd0b339131ac0ac6e142fa4.jpg","text":"TemporaryFile(/tmp/multipartBody4641595016202316814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393431870,"filename":"image_09012025_04_29_02_800772_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f6d8e8c0059337aaeeae093b1ab88a12.jpg","text":"TemporaryFile(/tmp/multipartBody6884725262862952788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393431870,"filename":"image_09012025_04_29_02_800772_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327586768","file1":"1327586765","file0":"1327586760","file3":"1327586771"},"map_files_photo_id_array":[{"photo_id":"1327586768","filename":"file2"},{"photo_id":"1327586765","filename":"file1"},{"photo_id":"1327586760","filename":"file0"},{"photo_id":"1327586771","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327586760":["hashtag1","hashtag2"]},{"1327586771":["hashtag1","hashtag2"]},{"1327586765":["hashtag1","hashtag2"]},{"1327586768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327586760, 1327586771, 1327586765, 1327586768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.09804821014404 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:30:22.535025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/29/image_09012025_04_29_02_800772_0003.jpg', '/home/pi/Desktop/images/09012025/04/30/image_09012025_04_30_02_278288_0000.jpg', '/home/pi/Desktop/images/09012025/04/30/image_09012025_04_30_02_278288_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/29/image_09012025_04_29_02_800772_0003.jpg
/home/pi/Desktop/images/09012025/04/30/image_09012025_04_30_02_278288_0000.jpg
/home/pi/Desktop/images/09012025/04/30/image_09012025_04_30_02_278288_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.238868713378906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:31:02.649880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/29/image_09012025_04_29_02_800772_0003.jpg', '/home/pi/Desktop/images/09012025/04/30/image_09012025_04_30_02_278288_0000.jpg', '/home/pi/Desktop/images/09012025/04/30/image_09012025_04_30_02_278288_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/29/image_09012025_04_29_02_800772_0003.jpg
/home/pi/Desktop/images/09012025/04/30/image_09012025_04_30_02_278288_0000.jpg
/home/pi/Desktop/images/09012025/04/30/image_09012025_04_30_02_278288_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327586815","1327586838","1327586814"],"photo_ids_order":["1327586814","1327586815","1327586838"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/798e1dc41b42a8d9255b00f15e00766f.jpg","text":"TemporaryFile(/tmp/multipartBody631025968647734785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393530339,"filename":"image_09012025_04_30_02_278288_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e536293fc24e587811adcd76c5c9d4a2.jpg","text":"TemporaryFile(/tmp/multipartBody3561471208377223468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393530339,"filename":"image_09012025_04_30_02_278288_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aa83d73512e0d5d1b98be910589034fe.jpg","text":"TemporaryFile(/tmp/multipartBody5451059053393437379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393530339,"filename":"image_09012025_04_29_02_800772_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327586838","file1":"1327586815","file0":"1327586814"},"map_files_photo_id_array":[{"photo_id":"1327586838","filename":"file2"},{"photo_id":"1327586815","filename":"file1"},{"photo_id":"1327586814","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327586815":["hashtag1","hashtag2"]},{"1327586838":["hashtag1","hashtag2"]},{"1327586814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327586815, 1327586838, 1327586814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.529216766357422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:32:02.363304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/30/image_09012025_04_30_02_278288_0003.jpg', '/home/pi/Desktop/images/09012025/04/31/image_09012025_04_31_02_904685_0000.jpg', '/home/pi/Desktop/images/09012025/04/31/image_09012025_04_31_02_904685_0001.jpg', '/home/pi/Desktop/images/09012025/04/31/image_09012025_04_31_02_904685_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/30/image_09012025_04_30_02_278288_0003.jpg
/home/pi/Desktop/images/09012025/04/31/image_09012025_04_31_02_904685_0000.jpg
/home/pi/Desktop/images/09012025/04/31/image_09012025_04_31_02_904685_0001.jpg
/home/pi/Desktop/images/09012025/04/31/image_09012025_04_31_02_904685_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.56171727180481 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:32:21.850242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/30/image_09012025_04_30_02_278288_0003.jpg', '/home/pi/Desktop/images/09012025/04/31/image_09012025_04_31_02_904685_0000.jpg', '/home/pi/Desktop/images/09012025/04/31/image_09012025_04_31_02_904685_0001.jpg', '/home/pi/Desktop/images/09012025/04/31/image_09012025_04_31_02_904685_0002.jpg', '/home/pi/Desktop/images/09012025/04/31/image_09012025_04_31_02_904685_0003.jpg', '/home/pi/Desktop/images/09012025/04/32/image_09012025_04_32_02_465084_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/30/image_09012025_04_30_02_278288_0003.jpg
/home/pi/Desktop/images/09012025/04/31/image_09012025_04_31_02_904685_0000.jpg
/home/pi/Desktop/images/09012025/04/31/image_09012025_04_31_02_904685_0001.jpg
/home/pi/Desktop/images/09012025/04/31/image_09012025_04_31_02_904685_0002.jpg
/home/pi/Desktop/images/09012025/04/31/image_09012025_04_31_02_904685_0003.jpg
/home/pi/Desktop/images/09012025/04/32/image_09012025_04_32_02_465084_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327586886","1327586895","1327586897","1327586900","1327586893","1327586890"],"photo_ids_order":["1327586886","1327586890","1327586893","1327586895","1327586897","1327586900"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e82b58f4695f178529ee0ebb2db3460.jpg","text":"TemporaryFile(/tmp/multipartBody6382860509562730217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393616377,"filename":"image_09012025_04_30_02_278288_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0eb40a4eb113384b46955ba9f293c624.jpg","text":"TemporaryFile(/tmp/multipartBody3632586427103541631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393616377,"filename":"image_09012025_04_31_02_904685_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/38123ce9134104bc341946c7009d7981.jpg","text":"TemporaryFile(/tmp/multipartBody6522345922154333280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393616377,"filename":"image_09012025_04_31_02_904685_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/49515accb566cb72234c919f3003d18a.jpg","text":"TemporaryFile(/tmp/multipartBody8530323089138335208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393616377,"filename":"image_09012025_04_32_02_465084_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c63262003af082695fa93d4f8db28019.jpg","text":"TemporaryFile(/tmp/multipartBody433306250429228414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393616377,"filename":"image_09012025_04_31_02_904685_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/15bdf589f9523c99896afdf110c42591.jpg","text":"TemporaryFile(/tmp/multipartBody8236889601898986843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393616377,"filename":"image_09012025_04_31_02_904685_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327586893","file1":"1327586890","file0":"1327586886","file4":"1327586897","file5":"1327586900","file3":"1327586895"},"map_files_photo_id_array":[{"photo_id":"1327586900","filename":"file5"},{"photo_id":"1327586893","filename":"file2"},{"photo_id":"1327586897","filename":"file4"},{"photo_id":"1327586890","filename":"file1"},{"photo_id":"1327586886","filename":"file0"},{"photo_id":"1327586895","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327586886":["hashtag1","hashtag2"]},{"1327586895":["hashtag1","hashtag2"]},{"1327586897":["hashtag1","hashtag2"]},{"1327586900":["hashtag1","hashtag2"]},{"1327586893":["hashtag1","hashtag2"]},{"1327586890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327586886, 1327586895, 1327586897, 1327586900, 1327586893, 1327586890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.97532939910889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:33:22.272169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/32/image_09012025_04_32_02_465084_0002.jpg', '/home/pi/Desktop/images/09012025/04/32/image_09012025_04_32_02_465084_0003.jpg', '/home/pi/Desktop/images/09012025/04/33/image_09012025_04_33_02_179152_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/32/image_09012025_04_32_02_465084_0002.jpg
/home/pi/Desktop/images/09012025/04/32/image_09012025_04_32_02_465084_0003.jpg
/home/pi/Desktop/images/09012025/04/33/image_09012025_04_33_02_179152_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327586904","1327586907","1327586909"],"photo_ids_order":["1327586904","1327586907","1327586909"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c4c64c182b9533bab499dc356c03e5b6.jpg","text":"TemporaryFile(/tmp/multipartBody4905774452795963484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393669849,"filename":"image_09012025_04_32_02_465084_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/23ca06002f454483b85adc64c6ddafc2.jpg","text":"TemporaryFile(/tmp/multipartBody9069488287739931402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393669849,"filename":"image_09012025_04_32_02_465084_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b37edf0f8f32bfdae593ab65b1008dd.jpg","text":"TemporaryFile(/tmp/multipartBody1489633423408195550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393669849,"filename":"image_09012025_04_33_02_179152_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327586909","file1":"1327586907","file0":"1327586904"},"map_files_photo_id_array":[{"photo_id":"1327586909","filename":"file2"},{"photo_id":"1327586907","filename":"file1"},{"photo_id":"1327586904","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327586904":["hashtag1","hashtag2"]},{"1327586907":["hashtag1","hashtag2"]},{"1327586909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327586904, 1327586907, 1327586909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.428094148635864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:34:02.197810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:34:21.857453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/33/image_09012025_04_33_02_179152_0003.jpg', '/home/pi/Desktop/images/09012025/04/34/image_09012025_04_34_02_714201_0000.jpg', '/home/pi/Desktop/images/09012025/04/34/image_09012025_04_34_02_714201_0001.jpg', '/home/pi/Desktop/images/09012025/04/34/image_09012025_04_34_02_714201_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/33/image_09012025_04_33_02_179152_0003.jpg
/home/pi/Desktop/images/09012025/04/34/image_09012025_04_34_02_714201_0000.jpg
/home/pi/Desktop/images/09012025/04/34/image_09012025_04_34_02_714201_0001.jpg
/home/pi/Desktop/images/09012025/04/34/image_09012025_04_34_02_714201_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327586926","1327586920","1327586922","1327586930"],"photo_ids_order":["1327586920","1327586922","1327586926","1327586930"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c9f3199170702b5f95937a550effc5f5.jpg","text":"TemporaryFile(/tmp/multipartBody1971599704831164790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393731761,"filename":"image_09012025_04_34_02_714201_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ae56a04a9b3821b7fb642fd135e46447.jpg","text":"TemporaryFile(/tmp/multipartBody2596183232579142534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393731761,"filename":"image_09012025_04_33_02_179152_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6f05fa901cd72662bfc97c94113d84ec.jpg","text":"TemporaryFile(/tmp/multipartBody6599579440477247278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393731761,"filename":"image_09012025_04_34_02_714201_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ec41fe3c0bc82ca99a446985f811d311.jpg","text":"TemporaryFile(/tmp/multipartBody4339380488609920459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393731761,"filename":"image_09012025_04_34_02_714201_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327586926","file1":"1327586922","file0":"1327586920","file3":"1327586930"},"map_files_photo_id_array":[{"photo_id":"1327586926","filename":"file2"},{"photo_id":"1327586922","filename":"file1"},{"photo_id":"1327586920","filename":"file0"},{"photo_id":"1327586930","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327586926":["hashtag1","hashtag2"]},{"1327586920":["hashtag1","hashtag2"]},{"1327586922":["hashtag1","hashtag2"]},{"1327586930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327586926, 1327586920, 1327586922, 1327586930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.84360480308533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:35:02.821278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:35:22.305792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/34/image_09012025_04_34_02_714201_0003.jpg', '/home/pi/Desktop/images/09012025/04/35/image_09012025_04_35_02_177019_0000.jpg', '/home/pi/Desktop/images/09012025/04/35/image_09012025_04_35_02_177019_0001.jpg', '/home/pi/Desktop/images/09012025/04/35/image_09012025_04_35_02_177019_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/34/image_09012025_04_34_02_714201_0003.jpg
/home/pi/Desktop/images/09012025/04/35/image_09012025_04_35_02_177019_0000.jpg
/home/pi/Desktop/images/09012025/04/35/image_09012025_04_35_02_177019_0001.jpg
/home/pi/Desktop/images/09012025/04/35/image_09012025_04_35_02_177019_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327586950","1327586944","1327586947","1327586940"],"photo_ids_order":["1327586940","1327586944","1327586947","1327586950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3add39ead181db6d2247fdb0c707e132.jpg","text":"TemporaryFile(/tmp/multipartBody2279519352264518245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393792214,"filename":"image_09012025_04_35_02_177019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ae3cd9ef9317c0a7d5b3a1935e226e98.jpg","text":"TemporaryFile(/tmp/multipartBody5808373250740221706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393792214,"filename":"image_09012025_04_35_02_177019_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/327ddb9ebfc9c8b41c114eb559664a6f.jpg","text":"TemporaryFile(/tmp/multipartBody4551778393958770643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393792214,"filename":"image_09012025_04_35_02_177019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5073bcb3efa748f9122217a276bf2851.jpg","text":"TemporaryFile(/tmp/multipartBody4625735718137837836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393792214,"filename":"image_09012025_04_34_02_714201_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327586947","file1":"1327586944","file0":"1327586940","file3":"1327586950"},"map_files_photo_id_array":[{"photo_id":"1327586947","filename":"file2"},{"photo_id":"1327586944","filename":"file1"},{"photo_id":"1327586940","filename":"file0"},{"photo_id":"1327586950","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327586950":["hashtag1","hashtag2"]},{"1327586944":["hashtag1","hashtag2"]},{"1327586947":["hashtag1","hashtag2"]},{"1327586940":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327586950, 1327586944, 1327586947, 1327586940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.16956925392151 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:36:02.341327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:36:21.822318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/35/image_09012025_04_35_02_177019_0003.jpg', '/home/pi/Desktop/images/09012025/04/36/image_09012025_04_36_02_640785_0000.jpg', '/home/pi/Desktop/images/09012025/04/36/image_09012025_04_36_02_640785_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/35/image_09012025_04_35_02_177019_0003.jpg
/home/pi/Desktop/images/09012025/04/36/image_09012025_04_36_02_640785_0000.jpg
/home/pi/Desktop/images/09012025/04/36/image_09012025_04_36_02_640785_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.211869239807129 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:37:03.010303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/35/image_09012025_04_35_02_177019_0003.jpg', '/home/pi/Desktop/images/09012025/04/36/image_09012025_04_36_02_640785_0000.jpg', '/home/pi/Desktop/images/09012025/04/36/image_09012025_04_36_02_640785_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/35/image_09012025_04_35_02_177019_0003.jpg
/home/pi/Desktop/images/09012025/04/36/image_09012025_04_36_02_640785_0000.jpg
/home/pi/Desktop/images/09012025/04/36/image_09012025_04_36_02_640785_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327587081","1327587078","1327587079"],"photo_ids_order":["1327587078","1327587079","1327587081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c5dd8f7987969a2c0f9decd8f8cb0dad.jpg","text":"TemporaryFile(/tmp/multipartBody2511551536591499063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393890693,"filename":"image_09012025_04_36_02_640785_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9589e8d61e9fa36b726b7eece4802564.jpg","text":"TemporaryFile(/tmp/multipartBody3393080460905537559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393890693,"filename":"image_09012025_04_35_02_177019_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2b1a89523a47d08de6fc7885a85b4ade.jpg","text":"TemporaryFile(/tmp/multipartBody5449555330260918794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393890693,"filename":"image_09012025_04_36_02_640785_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327587081","file1":"1327587079","file0":"1327587078"},"map_files_photo_id_array":[{"photo_id":"1327587081","filename":"file2"},{"photo_id":"1327587079","filename":"file1"},{"photo_id":"1327587078","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327587081":["hashtag1","hashtag2"]},{"1327587078":["hashtag1","hashtag2"]},{"1327587079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327587081, 1327587078, 1327587079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.850420475006104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:38:02.593918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/36/image_09012025_04_36_02_640785_0002.jpg', '/home/pi/Desktop/images/09012025/04/37/image_09012025_04_37_02_352070_0000.jpg', '/home/pi/Desktop/images/09012025/04/37/image_09012025_04_37_02_352070_0001.jpg', '/home/pi/Desktop/images/09012025/04/37/image_09012025_04_37_02_352070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/36/image_09012025_04_36_02_640785_0002.jpg
/home/pi/Desktop/images/09012025/04/37/image_09012025_04_37_02_352070_0000.jpg
/home/pi/Desktop/images/09012025/04/37/image_09012025_04_37_02_352070_0001.jpg
/home/pi/Desktop/images/09012025/04/37/image_09012025_04_37_02_352070_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.46487021446228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:38:22.144749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/36/image_09012025_04_36_02_640785_0002.jpg', '/home/pi/Desktop/images/09012025/04/37/image_09012025_04_37_02_352070_0000.jpg', '/home/pi/Desktop/images/09012025/04/37/image_09012025_04_37_02_352070_0001.jpg', '/home/pi/Desktop/images/09012025/04/37/image_09012025_04_37_02_352070_0002.jpg', '/home/pi/Desktop/images/09012025/04/37/image_09012025_04_37_02_352070_0003.jpg', '/home/pi/Desktop/images/09012025/04/38/image_09012025_04_38_02_871461_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/36/image_09012025_04_36_02_640785_0002.jpg
/home/pi/Desktop/images/09012025/04/37/image_09012025_04_37_02_352070_0000.jpg
/home/pi/Desktop/images/09012025/04/37/image_09012025_04_37_02_352070_0001.jpg
/home/pi/Desktop/images/09012025/04/37/image_09012025_04_37_02_352070_0002.jpg
/home/pi/Desktop/images/09012025/04/37/image_09012025_04_37_02_352070_0003.jpg
/home/pi/Desktop/images/09012025/04/38/image_09012025_04_38_02_871461_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327587144","1327587135","1327587138","1327587131","1327587140","1327587142"],"photo_ids_order":["1327587131","1327587135","1327587138","1327587140","1327587142","1327587144"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a15bee49b9d1e309a20e1e031fc0452b.jpg","text":"TemporaryFile(/tmp/multipartBody4341725001095913644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393976589,"filename":"image_09012025_04_38_02_871461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/022ee5b2c45510e60e13f07068adba6f.jpg","text":"TemporaryFile(/tmp/multipartBody5374973974134903759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393976589,"filename":"image_09012025_04_37_02_352070_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8accc8487cfd2619fef1d0ff0f5a02ed.jpg","text":"TemporaryFile(/tmp/multipartBody4305712565414418121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393976589,"filename":"image_09012025_04_37_02_352070_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f63db47f7fae0765bb78ad8c9c914a02.jpg","text":"TemporaryFile(/tmp/multipartBody1582962019304739832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393976589,"filename":"image_09012025_04_36_02_640785_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/28aabd06db00d08a222bd88eebdb3ae1.jpg","text":"TemporaryFile(/tmp/multipartBody8490976153154825878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393976589,"filename":"image_09012025_04_37_02_352070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d9969bbc4607a0edf956288a438ff447.jpg","text":"TemporaryFile(/tmp/multipartBody4313030017093565423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736393976589,"filename":"image_09012025_04_37_02_352070_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327587138","file1":"1327587135","file0":"1327587131","file4":"1327587142","file5":"1327587144","file3":"1327587140"},"map_files_photo_id_array":[{"photo_id":"1327587144","filename":"file5"},{"photo_id":"1327587138","filename":"file2"},{"photo_id":"1327587142","filename":"file4"},{"photo_id":"1327587135","filename":"file1"},{"photo_id":"1327587131","filename":"file0"},{"photo_id":"1327587140","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327587144":["hashtag1","hashtag2"]},{"1327587135":["hashtag1","hashtag2"]},{"1327587138":["hashtag1","hashtag2"]},{"1327587131":["hashtag1","hashtag2"]},{"1327587140":["hashtag1","hashtag2"]},{"1327587142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327587144, 1327587135, 1327587138, 1327587131, 1327587140, 1327587142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.2289617061615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:39:22.607733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/38/image_09012025_04_38_02_871461_0002.jpg', '/home/pi/Desktop/images/09012025/04/38/image_09012025_04_38_02_871461_0003.jpg', '/home/pi/Desktop/images/09012025/04/39/image_09012025_04_39_02_472016_0000.jpg', '/home/pi/Desktop/images/09012025/04/39/image_09012025_04_39_02_472016_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/38/image_09012025_04_38_02_871461_0002.jpg
/home/pi/Desktop/images/09012025/04/38/image_09012025_04_38_02_871461_0003.jpg
/home/pi/Desktop/images/09012025/04/39/image_09012025_04_39_02_472016_0000.jpg
/home/pi/Desktop/images/09012025/04/39/image_09012025_04_39_02_472016_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327587505","1327587561","1327587627","1327587691"],"photo_ids_order":["1327587505","1327587561","1327587627","1327587691"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c728aecc55032498b851e5377c4eda13.jpg","text":"TemporaryFile(/tmp/multipartBody7078718992378800155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394032431,"filename":"image_09012025_04_38_02_871461_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e9d8b090388f39c95a66fcd75ff068dd.jpg","text":"TemporaryFile(/tmp/multipartBody4405510775094000081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394032431,"filename":"image_09012025_04_38_02_871461_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aa943fbb5d9a2ac3d3aa3cfcd73e3416.jpg","text":"TemporaryFile(/tmp/multipartBody179295701655032891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394032431,"filename":"image_09012025_04_39_02_472016_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aa268080bed2b701a3bb8882550cc6dd.jpg","text":"TemporaryFile(/tmp/multipartBody8082888911458106611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394032431,"filename":"image_09012025_04_39_02_472016_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327587627","file1":"1327587561","file0":"1327587505","file3":"1327587691"},"map_files_photo_id_array":[{"photo_id":"1327587627","filename":"file2"},{"photo_id":"1327587561","filename":"file1"},{"photo_id":"1327587505","filename":"file0"},{"photo_id":"1327587691","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327587505":["hashtag1","hashtag2"]},{"1327587561":["hashtag1","hashtag2"]},{"1327587627":["hashtag1","hashtag2"]},{"1327587691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327587505, 1327587561, 1327587627, 1327587691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.54152250289917 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:40:02.401160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:40:22.078480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/39/image_09012025_04_39_02_472016_0003.jpg', '/home/pi/Desktop/images/09012025/04/40/image_09012025_04_40_02_966315_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/39/image_09012025_04_39_02_472016_0003.jpg
/home/pi/Desktop/images/09012025/04/40/image_09012025_04_40_02_966315_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327588151","1327588153"],"photo_ids_order":["1327588151","1327588153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/252c628014f5f5a7fb8a59cbbbfcfe53.jpg","text":"TemporaryFile(/tmp/multipartBody5273362071325172313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394087311,"filename":"image_09012025_04_39_02_472016_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/88270319fef11a39e07e004abeee96b3.jpg","text":"TemporaryFile(/tmp/multipartBody2893720077077364234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394087311,"filename":"image_09012025_04_40_02_966315_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327588153","file0":"1327588151"},"map_files_photo_id_array":[{"photo_id":"1327588153","filename":"file1"},{"photo_id":"1327588151","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327588151":["hashtag1","hashtag2"]},{"1327588153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327588151, 1327588153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.50377082824707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:41:03.114199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:41:22.547419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/40/image_09012025_04_40_02_966315_0003.jpg', '/home/pi/Desktop/images/09012025/04/41/image_09012025_04_41_02_453299_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/40/image_09012025_04_40_02_966315_0003.jpg
/home/pi/Desktop/images/09012025/04/41/image_09012025_04_41_02_453299_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327588170","1327588173"],"photo_ids_order":["1327588170","1327588173"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/af839f73a77e8adbe52793cdd514b3ae.jpg","text":"TemporaryFile(/tmp/multipartBody112108883336780557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394147791,"filename":"image_09012025_04_40_02_966315_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/72840a3dfa8da0408592f83c41357b81.jpg","text":"TemporaryFile(/tmp/multipartBody1666604381082367378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394147791,"filename":"image_09012025_04_41_02_453299_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327588173","file0":"1327588170"},"map_files_photo_id_array":[{"photo_id":"1327588173","filename":"file1"},{"photo_id":"1327588170","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327588170":["hashtag1","hashtag2"]},{"1327588173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327588170, 1327588173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.2564857006073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:42:02.674110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:42:22.225188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/41/image_09012025_04_41_02_453299_0002.jpg', '/home/pi/Desktop/images/09012025/04/42/image_09012025_04_42_02_966560_0000.jpg', '/home/pi/Desktop/images/09012025/04/42/image_09012025_04_42_02_966560_0001.jpg', '/home/pi/Desktop/images/09012025/04/42/image_09012025_04_42_02_966560_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/41/image_09012025_04_41_02_453299_0002.jpg
/home/pi/Desktop/images/09012025/04/42/image_09012025_04_42_02_966560_0000.jpg
/home/pi/Desktop/images/09012025/04/42/image_09012025_04_42_02_966560_0001.jpg
/home/pi/Desktop/images/09012025/04/42/image_09012025_04_42_02_966560_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327588192","1327588185","1327588188","1327588197"],"photo_ids_order":["1327588185","1327588188","1327588192","1327588197"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5d6a0655ccfb065d823228ffd9c04332.jpg","text":"TemporaryFile(/tmp/multipartBody4269734907625101249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394212289,"filename":"image_09012025_04_42_02_966560_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/325003703335cc64eaaddf4356b9b9f8.jpg","text":"TemporaryFile(/tmp/multipartBody3028246577785607546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394212289,"filename":"image_09012025_04_41_02_453299_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b1db7209c872367b4b4c3355e43890eb.jpg","text":"TemporaryFile(/tmp/multipartBody5794658712459815146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394212289,"filename":"image_09012025_04_42_02_966560_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7c58a4fbe8f797dcd29b372d6cd86a11.jpg","text":"TemporaryFile(/tmp/multipartBody6829344355293380475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394212289,"filename":"image_09012025_04_42_02_966560_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327588192","file1":"1327588188","file0":"1327588185","file3":"1327588197"},"map_files_photo_id_array":[{"photo_id":"1327588192","filename":"file2"},{"photo_id":"1327588188","filename":"file1"},{"photo_id":"1327588185","filename":"file0"},{"photo_id":"1327588197","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327588192":["hashtag1","hashtag2"]},{"1327588185":["hashtag1","hashtag2"]},{"1327588188":["hashtag1","hashtag2"]},{"1327588197":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327588192, 1327588185, 1327588188, 1327588197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.254875898361206 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:43:21.776389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/42/image_09012025_04_42_02_966560_0003.jpg', '/home/pi/Desktop/images/09012025/04/43/image_09012025_04_43_02_617119_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/42/image_09012025_04_42_02_966560_0003.jpg
/home/pi/Desktop/images/09012025/04/43/image_09012025_04_43_02_617119_0000.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327588209","1327588207"],"photo_ids_order":["1327588207","1327588209"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f12dd24ecb2d1568198a9f2fdc67926e.jpg","text":"TemporaryFile(/tmp/multipartBody4405556537285253687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394267041,"filename":"image_09012025_04_43_02_617119_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/87d12233f3915fefed416e35321e5296.jpg","text":"TemporaryFile(/tmp/multipartBody5809470307057104064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394267041,"filename":"image_09012025_04_42_02_966560_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327588209","file0":"1327588207"},"map_files_photo_id_array":[{"photo_id":"1327588209","filename":"file1"},{"photo_id":"1327588207","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327588209":["hashtag1","hashtag2"]},{"1327588207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327588209, 1327588207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.30654239654541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:44:02.755347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:44:22.328151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/43/image_09012025_04_43_02_617119_0002.jpg', '/home/pi/Desktop/images/09012025/04/44/image_09012025_04_44_02_170020_0001.jpg', '/home/pi/Desktop/images/09012025/04/44/image_09012025_04_44_02_170020_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/43/image_09012025_04_43_02_617119_0002.jpg
/home/pi/Desktop/images/09012025/04/44/image_09012025_04_44_02_170020_0001.jpg
/home/pi/Desktop/images/09012025/04/44/image_09012025_04_44_02_170020_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327588230","1327588233","1327588228"],"photo_ids_order":["1327588228","1327588230","1327588233"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c0708660fdf94b365aee1f7d533dc91b.jpg","text":"TemporaryFile(/tmp/multipartBody3961454915527458091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394329848,"filename":"image_09012025_04_44_02_170020_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0f553b459570fb660801dcc358d71a95.jpg","text":"TemporaryFile(/tmp/multipartBody6803050089268780514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394329848,"filename":"image_09012025_04_44_02_170020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9546d986dc3ae8da992abc4ddcf9974c.jpg","text":"TemporaryFile(/tmp/multipartBody5678511254947427814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394329848,"filename":"image_09012025_04_43_02_617119_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327588233","file1":"1327588230","file0":"1327588228"},"map_files_photo_id_array":[{"photo_id":"1327588233","filename":"file2"},{"photo_id":"1327588230","filename":"file1"},{"photo_id":"1327588228","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327588230":["hashtag1","hashtag2"]},{"1327588233":["hashtag1","hashtag2"]},{"1327588228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327588230, 1327588233, 1327588228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.877077341079712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:45:02.255760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:45:21.774515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/44/image_09012025_04_44_02_170020_0003.jpg', '/home/pi/Desktop/images/09012025/04/45/image_09012025_04_45_02_689958_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/44/image_09012025_04_44_02_170020_0003.jpg
/home/pi/Desktop/images/09012025/04/45/image_09012025_04_45_02_689958_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327588742","1327588729"],"photo_ids_order":["1327588729","1327588742"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1f3ca35f96883793dcd43cde35088984.jpg","text":"TemporaryFile(/tmp/multipartBody1466271618688971936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394387034,"filename":"image_09012025_04_45_02_689958_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9417f023539f256293b50a97c8fb295d.jpg","text":"TemporaryFile(/tmp/multipartBody7076134083766015436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394387034,"filename":"image_09012025_04_44_02_170020_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327588742","file0":"1327588729"},"map_files_photo_id_array":[{"photo_id":"1327588742","filename":"file1"},{"photo_id":"1327588729","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327588742":["hashtag1","hashtag2"]},{"1327588729":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327588742, 1327588729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.546404123306274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:46:02.843254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:46:22.444403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/45/image_09012025_04_45_02_689958_0002.jpg', '/home/pi/Desktop/images/09012025/04/46/image_09012025_04_46_02_179345_0000.jpg', '/home/pi/Desktop/images/09012025/04/46/image_09012025_04_46_02_179345_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/45/image_09012025_04_45_02_689958_0002.jpg
/home/pi/Desktop/images/09012025/04/46/image_09012025_04_46_02_179345_0000.jpg
/home/pi/Desktop/images/09012025/04/46/image_09012025_04_46_02_179345_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327588922","1327588925","1327588919"],"photo_ids_order":["1327588919","1327588922","1327588925"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6958ce971c9945566ed3f0ffcc0b2033.jpg","text":"TemporaryFile(/tmp/multipartBody5030465196144986936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394450228,"filename":"image_09012025_04_46_02_179345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d6956579bd97145db0180b9ee9e114a3.jpg","text":"TemporaryFile(/tmp/multipartBody852805522192461275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394450228,"filename":"image_09012025_04_46_02_179345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e842da88c1f5589d39a92fd5ef0b94c.jpg","text":"TemporaryFile(/tmp/multipartBody5307396465611651803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394450228,"filename":"image_09012025_04_45_02_689958_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327588925","file1":"1327588922","file0":"1327588919"},"map_files_photo_id_array":[{"photo_id":"1327588925","filename":"file2"},{"photo_id":"1327588922","filename":"file1"},{"photo_id":"1327588919","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327588922":["hashtag1","hashtag2"]},{"1327588925":["hashtag1","hashtag2"]},{"1327588919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327588922, 1327588925, 1327588919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.54224681854248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:47:02.673624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:47:21.945938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/46/image_09012025_04_46_02_179345_0003.jpg', '/home/pi/Desktop/images/09012025/04/47/image_09012025_04_47_02_801730_0000.jpg', '/home/pi/Desktop/images/09012025/04/47/image_09012025_04_47_02_801730_0001.jpg', '/home/pi/Desktop/images/09012025/04/47/image_09012025_04_47_02_801730_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/46/image_09012025_04_46_02_179345_0003.jpg
/home/pi/Desktop/images/09012025/04/47/image_09012025_04_47_02_801730_0000.jpg
/home/pi/Desktop/images/09012025/04/47/image_09012025_04_47_02_801730_0001.jpg
/home/pi/Desktop/images/09012025/04/47/image_09012025_04_47_02_801730_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327588944","1327588938","1327588941","1327588935"],"photo_ids_order":["1327588935","1327588938","1327588941","1327588944"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/067b24367e9f92230c50c7041765a39d.jpg","text":"TemporaryFile(/tmp/multipartBody7810522979980958042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394512193,"filename":"image_09012025_04_47_02_801730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/78d85fc210060018129ce2fbdb2f2acd.jpg","text":"TemporaryFile(/tmp/multipartBody4911882417636937900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394512193,"filename":"image_09012025_04_47_02_801730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c10913abf1ec2ff82817cd98a8acb1bd.jpg","text":"TemporaryFile(/tmp/multipartBody3470731838950582761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394512193,"filename":"image_09012025_04_47_02_801730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/163dc5b82dbbb974eeff424907d9ab12.jpg","text":"TemporaryFile(/tmp/multipartBody8021889673550224068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394512193,"filename":"image_09012025_04_46_02_179345_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327588941","file1":"1327588938","file0":"1327588935","file3":"1327588944"},"map_files_photo_id_array":[{"photo_id":"1327588941","filename":"file2"},{"photo_id":"1327588938","filename":"file1"},{"photo_id":"1327588935","filename":"file0"},{"photo_id":"1327588944","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327588944":["hashtag1","hashtag2"]},{"1327588938":["hashtag1","hashtag2"]},{"1327588941":["hashtag1","hashtag2"]},{"1327588935":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327588944, 1327588938, 1327588941, 1327588935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.915112018585205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:48:22.616797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/47/image_09012025_04_47_02_801730_0003.jpg', '/home/pi/Desktop/images/09012025/04/48/image_09012025_04_48_02_314795_0000.jpg', '/home/pi/Desktop/images/09012025/04/48/image_09012025_04_48_02_314795_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/47/image_09012025_04_47_02_801730_0003.jpg
/home/pi/Desktop/images/09012025/04/48/image_09012025_04_48_02_314795_0000.jpg
/home/pi/Desktop/images/09012025/04/48/image_09012025_04_48_02_314795_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327588950","1327588952","1327588955"],"photo_ids_order":["1327588950","1327588952","1327588955"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0d5f4a79802d8c3a77f67f4aed7ca676.jpg","text":"TemporaryFile(/tmp/multipartBody8038744499406206496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394570504,"filename":"image_09012025_04_47_02_801730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c68180b67e54ae810f5902ac78b4642c.jpg","text":"TemporaryFile(/tmp/multipartBody6844105694504609306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394570504,"filename":"image_09012025_04_48_02_314795_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a19387b91a0fe2bab7f7888b0356581c.jpg","text":"TemporaryFile(/tmp/multipartBody5406876395552950520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394570504,"filename":"image_09012025_04_48_02_314795_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327588955","file1":"1327588952","file0":"1327588950"},"map_files_photo_id_array":[{"photo_id":"1327588955","filename":"file2"},{"photo_id":"1327588952","filename":"file1"},{"photo_id":"1327588950","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327588950":["hashtag1","hashtag2"]},{"1327588952":["hashtag1","hashtag2"]},{"1327588955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327588950, 1327588952, 1327588955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.915246963500977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:49:02.670502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:49:22.024291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/48/image_09012025_04_48_02_314795_0003.jpg', '/home/pi/Desktop/images/09012025/04/49/image_09012025_04_49_02_934091_0000.jpg', '/home/pi/Desktop/images/09012025/04/49/image_09012025_04_49_02_934091_0001.jpg', '/home/pi/Desktop/images/09012025/04/49/image_09012025_04_49_02_934091_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/48/image_09012025_04_48_02_314795_0003.jpg
/home/pi/Desktop/images/09012025/04/49/image_09012025_04_49_02_934091_0000.jpg
/home/pi/Desktop/images/09012025/04/49/image_09012025_04_49_02_934091_0001.jpg
/home/pi/Desktop/images/09012025/04/49/image_09012025_04_49_02_934091_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327588970","1327588980","1327588974","1327588977"],"photo_ids_order":["1327588970","1327588974","1327588977","1327588980"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0fd68b31a657ca68b0c29a40b0118083.jpg","text":"TemporaryFile(/tmp/multipartBody3001407652937682362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394632292,"filename":"image_09012025_04_48_02_314795_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3ce648116a73b79c63ab942b75c0f0da.jpg","text":"TemporaryFile(/tmp/multipartBody5875544166799069759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394632292,"filename":"image_09012025_04_49_02_934091_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5b9f3ceb479eee1ecf760c2c1af0420f.jpg","text":"TemporaryFile(/tmp/multipartBody3751947263965270984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394632292,"filename":"image_09012025_04_49_02_934091_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b2332e6209424ecb2afef3d164293781.jpg","text":"TemporaryFile(/tmp/multipartBody1273227840050019584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394632292,"filename":"image_09012025_04_49_02_934091_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327588977","file1":"1327588974","file0":"1327588970","file3":"1327588980"},"map_files_photo_id_array":[{"photo_id":"1327588977","filename":"file2"},{"photo_id":"1327588974","filename":"file1"},{"photo_id":"1327588970","filename":"file0"},{"photo_id":"1327588980","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327588970":["hashtag1","hashtag2"]},{"1327588980":["hashtag1","hashtag2"]},{"1327588974":["hashtag1","hashtag2"]},{"1327588977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327588970, 1327588980, 1327588974, 1327588977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.88509511947632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:50:03.128398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:50:22.816103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/49/image_09012025_04_49_02_934091_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/49/image_09012025_04_49_02_934091_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.6592984199523926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:51:02.767365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/49/image_09012025_04_49_02_934091_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/49/image_09012025_04_49_02_934091_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327589007"],"photo_id":"1327589007","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/00d9aa47bf657f5af082c385cc844adb.jpg","text":"TemporaryFile(/tmp/multipartBody7414892984104610710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394725912,"filename":"image_09012025_04_49_02_934091_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1327589007"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1327589007"}],"hashtags":[],"portfolio_id":"19481811","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.31112027168274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:51:22.198048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/50/image_09012025_04_50_02_476742_0002.jpg', '/home/pi/Desktop/images/09012025/04/51/image_09012025_04_51_03_077579_0000.jpg', '/home/pi/Desktop/images/09012025/04/51/image_09012025_04_51_03_077579_0001.jpg', '/home/pi/Desktop/images/09012025/04/51/image_09012025_04_51_03_077579_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/50/image_09012025_04_50_02_476742_0002.jpg
/home/pi/Desktop/images/09012025/04/51/image_09012025_04_51_03_077579_0000.jpg
/home/pi/Desktop/images/09012025/04/51/image_09012025_04_51_03_077579_0001.jpg
/home/pi/Desktop/images/09012025/04/51/image_09012025_04_51_03_077579_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327589011","1327589020","1327589014","1327589023"],"photo_ids_order":["1327589011","1327589014","1327589020","1327589023"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1d50a6c58a4159bbfddd79b6b550ddb3.jpg","text":"TemporaryFile(/tmp/multipartBody683457424349745842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394752485,"filename":"image_09012025_04_50_02_476742_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/735b7b517a1d76893cdee33672ed76cf.jpg","text":"TemporaryFile(/tmp/multipartBody825257767502488238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394752485,"filename":"image_09012025_04_51_03_077579_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7e10004a9510b80fdcd23ab12777af3b.jpg","text":"TemporaryFile(/tmp/multipartBody4695588145614066468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394752485,"filename":"image_09012025_04_51_03_077579_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/34bb1e9f2a8e9365598531c0d592d515.jpg","text":"TemporaryFile(/tmp/multipartBody6536642610721035192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394752485,"filename":"image_09012025_04_51_03_077579_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327589020","file1":"1327589014","file0":"1327589011","file3":"1327589023"},"map_files_photo_id_array":[{"photo_id":"1327589020","filename":"file2"},{"photo_id":"1327589014","filename":"file1"},{"photo_id":"1327589011","filename":"file0"},{"photo_id":"1327589023","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327589011":["hashtag1","hashtag2"]},{"1327589020":["hashtag1","hashtag2"]},{"1327589014":["hashtag1","hashtag2"]},{"1327589023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327589011, 1327589020, 1327589014, 1327589023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.49766564369202 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:52:21.932589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/51/image_09012025_04_51_03_077579_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/51/image_09012025_04_51_03_077579_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327589031"],"photo_id":"1327589031","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/67e8e0425e9563bdabbea8cc9f08dbab.jpg","text":"TemporaryFile(/tmp/multipartBody6414873641267116845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394805047,"filename":"image_09012025_04_51_03_077579_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1327589031"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1327589031"}],"hashtags":[],"portfolio_id":"19481811","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.581573247909546 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:53:03.089380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:53:22.434502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/52/image_09012025_04_52_02_688594_0001.jpg', '/home/pi/Desktop/images/09012025/04/53/image_09012025_04_53_02_375144_0000.jpg', '/home/pi/Desktop/images/09012025/04/53/image_09012025_04_53_02_375144_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/52/image_09012025_04_52_02_688594_0001.jpg
/home/pi/Desktop/images/09012025/04/53/image_09012025_04_53_02_375144_0000.jpg
/home/pi/Desktop/images/09012025/04/53/image_09012025_04_53_02_375144_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327589057","1327589050","1327589053"],"photo_ids_order":["1327589050","1327589053","1327589057"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/44ca301268d16abd3ddb1620b0561d6d.jpg","text":"TemporaryFile(/tmp/multipartBody9197078753601824481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394870319,"filename":"image_09012025_04_53_02_375144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c1cadc9121875d1c4d7c0b58848be1e0.jpg","text":"TemporaryFile(/tmp/multipartBody9155686270087324181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394870319,"filename":"image_09012025_04_52_02_688594_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cacc779b7eba22f48569708189c6b717.jpg","text":"TemporaryFile(/tmp/multipartBody2282590884565138514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394870319,"filename":"image_09012025_04_53_02_375144_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327589057","file1":"1327589053","file0":"1327589050"},"map_files_photo_id_array":[{"photo_id":"1327589057","filename":"file2"},{"photo_id":"1327589053","filename":"file1"},{"photo_id":"1327589050","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327589057":["hashtag1","hashtag2"]},{"1327589050":["hashtag1","hashtag2"]},{"1327589053":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327589057, 1327589050, 1327589053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.460389614105225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:54:02.625993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:54:22.211239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/53/image_09012025_04_53_02_375144_0002.jpg', '/home/pi/Desktop/images/09012025/04/54/image_09012025_04_54_02_880668_0000.jpg', '/home/pi/Desktop/images/09012025/04/54/image_09012025_04_54_02_880668_0001.jpg', '/home/pi/Desktop/images/09012025/04/54/image_09012025_04_54_02_880668_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/53/image_09012025_04_53_02_375144_0002.jpg
/home/pi/Desktop/images/09012025/04/54/image_09012025_04_54_02_880668_0000.jpg
/home/pi/Desktop/images/09012025/04/54/image_09012025_04_54_02_880668_0001.jpg
/home/pi/Desktop/images/09012025/04/54/image_09012025_04_54_02_880668_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327589072","1327589074","1327589070","1327589067"],"photo_ids_order":["1327589067","1327589070","1327589072","1327589074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/17e7207cd07a14d2f55f1d71d8221c0b.jpg","text":"TemporaryFile(/tmp/multipartBody8794675000480934104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394932474,"filename":"image_09012025_04_54_02_880668_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d23e56485a5557955e30ebf2ea10540b.jpg","text":"TemporaryFile(/tmp/multipartBody338373730861069470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394932474,"filename":"image_09012025_04_54_02_880668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aa40067ef342f8b1a91de7f57877e38f.jpg","text":"TemporaryFile(/tmp/multipartBody319662430286290588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394932474,"filename":"image_09012025_04_54_02_880668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/02b5080b42f591d4cfdfd23baa7fd5bb.jpg","text":"TemporaryFile(/tmp/multipartBody5628487123537328207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394932474,"filename":"image_09012025_04_53_02_375144_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327589072","file1":"1327589070","file0":"1327589067","file3":"1327589074"},"map_files_photo_id_array":[{"photo_id":"1327589072","filename":"file2"},{"photo_id":"1327589070","filename":"file1"},{"photo_id":"1327589067","filename":"file0"},{"photo_id":"1327589074","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327589072":["hashtag1","hashtag2"]},{"1327589074":["hashtag1","hashtag2"]},{"1327589070":["hashtag1","hashtag2"]},{"1327589067":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327589072, 1327589074, 1327589070, 1327589067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.01157021522522 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:55:21.758223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/54/image_09012025_04_54_02_880668_0003.jpg', '/home/pi/Desktop/images/09012025/04/55/image_09012025_04_55_02_638254_0000.jpg', '/home/pi/Desktop/images/09012025/04/55/image_09012025_04_55_02_638254_0001.jpg', '/home/pi/Desktop/images/09012025/04/55/image_09012025_04_55_02_638254_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/54/image_09012025_04_54_02_880668_0003.jpg
/home/pi/Desktop/images/09012025/04/55/image_09012025_04_55_02_638254_0000.jpg
/home/pi/Desktop/images/09012025/04/55/image_09012025_04_55_02_638254_0001.jpg
/home/pi/Desktop/images/09012025/04/55/image_09012025_04_55_02_638254_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327589096","1327589108","1327589080","1327589083"],"photo_ids_order":["1327589080","1327589083","1327589096","1327589108"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2241f367dc8671d9724d973b04e7cd04.jpg","text":"TemporaryFile(/tmp/multipartBody5840957338511714249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394992040,"filename":"image_09012025_04_55_02_638254_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/06c1526b9bf3530f09b2a885f76570fe.jpg","text":"TemporaryFile(/tmp/multipartBody2628524538731535824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394992040,"filename":"image_09012025_04_55_02_638254_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1f764025a979ad3391d634caabe20399.jpg","text":"TemporaryFile(/tmp/multipartBody1519185254374216768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394992040,"filename":"image_09012025_04_54_02_880668_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/884014f57a75e7c5fb9ef97001da3e7d.jpg","text":"TemporaryFile(/tmp/multipartBody2995425238035814829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736394992040,"filename":"image_09012025_04_55_02_638254_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327589096","file1":"1327589083","file0":"1327589080","file3":"1327589108"},"map_files_photo_id_array":[{"photo_id":"1327589096","filename":"file2"},{"photo_id":"1327589083","filename":"file1"},{"photo_id":"1327589080","filename":"file0"},{"photo_id":"1327589108","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327589096":["hashtag1","hashtag2"]},{"1327589108":["hashtag1","hashtag2"]},{"1327589080":["hashtag1","hashtag2"]},{"1327589083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327589096, 1327589108, 1327589080, 1327589083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.39289665222168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:56:02.591159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:56:22.243002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/55/image_09012025_04_55_02_638254_0003.jpg', '/home/pi/Desktop/images/09012025/04/56/image_09012025_04_56_02_113709_0001.jpg', '/home/pi/Desktop/images/09012025/04/56/image_09012025_04_56_02_113709_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/55/image_09012025_04_55_02_638254_0003.jpg
/home/pi/Desktop/images/09012025/04/56/image_09012025_04_56_02_113709_0001.jpg
/home/pi/Desktop/images/09012025/04/56/image_09012025_04_56_02_113709_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327589123","1327589121","1327589118"],"photo_ids_order":["1327589118","1327589121","1327589123"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/15ad1497499d6a527a74b27376665dab.jpg","text":"TemporaryFile(/tmp/multipartBody5266860257764166614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395050100,"filename":"image_09012025_04_56_02_113709_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e8a3f572ac21e3df1cc620e156f8e05c.jpg","text":"TemporaryFile(/tmp/multipartBody6740637013575762330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395050100,"filename":"image_09012025_04_56_02_113709_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/652a3fa0d142a4dda2b0ce22576296d0.jpg","text":"TemporaryFile(/tmp/multipartBody4338115574938851266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395050100,"filename":"image_09012025_04_55_02_638254_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327589123","file1":"1327589121","file0":"1327589118"},"map_files_photo_id_array":[{"photo_id":"1327589123","filename":"file2"},{"photo_id":"1327589121","filename":"file1"},{"photo_id":"1327589118","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327589123":["hashtag1","hashtag2"]},{"1327589121":["hashtag1","hashtag2"]},{"1327589118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327589123, 1327589121, 1327589118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.87050247192383 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:57:02.388914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 04:57:21.737118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/56/image_09012025_04_56_02_113709_0003.jpg', '/home/pi/Desktop/images/09012025/04/57/image_09012025_04_57_02_633198_0000.jpg', '/home/pi/Desktop/images/09012025/04/57/image_09012025_04_57_02_633198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/56/image_09012025_04_56_02_113709_0003.jpg
/home/pi/Desktop/images/09012025/04/57/image_09012025_04_57_02_633198_0000.jpg
/home/pi/Desktop/images/09012025/04/57/image_09012025_04_57_02_633198_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327589144","1327589137","1327589139"],"photo_ids_order":["1327589137","1327589139","1327589144"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/98e660db99eea368ea20a9fbd00547ed.jpg","text":"TemporaryFile(/tmp/multipartBody7211656169876698302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395109607,"filename":"image_09012025_04_57_02_633198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4788ff6cac5348f1cc37fbd1ada6bb30.jpg","text":"TemporaryFile(/tmp/multipartBody8285796820245554341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395109607,"filename":"image_09012025_04_56_02_113709_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f451e1296edb3d06eb2a686c15455773.jpg","text":"TemporaryFile(/tmp/multipartBody4005443990624883735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395109607,"filename":"image_09012025_04_57_02_633198_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327589144","file1":"1327589139","file0":"1327589137"},"map_files_photo_id_array":[{"photo_id":"1327589144","filename":"file2"},{"photo_id":"1327589139","filename":"file1"},{"photo_id":"1327589137","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327589144":["hashtag1","hashtag2"]},{"1327589137":["hashtag1","hashtag2"]},{"1327589139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327589144, 1327589137, 1327589139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.722005367279053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 04:59:03.069047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/57/image_09012025_04_57_02_633198_0003.jpg', '/home/pi/Desktop/images/09012025/04/58/image_09012025_04_58_02_124384_0000.jpg', '/home/pi/Desktop/images/09012025/04/58/image_09012025_04_58_02_124384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/57/image_09012025_04_57_02_633198_0003.jpg
/home/pi/Desktop/images/09012025/04/58/image_09012025_04_58_02_124384_0000.jpg
/home/pi/Desktop/images/09012025/04/58/image_09012025_04_58_02_124384_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327589177","1327589173","1327589182"],"photo_ids_order":["1327589173","1327589177","1327589182"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/69c9a223072fc974236b042fcab63da0.jpg","text":"TemporaryFile(/tmp/multipartBody3162224460383821569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395211001,"filename":"image_09012025_04_58_02_124384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/412a931bf5f4cea3a61faa6e3b6b3572.jpg","text":"TemporaryFile(/tmp/multipartBody854142468283996566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395211001,"filename":"image_09012025_04_57_02_633198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/daa3063c5c3da048be5a21f3bcd341ee.jpg","text":"TemporaryFile(/tmp/multipartBody8600266760409537233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395211001,"filename":"image_09012025_04_58_02_124384_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327589182","file1":"1327589177","file0":"1327589173"},"map_files_photo_id_array":[{"photo_id":"1327589182","filename":"file2"},{"photo_id":"1327589177","filename":"file1"},{"photo_id":"1327589173","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327589177":["hashtag1","hashtag2"]},{"1327589173":["hashtag1","hashtag2"]},{"1327589182":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327589177, 1327589173, 1327589182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.34401512145996 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:00:03.068764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/58/image_09012025_04_58_02_124384_0003.jpg', '/home/pi/Desktop/images/09012025/04/59/image_09012025_04_59_02_768213_0000.jpg', '/home/pi/Desktop/images/09012025/04/59/image_09012025_04_59_02_768213_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/58/image_09012025_04_58_02_124384_0003.jpg
/home/pi/Desktop/images/09012025/04/59/image_09012025_04_59_02_768213_0000.jpg
/home/pi/Desktop/images/09012025/04/59/image_09012025_04_59_02_768213_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327589383","1327589353","1327589434"],"photo_ids_order":["1327589353","1327589383","1327589434"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/af47c247081c545b5cace5cf9dd4c857.jpg","text":"TemporaryFile(/tmp/multipartBody6231617662247722275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395270956,"filename":"image_09012025_04_59_02_768213_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1a8fe20fac4335b84dd71f93992a2c23.jpg","text":"TemporaryFile(/tmp/multipartBody4756490952927041128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395270956,"filename":"image_09012025_04_58_02_124384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4c4293cc6045edf82cb87c33c29717db.jpg","text":"TemporaryFile(/tmp/multipartBody4438558683869122927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395270956,"filename":"image_09012025_04_59_02_768213_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327589434","file1":"1327589383","file0":"1327589353"},"map_files_photo_id_array":[{"photo_id":"1327589434","filename":"file2"},{"photo_id":"1327589383","filename":"file1"},{"photo_id":"1327589353","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327589383":["hashtag1","hashtag2"]},{"1327589353":["hashtag1","hashtag2"]},{"1327589434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327589383, 1327589353, 1327589434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.29302477836609 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:01:02.673338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/04/59/image_09012025_04_59_02_768213_0003.jpg', '/home/pi/Desktop/images/09012025/05/00/image_09012025_05_00_02_891048_0000.jpg', '/home/pi/Desktop/images/09012025/05/00/image_09012025_05_00_02_891048_0001.jpg', '/home/pi/Desktop/images/09012025/05/00/image_09012025_05_00_02_891048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/04/59/image_09012025_04_59_02_768213_0003.jpg
/home/pi/Desktop/images/09012025/05/00/image_09012025_05_00_02_891048_0000.jpg
/home/pi/Desktop/images/09012025/05/00/image_09012025_05_00_02_891048_0001.jpg
/home/pi/Desktop/images/09012025/05/00/image_09012025_05_00_02_891048_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327590129","1327590065","1327590125","1327590121"],"photo_ids_order":["1327590065","1327590121","1327590125","1327590129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/185800c8ff583487d9acb91a3597f3ce.jpg","text":"TemporaryFile(/tmp/multipartBody6587752490717022753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395332938,"filename":"image_09012025_05_00_02_891048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d5cd0d2a5b61bf9877ff5dc573a35d29.jpg","text":"TemporaryFile(/tmp/multipartBody6234047479051073209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395332938,"filename":"image_09012025_04_59_02_768213_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/856fdc6cdf064e454c901eddc079e19d.jpg","text":"TemporaryFile(/tmp/multipartBody8544121526103584355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395332938,"filename":"image_09012025_05_00_02_891048_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/622be2c366fd5d3b1c4c47ad1902645e.jpg","text":"TemporaryFile(/tmp/multipartBody869719495044165712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395332938,"filename":"image_09012025_05_00_02_891048_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327590125","file1":"1327590121","file0":"1327590065","file3":"1327590129"},"map_files_photo_id_array":[{"photo_id":"1327590125","filename":"file2"},{"photo_id":"1327590121","filename":"file1"},{"photo_id":"1327590065","filename":"file0"},{"photo_id":"1327590129","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327590129":["hashtag1","hashtag2"]},{"1327590065":["hashtag1","hashtag2"]},{"1327590125":["hashtag1","hashtag2"]},{"1327590121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327590129, 1327590065, 1327590125, 1327590121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.30097532272339 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:02:03.097554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/00/image_09012025_05_00_02_891048_0003.jpg', '/home/pi/Desktop/images/09012025/05/01/image_09012025_05_01_02_960865_0000.jpg', '/home/pi/Desktop/images/09012025/05/01/image_09012025_05_01_02_960865_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/00/image_09012025_05_00_02_891048_0003.jpg
/home/pi/Desktop/images/09012025/05/01/image_09012025_05_01_02_960865_0000.jpg
/home/pi/Desktop/images/09012025/05/01/image_09012025_05_01_02_960865_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.192300796508789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:02:22.730654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/00/image_09012025_05_00_02_891048_0003.jpg', '/home/pi/Desktop/images/09012025/05/01/image_09012025_05_01_02_960865_0000.jpg', '/home/pi/Desktop/images/09012025/05/01/image_09012025_05_01_02_960865_0001.jpg', '/home/pi/Desktop/images/09012025/05/01/image_09012025_05_01_02_960865_0002.jpg', '/home/pi/Desktop/images/09012025/05/02/image_09012025_05_02_02_456519_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/00/image_09012025_05_00_02_891048_0003.jpg
/home/pi/Desktop/images/09012025/05/01/image_09012025_05_01_02_960865_0000.jpg
/home/pi/Desktop/images/09012025/05/01/image_09012025_05_01_02_960865_0001.jpg
/home/pi/Desktop/images/09012025/05/01/image_09012025_05_01_02_960865_0002.jpg
/home/pi/Desktop/images/09012025/05/02/image_09012025_05_02_02_456519_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327590153","1327590166","1327590169","1327590162","1327590159"],"photo_ids_order":["1327590153","1327590159","1327590162","1327590166","1327590169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7ffa3da4ad8c4e7aac08b7e2500c4527.jpg","text":"TemporaryFile(/tmp/multipartBody8623641704695345995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395414920,"filename":"image_09012025_05_00_02_891048_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/417debb0a4fb699823985b11625451bd.jpg","text":"TemporaryFile(/tmp/multipartBody5883891168753099153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395414920,"filename":"image_09012025_05_01_02_960865_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/701a17f9c15d234c02c359300d521f10.jpg","text":"TemporaryFile(/tmp/multipartBody8764001153706267560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395414920,"filename":"image_09012025_05_02_02_456519_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/78f6b1d76f7111e4c73ab2e9cb0f576f.jpg","text":"TemporaryFile(/tmp/multipartBody8843994788633389039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395414920,"filename":"image_09012025_05_01_02_960865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c164314fb7ef85fc6c327da8d9b87603.jpg","text":"TemporaryFile(/tmp/multipartBody7303008577898267098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395414920,"filename":"image_09012025_05_01_02_960865_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327590162","file1":"1327590159","file0":"1327590153","file4":"1327590169","file3":"1327590166"},"map_files_photo_id_array":[{"photo_id":"1327590162","filename":"file2"},{"photo_id":"1327590169","filename":"file4"},{"photo_id":"1327590159","filename":"file1"},{"photo_id":"1327590153","filename":"file0"},{"photo_id":"1327590166","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327590153":["hashtag1","hashtag2"]},{"1327590166":["hashtag1","hashtag2"]},{"1327590169":["hashtag1","hashtag2"]},{"1327590162":["hashtag1","hashtag2"]},{"1327590159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327590153, 1327590166, 1327590169, 1327590162, 1327590159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 45.73446321487427 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:03:22.176025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/02/image_09012025_05_02_02_456519_0003.jpg', '/home/pi/Desktop/images/09012025/05/03/image_09012025_05_03_03_055935_0000.jpg', '/home/pi/Desktop/images/09012025/05/03/image_09012025_05_03_03_055935_0001.jpg', '/home/pi/Desktop/images/09012025/05/03/image_09012025_05_03_03_055935_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/02/image_09012025_05_02_02_456519_0003.jpg
/home/pi/Desktop/images/09012025/05/03/image_09012025_05_03_03_055935_0000.jpg
/home/pi/Desktop/images/09012025/05/03/image_09012025_05_03_03_055935_0001.jpg
/home/pi/Desktop/images/09012025/05/03/image_09012025_05_03_03_055935_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327590191","1327590188","1327590185","1327590181"],"photo_ids_order":["1327590181","1327590185","1327590188","1327590191"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/81e2fc41ca4b04b4c86b7c6d3e6fd817.jpg","text":"TemporaryFile(/tmp/multipartBody4525069039482245728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395472214,"filename":"image_09012025_05_03_03_055935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a7e553f84fc4e52d7844c17442519327.jpg","text":"TemporaryFile(/tmp/multipartBody3957858200183562606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395472214,"filename":"image_09012025_05_03_03_055935_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9e5918d29404217a4330bd2c9f13dc82.jpg","text":"TemporaryFile(/tmp/multipartBody6322409348116957833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395472214,"filename":"image_09012025_05_03_03_055935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/09db2057d6c4fec3a92f046eacbc9cab.jpg","text":"TemporaryFile(/tmp/multipartBody4488385093188848047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395472214,"filename":"image_09012025_05_02_02_456519_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327590188","file1":"1327590185","file0":"1327590181","file3":"1327590191"},"map_files_photo_id_array":[{"photo_id":"1327590188","filename":"file2"},{"photo_id":"1327590185","filename":"file1"},{"photo_id":"1327590181","filename":"file0"},{"photo_id":"1327590191","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327590191":["hashtag1","hashtag2"]},{"1327590188":["hashtag1","hashtag2"]},{"1327590185":["hashtag1","hashtag2"]},{"1327590181":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327590191, 1327590188, 1327590185, 1327590181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.002729654312134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:04:03.035103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:04:22.659211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/03/image_09012025_05_03_03_055935_0003.jpg', '/home/pi/Desktop/images/09012025/05/04/image_09012025_05_04_02_568447_0001.jpg', '/home/pi/Desktop/images/09012025/05/04/image_09012025_05_04_02_568447_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/03/image_09012025_05_03_03_055935_0003.jpg
/home/pi/Desktop/images/09012025/05/04/image_09012025_05_04_02_568447_0001.jpg
/home/pi/Desktop/images/09012025/05/04/image_09012025_05_04_02_568447_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327590197","1327590200","1327590203"],"photo_ids_order":["1327590197","1327590200","1327590203"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c5896c9f262f1c12d6bd192f4506f203.jpg","text":"TemporaryFile(/tmp/multipartBody9213729758056260046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395530247,"filename":"image_09012025_05_03_03_055935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/63f74d580c62c932334382691d969eea.jpg","text":"TemporaryFile(/tmp/multipartBody8195910790326393109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395530247,"filename":"image_09012025_05_04_02_568447_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c9c1102289741c5383bfcdaf6e0267f0.jpg","text":"TemporaryFile(/tmp/multipartBody1111107235574814020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395530247,"filename":"image_09012025_05_04_02_568447_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327590203","file1":"1327590200","file0":"1327590197"},"map_files_photo_id_array":[{"photo_id":"1327590203","filename":"file2"},{"photo_id":"1327590200","filename":"file1"},{"photo_id":"1327590197","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327590197":["hashtag1","hashtag2"]},{"1327590200":["hashtag1","hashtag2"]},{"1327590203":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327590197, 1327590200, 1327590203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.08223247528076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:05:02.644938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:05:22.122725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/04/image_09012025_05_04_02_568447_0003.jpg', '/home/pi/Desktop/images/09012025/05/05/image_09012025_05_05_03_073300_0000.jpg', '/home/pi/Desktop/images/09012025/05/05/image_09012025_05_05_03_073300_0001.jpg', '/home/pi/Desktop/images/09012025/05/05/image_09012025_05_05_03_073300_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/04/image_09012025_05_04_02_568447_0003.jpg
/home/pi/Desktop/images/09012025/05/05/image_09012025_05_05_03_073300_0000.jpg
/home/pi/Desktop/images/09012025/05/05/image_09012025_05_05_03_073300_0001.jpg
/home/pi/Desktop/images/09012025/05/05/image_09012025_05_05_03_073300_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327590222","1327590230","1327590218","1327590243"],"photo_ids_order":["1327590218","1327590222","1327590230","1327590243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bdb4178544abaff908d8e27926842c60.jpg","text":"TemporaryFile(/tmp/multipartBody1569977888889322439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395592088,"filename":"image_09012025_05_05_03_073300_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1efd30b89d975ad75f028c16d39335fb.jpg","text":"TemporaryFile(/tmp/multipartBody4768045113725290633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395592088,"filename":"image_09012025_05_05_03_073300_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2ffd04f700161f139bdf33530715f9e9.jpg","text":"TemporaryFile(/tmp/multipartBody2834492092466078019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395592088,"filename":"image_09012025_05_04_02_568447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/62e35d04abd64e9da41b2623bb910839.jpg","text":"TemporaryFile(/tmp/multipartBody3509195813039157449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395592088,"filename":"image_09012025_05_05_03_073300_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327590230","file1":"1327590222","file0":"1327590218","file3":"1327590243"},"map_files_photo_id_array":[{"photo_id":"1327590230","filename":"file2"},{"photo_id":"1327590222","filename":"file1"},{"photo_id":"1327590218","filename":"file0"},{"photo_id":"1327590243","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327590222":["hashtag1","hashtag2"]},{"1327590230":["hashtag1","hashtag2"]},{"1327590218":["hashtag1","hashtag2"]},{"1327590243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327590222, 1327590230, 1327590218, 1327590243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.953832149505615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:06:02.402463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:06:21.880271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/05/image_09012025_05_05_03_073300_0003.jpg', '/home/pi/Desktop/images/09012025/05/06/image_09012025_05_06_02_612349_0000.jpg', '/home/pi/Desktop/images/09012025/05/06/image_09012025_05_06_02_612349_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/05/image_09012025_05_05_03_073300_0003.jpg
/home/pi/Desktop/images/09012025/05/06/image_09012025_05_06_02_612349_0000.jpg
/home/pi/Desktop/images/09012025/05/06/image_09012025_05_06_02_612349_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.278225898742676 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:07:02.904123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/05/image_09012025_05_05_03_073300_0003.jpg', '/home/pi/Desktop/images/09012025/05/06/image_09012025_05_06_02_612349_0000.jpg', '/home/pi/Desktop/images/09012025/05/06/image_09012025_05_06_02_612349_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/05/image_09012025_05_05_03_073300_0003.jpg
/home/pi/Desktop/images/09012025/05/06/image_09012025_05_06_02_612349_0000.jpg
/home/pi/Desktop/images/09012025/05/06/image_09012025_05_06_02_612349_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327590281","1327590284","1327590282"],"photo_ids_order":["1327590281","1327590282","1327590284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f6b56669bf6e442d7f57c8a4ec4dd277.jpg","text":"TemporaryFile(/tmp/multipartBody5373454443152659846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395690665,"filename":"image_09012025_05_05_03_073300_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1ac7e89a6b84bee6e7545de73e54bb71.jpg","text":"TemporaryFile(/tmp/multipartBody9121371989012861806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395690665,"filename":"image_09012025_05_06_02_612349_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f83b174c1774e041c66a134d458ac337.jpg","text":"TemporaryFile(/tmp/multipartBody7488797534192510930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395690665,"filename":"image_09012025_05_06_02_612349_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327590284","file1":"1327590282","file0":"1327590281"},"map_files_photo_id_array":[{"photo_id":"1327590284","filename":"file2"},{"photo_id":"1327590282","filename":"file1"},{"photo_id":"1327590281","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327590281":["hashtag1","hashtag2"]},{"1327590284":["hashtag1","hashtag2"]},{"1327590282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327590281, 1327590284, 1327590282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.981695890426636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:08:02.657503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/06/image_09012025_05_06_02_612349_0002.jpg', '/home/pi/Desktop/images/09012025/05/07/image_09012025_05_07_02_303760_0000.jpg', '/home/pi/Desktop/images/09012025/05/07/image_09012025_05_07_02_303760_0001.jpg', '/home/pi/Desktop/images/09012025/05/07/image_09012025_05_07_02_303760_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/06/image_09012025_05_06_02_612349_0002.jpg
/home/pi/Desktop/images/09012025/05/07/image_09012025_05_07_02_303760_0000.jpg
/home/pi/Desktop/images/09012025/05/07/image_09012025_05_07_02_303760_0001.jpg
/home/pi/Desktop/images/09012025/05/07/image_09012025_05_07_02_303760_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.671058654785156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:08:22.108509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/06/image_09012025_05_06_02_612349_0002.jpg', '/home/pi/Desktop/images/09012025/05/07/image_09012025_05_07_02_303760_0000.jpg', '/home/pi/Desktop/images/09012025/05/07/image_09012025_05_07_02_303760_0001.jpg', '/home/pi/Desktop/images/09012025/05/07/image_09012025_05_07_02_303760_0002.jpg', '/home/pi/Desktop/images/09012025/05/07/image_09012025_05_07_02_303760_0003.jpg', '/home/pi/Desktop/images/09012025/05/08/image_09012025_05_08_02_919801_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/06/image_09012025_05_06_02_612349_0002.jpg
/home/pi/Desktop/images/09012025/05/07/image_09012025_05_07_02_303760_0000.jpg
/home/pi/Desktop/images/09012025/05/07/image_09012025_05_07_02_303760_0001.jpg
/home/pi/Desktop/images/09012025/05/07/image_09012025_05_07_02_303760_0002.jpg
/home/pi/Desktop/images/09012025/05/07/image_09012025_05_07_02_303760_0003.jpg
/home/pi/Desktop/images/09012025/05/08/image_09012025_05_08_02_919801_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327590735","1327590548","1327590812","1327590817","1327590814","1327590648"],"photo_ids_order":["1327590548","1327590648","1327590735","1327590812","1327590814","1327590817"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a6e0313893faa65121c1f41017e09745.jpg","text":"TemporaryFile(/tmp/multipartBody6307165408000924528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395776936,"filename":"image_09012025_05_07_02_303760_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0cf9dc4c1fae32ef061a5364de114964.jpg","text":"TemporaryFile(/tmp/multipartBody3304736318145001165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395776936,"filename":"image_09012025_05_06_02_612349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/de1f2232a2de2c7b095f3a9054ac4354.jpg","text":"TemporaryFile(/tmp/multipartBody6992693111520329540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395776936,"filename":"image_09012025_05_07_02_303760_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/99b1efc58eeccb8c68c5309f2f3466a8.jpg","text":"TemporaryFile(/tmp/multipartBody9133910618783776904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395776936,"filename":"image_09012025_05_08_02_919801_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ea9b6da91f38a18dbb04576b708610a3.jpg","text":"TemporaryFile(/tmp/multipartBody7616260950425646306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395776936,"filename":"image_09012025_05_07_02_303760_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c8d46135f7e16ae8c563dce662f8ec7b.jpg","text":"TemporaryFile(/tmp/multipartBody2621452118940319998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395776936,"filename":"image_09012025_05_07_02_303760_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327590735","file1":"1327590648","file0":"1327590548","file4":"1327590814","file5":"1327590817","file3":"1327590812"},"map_files_photo_id_array":[{"photo_id":"1327590817","filename":"file5"},{"photo_id":"1327590735","filename":"file2"},{"photo_id":"1327590814","filename":"file4"},{"photo_id":"1327590648","filename":"file1"},{"photo_id":"1327590548","filename":"file0"},{"photo_id":"1327590812","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327590735":["hashtag1","hashtag2"]},{"1327590548":["hashtag1","hashtag2"]},{"1327590812":["hashtag1","hashtag2"]},{"1327590817":["hashtag1","hashtag2"]},{"1327590814":["hashtag1","hashtag2"]},{"1327590648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327590735, 1327590548, 1327590812, 1327590817, 1327590814, 1327590648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.036428928375244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:09:22.649250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/08/image_09012025_05_08_02_919801_0001.jpg', '/home/pi/Desktop/images/09012025/05/08/image_09012025_05_08_02_919801_0002.jpg', '/home/pi/Desktop/images/09012025/05/08/image_09012025_05_08_02_919801_0003.jpg', '/home/pi/Desktop/images/09012025/05/09/image_09012025_05_09_02_529268_0001.jpg', '/home/pi/Desktop/images/09012025/05/09/image_09012025_05_09_02_529268_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/08/image_09012025_05_08_02_919801_0001.jpg
/home/pi/Desktop/images/09012025/05/08/image_09012025_05_08_02_919801_0002.jpg
/home/pi/Desktop/images/09012025/05/08/image_09012025_05_08_02_919801_0003.jpg
/home/pi/Desktop/images/09012025/05/09/image_09012025_05_09_02_529268_0001.jpg
/home/pi/Desktop/images/09012025/05/09/image_09012025_05_09_02_529268_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327590861","1327590921","1327590870","1327590864","1327590867"],"photo_ids_order":["1327590861","1327590864","1327590867","1327590870","1327590921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/03cbb2ef20f6f8be7f6ca6116e997ca8.jpg","text":"TemporaryFile(/tmp/multipartBody7421730445256723251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395835348,"filename":"image_09012025_05_08_02_919801_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3599a8a27f2fd5afdef8298e9a343d3f.jpg","text":"TemporaryFile(/tmp/multipartBody6633238801224973151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395835348,"filename":"image_09012025_05_09_02_529268_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ad38c3e1043dca755b51624f85ccf4f4.jpg","text":"TemporaryFile(/tmp/multipartBody6637415485160715850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395835348,"filename":"image_09012025_05_09_02_529268_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4932f9975a576bbe00ee07fb94f4b4d0.jpg","text":"TemporaryFile(/tmp/multipartBody5341317879697266275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395835348,"filename":"image_09012025_05_08_02_919801_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/976cbfd446c6ce962435daecc8ddbdc3.jpg","text":"TemporaryFile(/tmp/multipartBody7523188445861951398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395835348,"filename":"image_09012025_05_08_02_919801_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327590867","file1":"1327590864","file0":"1327590861","file4":"1327590921","file3":"1327590870"},"map_files_photo_id_array":[{"photo_id":"1327590867","filename":"file2"},{"photo_id":"1327590921","filename":"file4"},{"photo_id":"1327590864","filename":"file1"},{"photo_id":"1327590861","filename":"file0"},{"photo_id":"1327590870","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327590861":["hashtag1","hashtag2"]},{"1327590921":["hashtag1","hashtag2"]},{"1327590870":["hashtag1","hashtag2"]},{"1327590864":["hashtag1","hashtag2"]},{"1327590867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327590861, 1327590921, 1327590870, 1327590864, 1327590867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.815396547317505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:10:22.137987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/09/image_09012025_05_09_02_529268_0003.jpg', '/home/pi/Desktop/images/09012025/05/10/image_09012025_05_10_03_027248_0000.jpg', '/home/pi/Desktop/images/09012025/05/10/image_09012025_05_10_03_027248_0001.jpg', '/home/pi/Desktop/images/09012025/05/10/image_09012025_05_10_03_027248_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/09/image_09012025_05_09_02_529268_0003.jpg
/home/pi/Desktop/images/09012025/05/10/image_09012025_05_10_03_027248_0000.jpg
/home/pi/Desktop/images/09012025/05/10/image_09012025_05_10_03_027248_0001.jpg
/home/pi/Desktop/images/09012025/05/10/image_09012025_05_10_03_027248_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.822937726974487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:11:03.342964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/09/image_09012025_05_09_02_529268_0003.jpg', '/home/pi/Desktop/images/09012025/05/10/image_09012025_05_10_03_027248_0000.jpg', '/home/pi/Desktop/images/09012025/05/10/image_09012025_05_10_03_027248_0001.jpg', '/home/pi/Desktop/images/09012025/05/10/image_09012025_05_10_03_027248_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/09/image_09012025_05_09_02_529268_0003.jpg
/home/pi/Desktop/images/09012025/05/10/image_09012025_05_10_03_027248_0000.jpg
/home/pi/Desktop/images/09012025/05/10/image_09012025_05_10_03_027248_0001.jpg
/home/pi/Desktop/images/09012025/05/10/image_09012025_05_10_03_027248_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327590971","1327590970","1327590973","1327590975"],"photo_ids_order":["1327590970","1327590971","1327590973","1327590975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fd1fb7d7e6ffdb2d26838733c23c28cd.jpg","text":"TemporaryFile(/tmp/multipartBody3546134530191625000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395934056,"filename":"image_09012025_05_10_03_027248_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/850ca359b5f8376eb0df955b1941ebf5.jpg","text":"TemporaryFile(/tmp/multipartBody3167445127524595232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395934056,"filename":"image_09012025_05_09_02_529268_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dd3da428d7c3302f2c28648fe5d907b1.jpg","text":"TemporaryFile(/tmp/multipartBody9111004128329994429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395934056,"filename":"image_09012025_05_10_03_027248_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/574fb4b4e0033c0a141052c9b17a38e5.jpg","text":"TemporaryFile(/tmp/multipartBody1897275298310770344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736395934056,"filename":"image_09012025_05_10_03_027248_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327590973","file1":"1327590971","file0":"1327590970","file3":"1327590975"},"map_files_photo_id_array":[{"photo_id":"1327590973","filename":"file2"},{"photo_id":"1327590971","filename":"file1"},{"photo_id":"1327590970","filename":"file0"},{"photo_id":"1327590975","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327590971":["hashtag1","hashtag2"]},{"1327590970":["hashtag1","hashtag2"]},{"1327590973":["hashtag1","hashtag2"]},{"1327590975":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327590971, 1327590970, 1327590973, 1327590975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.03942942619324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:12:02.693327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/10/image_09012025_05_10_03_027248_0003.jpg', '/home/pi/Desktop/images/09012025/05/11/image_09012025_05_11_02_519838_0000.jpg', '/home/pi/Desktop/images/09012025/05/11/image_09012025_05_11_02_519838_0001.jpg', '/home/pi/Desktop/images/09012025/05/11/image_09012025_05_11_02_519838_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/10/image_09012025_05_10_03_027248_0003.jpg
/home/pi/Desktop/images/09012025/05/11/image_09012025_05_11_02_519838_0000.jpg
/home/pi/Desktop/images/09012025/05/11/image_09012025_05_11_02_519838_0001.jpg
/home/pi/Desktop/images/09012025/05/11/image_09012025_05_11_02_519838_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.98840880393982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:12:22.293417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/10/image_09012025_05_10_03_027248_0003.jpg', '/home/pi/Desktop/images/09012025/05/11/image_09012025_05_11_02_519838_0000.jpg', '/home/pi/Desktop/images/09012025/05/11/image_09012025_05_11_02_519838_0001.jpg', '/home/pi/Desktop/images/09012025/05/11/image_09012025_05_11_02_519838_0002.jpg', '/home/pi/Desktop/images/09012025/05/11/image_09012025_05_11_02_519838_0003.jpg', '/home/pi/Desktop/images/09012025/05/12/image_09012025_05_12_03_036106_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/10/image_09012025_05_10_03_027248_0003.jpg
/home/pi/Desktop/images/09012025/05/11/image_09012025_05_11_02_519838_0000.jpg
/home/pi/Desktop/images/09012025/05/11/image_09012025_05_11_02_519838_0001.jpg
/home/pi/Desktop/images/09012025/05/11/image_09012025_05_11_02_519838_0002.jpg
/home/pi/Desktop/images/09012025/05/11/image_09012025_05_11_02_519838_0003.jpg
/home/pi/Desktop/images/09012025/05/12/image_09012025_05_12_03_036106_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591002","1327591004","1327591009","1327591006","1327590999","1327591008"],"photo_ids_order":["1327590999","1327591002","1327591004","1327591006","1327591008","1327591009"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6a879b89ffbe1ab4e60b4b555c737894.jpg","text":"TemporaryFile(/tmp/multipartBody999828799971702970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396017506,"filename":"image_09012025_05_11_02_519838_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/74f047756cac4263fbbb22970d098043.jpg","text":"TemporaryFile(/tmp/multipartBody7300561580062374398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396017506,"filename":"image_09012025_05_11_02_519838_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d3dc7b68c3d6abc49550af863d7fdb4e.jpg","text":"TemporaryFile(/tmp/multipartBody877635486365899128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396017506,"filename":"image_09012025_05_12_03_036106_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/561ebaf2a3688c81f1065129ac647977.jpg","text":"TemporaryFile(/tmp/multipartBody3619219898164233046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396017506,"filename":"image_09012025_05_11_02_519838_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4fea1e29e5412e9170ca50c21f581d81.jpg","text":"TemporaryFile(/tmp/multipartBody2167050794954796939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396017506,"filename":"image_09012025_05_10_03_027248_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/14a99e978da2ad13af0bcf95a554682b.jpg","text":"TemporaryFile(/tmp/multipartBody6017450479263758822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396017506,"filename":"image_09012025_05_11_02_519838_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591004","file1":"1327591002","file0":"1327590999","file4":"1327591008","file5":"1327591009","file3":"1327591006"},"map_files_photo_id_array":[{"photo_id":"1327591009","filename":"file5"},{"photo_id":"1327591004","filename":"file2"},{"photo_id":"1327591008","filename":"file4"},{"photo_id":"1327591002","filename":"file1"},{"photo_id":"1327590999","filename":"file0"},{"photo_id":"1327591006","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591002":["hashtag1","hashtag2"]},{"1327591004":["hashtag1","hashtag2"]},{"1327591009":["hashtag1","hashtag2"]},{"1327591006":["hashtag1","hashtag2"]},{"1327590999":["hashtag1","hashtag2"]},{"1327591008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591002, 1327591004, 1327591009, 1327591006, 1327590999, 1327591008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.84289240837097 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:14:02.927925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/12/image_09012025_05_12_03_036106_0001.jpg', '/home/pi/Desktop/images/09012025/05/12/image_09012025_05_12_03_036106_0002.jpg', '/home/pi/Desktop/images/09012025/05/12/image_09012025_05_12_03_036106_0003.jpg', '/home/pi/Desktop/images/09012025/05/13/image_09012025_05_13_02_717025_0000.jpg', '/home/pi/Desktop/images/09012025/05/13/image_09012025_05_13_02_717025_0001.jpg', '/home/pi/Desktop/images/09012025/05/13/image_09012025_05_13_02_717025_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/12/image_09012025_05_12_03_036106_0001.jpg
/home/pi/Desktop/images/09012025/05/12/image_09012025_05_12_03_036106_0002.jpg
/home/pi/Desktop/images/09012025/05/12/image_09012025_05_12_03_036106_0003.jpg
/home/pi/Desktop/images/09012025/05/13/image_09012025_05_13_02_717025_0000.jpg
/home/pi/Desktop/images/09012025/05/13/image_09012025_05_13_02_717025_0001.jpg
/home/pi/Desktop/images/09012025/05/13/image_09012025_05_13_02_717025_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591031","1327591034","1327591027","1327591044","1327591038","1327591041"],"photo_ids_order":["1327591027","1327591031","1327591034","1327591038","1327591041","1327591044"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b62ee96c5870aa86f9a47abd402ef586.jpg","text":"TemporaryFile(/tmp/multipartBody5153093220659689738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396117992,"filename":"image_09012025_05_12_03_036106_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/83e0776eb612137da8796f002fdbc89d.jpg","text":"TemporaryFile(/tmp/multipartBody8459227250703552312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396117992,"filename":"image_09012025_05_12_03_036106_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3ad28f6f90588624a51f24206dbc396b.jpg","text":"TemporaryFile(/tmp/multipartBody954897023566446544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396117992,"filename":"image_09012025_05_12_03_036106_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6cb04894196ab9c5a0e0911f0209a424.jpg","text":"TemporaryFile(/tmp/multipartBody3825900486156456783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396117992,"filename":"image_09012025_05_13_02_717025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a9d1f9202dc76511727344fde8796caa.jpg","text":"TemporaryFile(/tmp/multipartBody6581391580079275966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396117992,"filename":"image_09012025_05_13_02_717025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/466958fe4115735387ef771c3f010b99.jpg","text":"TemporaryFile(/tmp/multipartBody6881499184337233892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396117992,"filename":"image_09012025_05_13_02_717025_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591034","file1":"1327591031","file0":"1327591027","file4":"1327591041","file5":"1327591044","file3":"1327591038"},"map_files_photo_id_array":[{"photo_id":"1327591044","filename":"file5"},{"photo_id":"1327591034","filename":"file2"},{"photo_id":"1327591041","filename":"file4"},{"photo_id":"1327591031","filename":"file1"},{"photo_id":"1327591027","filename":"file0"},{"photo_id":"1327591038","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591031":["hashtag1","hashtag2"]},{"1327591034":["hashtag1","hashtag2"]},{"1327591027":["hashtag1","hashtag2"]},{"1327591044":["hashtag1","hashtag2"]},{"1327591038":["hashtag1","hashtag2"]},{"1327591041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591031, 1327591034, 1327591027, 1327591044, 1327591038, 1327591041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.21197700500488 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:15:02.528461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/13/image_09012025_05_13_02_717025_0003.jpg', '/home/pi/Desktop/images/09012025/05/14/image_09012025_05_14_02_288153_0000.jpg', '/home/pi/Desktop/images/09012025/05/14/image_09012025_05_14_02_288153_0001.jpg', '/home/pi/Desktop/images/09012025/05/14/image_09012025_05_14_02_288153_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/13/image_09012025_05_13_02_717025_0003.jpg
/home/pi/Desktop/images/09012025/05/14/image_09012025_05_14_02_288153_0000.jpg
/home/pi/Desktop/images/09012025/05/14/image_09012025_05_14_02_288153_0001.jpg
/home/pi/Desktop/images/09012025/05/14/image_09012025_05_14_02_288153_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591055","1327591054","1327591057","1327591059"],"photo_ids_order":["1327591054","1327591055","1327591057","1327591059"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/52037ae2891c32d517e7f0ac3e765d06.jpg","text":"TemporaryFile(/tmp/multipartBody517009351936392182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396172984,"filename":"image_09012025_05_14_02_288153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9efa58c89a32bb97941266fab63fd4e5.jpg","text":"TemporaryFile(/tmp/multipartBody1344797372331516990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396172984,"filename":"image_09012025_05_13_02_717025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/31ff9aa546c2519b2f66a56466c165c6.jpg","text":"TemporaryFile(/tmp/multipartBody7196349719641543720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396172984,"filename":"image_09012025_05_14_02_288153_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5435f4ee33986a80b9329bcc5e2500e1.jpg","text":"TemporaryFile(/tmp/multipartBody8487394349971911556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396172984,"filename":"image_09012025_05_14_02_288153_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591057","file1":"1327591055","file0":"1327591054","file3":"1327591059"},"map_files_photo_id_array":[{"photo_id":"1327591057","filename":"file2"},{"photo_id":"1327591055","filename":"file1"},{"photo_id":"1327591054","filename":"file0"},{"photo_id":"1327591059","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591055":["hashtag1","hashtag2"]},{"1327591054":["hashtag1","hashtag2"]},{"1327591057":["hashtag1","hashtag2"]},{"1327591059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591055, 1327591054, 1327591057, 1327591059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.34578847885132 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:16:02.905536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/14/image_09012025_05_14_02_288153_0003.jpg', '/home/pi/Desktop/images/09012025/05/15/image_09012025_05_15_02_751411_0000.jpg', '/home/pi/Desktop/images/09012025/05/15/image_09012025_05_15_02_751411_0001.jpg', '/home/pi/Desktop/images/09012025/05/15/image_09012025_05_15_02_751411_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/14/image_09012025_05_14_02_288153_0003.jpg
/home/pi/Desktop/images/09012025/05/15/image_09012025_05_15_02_751411_0000.jpg
/home/pi/Desktop/images/09012025/05/15/image_09012025_05_15_02_751411_0001.jpg
/home/pi/Desktop/images/09012025/05/15/image_09012025_05_15_02_751411_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.939003467559814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:16:22.477500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/14/image_09012025_05_14_02_288153_0003.jpg', '/home/pi/Desktop/images/09012025/05/15/image_09012025_05_15_02_751411_0000.jpg', '/home/pi/Desktop/images/09012025/05/15/image_09012025_05_15_02_751411_0001.jpg', '/home/pi/Desktop/images/09012025/05/15/image_09012025_05_15_02_751411_0002.jpg', '/home/pi/Desktop/images/09012025/05/15/image_09012025_05_15_02_751411_0003.jpg', '/home/pi/Desktop/images/09012025/05/16/image_09012025_05_16_02_240827_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/14/image_09012025_05_14_02_288153_0003.jpg
/home/pi/Desktop/images/09012025/05/15/image_09012025_05_15_02_751411_0000.jpg
/home/pi/Desktop/images/09012025/05/15/image_09012025_05_15_02_751411_0001.jpg
/home/pi/Desktop/images/09012025/05/15/image_09012025_05_15_02_751411_0002.jpg
/home/pi/Desktop/images/09012025/05/15/image_09012025_05_15_02_751411_0003.jpg
/home/pi/Desktop/images/09012025/05/16/image_09012025_05_16_02_240827_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591118","1327591112","1327591115","1327591109","1327591120","1327591117"],"photo_ids_order":["1327591109","1327591112","1327591115","1327591117","1327591118","1327591120"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/334c1c41d1498d1f092db34ea80c47db.jpg","text":"TemporaryFile(/tmp/multipartBody8478281660680628072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396257543,"filename":"image_09012025_05_15_02_751411_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/87e0524c9d3827465ed90b07694a9cef.jpg","text":"TemporaryFile(/tmp/multipartBody4279339702522063322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396257543,"filename":"image_09012025_05_15_02_751411_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9273297caf51752b8ff6a75cac150d4d.jpg","text":"TemporaryFile(/tmp/multipartBody1984968318629212020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396257543,"filename":"image_09012025_05_15_02_751411_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7eae819e6c5dc7064b259cc26d14d2ea.jpg","text":"TemporaryFile(/tmp/multipartBody6038179556566467889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396257543,"filename":"image_09012025_05_14_02_288153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9039fe50ae9ec3f5265fe5cf2889adf6.jpg","text":"TemporaryFile(/tmp/multipartBody3929980364140872653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396257543,"filename":"image_09012025_05_16_02_240827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9afc32c58ba7c074a5602627ad7d67ed.jpg","text":"TemporaryFile(/tmp/multipartBody4850277610840372743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396257543,"filename":"image_09012025_05_15_02_751411_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591115","file1":"1327591112","file0":"1327591109","file4":"1327591118","file5":"1327591120","file3":"1327591117"},"map_files_photo_id_array":[{"photo_id":"1327591120","filename":"file5"},{"photo_id":"1327591115","filename":"file2"},{"photo_id":"1327591118","filename":"file4"},{"photo_id":"1327591112","filename":"file1"},{"photo_id":"1327591109","filename":"file0"},{"photo_id":"1327591117","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591118":["hashtag1","hashtag2"]},{"1327591112":["hashtag1","hashtag2"]},{"1327591115":["hashtag1","hashtag2"]},{"1327591109":["hashtag1","hashtag2"]},{"1327591120":["hashtag1","hashtag2"]},{"1327591117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591118, 1327591112, 1327591115, 1327591109, 1327591120, 1327591117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.07066035270691 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:17:22.073363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/16/image_09012025_05_16_02_240827_0001.jpg', '/home/pi/Desktop/images/09012025/05/16/image_09012025_05_16_02_240827_0002.jpg', '/home/pi/Desktop/images/09012025/05/16/image_09012025_05_16_02_240827_0003.jpg', '/home/pi/Desktop/images/09012025/05/17/image_09012025_05_17_02_938819_0000.jpg', '/home/pi/Desktop/images/09012025/05/17/image_09012025_05_17_02_938819_0001.jpg', '/home/pi/Desktop/images/09012025/05/17/image_09012025_05_17_02_938819_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/16/image_09012025_05_16_02_240827_0001.jpg
/home/pi/Desktop/images/09012025/05/16/image_09012025_05_16_02_240827_0002.jpg
/home/pi/Desktop/images/09012025/05/16/image_09012025_05_16_02_240827_0003.jpg
/home/pi/Desktop/images/09012025/05/17/image_09012025_05_17_02_938819_0000.jpg
/home/pi/Desktop/images/09012025/05/17/image_09012025_05_17_02_938819_0001.jpg
/home/pi/Desktop/images/09012025/05/17/image_09012025_05_17_02_938819_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591139","1327591130","1327591133","1327591127","1327591135","1327591137"],"photo_ids_order":["1327591127","1327591130","1327591133","1327591135","1327591137","1327591139"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/661e5e681e20437f55b9ada46b102b92.jpg","text":"TemporaryFile(/tmp/multipartBody5939279084765093432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396317380,"filename":"image_09012025_05_17_02_938819_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ce127bfc40221d335af2b747922fd531.jpg","text":"TemporaryFile(/tmp/multipartBody1537591673100651803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396317380,"filename":"image_09012025_05_16_02_240827_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1cb65b4eceeaadea54268c18a756f600.jpg","text":"TemporaryFile(/tmp/multipartBody1698414741968754361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396317380,"filename":"image_09012025_05_16_02_240827_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bb9ab762cfc84d7d7fd0f8a05ce920b4.jpg","text":"TemporaryFile(/tmp/multipartBody263113935908790051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396317380,"filename":"image_09012025_05_16_02_240827_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e988effe0a7b1bb5c1392f002c951947.jpg","text":"TemporaryFile(/tmp/multipartBody8987566323582948539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396317380,"filename":"image_09012025_05_17_02_938819_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0a0f6daceae5471ec2711ea8cfeb7252.jpg","text":"TemporaryFile(/tmp/multipartBody8338341920943195906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396317380,"filename":"image_09012025_05_17_02_938819_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591133","file1":"1327591130","file0":"1327591127","file4":"1327591137","file5":"1327591139","file3":"1327591135"},"map_files_photo_id_array":[{"photo_id":"1327591139","filename":"file5"},{"photo_id":"1327591133","filename":"file2"},{"photo_id":"1327591137","filename":"file4"},{"photo_id":"1327591130","filename":"file1"},{"photo_id":"1327591127","filename":"file0"},{"photo_id":"1327591135","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591139":["hashtag1","hashtag2"]},{"1327591130":["hashtag1","hashtag2"]},{"1327591133":["hashtag1","hashtag2"]},{"1327591127":["hashtag1","hashtag2"]},{"1327591135":["hashtag1","hashtag2"]},{"1327591137":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591139, 1327591130, 1327591133, 1327591127, 1327591135, 1327591137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.11931085586548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:18:22.549438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/17/image_09012025_05_17_02_938819_0003.jpg', '/home/pi/Desktop/images/09012025/05/18/image_09012025_05_18_02_446843_0001.jpg', '/home/pi/Desktop/images/09012025/05/18/image_09012025_05_18_02_446843_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/17/image_09012025_05_17_02_938819_0003.jpg
/home/pi/Desktop/images/09012025/05/18/image_09012025_05_18_02_446843_0001.jpg
/home/pi/Desktop/images/09012025/05/18/image_09012025_05_18_02_446843_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591148","1327591142","1327591145"],"photo_ids_order":["1327591142","1327591145","1327591148"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a913d40d09b719e102c6e6f0e8eff9f0.jpg","text":"TemporaryFile(/tmp/multipartBody4034856458404624350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396370419,"filename":"image_09012025_05_18_02_446843_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a0b6eb54eea0879438f8274469b67db3.jpg","text":"TemporaryFile(/tmp/multipartBody7173019275541843276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396370419,"filename":"image_09012025_05_17_02_938819_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a1838204d68051c090d773e5784566f7.jpg","text":"TemporaryFile(/tmp/multipartBody7243995161157611031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396370419,"filename":"image_09012025_05_18_02_446843_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591148","file1":"1327591145","file0":"1327591142"},"map_files_photo_id_array":[{"photo_id":"1327591148","filename":"file2"},{"photo_id":"1327591145","filename":"file1"},{"photo_id":"1327591142","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591148":["hashtag1","hashtag2"]},{"1327591142":["hashtag1","hashtag2"]},{"1327591145":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591148, 1327591142, 1327591145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.619471788406372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:19:02.551962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:19:22.032702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/18/image_09012025_05_18_02_446843_0003.jpg', '/home/pi/Desktop/images/09012025/05/19/image_09012025_05_19_02_946183_0000.jpg', '/home/pi/Desktop/images/09012025/05/19/image_09012025_05_19_02_946183_0001.jpg', '/home/pi/Desktop/images/09012025/05/19/image_09012025_05_19_02_946183_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/18/image_09012025_05_18_02_446843_0003.jpg
/home/pi/Desktop/images/09012025/05/19/image_09012025_05_19_02_946183_0000.jpg
/home/pi/Desktop/images/09012025/05/19/image_09012025_05_19_02_946183_0001.jpg
/home/pi/Desktop/images/09012025/05/19/image_09012025_05_19_02_946183_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591187","1327591172","1327591175","1327591196"],"photo_ids_order":["1327591172","1327591175","1327591187","1327591196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/823a5d543b9a87e06cc60ba87db2352b.jpg","text":"TemporaryFile(/tmp/multipartBody8130430870881162602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396432478,"filename":"image_09012025_05_19_02_946183_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/682a7265ce56e3905b858fdb3402ed11.jpg","text":"TemporaryFile(/tmp/multipartBody3176055548078865336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396432478,"filename":"image_09012025_05_18_02_446843_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e308d9ea6faa48d0cdf5e87da107b80e.jpg","text":"TemporaryFile(/tmp/multipartBody1997728941655323304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396432478,"filename":"image_09012025_05_19_02_946183_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cd7a5f7efc21ffe48d33f2751cc30c07.jpg","text":"TemporaryFile(/tmp/multipartBody2252373990201099827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396432478,"filename":"image_09012025_05_19_02_946183_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591187","file1":"1327591175","file0":"1327591172","file3":"1327591196"},"map_files_photo_id_array":[{"photo_id":"1327591187","filename":"file2"},{"photo_id":"1327591175","filename":"file1"},{"photo_id":"1327591172","filename":"file0"},{"photo_id":"1327591196","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591187":["hashtag1","hashtag2"]},{"1327591172":["hashtag1","hashtag2"]},{"1327591175":["hashtag1","hashtag2"]},{"1327591196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591187, 1327591172, 1327591175, 1327591196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.78252649307251 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:20:02.189395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:20:21.669803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/19/image_09012025_05_19_02_946183_0003.jpg', '/home/pi/Desktop/images/09012025/05/20/image_09012025_05_20_02_476032_0000.jpg', '/home/pi/Desktop/images/09012025/05/20/image_09012025_05_20_02_476032_0001.jpg', '/home/pi/Desktop/images/09012025/05/20/image_09012025_05_20_02_476032_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/19/image_09012025_05_19_02_946183_0003.jpg
/home/pi/Desktop/images/09012025/05/20/image_09012025_05_20_02_476032_0000.jpg
/home/pi/Desktop/images/09012025/05/20/image_09012025_05_20_02_476032_0001.jpg
/home/pi/Desktop/images/09012025/05/20/image_09012025_05_20_02_476032_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.051758050918579 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:21:02.998401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/19/image_09012025_05_19_02_946183_0003.jpg', '/home/pi/Desktop/images/09012025/05/20/image_09012025_05_20_02_476032_0000.jpg', '/home/pi/Desktop/images/09012025/05/20/image_09012025_05_20_02_476032_0001.jpg', '/home/pi/Desktop/images/09012025/05/20/image_09012025_05_20_02_476032_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/19/image_09012025_05_19_02_946183_0003.jpg
/home/pi/Desktop/images/09012025/05/20/image_09012025_05_20_02_476032_0000.jpg
/home/pi/Desktop/images/09012025/05/20/image_09012025_05_20_02_476032_0001.jpg
/home/pi/Desktop/images/09012025/05/20/image_09012025_05_20_02_476032_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591238","1327591243","1327591240","1327591236"],"photo_ids_order":["1327591236","1327591238","1327591240","1327591243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f612bf562ca38b107ab0b8c136aa49ce.jpg","text":"TemporaryFile(/tmp/multipartBody8421793767871321322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396534037,"filename":"image_09012025_05_20_02_476032_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e7760c8a8c06c3b6fcdeb7a27383294.jpg","text":"TemporaryFile(/tmp/multipartBody6781833948238085965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396534037,"filename":"image_09012025_05_20_02_476032_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0ba112039d2bae8105d928e84a949adb.jpg","text":"TemporaryFile(/tmp/multipartBody9202062838868035321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396534037,"filename":"image_09012025_05_20_02_476032_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/10bf2e3a72a829972a013a29cf9c33f0.jpg","text":"TemporaryFile(/tmp/multipartBody3137649518569364939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396534037,"filename":"image_09012025_05_19_02_946183_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591240","file1":"1327591238","file0":"1327591236","file3":"1327591243"},"map_files_photo_id_array":[{"photo_id":"1327591240","filename":"file2"},{"photo_id":"1327591238","filename":"file1"},{"photo_id":"1327591236","filename":"file0"},{"photo_id":"1327591243","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591238":["hashtag1","hashtag2"]},{"1327591243":["hashtag1","hashtag2"]},{"1327591240":["hashtag1","hashtag2"]},{"1327591236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591238, 1327591243, 1327591240, 1327591236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.35268449783325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:22:02.341005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/20/image_09012025_05_20_02_476032_0003.jpg', '/home/pi/Desktop/images/09012025/05/21/image_09012025_05_21_02_165403_0000.jpg', '/home/pi/Desktop/images/09012025/05/21/image_09012025_05_21_02_165403_0001.jpg', '/home/pi/Desktop/images/09012025/05/21/image_09012025_05_21_02_165403_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/20/image_09012025_05_20_02_476032_0003.jpg
/home/pi/Desktop/images/09012025/05/21/image_09012025_05_21_02_165403_0000.jpg
/home/pi/Desktop/images/09012025/05/21/image_09012025_05_21_02_165403_0001.jpg
/home/pi/Desktop/images/09012025/05/21/image_09012025_05_21_02_165403_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.06237006187439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:22:21.971427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/20/image_09012025_05_20_02_476032_0003.jpg', '/home/pi/Desktop/images/09012025/05/21/image_09012025_05_21_02_165403_0000.jpg', '/home/pi/Desktop/images/09012025/05/21/image_09012025_05_21_02_165403_0001.jpg', '/home/pi/Desktop/images/09012025/05/21/image_09012025_05_21_02_165403_0002.jpg', '/home/pi/Desktop/images/09012025/05/21/image_09012025_05_21_02_165403_0003.jpg', '/home/pi/Desktop/images/09012025/05/22/image_09012025_05_22_02_735938_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/20/image_09012025_05_20_02_476032_0003.jpg
/home/pi/Desktop/images/09012025/05/21/image_09012025_05_21_02_165403_0000.jpg
/home/pi/Desktop/images/09012025/05/21/image_09012025_05_21_02_165403_0001.jpg
/home/pi/Desktop/images/09012025/05/21/image_09012025_05_21_02_165403_0002.jpg
/home/pi/Desktop/images/09012025/05/21/image_09012025_05_21_02_165403_0003.jpg
/home/pi/Desktop/images/09012025/05/22/image_09012025_05_22_02_735938_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591412","1327591361","1327591442","1327591396","1327591398","1327591347"],"photo_ids_order":["1327591347","1327591361","1327591396","1327591398","1327591412","1327591442"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/64b3da6fd343c2a0ad16b8f54d4a14de.jpg","text":"TemporaryFile(/tmp/multipartBody1629876207361428269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396617323,"filename":"image_09012025_05_21_02_165403_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/03e8151f1700508ee348bbc8256c74c4.jpg","text":"TemporaryFile(/tmp/multipartBody245846609483603459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396617323,"filename":"image_09012025_05_21_02_165403_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d35b7480fa84adf8a8c11e27e803c1dc.jpg","text":"TemporaryFile(/tmp/multipartBody4296648123865958485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396617323,"filename":"image_09012025_05_22_02_735938_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0c20b1bf45a1d3cb61c10bfb9a13e308.jpg","text":"TemporaryFile(/tmp/multipartBody4900999420885517825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396617323,"filename":"image_09012025_05_21_02_165403_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/df84d79002e09aac55da9c98db9eb2ce.jpg","text":"TemporaryFile(/tmp/multipartBody5395099309852880442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396617323,"filename":"image_09012025_05_21_02_165403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/08f8a429633fc3a05ef3a45a3f7d4317.jpg","text":"TemporaryFile(/tmp/multipartBody7588715775366750447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396617323,"filename":"image_09012025_05_20_02_476032_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591396","file1":"1327591361","file0":"1327591347","file4":"1327591412","file5":"1327591442","file3":"1327591398"},"map_files_photo_id_array":[{"photo_id":"1327591442","filename":"file5"},{"photo_id":"1327591396","filename":"file2"},{"photo_id":"1327591412","filename":"file4"},{"photo_id":"1327591361","filename":"file1"},{"photo_id":"1327591347","filename":"file0"},{"photo_id":"1327591398","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591412":["hashtag1","hashtag2"]},{"1327591361":["hashtag1","hashtag2"]},{"1327591442":["hashtag1","hashtag2"]},{"1327591396":["hashtag1","hashtag2"]},{"1327591398":["hashtag1","hashtag2"]},{"1327591347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591412, 1327591361, 1327591442, 1327591396, 1327591398, 1327591347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.82420539855957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:23:22.491043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/22/image_09012025_05_22_02_735938_0001.jpg', '/home/pi/Desktop/images/09012025/05/22/image_09012025_05_22_02_735938_0002.jpg', '/home/pi/Desktop/images/09012025/05/22/image_09012025_05_22_02_735938_0003.jpg', '/home/pi/Desktop/images/09012025/05/23/image_09012025_05_23_02_328011_0000.jpg', '/home/pi/Desktop/images/09012025/05/23/image_09012025_05_23_02_328011_0001.jpg', '/home/pi/Desktop/images/09012025/05/23/image_09012025_05_23_02_328011_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/22/image_09012025_05_22_02_735938_0001.jpg
/home/pi/Desktop/images/09012025/05/22/image_09012025_05_22_02_735938_0002.jpg
/home/pi/Desktop/images/09012025/05/22/image_09012025_05_22_02_735938_0003.jpg
/home/pi/Desktop/images/09012025/05/23/image_09012025_05_23_02_328011_0000.jpg
/home/pi/Desktop/images/09012025/05/23/image_09012025_05_23_02_328011_0001.jpg
/home/pi/Desktop/images/09012025/05/23/image_09012025_05_23_02_328011_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591463","1327591457","1327591466","1327591468","1327591450","1327591470"],"photo_ids_order":["1327591450","1327591457","1327591463","1327591466","1327591468","1327591470"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1680565a138e766edffa3b7764e624c7.jpg","text":"TemporaryFile(/tmp/multipartBody55623077299106914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396677866,"filename":"image_09012025_05_22_02_735938_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7c0dafacadc75a61bdd0381f718ac7a5.jpg","text":"TemporaryFile(/tmp/multipartBody5092130801053965792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396677866,"filename":"image_09012025_05_22_02_735938_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8ac985398b0293650c2acb09a1b82938.jpg","text":"TemporaryFile(/tmp/multipartBody3694674615720368096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396677866,"filename":"image_09012025_05_23_02_328011_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/70cb6692f2eca4ac148ef71dc08b6def.jpg","text":"TemporaryFile(/tmp/multipartBody5609127499933249102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396677866,"filename":"image_09012025_05_23_02_328011_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/79046733f59b2314bc5b44dc2d7ca0f6.jpg","text":"TemporaryFile(/tmp/multipartBody1146413197147402882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396677866,"filename":"image_09012025_05_22_02_735938_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/69a13310f0e66583095181e0257112ef.jpg","text":"TemporaryFile(/tmp/multipartBody5426836469224510753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396677866,"filename":"image_09012025_05_23_02_328011_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591463","file1":"1327591457","file0":"1327591450","file4":"1327591468","file5":"1327591470","file3":"1327591466"},"map_files_photo_id_array":[{"photo_id":"1327591470","filename":"file5"},{"photo_id":"1327591463","filename":"file2"},{"photo_id":"1327591468","filename":"file4"},{"photo_id":"1327591457","filename":"file1"},{"photo_id":"1327591450","filename":"file0"},{"photo_id":"1327591466","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591463":["hashtag1","hashtag2"]},{"1327591457":["hashtag1","hashtag2"]},{"1327591466":["hashtag1","hashtag2"]},{"1327591468":["hashtag1","hashtag2"]},{"1327591450":["hashtag1","hashtag2"]},{"1327591470":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591463, 1327591457, 1327591466, 1327591468, 1327591450, 1327591470)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.84607434272766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:25:02.911114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/23/image_09012025_05_23_02_328011_0003.jpg', '/home/pi/Desktop/images/09012025/05/24/image_09012025_05_24_02_791658_0000.jpg', '/home/pi/Desktop/images/09012025/05/24/image_09012025_05_24_02_791658_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/23/image_09012025_05_23_02_328011_0003.jpg
/home/pi/Desktop/images/09012025/05/24/image_09012025_05_24_02_791658_0000.jpg
/home/pi/Desktop/images/09012025/05/24/image_09012025_05_24_02_791658_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.660207986831665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:25:22.358805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/23/image_09012025_05_23_02_328011_0003.jpg', '/home/pi/Desktop/images/09012025/05/24/image_09012025_05_24_02_791658_0000.jpg', '/home/pi/Desktop/images/09012025/05/24/image_09012025_05_24_02_791658_0001.jpg', '/home/pi/Desktop/images/09012025/05/24/image_09012025_05_24_02_791658_0003.jpg', '/home/pi/Desktop/images/09012025/05/25/image_09012025_05_25_02_317686_0000.jpg', '/home/pi/Desktop/images/09012025/05/25/image_09012025_05_25_02_317686_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/23/image_09012025_05_23_02_328011_0003.jpg
/home/pi/Desktop/images/09012025/05/24/image_09012025_05_24_02_791658_0000.jpg
/home/pi/Desktop/images/09012025/05/24/image_09012025_05_24_02_791658_0001.jpg
/home/pi/Desktop/images/09012025/05/24/image_09012025_05_24_02_791658_0003.jpg
/home/pi/Desktop/images/09012025/05/25/image_09012025_05_25_02_317686_0000.jpg
/home/pi/Desktop/images/09012025/05/25/image_09012025_05_25_02_317686_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591496","1327591505","1327591507","1327591501","1327591503","1327591493"],"photo_ids_order":["1327591493","1327591496","1327591501","1327591503","1327591505","1327591507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3bb6c0107b1f9abc4e6f9372eafb2052.jpg","text":"TemporaryFile(/tmp/multipartBody1956438141663104021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396797651,"filename":"image_09012025_05_24_02_791658_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f6428044b5bedf8fc3c756f65c9f333e.jpg","text":"TemporaryFile(/tmp/multipartBody3029670853443857957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396797651,"filename":"image_09012025_05_25_02_317686_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a1370a0fd00bbe4b771224321e8d17af.jpg","text":"TemporaryFile(/tmp/multipartBody4520368452858315545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396797651,"filename":"image_09012025_05_25_02_317686_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e6bd30992a4b6e6dfc5048329fc116c9.jpg","text":"TemporaryFile(/tmp/multipartBody1703620498616980259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396797651,"filename":"image_09012025_05_24_02_791658_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/18dd3f6d12d93ac7a4d6051027faaa1d.jpg","text":"TemporaryFile(/tmp/multipartBody7561663709839078261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396797651,"filename":"image_09012025_05_24_02_791658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/43f3e474fd45e681685f890ea4c1f8ac.jpg","text":"TemporaryFile(/tmp/multipartBody7491332807920239270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396797651,"filename":"image_09012025_05_23_02_328011_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591501","file1":"1327591496","file0":"1327591493","file4":"1327591505","file5":"1327591507","file3":"1327591503"},"map_files_photo_id_array":[{"photo_id":"1327591507","filename":"file5"},{"photo_id":"1327591501","filename":"file2"},{"photo_id":"1327591505","filename":"file4"},{"photo_id":"1327591496","filename":"file1"},{"photo_id":"1327591493","filename":"file0"},{"photo_id":"1327591503","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591496":["hashtag1","hashtag2"]},{"1327591505":["hashtag1","hashtag2"]},{"1327591507":["hashtag1","hashtag2"]},{"1327591501":["hashtag1","hashtag2"]},{"1327591503":["hashtag1","hashtag2"]},{"1327591493":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591496, 1327591505, 1327591507, 1327591501, 1327591503, 1327591493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.44568681716919 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:26:22.076485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/25/image_09012025_05_25_02_317686_0002.jpg', '/home/pi/Desktop/images/09012025/05/25/image_09012025_05_25_02_317686_0003.jpg', '/home/pi/Desktop/images/09012025/05/26/image_09012025_05_26_02_803362_0000.jpg', '/home/pi/Desktop/images/09012025/05/26/image_09012025_05_26_02_803362_0001.jpg', '/home/pi/Desktop/images/09012025/05/26/image_09012025_05_26_02_803362_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/25/image_09012025_05_25_02_317686_0002.jpg
/home/pi/Desktop/images/09012025/05/25/image_09012025_05_25_02_317686_0003.jpg
/home/pi/Desktop/images/09012025/05/26/image_09012025_05_26_02_803362_0000.jpg
/home/pi/Desktop/images/09012025/05/26/image_09012025_05_26_02_803362_0001.jpg
/home/pi/Desktop/images/09012025/05/26/image_09012025_05_26_02_803362_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591511","1327591514","1327591522","1327591525","1327591518"],"photo_ids_order":["1327591511","1327591514","1327591518","1327591522","1327591525"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8e08c4536824ddfd9eda9a6a3a84b6ca.jpg","text":"TemporaryFile(/tmp/multipartBody4729383728598483750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396854900,"filename":"image_09012025_05_25_02_317686_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/941dda12bd1ff1490af01834c569a6e8.jpg","text":"TemporaryFile(/tmp/multipartBody1835256950195571421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396854900,"filename":"image_09012025_05_25_02_317686_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8b6d104ba0b4d15a971c1362db3b18d6.jpg","text":"TemporaryFile(/tmp/multipartBody4308255589140012502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396854900,"filename":"image_09012025_05_26_02_803362_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/13568b5c6e032a2219ec16548e9997b8.jpg","text":"TemporaryFile(/tmp/multipartBody1982764578521323582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396854900,"filename":"image_09012025_05_26_02_803362_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f3a122d6e32cc4b82b5043b0ea63bc06.jpg","text":"TemporaryFile(/tmp/multipartBody8134779335042784020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396854900,"filename":"image_09012025_05_26_02_803362_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591518","file1":"1327591514","file0":"1327591511","file4":"1327591525","file3":"1327591522"},"map_files_photo_id_array":[{"photo_id":"1327591518","filename":"file2"},{"photo_id":"1327591525","filename":"file4"},{"photo_id":"1327591514","filename":"file1"},{"photo_id":"1327591511","filename":"file0"},{"photo_id":"1327591522","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591511":["hashtag1","hashtag2"]},{"1327591514":["hashtag1","hashtag2"]},{"1327591522":["hashtag1","hashtag2"]},{"1327591525":["hashtag1","hashtag2"]},{"1327591518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591511, 1327591514, 1327591522, 1327591525, 1327591518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 45.997076988220215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:27:22.529712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/26/image_09012025_05_26_02_803362_0003.jpg', '/home/pi/Desktop/images/09012025/05/27/image_09012025_05_27_02_425366_0000.jpg', '/home/pi/Desktop/images/09012025/05/27/image_09012025_05_27_02_425366_0001.jpg', '/home/pi/Desktop/images/09012025/05/27/image_09012025_05_27_02_425366_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/26/image_09012025_05_26_02_803362_0003.jpg
/home/pi/Desktop/images/09012025/05/27/image_09012025_05_27_02_425366_0000.jpg
/home/pi/Desktop/images/09012025/05/27/image_09012025_05_27_02_425366_0001.jpg
/home/pi/Desktop/images/09012025/05/27/image_09012025_05_27_02_425366_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591570","1327591540","1327591537","1327591563"],"photo_ids_order":["1327591537","1327591540","1327591563","1327591570"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f31a389996b8284793a5b4cac9ace401.jpg","text":"TemporaryFile(/tmp/multipartBody8262831416381760222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396912890,"filename":"image_09012025_05_27_02_425366_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f21965882f53196cacb73cf81b61be58.jpg","text":"TemporaryFile(/tmp/multipartBody8740814724126981238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396912890,"filename":"image_09012025_05_27_02_425366_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e15c23105fd46b24521243e8b2d36bf9.jpg","text":"TemporaryFile(/tmp/multipartBody7798787840535129373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396912890,"filename":"image_09012025_05_26_02_803362_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2ed2ec32d826f64b6f45ffb7c8aab370.jpg","text":"TemporaryFile(/tmp/multipartBody6276510484438368186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736396912890,"filename":"image_09012025_05_27_02_425366_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591563","file1":"1327591540","file0":"1327591537","file3":"1327591570"},"map_files_photo_id_array":[{"photo_id":"1327591563","filename":"file2"},{"photo_id":"1327591540","filename":"file1"},{"photo_id":"1327591537","filename":"file0"},{"photo_id":"1327591570","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591570":["hashtag1","hashtag2"]},{"1327591540":["hashtag1","hashtag2"]},{"1327591537":["hashtag1","hashtag2"]},{"1327591563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591570, 1327591540, 1327591537, 1327591563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.34380006790161 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:28:22.145942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/27/image_09012025_05_27_02_425366_0003.jpg', '/home/pi/Desktop/images/09012025/05/28/image_09012025_05_28_03_006366_0000.jpg', '/home/pi/Desktop/images/09012025/05/28/image_09012025_05_28_03_006366_0001.jpg', '/home/pi/Desktop/images/09012025/05/28/image_09012025_05_28_03_006366_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/27/image_09012025_05_27_02_425366_0003.jpg
/home/pi/Desktop/images/09012025/05/28/image_09012025_05_28_03_006366_0000.jpg
/home/pi/Desktop/images/09012025/05/28/image_09012025_05_28_03_006366_0001.jpg
/home/pi/Desktop/images/09012025/05/28/image_09012025_05_28_03_006366_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.170776844024658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:29:03.305210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/27/image_09012025_05_27_02_425366_0003.jpg', '/home/pi/Desktop/images/09012025/05/28/image_09012025_05_28_03_006366_0000.jpg', '/home/pi/Desktop/images/09012025/05/28/image_09012025_05_28_03_006366_0001.jpg', '/home/pi/Desktop/images/09012025/05/28/image_09012025_05_28_03_006366_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/27/image_09012025_05_27_02_425366_0003.jpg
/home/pi/Desktop/images/09012025/05/28/image_09012025_05_28_03_006366_0000.jpg
/home/pi/Desktop/images/09012025/05/28/image_09012025_05_28_03_006366_0001.jpg
/home/pi/Desktop/images/09012025/05/28/image_09012025_05_28_03_006366_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591597","1327591604","1327591606","1327591599"],"photo_ids_order":["1327591597","1327591599","1327591604","1327591606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7e5f61d51e03bf8b3fc683b7c6e896a9.jpg","text":"TemporaryFile(/tmp/multipartBody2023886046837283857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397013922,"filename":"image_09012025_05_27_02_425366_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/12b7d76b035928616e14e5bad449f6e8.jpg","text":"TemporaryFile(/tmp/multipartBody6530747459361361017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397013922,"filename":"image_09012025_05_28_03_006366_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d835cb23c6dd3ac5d1db9ae3ec5dda68.jpg","text":"TemporaryFile(/tmp/multipartBody2719616537075952030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397013922,"filename":"image_09012025_05_28_03_006366_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7b6c11e7945c1ae352eb004987f7ded0.jpg","text":"TemporaryFile(/tmp/multipartBody4368352941963732387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397013922,"filename":"image_09012025_05_28_03_006366_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591604","file1":"1327591599","file0":"1327591597","file3":"1327591606"},"map_files_photo_id_array":[{"photo_id":"1327591604","filename":"file2"},{"photo_id":"1327591599","filename":"file1"},{"photo_id":"1327591597","filename":"file0"},{"photo_id":"1327591606","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591597":["hashtag1","hashtag2"]},{"1327591604":["hashtag1","hashtag2"]},{"1327591606":["hashtag1","hashtag2"]},{"1327591599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591597, 1327591604, 1327591606, 1327591599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.286837100982666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:30:02.786519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/28/image_09012025_05_28_03_006366_0003.jpg', '/home/pi/Desktop/images/09012025/05/29/image_09012025_05_29_02_491097_0000.jpg', '/home/pi/Desktop/images/09012025/05/29/image_09012025_05_29_02_491097_0001.jpg', '/home/pi/Desktop/images/09012025/05/29/image_09012025_05_29_02_491097_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/28/image_09012025_05_28_03_006366_0003.jpg
/home/pi/Desktop/images/09012025/05/29/image_09012025_05_29_02_491097_0000.jpg
/home/pi/Desktop/images/09012025/05/29/image_09012025_05_29_02_491097_0001.jpg
/home/pi/Desktop/images/09012025/05/29/image_09012025_05_29_02_491097_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591618","1327591629","1327591620","1327591623"],"photo_ids_order":["1327591618","1327591620","1327591623","1327591629"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/57aaaa1a89238c94b2ed925d6f1a05ca.jpg","text":"TemporaryFile(/tmp/multipartBody8381549682666693066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397073144,"filename":"image_09012025_05_28_03_006366_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3c3aaaf2037fedee3770404bab6f83e8.jpg","text":"TemporaryFile(/tmp/multipartBody2749239598281700996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397073144,"filename":"image_09012025_05_29_02_491097_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7efe4e5c472613b3f49ac39640f911b8.jpg","text":"TemporaryFile(/tmp/multipartBody3332130130228230100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397073144,"filename":"image_09012025_05_29_02_491097_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a51b7300002b4efe8467b2002ecc7eb1.jpg","text":"TemporaryFile(/tmp/multipartBody732598518696413385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397073144,"filename":"image_09012025_05_29_02_491097_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591623","file1":"1327591620","file0":"1327591618","file3":"1327591629"},"map_files_photo_id_array":[{"photo_id":"1327591623","filename":"file2"},{"photo_id":"1327591620","filename":"file1"},{"photo_id":"1327591618","filename":"file0"},{"photo_id":"1327591629","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591618":["hashtag1","hashtag2"]},{"1327591629":["hashtag1","hashtag2"]},{"1327591620":["hashtag1","hashtag2"]},{"1327591623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591618, 1327591629, 1327591620, 1327591623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.33932542800903 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:31:02.386057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/29/image_09012025_05_29_02_491097_0003.jpg', '/home/pi/Desktop/images/09012025/05/30/image_09012025_05_30_02_988620_0000.jpg', '/home/pi/Desktop/images/09012025/05/30/image_09012025_05_30_02_988620_0001.jpg', '/home/pi/Desktop/images/09012025/05/30/image_09012025_05_30_02_988620_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/29/image_09012025_05_29_02_491097_0003.jpg
/home/pi/Desktop/images/09012025/05/30/image_09012025_05_30_02_988620_0000.jpg
/home/pi/Desktop/images/09012025/05/30/image_09012025_05_30_02_988620_0001.jpg
/home/pi/Desktop/images/09012025/05/30/image_09012025_05_30_02_988620_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.944596290588379 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:31:21.888977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/29/image_09012025_05_29_02_491097_0003.jpg', '/home/pi/Desktop/images/09012025/05/30/image_09012025_05_30_02_988620_0000.jpg', '/home/pi/Desktop/images/09012025/05/30/image_09012025_05_30_02_988620_0001.jpg', '/home/pi/Desktop/images/09012025/05/30/image_09012025_05_30_02_988620_0002.jpg', '/home/pi/Desktop/images/09012025/05/30/image_09012025_05_30_02_988620_0003.jpg', '/home/pi/Desktop/images/09012025/05/31/image_09012025_05_31_02_655161_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/29/image_09012025_05_29_02_491097_0003.jpg
/home/pi/Desktop/images/09012025/05/30/image_09012025_05_30_02_988620_0000.jpg
/home/pi/Desktop/images/09012025/05/30/image_09012025_05_30_02_988620_0001.jpg
/home/pi/Desktop/images/09012025/05/30/image_09012025_05_30_02_988620_0002.jpg
/home/pi/Desktop/images/09012025/05/30/image_09012025_05_30_02_988620_0003.jpg
/home/pi/Desktop/images/09012025/05/31/image_09012025_05_31_02_655161_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591666","1327591663","1327591662","1327591659","1327591668","1327591656"],"photo_ids_order":["1327591656","1327591659","1327591662","1327591663","1327591666","1327591668"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e325dd51446a6a7d2e22c9a1b4175223.jpg","text":"TemporaryFile(/tmp/multipartBody2270033640639025829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397156980,"filename":"image_09012025_05_30_02_988620_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3cc87bfbdece0700e413df08ace56653.jpg","text":"TemporaryFile(/tmp/multipartBody4644757446585184544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397156980,"filename":"image_09012025_05_30_02_988620_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/97a6c1d799b8f7fe68f19978c1cdc75d.jpg","text":"TemporaryFile(/tmp/multipartBody5249606520023895726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397156980,"filename":"image_09012025_05_30_02_988620_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0d186350658d621da51f7e988ee528d4.jpg","text":"TemporaryFile(/tmp/multipartBody605826098707906100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397156980,"filename":"image_09012025_05_30_02_988620_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8185260ef87d169fea6bb5e6ce3dd810.jpg","text":"TemporaryFile(/tmp/multipartBody9169087245761898151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397156980,"filename":"image_09012025_05_31_02_655161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0342ca1a8ae592d9eda39a1fbcb4e6eb.jpg","text":"TemporaryFile(/tmp/multipartBody6371007634753462658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397156980,"filename":"image_09012025_05_29_02_491097_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591662","file1":"1327591659","file0":"1327591656","file4":"1327591666","file5":"1327591668","file3":"1327591663"},"map_files_photo_id_array":[{"photo_id":"1327591668","filename":"file5"},{"photo_id":"1327591662","filename":"file2"},{"photo_id":"1327591666","filename":"file4"},{"photo_id":"1327591659","filename":"file1"},{"photo_id":"1327591656","filename":"file0"},{"photo_id":"1327591663","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591666":["hashtag1","hashtag2"]},{"1327591663":["hashtag1","hashtag2"]},{"1327591662":["hashtag1","hashtag2"]},{"1327591659":["hashtag1","hashtag2"]},{"1327591668":["hashtag1","hashtag2"]},{"1327591656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591666, 1327591663, 1327591662, 1327591659, 1327591668, 1327591656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.81980657577515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:32:22.479238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/31/image_09012025_05_31_02_655161_0001.jpg', '/home/pi/Desktop/images/09012025/05/31/image_09012025_05_31_02_655161_0002.jpg', '/home/pi/Desktop/images/09012025/05/31/image_09012025_05_31_02_655161_0003.jpg', '/home/pi/Desktop/images/09012025/05/32/image_09012025_05_32_02_189734_0000.jpg', '/home/pi/Desktop/images/09012025/05/32/image_09012025_05_32_02_189734_0001.jpg', '/home/pi/Desktop/images/09012025/05/32/image_09012025_05_32_02_189734_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/31/image_09012025_05_31_02_655161_0001.jpg
/home/pi/Desktop/images/09012025/05/31/image_09012025_05_31_02_655161_0002.jpg
/home/pi/Desktop/images/09012025/05/31/image_09012025_05_31_02_655161_0003.jpg
/home/pi/Desktop/images/09012025/05/32/image_09012025_05_32_02_189734_0000.jpg
/home/pi/Desktop/images/09012025/05/32/image_09012025_05_32_02_189734_0001.jpg
/home/pi/Desktop/images/09012025/05/32/image_09012025_05_32_02_189734_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591688","1327591690","1327591678","1327591681","1327591674","1327591685"],"photo_ids_order":["1327591674","1327591678","1327591681","1327591685","1327591688","1327591690"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c11cd196a24ea7dc7657f2ca99ee4fb3.jpg","text":"TemporaryFile(/tmp/multipartBody5539061416127420356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397217466,"filename":"image_09012025_05_32_02_189734_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4a699007bc0c597e80a6ec2494a781fc.jpg","text":"TemporaryFile(/tmp/multipartBody8943894213950643009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397217466,"filename":"image_09012025_05_32_02_189734_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/864695ec908c295f5f986c6bdf354daa.jpg","text":"TemporaryFile(/tmp/multipartBody1259290012490055526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397217466,"filename":"image_09012025_05_31_02_655161_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9455ce840446b7bf0b79914e4ea26ef0.jpg","text":"TemporaryFile(/tmp/multipartBody7856018271035567270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397217466,"filename":"image_09012025_05_31_02_655161_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b054cf0583e4921036de9ec5846d8f9c.jpg","text":"TemporaryFile(/tmp/multipartBody7805503470815370085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397217466,"filename":"image_09012025_05_31_02_655161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c03bdc78d8853d52249be8abc32838b2.jpg","text":"TemporaryFile(/tmp/multipartBody964218978537228105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397217466,"filename":"image_09012025_05_32_02_189734_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591681","file1":"1327591678","file0":"1327591674","file4":"1327591688","file5":"1327591690","file3":"1327591685"},"map_files_photo_id_array":[{"photo_id":"1327591690","filename":"file5"},{"photo_id":"1327591681","filename":"file2"},{"photo_id":"1327591688","filename":"file4"},{"photo_id":"1327591678","filename":"file1"},{"photo_id":"1327591674","filename":"file0"},{"photo_id":"1327591685","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591688":["hashtag1","hashtag2"]},{"1327591690":["hashtag1","hashtag2"]},{"1327591678":["hashtag1","hashtag2"]},{"1327591681":["hashtag1","hashtag2"]},{"1327591674":["hashtag1","hashtag2"]},{"1327591685":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591688, 1327591690, 1327591678, 1327591681, 1327591674, 1327591685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.9143271446228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:33:22.197666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/32/image_09012025_05_32_02_189734_0003.jpg', '/home/pi/Desktop/images/09012025/05/33/image_09012025_05_33_02_856799_0000.jpg', '/home/pi/Desktop/images/09012025/05/33/image_09012025_05_33_02_856799_0001.jpg', '/home/pi/Desktop/images/09012025/05/33/image_09012025_05_33_02_856799_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/32/image_09012025_05_32_02_189734_0003.jpg
/home/pi/Desktop/images/09012025/05/33/image_09012025_05_33_02_856799_0000.jpg
/home/pi/Desktop/images/09012025/05/33/image_09012025_05_33_02_856799_0001.jpg
/home/pi/Desktop/images/09012025/05/33/image_09012025_05_33_02_856799_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591704","1327591695","1327591698","1327591701"],"photo_ids_order":["1327591695","1327591698","1327591701","1327591704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/22dac48e9c43e35e9be0551e9b52f600.jpg","text":"TemporaryFile(/tmp/multipartBody2758112684514014613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397272430,"filename":"image_09012025_05_33_02_856799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/67db40fa172e4303135e64afb1d60cde.jpg","text":"TemporaryFile(/tmp/multipartBody6547476465871917828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397272430,"filename":"image_09012025_05_32_02_189734_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/39f83eee85f4d1cf3ffe8397e2265c6e.jpg","text":"TemporaryFile(/tmp/multipartBody2431182275459790982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397272430,"filename":"image_09012025_05_33_02_856799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c1001e63b34d494d392039e641b01197.jpg","text":"TemporaryFile(/tmp/multipartBody4688433591508064150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397272430,"filename":"image_09012025_05_33_02_856799_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591701","file1":"1327591698","file0":"1327591695","file3":"1327591704"},"map_files_photo_id_array":[{"photo_id":"1327591701","filename":"file2"},{"photo_id":"1327591698","filename":"file1"},{"photo_id":"1327591695","filename":"file0"},{"photo_id":"1327591704","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591704":["hashtag1","hashtag2"]},{"1327591695":["hashtag1","hashtag2"]},{"1327591698":["hashtag1","hashtag2"]},{"1327591701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591704, 1327591695, 1327591698, 1327591701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.58130598068237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:34:22.719938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/33/image_09012025_05_33_02_856799_0003.jpg', '/home/pi/Desktop/images/09012025/05/34/image_09012025_05_34_02_579854_0000.jpg', '/home/pi/Desktop/images/09012025/05/34/image_09012025_05_34_02_579854_0001.jpg', '/home/pi/Desktop/images/09012025/05/34/image_09012025_05_34_02_579854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/33/image_09012025_05_33_02_856799_0003.jpg
/home/pi/Desktop/images/09012025/05/34/image_09012025_05_34_02_579854_0000.jpg
/home/pi/Desktop/images/09012025/05/34/image_09012025_05_34_02_579854_0001.jpg
/home/pi/Desktop/images/09012025/05/34/image_09012025_05_34_02_579854_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.921196937561035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:35:02.913021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/33/image_09012025_05_33_02_856799_0003.jpg', '/home/pi/Desktop/images/09012025/05/34/image_09012025_05_34_02_579854_0000.jpg', '/home/pi/Desktop/images/09012025/05/34/image_09012025_05_34_02_579854_0001.jpg', '/home/pi/Desktop/images/09012025/05/34/image_09012025_05_34_02_579854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/33/image_09012025_05_33_02_856799_0003.jpg
/home/pi/Desktop/images/09012025/05/34/image_09012025_05_34_02_579854_0000.jpg
/home/pi/Desktop/images/09012025/05/34/image_09012025_05_34_02_579854_0001.jpg
/home/pi/Desktop/images/09012025/05/34/image_09012025_05_34_02_579854_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591724","1327591729","1327591723","1327591726"],"photo_ids_order":["1327591723","1327591724","1327591726","1327591729"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d13eee5fb7d57ce5c7d053b260919a2e.jpg","text":"TemporaryFile(/tmp/multipartBody3191087546233167878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397373282,"filename":"image_09012025_05_34_02_579854_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ee96ec71a9980fc6a79d83beb4743b6d.jpg","text":"TemporaryFile(/tmp/multipartBody1770949857365506993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397373282,"filename":"image_09012025_05_34_02_579854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e4be76ea5663dd24da7e14ab3886aebf.jpg","text":"TemporaryFile(/tmp/multipartBody7468423548261286150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397373282,"filename":"image_09012025_05_33_02_856799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/23deeb87c09fb16fdcedc7130f1a3c1c.jpg","text":"TemporaryFile(/tmp/multipartBody8411976742474934708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397373282,"filename":"image_09012025_05_34_02_579854_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591726","file1":"1327591724","file0":"1327591723","file3":"1327591729"},"map_files_photo_id_array":[{"photo_id":"1327591726","filename":"file2"},{"photo_id":"1327591724","filename":"file1"},{"photo_id":"1327591723","filename":"file0"},{"photo_id":"1327591729","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591724":["hashtag1","hashtag2"]},{"1327591729":["hashtag1","hashtag2"]},{"1327591723":["hashtag1","hashtag2"]},{"1327591726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591724, 1327591729, 1327591723, 1327591726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.90337324142456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:36:02.422784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/34/image_09012025_05_34_02_579854_0003.jpg', '/home/pi/Desktop/images/09012025/05/35/image_09012025_05_35_03_102714_0000.jpg', '/home/pi/Desktop/images/09012025/05/35/image_09012025_05_35_03_102714_0001.jpg', '/home/pi/Desktop/images/09012025/05/35/image_09012025_05_35_03_102714_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/34/image_09012025_05_34_02_579854_0003.jpg
/home/pi/Desktop/images/09012025/05/35/image_09012025_05_35_03_102714_0000.jpg
/home/pi/Desktop/images/09012025/05/35/image_09012025_05_35_03_102714_0001.jpg
/home/pi/Desktop/images/09012025/05/35/image_09012025_05_35_03_102714_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.039852380752563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:36:21.903736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/34/image_09012025_05_34_02_579854_0003.jpg', '/home/pi/Desktop/images/09012025/05/35/image_09012025_05_35_03_102714_0000.jpg', '/home/pi/Desktop/images/09012025/05/35/image_09012025_05_35_03_102714_0001.jpg', '/home/pi/Desktop/images/09012025/05/35/image_09012025_05_35_03_102714_0002.jpg', '/home/pi/Desktop/images/09012025/05/35/image_09012025_05_35_03_102714_0003.jpg', '/home/pi/Desktop/images/09012025/05/36/image_09012025_05_36_02_639807_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/34/image_09012025_05_34_02_579854_0003.jpg
/home/pi/Desktop/images/09012025/05/35/image_09012025_05_35_03_102714_0000.jpg
/home/pi/Desktop/images/09012025/05/35/image_09012025_05_35_03_102714_0001.jpg
/home/pi/Desktop/images/09012025/05/35/image_09012025_05_35_03_102714_0002.jpg
/home/pi/Desktop/images/09012025/05/35/image_09012025_05_35_03_102714_0003.jpg
/home/pi/Desktop/images/09012025/05/36/image_09012025_05_36_02_639807_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591769","1327591760","1327591763","1327591757","1327591765","1327591767"],"photo_ids_order":["1327591757","1327591760","1327591763","1327591765","1327591767","1327591769"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e8bac7a3136b5b0dea43ec3fdfeeec7d.jpg","text":"TemporaryFile(/tmp/multipartBody1476907968372418387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397457045,"filename":"image_09012025_05_36_02_639807_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2aeeb2a159973f7f6a4244743ce38c22.jpg","text":"TemporaryFile(/tmp/multipartBody676703014876232394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397457045,"filename":"image_09012025_05_35_03_102714_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/656f4e061e27c12a1e70a02c6221d7a8.jpg","text":"TemporaryFile(/tmp/multipartBody5802584555912584261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397457045,"filename":"image_09012025_05_35_03_102714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/38bb47a5a44eea252f675f3e32621922.jpg","text":"TemporaryFile(/tmp/multipartBody8284215291035529742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397457045,"filename":"image_09012025_05_34_02_579854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eca443f1cc660e6a37b2ccc74d2c003b.jpg","text":"TemporaryFile(/tmp/multipartBody5518572161335412949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397457045,"filename":"image_09012025_05_35_03_102714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e1d1bce439e0b99efa7bf8a4dc079c08.jpg","text":"TemporaryFile(/tmp/multipartBody7125267048298898322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397457045,"filename":"image_09012025_05_35_03_102714_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591763","file1":"1327591760","file0":"1327591757","file4":"1327591767","file5":"1327591769","file3":"1327591765"},"map_files_photo_id_array":[{"photo_id":"1327591769","filename":"file5"},{"photo_id":"1327591763","filename":"file2"},{"photo_id":"1327591767","filename":"file4"},{"photo_id":"1327591760","filename":"file1"},{"photo_id":"1327591757","filename":"file0"},{"photo_id":"1327591765","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591769":["hashtag1","hashtag2"]},{"1327591760":["hashtag1","hashtag2"]},{"1327591763":["hashtag1","hashtag2"]},{"1327591757":["hashtag1","hashtag2"]},{"1327591765":["hashtag1","hashtag2"]},{"1327591767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591769, 1327591760, 1327591763, 1327591757, 1327591765, 1327591767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.71375274658203 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:37:22.330379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/36/image_09012025_05_36_02_639807_0001.jpg', '/home/pi/Desktop/images/09012025/05/36/image_09012025_05_36_02_639807_0002.jpg', '/home/pi/Desktop/images/09012025/05/36/image_09012025_05_36_02_639807_0003.jpg', '/home/pi/Desktop/images/09012025/05/37/image_09012025_05_37_02_244024_0000.jpg', '/home/pi/Desktop/images/09012025/05/37/image_09012025_05_37_02_244024_0001.jpg', '/home/pi/Desktop/images/09012025/05/37/image_09012025_05_37_02_244024_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/36/image_09012025_05_36_02_639807_0001.jpg
/home/pi/Desktop/images/09012025/05/36/image_09012025_05_36_02_639807_0002.jpg
/home/pi/Desktop/images/09012025/05/36/image_09012025_05_36_02_639807_0003.jpg
/home/pi/Desktop/images/09012025/05/37/image_09012025_05_37_02_244024_0000.jpg
/home/pi/Desktop/images/09012025/05/37/image_09012025_05_37_02_244024_0001.jpg
/home/pi/Desktop/images/09012025/05/37/image_09012025_05_37_02_244024_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591787","1327591781","1327591775","1327591778","1327591783","1327591785"],"photo_ids_order":["1327591775","1327591778","1327591781","1327591783","1327591785","1327591787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2784828ef3d1eb077d1a750da6d2e16c.jpg","text":"TemporaryFile(/tmp/multipartBody6874830208918330202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397517460,"filename":"image_09012025_05_37_02_244024_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7eb807fbf717c313a5c3d7215241a050.jpg","text":"TemporaryFile(/tmp/multipartBody7227665411497625703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397517460,"filename":"image_09012025_05_36_02_639807_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bd4d182f1bd6dacfa2ca469e2604085a.jpg","text":"TemporaryFile(/tmp/multipartBody6355916191596500019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397517460,"filename":"image_09012025_05_36_02_639807_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/69f491b000650f421ce935be1fbd1548.jpg","text":"TemporaryFile(/tmp/multipartBody8713954312171531610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397517460,"filename":"image_09012025_05_36_02_639807_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/16778d636356c3460fb54d74459edfa5.jpg","text":"TemporaryFile(/tmp/multipartBody8970694368682847478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397517460,"filename":"image_09012025_05_37_02_244024_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/008f9d4fac3151f2a322a757b5330395.jpg","text":"TemporaryFile(/tmp/multipartBody5842509985447666069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397517460,"filename":"image_09012025_05_37_02_244024_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591781","file1":"1327591778","file0":"1327591775","file4":"1327591785","file5":"1327591787","file3":"1327591783"},"map_files_photo_id_array":[{"photo_id":"1327591787","filename":"file5"},{"photo_id":"1327591781","filename":"file2"},{"photo_id":"1327591785","filename":"file4"},{"photo_id":"1327591778","filename":"file1"},{"photo_id":"1327591775","filename":"file0"},{"photo_id":"1327591783","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591787":["hashtag1","hashtag2"]},{"1327591781":["hashtag1","hashtag2"]},{"1327591775":["hashtag1","hashtag2"]},{"1327591778":["hashtag1","hashtag2"]},{"1327591783":["hashtag1","hashtag2"]},{"1327591785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591787, 1327591781, 1327591775, 1327591778, 1327591783, 1327591785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.46455693244934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:38:21.935205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/37/image_09012025_05_37_02_244024_0003.jpg', '/home/pi/Desktop/images/09012025/05/38/image_09012025_05_38_02_816135_0000.jpg', '/home/pi/Desktop/images/09012025/05/38/image_09012025_05_38_02_816135_0001.jpg', '/home/pi/Desktop/images/09012025/05/38/image_09012025_05_38_02_816135_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/37/image_09012025_05_37_02_244024_0003.jpg
/home/pi/Desktop/images/09012025/05/38/image_09012025_05_38_02_816135_0000.jpg
/home/pi/Desktop/images/09012025/05/38/image_09012025_05_38_02_816135_0001.jpg
/home/pi/Desktop/images/09012025/05/38/image_09012025_05_38_02_816135_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591820","1327591792","1327591806","1327591815"],"photo_ids_order":["1327591792","1327591806","1327591815","1327591820"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a44b6a1e389cd8e88a75959e80a28330.jpg","text":"TemporaryFile(/tmp/multipartBody103384413819991079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397572234,"filename":"image_09012025_05_38_02_816135_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e0e6a3fafbd2743d1cf2495880223cdb.jpg","text":"TemporaryFile(/tmp/multipartBody1613849893821938659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397572234,"filename":"image_09012025_05_37_02_244024_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aa7a1192a56e624e692c1199f3e3b4bd.jpg","text":"TemporaryFile(/tmp/multipartBody7874299158071823707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397572234,"filename":"image_09012025_05_38_02_816135_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/25b06019683aaced29f6bafdcacca244.jpg","text":"TemporaryFile(/tmp/multipartBody7849612902533808909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397572234,"filename":"image_09012025_05_38_02_816135_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591815","file1":"1327591806","file0":"1327591792","file3":"1327591820"},"map_files_photo_id_array":[{"photo_id":"1327591815","filename":"file2"},{"photo_id":"1327591806","filename":"file1"},{"photo_id":"1327591792","filename":"file0"},{"photo_id":"1327591820","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591820":["hashtag1","hashtag2"]},{"1327591792":["hashtag1","hashtag2"]},{"1327591806":["hashtag1","hashtag2"]},{"1327591815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591820, 1327591792, 1327591806, 1327591815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.55035996437073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:39:02.986924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:39:22.380734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/38/image_09012025_05_38_02_816135_0003.jpg', '/home/pi/Desktop/images/09012025/05/39/image_09012025_05_39_02_324293_0000.jpg', '/home/pi/Desktop/images/09012025/05/39/image_09012025_05_39_02_324293_0001.jpg', '/home/pi/Desktop/images/09012025/05/39/image_09012025_05_39_02_324293_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/38/image_09012025_05_38_02_816135_0003.jpg
/home/pi/Desktop/images/09012025/05/39/image_09012025_05_39_02_324293_0000.jpg
/home/pi/Desktop/images/09012025/05/39/image_09012025_05_39_02_324293_0001.jpg
/home/pi/Desktop/images/09012025/05/39/image_09012025_05_39_02_324293_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327591874","1327591870","1327591863","1327591866"],"photo_ids_order":["1327591863","1327591866","1327591870","1327591874"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e4696a7fbe49695ea7aea7ea03e78106.jpg","text":"TemporaryFile(/tmp/multipartBody8732615223401332029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397632790,"filename":"image_09012025_05_39_02_324293_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/21cefe5af206b05db51caf78c710de35.jpg","text":"TemporaryFile(/tmp/multipartBody6388275067322726107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397632790,"filename":"image_09012025_05_39_02_324293_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9d326303b8c2e28bc98fe84e69d3bb3b.jpg","text":"TemporaryFile(/tmp/multipartBody4973847978428797813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397632790,"filename":"image_09012025_05_38_02_816135_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/200586e2828ba8291224de64cad916e4.jpg","text":"TemporaryFile(/tmp/multipartBody5927224399260776029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397632790,"filename":"image_09012025_05_39_02_324293_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327591870","file1":"1327591866","file0":"1327591863","file3":"1327591874"},"map_files_photo_id_array":[{"photo_id":"1327591870","filename":"file2"},{"photo_id":"1327591866","filename":"file1"},{"photo_id":"1327591863","filename":"file0"},{"photo_id":"1327591874","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327591874":["hashtag1","hashtag2"]},{"1327591870":["hashtag1","hashtag2"]},{"1327591863":["hashtag1","hashtag2"]},{"1327591866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327591874, 1327591870, 1327591863, 1327591866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.647900342941284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:40:02.572407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:40:22.083444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/39/image_09012025_05_39_02_324293_0003.jpg', '/home/pi/Desktop/images/09012025/05/40/image_09012025_05_40_02_850759_0000.jpg', '/home/pi/Desktop/images/09012025/05/40/image_09012025_05_40_02_850759_0001.jpg', '/home/pi/Desktop/images/09012025/05/40/image_09012025_05_40_02_850759_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/39/image_09012025_05_39_02_324293_0003.jpg
/home/pi/Desktop/images/09012025/05/40/image_09012025_05_40_02_850759_0000.jpg
/home/pi/Desktop/images/09012025/05/40/image_09012025_05_40_02_850759_0001.jpg
/home/pi/Desktop/images/09012025/05/40/image_09012025_05_40_02_850759_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.075547218322754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:41:03.173515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/39/image_09012025_05_39_02_324293_0003.jpg', '/home/pi/Desktop/images/09012025/05/40/image_09012025_05_40_02_850759_0000.jpg', '/home/pi/Desktop/images/09012025/05/40/image_09012025_05_40_02_850759_0001.jpg', '/home/pi/Desktop/images/09012025/05/40/image_09012025_05_40_02_850759_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/39/image_09012025_05_39_02_324293_0003.jpg
/home/pi/Desktop/images/09012025/05/40/image_09012025_05_40_02_850759_0000.jpg
/home/pi/Desktop/images/09012025/05/40/image_09012025_05_40_02_850759_0001.jpg
/home/pi/Desktop/images/09012025/05/40/image_09012025_05_40_02_850759_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327592372","1327592426","1327592408","1327592334"],"photo_ids_order":["1327592334","1327592372","1327592408","1327592426"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/14cb1ac2886e47f6ec27bbafe264fe40.jpg","text":"TemporaryFile(/tmp/multipartBody6154202739281298097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397733708,"filename":"image_09012025_05_40_02_850759_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f99a71bf6fa6e5feb7b81606b75ea140.jpg","text":"TemporaryFile(/tmp/multipartBody6749398442921622533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397733708,"filename":"image_09012025_05_40_02_850759_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d3f89517452954aa652fcfc47f8a2e0c.jpg","text":"TemporaryFile(/tmp/multipartBody3063013152628962409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397733708,"filename":"image_09012025_05_40_02_850759_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b28e78ca56c3b90591ee039bd9eadd5c.jpg","text":"TemporaryFile(/tmp/multipartBody1125410342500181440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397733708,"filename":"image_09012025_05_39_02_324293_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327592408","file1":"1327592372","file0":"1327592334","file3":"1327592426"},"map_files_photo_id_array":[{"photo_id":"1327592408","filename":"file2"},{"photo_id":"1327592372","filename":"file1"},{"photo_id":"1327592334","filename":"file0"},{"photo_id":"1327592426","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327592372":["hashtag1","hashtag2"]},{"1327592426":["hashtag1","hashtag2"]},{"1327592408":["hashtag1","hashtag2"]},{"1327592334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327592372, 1327592426, 1327592408, 1327592334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.06375193595886 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:42:02.694579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/40/image_09012025_05_40_02_850759_0003.jpg', '/home/pi/Desktop/images/09012025/05/41/image_09012025_05_41_02_451758_0000.jpg', '/home/pi/Desktop/images/09012025/05/41/image_09012025_05_41_02_451758_0001.jpg', '/home/pi/Desktop/images/09012025/05/41/image_09012025_05_41_02_451758_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/40/image_09012025_05_40_02_850759_0003.jpg
/home/pi/Desktop/images/09012025/05/41/image_09012025_05_41_02_451758_0000.jpg
/home/pi/Desktop/images/09012025/05/41/image_09012025_05_41_02_451758_0001.jpg
/home/pi/Desktop/images/09012025/05/41/image_09012025_05_41_02_451758_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.961670398712158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:42:22.253291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/40/image_09012025_05_40_02_850759_0003.jpg', '/home/pi/Desktop/images/09012025/05/41/image_09012025_05_41_02_451758_0000.jpg', '/home/pi/Desktop/images/09012025/05/41/image_09012025_05_41_02_451758_0001.jpg', '/home/pi/Desktop/images/09012025/05/41/image_09012025_05_41_02_451758_0002.jpg', '/home/pi/Desktop/images/09012025/05/41/image_09012025_05_41_02_451758_0003.jpg', '/home/pi/Desktop/images/09012025/05/42/image_09012025_05_42_02_986053_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/40/image_09012025_05_40_02_850759_0003.jpg
/home/pi/Desktop/images/09012025/05/41/image_09012025_05_41_02_451758_0000.jpg
/home/pi/Desktop/images/09012025/05/41/image_09012025_05_41_02_451758_0001.jpg
/home/pi/Desktop/images/09012025/05/41/image_09012025_05_41_02_451758_0002.jpg
/home/pi/Desktop/images/09012025/05/41/image_09012025_05_41_02_451758_0003.jpg
/home/pi/Desktop/images/09012025/05/42/image_09012025_05_42_02_986053_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327593172","1327593253","1327593328","1327593369","1327593054","1327593420"],"photo_ids_order":["1327593054","1327593172","1327593253","1327593328","1327593369","1327593420"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/23852778033e161efb3b75543215d42d.jpg","text":"TemporaryFile(/tmp/multipartBody3732424175009207382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397817484,"filename":"image_09012025_05_41_02_451758_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2ef21c30d0e1657c5d0ee185d2fc4db0.jpg","text":"TemporaryFile(/tmp/multipartBody1382873401737532106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397817484,"filename":"image_09012025_05_41_02_451758_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/965ada667f328cf8cc6c54eddb14015f.jpg","text":"TemporaryFile(/tmp/multipartBody6002651871937053349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397817484,"filename":"image_09012025_05_41_02_451758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ab2ef318688743dc4b5703752e99538b.jpg","text":"TemporaryFile(/tmp/multipartBody4352641489459956991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397817484,"filename":"image_09012025_05_41_02_451758_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6d0ae10314b8c70d0a938e975085ae6a.jpg","text":"TemporaryFile(/tmp/multipartBody4024087360027837408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397817484,"filename":"image_09012025_05_40_02_850759_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9fa928efeafa7c7a217756200eabd308.jpg","text":"TemporaryFile(/tmp/multipartBody4877389174847696602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397817484,"filename":"image_09012025_05_42_02_986053_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327593253","file1":"1327593172","file0":"1327593054","file4":"1327593369","file5":"1327593420","file3":"1327593328"},"map_files_photo_id_array":[{"photo_id":"1327593420","filename":"file5"},{"photo_id":"1327593253","filename":"file2"},{"photo_id":"1327593369","filename":"file4"},{"photo_id":"1327593172","filename":"file1"},{"photo_id":"1327593054","filename":"file0"},{"photo_id":"1327593328","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327593172":["hashtag1","hashtag2"]},{"1327593253":["hashtag1","hashtag2"]},{"1327593328":["hashtag1","hashtag2"]},{"1327593369":["hashtag1","hashtag2"]},{"1327593054":["hashtag1","hashtag2"]},{"1327593420":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327593172, 1327593253, 1327593328, 1327593369, 1327593054, 1327593420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.137571573257446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:43:21.828606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/42/image_09012025_05_42_02_986053_0001.jpg', '/home/pi/Desktop/images/09012025/05/42/image_09012025_05_42_02_986053_0002.jpg', '/home/pi/Desktop/images/09012025/05/42/image_09012025_05_42_02_986053_0003.jpg', '/home/pi/Desktop/images/09012025/05/43/image_09012025_05_43_02_633836_0000.jpg', '/home/pi/Desktop/images/09012025/05/43/image_09012025_05_43_02_633836_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/42/image_09012025_05_42_02_986053_0001.jpg
/home/pi/Desktop/images/09012025/05/42/image_09012025_05_42_02_986053_0002.jpg
/home/pi/Desktop/images/09012025/05/42/image_09012025_05_42_02_986053_0003.jpg
/home/pi/Desktop/images/09012025/05/43/image_09012025_05_43_02_633836_0000.jpg
/home/pi/Desktop/images/09012025/05/43/image_09012025_05_43_02_633836_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327593792","1327593744","1327593779","1327593764","1327593830"],"photo_ids_order":["1327593744","1327593764","1327593779","1327593792","1327593830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fd8e800805cd8c5e34fb425fa23042f3.jpg","text":"TemporaryFile(/tmp/multipartBody924793718583982794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397874534,"filename":"image_09012025_05_43_02_633836_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fc77aeb7fd623e65d3729d76fc814a2c.jpg","text":"TemporaryFile(/tmp/multipartBody7078669599435436032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397874534,"filename":"image_09012025_05_42_02_986053_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d8766c55507330b3bbda6afdd58e28e5.jpg","text":"TemporaryFile(/tmp/multipartBody234198145547202374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397874534,"filename":"image_09012025_05_42_02_986053_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5d8dc93f5c6e07807f09428b3c1f2141.jpg","text":"TemporaryFile(/tmp/multipartBody5232521714948076501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397874534,"filename":"image_09012025_05_42_02_986053_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4d988e1d26a05ce4d0568f88bdbda46d.jpg","text":"TemporaryFile(/tmp/multipartBody4449726493531332139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397874534,"filename":"image_09012025_05_43_02_633836_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327593779","file1":"1327593764","file0":"1327593744","file4":"1327593830","file3":"1327593792"},"map_files_photo_id_array":[{"photo_id":"1327593779","filename":"file2"},{"photo_id":"1327593830","filename":"file4"},{"photo_id":"1327593764","filename":"file1"},{"photo_id":"1327593744","filename":"file0"},{"photo_id":"1327593792","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327593792":["hashtag1","hashtag2"]},{"1327593744":["hashtag1","hashtag2"]},{"1327593779":["hashtag1","hashtag2"]},{"1327593764":["hashtag1","hashtag2"]},{"1327593830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327593792, 1327593744, 1327593779, 1327593764, 1327593830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.17229652404785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:44:22.354109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/43/image_09012025_05_43_02_633836_0003.jpg', '/home/pi/Desktop/images/09012025/05/44/image_09012025_05_44_02_253526_0000.jpg', '/home/pi/Desktop/images/09012025/05/44/image_09012025_05_44_02_253526_0001.jpg', '/home/pi/Desktop/images/09012025/05/44/image_09012025_05_44_02_253526_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/43/image_09012025_05_43_02_633836_0003.jpg
/home/pi/Desktop/images/09012025/05/44/image_09012025_05_44_02_253526_0000.jpg
/home/pi/Desktop/images/09012025/05/44/image_09012025_05_44_02_253526_0001.jpg
/home/pi/Desktop/images/09012025/05/44/image_09012025_05_44_02_253526_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327594009","1327594012","1327593954","1327593989"],"photo_ids_order":["1327593954","1327593989","1327594009","1327594012"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/427af7ce4555d9d05ac0ce6b017f042c.jpg","text":"TemporaryFile(/tmp/multipartBody2260486572852399261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397932825,"filename":"image_09012025_05_44_02_253526_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/18f2a6200c40fe7568607c8a79e66577.jpg","text":"TemporaryFile(/tmp/multipartBody1200934739051718223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397932825,"filename":"image_09012025_05_44_02_253526_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fc0ae6afdc4f95638c67f6e70befaa15.jpg","text":"TemporaryFile(/tmp/multipartBody8690471462105433864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397932825,"filename":"image_09012025_05_43_02_633836_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/56370436d8813c9ecdc94007b5f30916.jpg","text":"TemporaryFile(/tmp/multipartBody3983613630412721304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397932825,"filename":"image_09012025_05_44_02_253526_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327594009","file1":"1327593989","file0":"1327593954","file3":"1327594012"},"map_files_photo_id_array":[{"photo_id":"1327594009","filename":"file2"},{"photo_id":"1327593989","filename":"file1"},{"photo_id":"1327593954","filename":"file0"},{"photo_id":"1327594012","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327594009":["hashtag1","hashtag2"]},{"1327594012":["hashtag1","hashtag2"]},{"1327593954":["hashtag1","hashtag2"]},{"1327593989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327594009, 1327594012, 1327593954, 1327593989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.287644386291504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:45:21.829294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/44/image_09012025_05_44_02_253526_0003.jpg', '/home/pi/Desktop/images/09012025/05/45/image_09012025_05_45_02_725863_0000.jpg', '/home/pi/Desktop/images/09012025/05/45/image_09012025_05_45_02_725863_0001.jpg', '/home/pi/Desktop/images/09012025/05/45/image_09012025_05_45_02_725863_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/44/image_09012025_05_44_02_253526_0003.jpg
/home/pi/Desktop/images/09012025/05/45/image_09012025_05_45_02_725863_0000.jpg
/home/pi/Desktop/images/09012025/05/45/image_09012025_05_45_02_725863_0001.jpg
/home/pi/Desktop/images/09012025/05/45/image_09012025_05_45_02_725863_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327594033","1327594030","1327594038","1327594035"],"photo_ids_order":["1327594030","1327594033","1327594035","1327594038"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4fb291809fa3dcff492f331bd56da1ac.jpg","text":"TemporaryFile(/tmp/multipartBody5763960023951078762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397992031,"filename":"image_09012025_05_45_02_725863_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b82ce1bb2d908e37ded80c8384516a70.jpg","text":"TemporaryFile(/tmp/multipartBody7388484343963169879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397992031,"filename":"image_09012025_05_44_02_253526_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d37d646e429dd3c2ce9cba66850d6c5d.jpg","text":"TemporaryFile(/tmp/multipartBody3394803393215249904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397992031,"filename":"image_09012025_05_45_02_725863_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/03b4dd4116b7bbdfc679b3993444b8a4.jpg","text":"TemporaryFile(/tmp/multipartBody1388970103832255037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736397992031,"filename":"image_09012025_05_45_02_725863_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327594035","file1":"1327594033","file0":"1327594030","file3":"1327594038"},"map_files_photo_id_array":[{"photo_id":"1327594035","filename":"file2"},{"photo_id":"1327594033","filename":"file1"},{"photo_id":"1327594030","filename":"file0"},{"photo_id":"1327594038","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327594033":["hashtag1","hashtag2"]},{"1327594030":["hashtag1","hashtag2"]},{"1327594038":["hashtag1","hashtag2"]},{"1327594035":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327594033, 1327594030, 1327594038, 1327594035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.86557483673096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:46:02.882123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:46:22.380013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/45/image_09012025_05_45_02_725863_0003.jpg', '/home/pi/Desktop/images/09012025/05/46/image_09012025_05_46_02_247151_0000.jpg', '/home/pi/Desktop/images/09012025/05/46/image_09012025_05_46_02_247151_0001.jpg', '/home/pi/Desktop/images/09012025/05/46/image_09012025_05_46_02_247151_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/45/image_09012025_05_45_02_725863_0003.jpg
/home/pi/Desktop/images/09012025/05/46/image_09012025_05_46_02_247151_0000.jpg
/home/pi/Desktop/images/09012025/05/46/image_09012025_05_46_02_247151_0001.jpg
/home/pi/Desktop/images/09012025/05/46/image_09012025_05_46_02_247151_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327594080","1327594062","1327594164","1327594265"],"photo_ids_order":["1327594062","1327594080","1327594164","1327594265"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a503ecc1ab8afb6137d2a2f256d31c4d.jpg","text":"TemporaryFile(/tmp/multipartBody4932713626241186122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398052649,"filename":"image_09012025_05_46_02_247151_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/069a5ce8c4c7cf23bf57f48ba8998637.jpg","text":"TemporaryFile(/tmp/multipartBody3904830909869991144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398052649,"filename":"image_09012025_05_45_02_725863_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e775aee24fec4c3970d0c68d7639608d.jpg","text":"TemporaryFile(/tmp/multipartBody1796532633869261169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398052649,"filename":"image_09012025_05_46_02_247151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4e5853c6c089bec7c60d941c45c6ff7a.jpg","text":"TemporaryFile(/tmp/multipartBody6152410849815013877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398052649,"filename":"image_09012025_05_46_02_247151_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327594164","file1":"1327594080","file0":"1327594062","file3":"1327594265"},"map_files_photo_id_array":[{"photo_id":"1327594164","filename":"file2"},{"photo_id":"1327594080","filename":"file1"},{"photo_id":"1327594062","filename":"file0"},{"photo_id":"1327594265","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327594080":["hashtag1","hashtag2"]},{"1327594062":["hashtag1","hashtag2"]},{"1327594164":["hashtag1","hashtag2"]},{"1327594265":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327594080, 1327594062, 1327594164, 1327594265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.57141876220703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:47:02.521256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:47:21.805573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/46/image_09012025_05_46_02_247151_0003.jpg', '/home/pi/Desktop/images/09012025/05/47/image_09012025_05_47_02_730618_0000.jpg', '/home/pi/Desktop/images/09012025/05/47/image_09012025_05_47_02_730618_0001.jpg', '/home/pi/Desktop/images/09012025/05/47/image_09012025_05_47_02_730618_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/46/image_09012025_05_46_02_247151_0003.jpg
/home/pi/Desktop/images/09012025/05/47/image_09012025_05_47_02_730618_0000.jpg
/home/pi/Desktop/images/09012025/05/47/image_09012025_05_47_02_730618_0001.jpg
/home/pi/Desktop/images/09012025/05/47/image_09012025_05_47_02_730618_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327594640","1327594643","1327594631","1327594628"],"photo_ids_order":["1327594628","1327594631","1327594640","1327594643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e199673aefefd979beee4dac44a51592.jpg","text":"TemporaryFile(/tmp/multipartBody4252758489423127148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398112023,"filename":"image_09012025_05_47_02_730618_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1c90c3167e9d569d4e7e702bcd93b042.jpg","text":"TemporaryFile(/tmp/multipartBody346808443966596130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398112023,"filename":"image_09012025_05_47_02_730618_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/42413560c1ef76c6a215a7e5b11d6b43.jpg","text":"TemporaryFile(/tmp/multipartBody2397912400833839197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398112023,"filename":"image_09012025_05_47_02_730618_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a0587344bcfcf8b46859f317590742e6.jpg","text":"TemporaryFile(/tmp/multipartBody1883493028361592358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398112023,"filename":"image_09012025_05_46_02_247151_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327594640","file1":"1327594631","file0":"1327594628","file3":"1327594643"},"map_files_photo_id_array":[{"photo_id":"1327594640","filename":"file2"},{"photo_id":"1327594631","filename":"file1"},{"photo_id":"1327594628","filename":"file0"},{"photo_id":"1327594643","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327594640":["hashtag1","hashtag2"]},{"1327594643":["hashtag1","hashtag2"]},{"1327594631":["hashtag1","hashtag2"]},{"1327594628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327594640, 1327594643, 1327594631, 1327594628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.17516565322876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:48:22.427668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/47/image_09012025_05_47_02_730618_0003.jpg', '/home/pi/Desktop/images/09012025/05/48/image_09012025_05_48_02_177308_0000.jpg', '/home/pi/Desktop/images/09012025/05/48/image_09012025_05_48_02_177308_0001.jpg', '/home/pi/Desktop/images/09012025/05/48/image_09012025_05_48_02_177308_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/47/image_09012025_05_47_02_730618_0003.jpg
/home/pi/Desktop/images/09012025/05/48/image_09012025_05_48_02_177308_0000.jpg
/home/pi/Desktop/images/09012025/05/48/image_09012025_05_48_02_177308_0001.jpg
/home/pi/Desktop/images/09012025/05/48/image_09012025_05_48_02_177308_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.833202123641968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:49:02.459562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/47/image_09012025_05_47_02_730618_0003.jpg', '/home/pi/Desktop/images/09012025/05/48/image_09012025_05_48_02_177308_0000.jpg', '/home/pi/Desktop/images/09012025/05/48/image_09012025_05_48_02_177308_0001.jpg', '/home/pi/Desktop/images/09012025/05/48/image_09012025_05_48_02_177308_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/47/image_09012025_05_47_02_730618_0003.jpg
/home/pi/Desktop/images/09012025/05/48/image_09012025_05_48_02_177308_0000.jpg
/home/pi/Desktop/images/09012025/05/48/image_09012025_05_48_02_177308_0001.jpg
/home/pi/Desktop/images/09012025/05/48/image_09012025_05_48_02_177308_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327594878","1327594874","1327594876","1327594873"],"photo_ids_order":["1327594873","1327594874","1327594876","1327594878"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b0c3c4b405c08bf36859e7c7fa2676ec.jpg","text":"TemporaryFile(/tmp/multipartBody2862989118792060326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398212784,"filename":"image_09012025_05_48_02_177308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7a421cd3fed22207535741ac1828aeee.jpg","text":"TemporaryFile(/tmp/multipartBody5788377804560886528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398212784,"filename":"image_09012025_05_48_02_177308_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bf31a6338a1f226f0f71568b4057c833.jpg","text":"TemporaryFile(/tmp/multipartBody7575034146672488073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398212784,"filename":"image_09012025_05_48_02_177308_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/04d41efa88334b58cec632a0eeede8f5.jpg","text":"TemporaryFile(/tmp/multipartBody8513799463838583741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398212784,"filename":"image_09012025_05_47_02_730618_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327594876","file1":"1327594874","file0":"1327594873","file3":"1327594878"},"map_files_photo_id_array":[{"photo_id":"1327594876","filename":"file2"},{"photo_id":"1327594874","filename":"file1"},{"photo_id":"1327594873","filename":"file0"},{"photo_id":"1327594878","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327594878":["hashtag1","hashtag2"]},{"1327594874":["hashtag1","hashtag2"]},{"1327594876":["hashtag1","hashtag2"]},{"1327594873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327594878, 1327594874, 1327594876, 1327594873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.5443480014801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:50:03.050821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/48/image_09012025_05_48_02_177308_0003.jpg', '/home/pi/Desktop/images/09012025/05/49/image_09012025_05_49_02_848175_0000.jpg', '/home/pi/Desktop/images/09012025/05/49/image_09012025_05_49_02_848175_0001.jpg', '/home/pi/Desktop/images/09012025/05/49/image_09012025_05_49_02_848175_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/48/image_09012025_05_48_02_177308_0003.jpg
/home/pi/Desktop/images/09012025/05/49/image_09012025_05_49_02_848175_0000.jpg
/home/pi/Desktop/images/09012025/05/49/image_09012025_05_49_02_848175_0001.jpg
/home/pi/Desktop/images/09012025/05/49/image_09012025_05_49_02_848175_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.76474380493164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:50:22.630867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/48/image_09012025_05_48_02_177308_0003.jpg', '/home/pi/Desktop/images/09012025/05/49/image_09012025_05_49_02_848175_0000.jpg', '/home/pi/Desktop/images/09012025/05/49/image_09012025_05_49_02_848175_0001.jpg', '/home/pi/Desktop/images/09012025/05/49/image_09012025_05_49_02_848175_0002.jpg', '/home/pi/Desktop/images/09012025/05/49/image_09012025_05_49_02_848175_0003.jpg', '/home/pi/Desktop/images/09012025/05/50/image_09012025_05_50_02_376587_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/48/image_09012025_05_48_02_177308_0003.jpg
/home/pi/Desktop/images/09012025/05/49/image_09012025_05_49_02_848175_0000.jpg
/home/pi/Desktop/images/09012025/05/49/image_09012025_05_49_02_848175_0001.jpg
/home/pi/Desktop/images/09012025/05/49/image_09012025_05_49_02_848175_0002.jpg
/home/pi/Desktop/images/09012025/05/49/image_09012025_05_49_02_848175_0003.jpg
/home/pi/Desktop/images/09012025/05/50/image_09012025_05_50_02_376587_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327594906","1327594926","1327594898","1327594901","1327594904","1327594924"],"photo_ids_order":["1327594898","1327594901","1327594904","1327594906","1327594924","1327594926"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3a153c535dca3aefa9bb1e4ee9b7ca08.jpg","text":"TemporaryFile(/tmp/multipartBody2151250304925457280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398297597,"filename":"image_09012025_05_49_02_848175_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/70a09ce61d4b712cfa5648206f3277e7.jpg","text":"TemporaryFile(/tmp/multipartBody3836441580975744493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398297597,"filename":"image_09012025_05_50_02_376587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0a17eb9e7cf2dffbb496f954e1bba7d2.jpg","text":"TemporaryFile(/tmp/multipartBody7287911346439582476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398297597,"filename":"image_09012025_05_48_02_177308_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6c2310edbe2118668ba55a579be30024.jpg","text":"TemporaryFile(/tmp/multipartBody5172055526805192344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398297597,"filename":"image_09012025_05_49_02_848175_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3da04a481f9d18c033778de0700d4d92.jpg","text":"TemporaryFile(/tmp/multipartBody2199927338482892918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398297597,"filename":"image_09012025_05_49_02_848175_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bc646948ac55f6d3e2c5fe6c32563b11.jpg","text":"TemporaryFile(/tmp/multipartBody2062650146163038089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398297597,"filename":"image_09012025_05_49_02_848175_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327594904","file1":"1327594901","file0":"1327594898","file4":"1327594924","file5":"1327594926","file3":"1327594906"},"map_files_photo_id_array":[{"photo_id":"1327594926","filename":"file5"},{"photo_id":"1327594904","filename":"file2"},{"photo_id":"1327594924","filename":"file4"},{"photo_id":"1327594901","filename":"file1"},{"photo_id":"1327594898","filename":"file0"},{"photo_id":"1327594906","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327594906":["hashtag1","hashtag2"]},{"1327594926":["hashtag1","hashtag2"]},{"1327594898":["hashtag1","hashtag2"]},{"1327594901":["hashtag1","hashtag2"]},{"1327594904":["hashtag1","hashtag2"]},{"1327594924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327594906, 1327594926, 1327594898, 1327594901, 1327594904, 1327594924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.56208276748657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:51:22.127852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/50/image_09012025_05_50_02_376587_0001.jpg', '/home/pi/Desktop/images/09012025/05/50/image_09012025_05_50_02_376587_0002.jpg', '/home/pi/Desktop/images/09012025/05/50/image_09012025_05_50_02_376587_0003.jpg', '/home/pi/Desktop/images/09012025/05/51/image_09012025_05_51_02_994211_0000.jpg', '/home/pi/Desktop/images/09012025/05/51/image_09012025_05_51_02_994211_0001.jpg', '/home/pi/Desktop/images/09012025/05/51/image_09012025_05_51_02_994211_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/50/image_09012025_05_50_02_376587_0001.jpg
/home/pi/Desktop/images/09012025/05/50/image_09012025_05_50_02_376587_0002.jpg
/home/pi/Desktop/images/09012025/05/50/image_09012025_05_50_02_376587_0003.jpg
/home/pi/Desktop/images/09012025/05/51/image_09012025_05_51_02_994211_0000.jpg
/home/pi/Desktop/images/09012025/05/51/image_09012025_05_51_02_994211_0001.jpg
/home/pi/Desktop/images/09012025/05/51/image_09012025_05_51_02_994211_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327594933","1327594941","1327594935","1327594929","1327594937","1327594939"],"photo_ids_order":["1327594929","1327594933","1327594935","1327594937","1327594939","1327594941"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2a6bba9ae41b92922219b55f6cd06f42.jpg","text":"TemporaryFile(/tmp/multipartBody7575067762839270573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398357173,"filename":"image_09012025_05_50_02_376587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fe8fac8c7e95214de9606c2f0e63e811.jpg","text":"TemporaryFile(/tmp/multipartBody4705099235398753678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398357173,"filename":"image_09012025_05_51_02_994211_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/93f6126bb0bd833868b909a38aa2bb2b.jpg","text":"TemporaryFile(/tmp/multipartBody3600775663655097700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398357173,"filename":"image_09012025_05_50_02_376587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/402f4cd3a86c569f356e093f9eb06886.jpg","text":"TemporaryFile(/tmp/multipartBody6438516171736818554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398357173,"filename":"image_09012025_05_50_02_376587_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ee7398c2d2e25a9be4cf5a7f39c8a9ca.jpg","text":"TemporaryFile(/tmp/multipartBody7383059424115697280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398357173,"filename":"image_09012025_05_51_02_994211_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/21513ae8f1afc3d4ea1836b46595c468.jpg","text":"TemporaryFile(/tmp/multipartBody6690747588952237581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398357173,"filename":"image_09012025_05_51_02_994211_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327594935","file1":"1327594933","file0":"1327594929","file4":"1327594939","file5":"1327594941","file3":"1327594937"},"map_files_photo_id_array":[{"photo_id":"1327594941","filename":"file5"},{"photo_id":"1327594935","filename":"file2"},{"photo_id":"1327594939","filename":"file4"},{"photo_id":"1327594933","filename":"file1"},{"photo_id":"1327594929","filename":"file0"},{"photo_id":"1327594937","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327594933":["hashtag1","hashtag2"]},{"1327594941":["hashtag1","hashtag2"]},{"1327594935":["hashtag1","hashtag2"]},{"1327594929":["hashtag1","hashtag2"]},{"1327594937":["hashtag1","hashtag2"]},{"1327594939":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327594933, 1327594941, 1327594935, 1327594929, 1327594937, 1327594939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.75218605995178 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:52:22.610592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/51/image_09012025_05_51_02_994211_0003.jpg', '/home/pi/Desktop/images/09012025/05/52/image_09012025_05_52_02_513939_0000.jpg', '/home/pi/Desktop/images/09012025/05/52/image_09012025_05_52_02_513939_0001.jpg', '/home/pi/Desktop/images/09012025/05/52/image_09012025_05_52_02_513939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/51/image_09012025_05_51_02_994211_0003.jpg
/home/pi/Desktop/images/09012025/05/52/image_09012025_05_52_02_513939_0000.jpg
/home/pi/Desktop/images/09012025/05/52/image_09012025_05_52_02_513939_0001.jpg
/home/pi/Desktop/images/09012025/05/52/image_09012025_05_52_02_513939_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327594954","1327594948","1327594951","1327594945"],"photo_ids_order":["1327594945","1327594948","1327594951","1327594954"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ff19620e4c4f4d2c2e2d4c32ae8f5e9f.jpg","text":"TemporaryFile(/tmp/multipartBody5871619538992149041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398412844,"filename":"image_09012025_05_52_02_513939_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/48b07b72785b5641557d8e8e34ffb689.jpg","text":"TemporaryFile(/tmp/multipartBody5791933321116868035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398412844,"filename":"image_09012025_05_52_02_513939_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d60dcca8b16e7976e0b2c224ec34d45c.jpg","text":"TemporaryFile(/tmp/multipartBody825811042282636495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398412844,"filename":"image_09012025_05_52_02_513939_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/204ac0b8d49b912ebac004d7bc2c5e1c.jpg","text":"TemporaryFile(/tmp/multipartBody5234108905115299853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398412844,"filename":"image_09012025_05_51_02_994211_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327594951","file1":"1327594948","file0":"1327594945","file3":"1327594954"},"map_files_photo_id_array":[{"photo_id":"1327594951","filename":"file2"},{"photo_id":"1327594948","filename":"file1"},{"photo_id":"1327594945","filename":"file0"},{"photo_id":"1327594954","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327594954":["hashtag1","hashtag2"]},{"1327594948":["hashtag1","hashtag2"]},{"1327594951":["hashtag1","hashtag2"]},{"1327594945":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327594954, 1327594948, 1327594951, 1327594945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.203238010406494 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:53:02.658761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:53:22.053744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/52/image_09012025_05_52_02_513939_0003.jpg', '/home/pi/Desktop/images/09012025/05/53/image_09012025_05_53_03_005877_0000.jpg', '/home/pi/Desktop/images/09012025/05/53/image_09012025_05_53_03_005877_0001.jpg', '/home/pi/Desktop/images/09012025/05/53/image_09012025_05_53_03_005877_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/52/image_09012025_05_52_02_513939_0003.jpg
/home/pi/Desktop/images/09012025/05/53/image_09012025_05_53_03_005877_0000.jpg
/home/pi/Desktop/images/09012025/05/53/image_09012025_05_53_03_005877_0001.jpg
/home/pi/Desktop/images/09012025/05/53/image_09012025_05_53_03_005877_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327594971","1327594969","1327594963","1327594966"],"photo_ids_order":["1327594963","1327594966","1327594969","1327594971"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9af87713dc24b96a93ebca444261b72d.jpg","text":"TemporaryFile(/tmp/multipartBody3779007615797263549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398472244,"filename":"image_09012025_05_53_03_005877_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7f9afb335a5124f179a0b0ef675201c5.jpg","text":"TemporaryFile(/tmp/multipartBody2840247689364994112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398472244,"filename":"image_09012025_05_53_03_005877_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/990dd26d47a9aaf96b5af7ca6c0daef0.jpg","text":"TemporaryFile(/tmp/multipartBody4250690689830322950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398472244,"filename":"image_09012025_05_52_02_513939_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/af99cc3718a01fab43ac53ec8af9a16e.jpg","text":"TemporaryFile(/tmp/multipartBody5128870074671153731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398472244,"filename":"image_09012025_05_53_03_005877_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327594969","file1":"1327594966","file0":"1327594963","file3":"1327594971"},"map_files_photo_id_array":[{"photo_id":"1327594969","filename":"file2"},{"photo_id":"1327594966","filename":"file1"},{"photo_id":"1327594963","filename":"file0"},{"photo_id":"1327594971","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327594971":["hashtag1","hashtag2"]},{"1327594969":["hashtag1","hashtag2"]},{"1327594963":["hashtag1","hashtag2"]},{"1327594966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327594971, 1327594969, 1327594963, 1327594966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.39414644241333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:54:22.717321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/53/image_09012025_05_53_03_005877_0003.jpg', '/home/pi/Desktop/images/09012025/05/54/image_09012025_05_54_02_480615_0000.jpg', '/home/pi/Desktop/images/09012025/05/54/image_09012025_05_54_02_480615_0001.jpg', '/home/pi/Desktop/images/09012025/05/54/image_09012025_05_54_02_480615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/53/image_09012025_05_53_03_005877_0003.jpg
/home/pi/Desktop/images/09012025/05/54/image_09012025_05_54_02_480615_0000.jpg
/home/pi/Desktop/images/09012025/05/54/image_09012025_05_54_02_480615_0001.jpg
/home/pi/Desktop/images/09012025/05/54/image_09012025_05_54_02_480615_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.017622232437134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:55:02.852078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/53/image_09012025_05_53_03_005877_0003.jpg', '/home/pi/Desktop/images/09012025/05/54/image_09012025_05_54_02_480615_0000.jpg', '/home/pi/Desktop/images/09012025/05/54/image_09012025_05_54_02_480615_0001.jpg', '/home/pi/Desktop/images/09012025/05/54/image_09012025_05_54_02_480615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/53/image_09012025_05_53_03_005877_0003.jpg
/home/pi/Desktop/images/09012025/05/54/image_09012025_05_54_02_480615_0000.jpg
/home/pi/Desktop/images/09012025/05/54/image_09012025_05_54_02_480615_0001.jpg
/home/pi/Desktop/images/09012025/05/54/image_09012025_05_54_02_480615_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327594986","1327594989","1327594991","1327594987"],"photo_ids_order":["1327594986","1327594987","1327594989","1327594991"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/32fa117a0b3f7b8b443fd505f2266825.jpg","text":"TemporaryFile(/tmp/multipartBody5199666043604062327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398573295,"filename":"image_09012025_05_53_03_005877_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2e94d4de011a44a7131b2b0981916a19.jpg","text":"TemporaryFile(/tmp/multipartBody4426686524637770146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398573295,"filename":"image_09012025_05_54_02_480615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0d7cc7ad901730475b4613ea770eb644.jpg","text":"TemporaryFile(/tmp/multipartBody1928581343016076098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398573295,"filename":"image_09012025_05_54_02_480615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a1f77fe88a4670ecf51b20e5243887c3.jpg","text":"TemporaryFile(/tmp/multipartBody5569699009695271820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398573295,"filename":"image_09012025_05_54_02_480615_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327594989","file1":"1327594987","file0":"1327594986","file3":"1327594991"},"map_files_photo_id_array":[{"photo_id":"1327594989","filename":"file2"},{"photo_id":"1327594987","filename":"file1"},{"photo_id":"1327594986","filename":"file0"},{"photo_id":"1327594991","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327594986":["hashtag1","hashtag2"]},{"1327594989":["hashtag1","hashtag2"]},{"1327594991":["hashtag1","hashtag2"]},{"1327594987":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327594986, 1327594989, 1327594991, 1327594987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.18741273880005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:56:02.272990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/54/image_09012025_05_54_02_480615_0003.jpg', '/home/pi/Desktop/images/09012025/05/55/image_09012025_05_55_03_111090_0000.jpg', '/home/pi/Desktop/images/09012025/05/55/image_09012025_05_55_03_111090_0001.jpg', '/home/pi/Desktop/images/09012025/05/55/image_09012025_05_55_03_111090_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/54/image_09012025_05_54_02_480615_0003.jpg
/home/pi/Desktop/images/09012025/05/55/image_09012025_05_55_03_111090_0000.jpg
/home/pi/Desktop/images/09012025/05/55/image_09012025_05_55_03_111090_0001.jpg
/home/pi/Desktop/images/09012025/05/55/image_09012025_05_55_03_111090_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.92784595489502 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:56:21.897929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/54/image_09012025_05_54_02_480615_0003.jpg', '/home/pi/Desktop/images/09012025/05/55/image_09012025_05_55_03_111090_0000.jpg', '/home/pi/Desktop/images/09012025/05/55/image_09012025_05_55_03_111090_0001.jpg', '/home/pi/Desktop/images/09012025/05/55/image_09012025_05_55_03_111090_0002.jpg', '/home/pi/Desktop/images/09012025/05/55/image_09012025_05_55_03_111090_0003.jpg', '/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/54/image_09012025_05_54_02_480615_0003.jpg
/home/pi/Desktop/images/09012025/05/55/image_09012025_05_55_03_111090_0000.jpg
/home/pi/Desktop/images/09012025/05/55/image_09012025_05_55_03_111090_0001.jpg
/home/pi/Desktop/images/09012025/05/55/image_09012025_05_55_03_111090_0002.jpg
/home/pi/Desktop/images/09012025/05/55/image_09012025_05_55_03_111090_0003.jpg
/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327595034","1327595027","1327595036","1327595030","1327595038","1327595032"],"photo_ids_order":["1327595027","1327595030","1327595032","1327595034","1327595036","1327595038"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/45e0dafb838712ba4fec3933d6b2d6c7.jpg","text":"TemporaryFile(/tmp/multipartBody6520927349992165489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398657089,"filename":"image_09012025_05_55_03_111090_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/973dec23cdd7922ded58c759b2d6cfb5.jpg","text":"TemporaryFile(/tmp/multipartBody5358273292143649042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398657089,"filename":"image_09012025_05_54_02_480615_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1454c3a370beaa3f52d5d5d7b4ca9c93.jpg","text":"TemporaryFile(/tmp/multipartBody7602624287288628286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398657089,"filename":"image_09012025_05_55_03_111090_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/16749683a06c168b8e48a45a3957f4e4.jpg","text":"TemporaryFile(/tmp/multipartBody8219268197711051567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398657089,"filename":"image_09012025_05_55_03_111090_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3f641214879adfe283acd1577f607aa2.jpg","text":"TemporaryFile(/tmp/multipartBody5999260977320774262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398657089,"filename":"image_09012025_05_56_02_610823_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/82ddc057ac8c0b04162fd4a94eac868c.jpg","text":"TemporaryFile(/tmp/multipartBody2726772120697301363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398657089,"filename":"image_09012025_05_55_03_111090_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327595032","file1":"1327595030","file0":"1327595027","file4":"1327595036","file5":"1327595038","file3":"1327595034"},"map_files_photo_id_array":[{"photo_id":"1327595038","filename":"file5"},{"photo_id":"1327595032","filename":"file2"},{"photo_id":"1327595036","filename":"file4"},{"photo_id":"1327595030","filename":"file1"},{"photo_id":"1327595027","filename":"file0"},{"photo_id":"1327595034","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327595034":["hashtag1","hashtag2"]},{"1327595027":["hashtag1","hashtag2"]},{"1327595036":["hashtag1","hashtag2"]},{"1327595030":["hashtag1","hashtag2"]},{"1327595038":["hashtag1","hashtag2"]},{"1327595032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327595034, 1327595027, 1327595036, 1327595030, 1327595038, 1327595032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.492258071899414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:57:22.499505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0001.jpg', '/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0002.jpg', '/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0003.jpg', '/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0000.jpg', '/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0001.jpg', '/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0001.jpg
/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0002.jpg
/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0003.jpg
/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0000.jpg
/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0001.jpg
/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0002.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 05:59:02.641267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0001.jpg', '/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0002.jpg', '/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0003.jpg', '/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0000.jpg', '/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0001.jpg', '/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0001.jpg
/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0002.jpg
/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0003.jpg
/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0000.jpg
/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0001.jpg
/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.826333284378052 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 05:59:22.421264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0001.jpg', '/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0002.jpg', '/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0003.jpg', '/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0000.jpg', '/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0001.jpg', '/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0001.jpg
/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0002.jpg
/home/pi/Desktop/images/09012025/05/56/image_09012025_05_56_02_610823_0003.jpg
/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0000.jpg
/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0001.jpg
/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327595178","1327595163","1327595166","1327595174","1327595168","1327595170"],"photo_ids_order":["1327595163","1327595166","1327595168","1327595170","1327595174","1327595178"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/42ee05f80eb10de5e60ec5bc413dce35.jpg","text":"TemporaryFile(/tmp/multipartBody3766744385088235926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398837590,"filename":"image_09012025_05_57_02_374544_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/59f8a748b8ee06fbc5de219fdbe16a8f.jpg","text":"TemporaryFile(/tmp/multipartBody7033096953447647763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398837590,"filename":"image_09012025_05_56_02_610823_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c8f26b08458136e16561e00b15eb8ce6.jpg","text":"TemporaryFile(/tmp/multipartBody2977295309213784641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398837590,"filename":"image_09012025_05_56_02_610823_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bba40dd5ce949c76de29e63e54eeeb01.jpg","text":"TemporaryFile(/tmp/multipartBody448374587412984795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398837590,"filename":"image_09012025_05_57_02_374544_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/13e65baaa2c2e03c97f22d26f80d2787.jpg","text":"TemporaryFile(/tmp/multipartBody9157886886203477870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398837590,"filename":"image_09012025_05_56_02_610823_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ad2bfa54237bb0835d8ae4b6441ef1a7.jpg","text":"TemporaryFile(/tmp/multipartBody468996564647713748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398837590,"filename":"image_09012025_05_57_02_374544_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327595168","file1":"1327595166","file0":"1327595163","file4":"1327595174","file5":"1327595178","file3":"1327595170"},"map_files_photo_id_array":[{"photo_id":"1327595178","filename":"file5"},{"photo_id":"1327595168","filename":"file2"},{"photo_id":"1327595174","filename":"file4"},{"photo_id":"1327595166","filename":"file1"},{"photo_id":"1327595163","filename":"file0"},{"photo_id":"1327595170","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327595178":["hashtag1","hashtag2"]},{"1327595163":["hashtag1","hashtag2"]},{"1327595166":["hashtag1","hashtag2"]},{"1327595174":["hashtag1","hashtag2"]},{"1327595168":["hashtag1","hashtag2"]},{"1327595170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327595178, 1327595163, 1327595166, 1327595174, 1327595168, 1327595170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.4343318939209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:00:21.763965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0003.jpg', '/home/pi/Desktop/images/09012025/05/58/image_09012025_05_58_02_954540_0000.jpg', '/home/pi/Desktop/images/09012025/05/58/image_09012025_05_58_02_954540_0001.jpg', '/home/pi/Desktop/images/09012025/05/58/image_09012025_05_58_02_954540_0002.jpg', '/home/pi/Desktop/images/09012025/05/58/image_09012025_05_58_02_954540_0003.jpg', '/home/pi/Desktop/images/09012025/05/59/image_09012025_05_59_02_480388_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/57/image_09012025_05_57_02_374544_0003.jpg
/home/pi/Desktop/images/09012025/05/58/image_09012025_05_58_02_954540_0000.jpg
/home/pi/Desktop/images/09012025/05/58/image_09012025_05_58_02_954540_0001.jpg
/home/pi/Desktop/images/09012025/05/58/image_09012025_05_58_02_954540_0002.jpg
/home/pi/Desktop/images/09012025/05/58/image_09012025_05_58_02_954540_0003.jpg
/home/pi/Desktop/images/09012025/05/59/image_09012025_05_59_02_480388_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327595200","1327595202","1327595189","1327595186","1327595204","1327595206"],"photo_ids_order":["1327595186","1327595189","1327595200","1327595202","1327595204","1327595206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/baea67a58311297ac6036d119f88d06b.jpg","text":"TemporaryFile(/tmp/multipartBody4231725942961821634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398897083,"filename":"image_09012025_05_58_02_954540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9851a559d95ba0adc006dacac6af4d34.jpg","text":"TemporaryFile(/tmp/multipartBody7055272010604101991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398897083,"filename":"image_09012025_05_58_02_954540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/47599f2e79d97f25b4b15686291313f4.jpg","text":"TemporaryFile(/tmp/multipartBody6974627248542994093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398897083,"filename":"image_09012025_05_58_02_954540_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/059b7cd17fbd80df3457c0022841120d.jpg","text":"TemporaryFile(/tmp/multipartBody4603776458079987767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398897083,"filename":"image_09012025_05_57_02_374544_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ea71226b52ae1315af61875e9cd4c485.jpg","text":"TemporaryFile(/tmp/multipartBody2291147983701550675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398897083,"filename":"image_09012025_05_58_02_954540_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9d7089479f243aeae354490645b30f5a.jpg","text":"TemporaryFile(/tmp/multipartBody1942234242743623656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398897083,"filename":"image_09012025_05_59_02_480388_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327595200","file1":"1327595189","file0":"1327595186","file4":"1327595204","file5":"1327595206","file3":"1327595202"},"map_files_photo_id_array":[{"photo_id":"1327595206","filename":"file5"},{"photo_id":"1327595200","filename":"file2"},{"photo_id":"1327595204","filename":"file4"},{"photo_id":"1327595189","filename":"file1"},{"photo_id":"1327595186","filename":"file0"},{"photo_id":"1327595202","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327595200":["hashtag1","hashtag2"]},{"1327595202":["hashtag1","hashtag2"]},{"1327595189":["hashtag1","hashtag2"]},{"1327595186":["hashtag1","hashtag2"]},{"1327595204":["hashtag1","hashtag2"]},{"1327595206":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327595200, 1327595202, 1327595189, 1327595186, 1327595204, 1327595206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.70801329612732 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:01:22.408200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/05/59/image_09012025_05_59_02_480388_0001.jpg', '/home/pi/Desktop/images/09012025/05/59/image_09012025_05_59_02_480388_0002.jpg', '/home/pi/Desktop/images/09012025/05/59/image_09012025_05_59_02_480388_0003.jpg', '/home/pi/Desktop/images/09012025/06/00/image_09012025_06_00_02_660470_0001.jpg', '/home/pi/Desktop/images/09012025/06/00/image_09012025_06_00_02_660470_0002.jpg', '/home/pi/Desktop/images/09012025/06/00/image_09012025_06_00_02_660470_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/05/59/image_09012025_05_59_02_480388_0001.jpg
/home/pi/Desktop/images/09012025/05/59/image_09012025_05_59_02_480388_0002.jpg
/home/pi/Desktop/images/09012025/05/59/image_09012025_05_59_02_480388_0003.jpg
/home/pi/Desktop/images/09012025/06/00/image_09012025_06_00_02_660470_0001.jpg
/home/pi/Desktop/images/09012025/06/00/image_09012025_06_00_02_660470_0002.jpg
/home/pi/Desktop/images/09012025/06/00/image_09012025_06_00_02_660470_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327595397","1327595256","1327595213","1327595300","1327595353","1327595218"],"photo_ids_order":["1327595213","1327595218","1327595256","1327595300","1327595353","1327595397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bc45e8fdac41dce2dc5e3e5d0349315b.jpg","text":"TemporaryFile(/tmp/multipartBody2618615569201846968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398957653,"filename":"image_09012025_06_00_02_660470_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5be4ba4e81afed890ed77d5fe515a727.jpg","text":"TemporaryFile(/tmp/multipartBody8732527383783459355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398957653,"filename":"image_09012025_05_59_02_480388_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5264963af906b29261d81bcf93b06986.jpg","text":"TemporaryFile(/tmp/multipartBody6482759479507487794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398957653,"filename":"image_09012025_05_59_02_480388_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4257e5002320fd547ffea3578b07c318.jpg","text":"TemporaryFile(/tmp/multipartBody5998408566864819083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398957653,"filename":"image_09012025_06_00_02_660470_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9da3576d9aa4a66a8dde3ac8ac09bce2.jpg","text":"TemporaryFile(/tmp/multipartBody4973470375115530357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398957653,"filename":"image_09012025_06_00_02_660470_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e8a46b34b088c1cffcfdd9a2f4f49cb7.jpg","text":"TemporaryFile(/tmp/multipartBody1721281262895085292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736398957653,"filename":"image_09012025_05_59_02_480388_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327595256","file1":"1327595218","file0":"1327595213","file4":"1327595353","file5":"1327595397","file3":"1327595300"},"map_files_photo_id_array":[{"photo_id":"1327595397","filename":"file5"},{"photo_id":"1327595256","filename":"file2"},{"photo_id":"1327595353","filename":"file4"},{"photo_id":"1327595218","filename":"file1"},{"photo_id":"1327595213","filename":"file0"},{"photo_id":"1327595300","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327595397":["hashtag1","hashtag2"]},{"1327595256":["hashtag1","hashtag2"]},{"1327595213":["hashtag1","hashtag2"]},{"1327595300":["hashtag1","hashtag2"]},{"1327595353":["hashtag1","hashtag2"]},{"1327595218":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327595397, 1327595256, 1327595213, 1327595300, 1327595353, 1327595218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.79792928695679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:02:21.871202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/01/image_09012025_06_01_02_249043_0000.jpg', '/home/pi/Desktop/images/09012025/06/01/image_09012025_06_01_02_249043_0001.jpg', '/home/pi/Desktop/images/09012025/06/01/image_09012025_06_01_02_249043_0002.jpg', '/home/pi/Desktop/images/09012025/06/01/image_09012025_06_01_02_249043_0003.jpg', '/home/pi/Desktop/images/09012025/06/02/image_09012025_06_02_02_736146_0000.jpg', '/home/pi/Desktop/images/09012025/06/02/image_09012025_06_02_02_736146_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/01/image_09012025_06_01_02_249043_0000.jpg
/home/pi/Desktop/images/09012025/06/01/image_09012025_06_01_02_249043_0001.jpg
/home/pi/Desktop/images/09012025/06/01/image_09012025_06_01_02_249043_0002.jpg
/home/pi/Desktop/images/09012025/06/01/image_09012025_06_01_02_249043_0003.jpg
/home/pi/Desktop/images/09012025/06/02/image_09012025_06_02_02_736146_0000.jpg
/home/pi/Desktop/images/09012025/06/02/image_09012025_06_02_02_736146_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327595772","1327595910","1327595708","1327595659","1327595851","1327595994"],"photo_ids_order":["1327595659","1327595708","1327595772","1327595851","1327595910","1327595994"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/255db9d8f85a0c50b0390d3153fbe9aa.jpg","text":"TemporaryFile(/tmp/multipartBody3976012591798317483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399017161,"filename":"image_09012025_06_01_02_249043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1c1c67f6a78eb18a007e0657d9f103ba.jpg","text":"TemporaryFile(/tmp/multipartBody7257092143456410078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399017161,"filename":"image_09012025_06_02_02_736146_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e81f598f2aaff36cc7babfbbada3a4d0.jpg","text":"TemporaryFile(/tmp/multipartBody7868506771660430023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399017161,"filename":"image_09012025_06_01_02_249043_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e57b6de061022b5d80e425154a2b9c72.jpg","text":"TemporaryFile(/tmp/multipartBody3883692049733551115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399017161,"filename":"image_09012025_06_01_02_249043_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a44299fa68c5f1e7af158e3a82a6c4ef.jpg","text":"TemporaryFile(/tmp/multipartBody2214989719797263338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399017161,"filename":"image_09012025_06_01_02_249043_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d3e0099c85f9942980cccdbabd407509.jpg","text":"TemporaryFile(/tmp/multipartBody7929658069408316470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399017161,"filename":"image_09012025_06_02_02_736146_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327595772","file1":"1327595708","file0":"1327595659","file4":"1327595910","file5":"1327595994","file3":"1327595851"},"map_files_photo_id_array":[{"photo_id":"1327595994","filename":"file5"},{"photo_id":"1327595772","filename":"file2"},{"photo_id":"1327595910","filename":"file4"},{"photo_id":"1327595708","filename":"file1"},{"photo_id":"1327595659","filename":"file0"},{"photo_id":"1327595851","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327595772":["hashtag1","hashtag2"]},{"1327595910":["hashtag1","hashtag2"]},{"1327595708":["hashtag1","hashtag2"]},{"1327595659":["hashtag1","hashtag2"]},{"1327595851":["hashtag1","hashtag2"]},{"1327595994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327595772, 1327595910, 1327595708, 1327595659, 1327595851, 1327595994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.19571542739868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:03:22.413324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/02/image_09012025_06_02_02_736146_0002.jpg', '/home/pi/Desktop/images/09012025/06/02/image_09012025_06_02_02_736146_0003.jpg', '/home/pi/Desktop/images/09012025/06/03/image_09012025_06_03_02_232623_0000.jpg', '/home/pi/Desktop/images/09012025/06/03/image_09012025_06_03_02_232623_0001.jpg', '/home/pi/Desktop/images/09012025/06/03/image_09012025_06_03_02_232623_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/02/image_09012025_06_02_02_736146_0002.jpg
/home/pi/Desktop/images/09012025/06/02/image_09012025_06_02_02_736146_0003.jpg
/home/pi/Desktop/images/09012025/06/03/image_09012025_06_03_02_232623_0000.jpg
/home/pi/Desktop/images/09012025/06/03/image_09012025_06_03_02_232623_0001.jpg
/home/pi/Desktop/images/09012025/06/03/image_09012025_06_03_02_232623_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327596351","1327596343","1327596346","1327596433","1327596349"],"photo_ids_order":["1327596343","1327596346","1327596349","1327596351","1327596433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/33dbe241f58410308749a926c09ca803.jpg","text":"TemporaryFile(/tmp/multipartBody8454336241949932986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399075099,"filename":"image_09012025_06_03_02_232623_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bfd6cd58bce25839477013ef034f2f3c.jpg","text":"TemporaryFile(/tmp/multipartBody9057578703610209312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399075099,"filename":"image_09012025_06_02_02_736146_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2019c79cb9d6b76241a6bb7b6798ab3b.jpg","text":"TemporaryFile(/tmp/multipartBody2041258646069903594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399075099,"filename":"image_09012025_06_02_02_736146_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9be7899b5ea89018c1a6c315712dd958.jpg","text":"TemporaryFile(/tmp/multipartBody7720770761523534495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399075099,"filename":"image_09012025_06_03_02_232623_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/265263f98d5d8a9cda0e4f79a84f39c7.jpg","text":"TemporaryFile(/tmp/multipartBody3527411888296162001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399075099,"filename":"image_09012025_06_03_02_232623_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327596349","file1":"1327596346","file0":"1327596343","file4":"1327596433","file3":"1327596351"},"map_files_photo_id_array":[{"photo_id":"1327596349","filename":"file2"},{"photo_id":"1327596433","filename":"file4"},{"photo_id":"1327596346","filename":"file1"},{"photo_id":"1327596343","filename":"file0"},{"photo_id":"1327596351","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327596351":["hashtag1","hashtag2"]},{"1327596343":["hashtag1","hashtag2"]},{"1327596346":["hashtag1","hashtag2"]},{"1327596433":["hashtag1","hashtag2"]},{"1327596349":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327596351, 1327596343, 1327596346, 1327596433, 1327596349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.1097891330719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:04:21.931540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/03/image_09012025_06_03_02_232623_0003.jpg', '/home/pi/Desktop/images/09012025/06/04/image_09012025_06_04_02_799308_0000.jpg', '/home/pi/Desktop/images/09012025/06/04/image_09012025_06_04_02_799308_0001.jpg', '/home/pi/Desktop/images/09012025/06/04/image_09012025_06_04_02_799308_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/03/image_09012025_06_03_02_232623_0003.jpg
/home/pi/Desktop/images/09012025/06/04/image_09012025_06_04_02_799308_0000.jpg
/home/pi/Desktop/images/09012025/06/04/image_09012025_06_04_02_799308_0001.jpg
/home/pi/Desktop/images/09012025/06/04/image_09012025_06_04_02_799308_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.74122166633606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:05:03.106931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/03/image_09012025_06_03_02_232623_0003.jpg', '/home/pi/Desktop/images/09012025/06/04/image_09012025_06_04_02_799308_0000.jpg', '/home/pi/Desktop/images/09012025/06/04/image_09012025_06_04_02_799308_0001.jpg', '/home/pi/Desktop/images/09012025/06/04/image_09012025_06_04_02_799308_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/03/image_09012025_06_03_02_232623_0003.jpg
/home/pi/Desktop/images/09012025/06/04/image_09012025_06_04_02_799308_0000.jpg
/home/pi/Desktop/images/09012025/06/04/image_09012025_06_04_02_799308_0001.jpg
/home/pi/Desktop/images/09012025/06/04/image_09012025_06_04_02_799308_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327596767","1327596751","1327596745","1327596753"],"photo_ids_order":["1327596745","1327596751","1327596753","1327596767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cdcd9564d0e6352d951e7b4a1d3498fb.jpg","text":"TemporaryFile(/tmp/multipartBody2875083254150449775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399173299,"filename":"image_09012025_06_04_02_799308_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0c4ead7fd92a874926b7010f7a38d2c8.jpg","text":"TemporaryFile(/tmp/multipartBody63947001620892322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399173299,"filename":"image_09012025_06_04_02_799308_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/78d279f63d7edb23a2d804275a3a05fb.jpg","text":"TemporaryFile(/tmp/multipartBody7079009019326724189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399173299,"filename":"image_09012025_06_03_02_232623_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eea2c9a5153a7b1bb882210bc32be860.jpg","text":"TemporaryFile(/tmp/multipartBody8619428748979821261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399173299,"filename":"image_09012025_06_04_02_799308_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327596753","file1":"1327596751","file0":"1327596745","file3":"1327596767"},"map_files_photo_id_array":[{"photo_id":"1327596753","filename":"file2"},{"photo_id":"1327596751","filename":"file1"},{"photo_id":"1327596745","filename":"file0"},{"photo_id":"1327596767","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327596767":["hashtag1","hashtag2"]},{"1327596751":["hashtag1","hashtag2"]},{"1327596745":["hashtag1","hashtag2"]},{"1327596753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327596767, 1327596751, 1327596745, 1327596753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.959346771240234 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:06:02.680814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/04/image_09012025_06_04_02_799308_0003.jpg', '/home/pi/Desktop/images/09012025/06/05/image_09012025_06_05_02_292871_0000.jpg', '/home/pi/Desktop/images/09012025/06/05/image_09012025_06_05_02_292871_0001.jpg', '/home/pi/Desktop/images/09012025/06/05/image_09012025_06_05_02_292871_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/04/image_09012025_06_04_02_799308_0003.jpg
/home/pi/Desktop/images/09012025/06/05/image_09012025_06_05_02_292871_0000.jpg
/home/pi/Desktop/images/09012025/06/05/image_09012025_06_05_02_292871_0001.jpg
/home/pi/Desktop/images/09012025/06/05/image_09012025_06_05_02_292871_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327596794","1327596790","1327596789","1327596792"],"photo_ids_order":["1327596789","1327596790","1327596792","1327596794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bc6758a1b385ed62d8012ad86231c959.jpg","text":"TemporaryFile(/tmp/multipartBody3592606275325677675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399232944,"filename":"image_09012025_06_05_02_292871_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3335bf82dd712bd80a4fd672d9c20f47.jpg","text":"TemporaryFile(/tmp/multipartBody5451024554063504962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399232944,"filename":"image_09012025_06_05_02_292871_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/85e8822de7a7186542caf2b16dc77d2c.jpg","text":"TemporaryFile(/tmp/multipartBody4309861466592797274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399232944,"filename":"image_09012025_06_04_02_799308_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ff6099a3167ac96a113314624b7116e3.jpg","text":"TemporaryFile(/tmp/multipartBody5395123116921116112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399232944,"filename":"image_09012025_06_05_02_292871_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327596792","file1":"1327596790","file0":"1327596789","file3":"1327596794"},"map_files_photo_id_array":[{"photo_id":"1327596792","filename":"file2"},{"photo_id":"1327596790","filename":"file1"},{"photo_id":"1327596789","filename":"file0"},{"photo_id":"1327596794","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327596794":["hashtag1","hashtag2"]},{"1327596790":["hashtag1","hashtag2"]},{"1327596789":["hashtag1","hashtag2"]},{"1327596792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327596794, 1327596790, 1327596789, 1327596792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.71924138069153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:07:03.329121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/05/image_09012025_06_05_02_292871_0003.jpg', '/home/pi/Desktop/images/09012025/06/06/image_09012025_06_06_02_898659_0000.jpg', '/home/pi/Desktop/images/09012025/06/06/image_09012025_06_06_02_898659_0001.jpg', '/home/pi/Desktop/images/09012025/06/06/image_09012025_06_06_02_898659_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/05/image_09012025_06_05_02_292871_0003.jpg
/home/pi/Desktop/images/09012025/06/06/image_09012025_06_06_02_898659_0000.jpg
/home/pi/Desktop/images/09012025/06/06/image_09012025_06_06_02_898659_0001.jpg
/home/pi/Desktop/images/09012025/06/06/image_09012025_06_06_02_898659_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327596806","1327596803","1327596802","1327596808"],"photo_ids_order":["1327596802","1327596803","1327596806","1327596808"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/acbd7638deb566ecfb29270bc1e1e8c7.jpg","text":"TemporaryFile(/tmp/multipartBody4469871414160513084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399293527,"filename":"image_09012025_06_06_02_898659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a819a9717ca1e5375645bc7ef22ab23d.jpg","text":"TemporaryFile(/tmp/multipartBody4838881151875603663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399293527,"filename":"image_09012025_06_06_02_898659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2579f9d9d4a66509e44b9416f68ce158.jpg","text":"TemporaryFile(/tmp/multipartBody7042449301211918063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399293527,"filename":"image_09012025_06_05_02_292871_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ec52e85ef1723828f4e739d9c6b239e3.jpg","text":"TemporaryFile(/tmp/multipartBody3642833146666146818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399293527,"filename":"image_09012025_06_06_02_898659_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327596806","file1":"1327596803","file0":"1327596802","file3":"1327596808"},"map_files_photo_id_array":[{"photo_id":"1327596806","filename":"file2"},{"photo_id":"1327596803","filename":"file1"},{"photo_id":"1327596802","filename":"file0"},{"photo_id":"1327596808","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327596806":["hashtag1","hashtag2"]},{"1327596803":["hashtag1","hashtag2"]},{"1327596802":["hashtag1","hashtag2"]},{"1327596808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327596806, 1327596803, 1327596802, 1327596808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.52653527259827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:08:02.751200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/06/image_09012025_06_06_02_898659_0003.jpg', '/home/pi/Desktop/images/09012025/06/07/image_09012025_06_07_02_600440_0000.jpg', '/home/pi/Desktop/images/09012025/06/07/image_09012025_06_07_02_600440_0001.jpg', '/home/pi/Desktop/images/09012025/06/07/image_09012025_06_07_02_600440_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/06/image_09012025_06_06_02_898659_0003.jpg
/home/pi/Desktop/images/09012025/06/07/image_09012025_06_07_02_600440_0000.jpg
/home/pi/Desktop/images/09012025/06/07/image_09012025_06_07_02_600440_0001.jpg
/home/pi/Desktop/images/09012025/06/07/image_09012025_06_07_02_600440_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327596869","1327596883","1327596958","1327596891"],"photo_ids_order":["1327596869","1327596883","1327596891","1327596958"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d30acbe00b3a21eed6b7925ce1488a18.jpg","text":"TemporaryFile(/tmp/multipartBody459633751054714302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399353271,"filename":"image_09012025_06_06_02_898659_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cc665ea5fc1b2af6b5920cd99ffd5f10.jpg","text":"TemporaryFile(/tmp/multipartBody2812532106597839780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399353271,"filename":"image_09012025_06_07_02_600440_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/142a4cefbb5c530172df6559dc4471dd.jpg","text":"TemporaryFile(/tmp/multipartBody8394285231814846955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399353271,"filename":"image_09012025_06_07_02_600440_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/72302f1fcfa683224c57bdb4cbc525fc.jpg","text":"TemporaryFile(/tmp/multipartBody971274263252659265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399353271,"filename":"image_09012025_06_07_02_600440_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327596891","file1":"1327596883","file0":"1327596869","file3":"1327596958"},"map_files_photo_id_array":[{"photo_id":"1327596891","filename":"file2"},{"photo_id":"1327596883","filename":"file1"},{"photo_id":"1327596869","filename":"file0"},{"photo_id":"1327596958","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327596869":["hashtag1","hashtag2"]},{"1327596883":["hashtag1","hashtag2"]},{"1327596958":["hashtag1","hashtag2"]},{"1327596891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327596869, 1327596883, 1327596958, 1327596891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.75734257698059 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:09:02.577753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/07/image_09012025_06_07_02_600440_0003.jpg', '/home/pi/Desktop/images/09012025/06/08/image_09012025_06_08_03_116359_0000.jpg', '/home/pi/Desktop/images/09012025/06/08/image_09012025_06_08_03_116359_0001.jpg', '/home/pi/Desktop/images/09012025/06/08/image_09012025_06_08_03_116359_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/07/image_09012025_06_07_02_600440_0003.jpg
/home/pi/Desktop/images/09012025/06/08/image_09012025_06_08_03_116359_0000.jpg
/home/pi/Desktop/images/09012025/06/08/image_09012025_06_08_03_116359_0001.jpg
/home/pi/Desktop/images/09012025/06/08/image_09012025_06_08_03_116359_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327597427","1327597570","1327597462","1327597408"],"photo_ids_order":["1327597408","1327597427","1327597462","1327597570"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fb7f407f5f82726403ca00e05f19999e.jpg","text":"TemporaryFile(/tmp/multipartBody2060856850815558176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399412926,"filename":"image_09012025_06_08_03_116359_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d2bc992b7c138fe5f1a981ab5aa4bfce.jpg","text":"TemporaryFile(/tmp/multipartBody1116258081269830297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399412926,"filename":"image_09012025_06_08_03_116359_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/789d0a9ec679d482c423dac176d9cc2e.jpg","text":"TemporaryFile(/tmp/multipartBody5332842470910488532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399412926,"filename":"image_09012025_06_08_03_116359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/764559b02de8f04c2dc10a4ff699b226.jpg","text":"TemporaryFile(/tmp/multipartBody4039392203807592107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399412926,"filename":"image_09012025_06_07_02_600440_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327597462","file1":"1327597427","file0":"1327597408","file3":"1327597570"},"map_files_photo_id_array":[{"photo_id":"1327597462","filename":"file2"},{"photo_id":"1327597427","filename":"file1"},{"photo_id":"1327597408","filename":"file0"},{"photo_id":"1327597570","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327597427":["hashtag1","hashtag2"]},{"1327597570":["hashtag1","hashtag2"]},{"1327597462":["hashtag1","hashtag2"]},{"1327597408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327597427, 1327597570, 1327597462, 1327597408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.707210063934326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:10:02.749207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/08/image_09012025_06_08_03_116359_0003.jpg', '/home/pi/Desktop/images/09012025/06/09/image_09012025_06_09_02_697960_0000.jpg', '/home/pi/Desktop/images/09012025/06/09/image_09012025_06_09_02_697960_0001.jpg', '/home/pi/Desktop/images/09012025/06/09/image_09012025_06_09_02_697960_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/08/image_09012025_06_08_03_116359_0003.jpg
/home/pi/Desktop/images/09012025/06/09/image_09012025_06_09_02_697960_0000.jpg
/home/pi/Desktop/images/09012025/06/09/image_09012025_06_09_02_697960_0001.jpg
/home/pi/Desktop/images/09012025/06/09/image_09012025_06_09_02_697960_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327598042","1327597946","1327598155","1327597914"],"photo_ids_order":["1327597914","1327597946","1327598042","1327598155"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ee49f54d7cb48a43c4725782369839d7.jpg","text":"TemporaryFile(/tmp/multipartBody3035858590765368622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399473059,"filename":"image_09012025_06_09_02_697960_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/65d66367521a7b39273c242cc2538c29.jpg","text":"TemporaryFile(/tmp/multipartBody6788811312885765598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399473059,"filename":"image_09012025_06_09_02_697960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/926d39113bec3ee0ff2304282768620b.jpg","text":"TemporaryFile(/tmp/multipartBody8313428438388608741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399473059,"filename":"image_09012025_06_09_02_697960_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/043a00411d875703f31052a5fb8b623d.jpg","text":"TemporaryFile(/tmp/multipartBody773728116737816486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399473059,"filename":"image_09012025_06_08_03_116359_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327598042","file1":"1327597946","file0":"1327597914","file3":"1327598155"},"map_files_photo_id_array":[{"photo_id":"1327598042","filename":"file2"},{"photo_id":"1327597946","filename":"file1"},{"photo_id":"1327597914","filename":"file0"},{"photo_id":"1327598155","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327598042":["hashtag1","hashtag2"]},{"1327597946":["hashtag1","hashtag2"]},{"1327598155":["hashtag1","hashtag2"]},{"1327597914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327598042, 1327597946, 1327598155, 1327597914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.50332856178284 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:11:02.608986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/09/image_09012025_06_09_02_697960_0003.jpg', '/home/pi/Desktop/images/09012025/06/10/image_09012025_06_10_02_222083_0000.jpg', '/home/pi/Desktop/images/09012025/06/10/image_09012025_06_10_02_222083_0001.jpg', '/home/pi/Desktop/images/09012025/06/10/image_09012025_06_10_02_222083_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/09/image_09012025_06_09_02_697960_0003.jpg
/home/pi/Desktop/images/09012025/06/10/image_09012025_06_10_02_222083_0000.jpg
/home/pi/Desktop/images/09012025/06/10/image_09012025_06_10_02_222083_0001.jpg
/home/pi/Desktop/images/09012025/06/10/image_09012025_06_10_02_222083_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327598405","1327598408","1327598404","1327598403"],"photo_ids_order":["1327598403","1327598404","1327598405","1327598408"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/57d10c3c64cae6d8ee89592dc2d0ac23.jpg","text":"TemporaryFile(/tmp/multipartBody4203354965521628537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399532904,"filename":"image_09012025_06_10_02_222083_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e156048e5b0a1f181aa65258d41f611f.jpg","text":"TemporaryFile(/tmp/multipartBody5358945046904069421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399532904,"filename":"image_09012025_06_10_02_222083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5095ab90aa1889261834b196381a21f7.jpg","text":"TemporaryFile(/tmp/multipartBody8776919899322859322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399532904,"filename":"image_09012025_06_10_02_222083_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/97123430735ce3da4bd35b52960323cb.jpg","text":"TemporaryFile(/tmp/multipartBody5032816600890596123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399532904,"filename":"image_09012025_06_09_02_697960_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327598405","file1":"1327598404","file0":"1327598403","file3":"1327598408"},"map_files_photo_id_array":[{"photo_id":"1327598405","filename":"file2"},{"photo_id":"1327598404","filename":"file1"},{"photo_id":"1327598403","filename":"file0"},{"photo_id":"1327598408","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327598405":["hashtag1","hashtag2"]},{"1327598408":["hashtag1","hashtag2"]},{"1327598404":["hashtag1","hashtag2"]},{"1327598403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327598405, 1327598408, 1327598404, 1327598403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.172242879867554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:12:02.892502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/10/image_09012025_06_10_02_222083_0003.jpg', '/home/pi/Desktop/images/09012025/06/11/image_09012025_06_11_02_773374_0000.jpg', '/home/pi/Desktop/images/09012025/06/11/image_09012025_06_11_02_773374_0001.jpg', '/home/pi/Desktop/images/09012025/06/11/image_09012025_06_11_02_773374_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/10/image_09012025_06_10_02_222083_0003.jpg
/home/pi/Desktop/images/09012025/06/11/image_09012025_06_11_02_773374_0000.jpg
/home/pi/Desktop/images/09012025/06/11/image_09012025_06_11_02_773374_0001.jpg
/home/pi/Desktop/images/09012025/06/11/image_09012025_06_11_02_773374_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327598423","1327598425","1327598419","1327598418"],"photo_ids_order":["1327598418","1327598419","1327598423","1327598425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/113ea4f30293156c5ddab3fb25066ed2.jpg","text":"TemporaryFile(/tmp/multipartBody4496493960656984427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399593371,"filename":"image_09012025_06_11_02_773374_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cb6432f1ead26a15cfca39e697656dde.jpg","text":"TemporaryFile(/tmp/multipartBody853079755331493096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399593371,"filename":"image_09012025_06_11_02_773374_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b1637416d7c7bc55a5400d23dd42633b.jpg","text":"TemporaryFile(/tmp/multipartBody5468813991943214112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399593371,"filename":"image_09012025_06_11_02_773374_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b1e72d1ab3cfe023de603ad5a57c86de.jpg","text":"TemporaryFile(/tmp/multipartBody4977756501335476001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399593371,"filename":"image_09012025_06_10_02_222083_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327598423","file1":"1327598419","file0":"1327598418","file3":"1327598425"},"map_files_photo_id_array":[{"photo_id":"1327598423","filename":"file2"},{"photo_id":"1327598419","filename":"file1"},{"photo_id":"1327598418","filename":"file0"},{"photo_id":"1327598425","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327598423":["hashtag1","hashtag2"]},{"1327598425":["hashtag1","hashtag2"]},{"1327598419":["hashtag1","hashtag2"]},{"1327598418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327598423, 1327598425, 1327598419, 1327598418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.22241759300232 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:13:02.705621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/11/image_09012025_06_11_02_773374_0003.jpg', '/home/pi/Desktop/images/09012025/06/12/image_09012025_06_12_02_261441_0000.jpg', '/home/pi/Desktop/images/09012025/06/12/image_09012025_06_12_02_261441_0001.jpg', '/home/pi/Desktop/images/09012025/06/12/image_09012025_06_12_02_261441_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/11/image_09012025_06_11_02_773374_0003.jpg
/home/pi/Desktop/images/09012025/06/12/image_09012025_06_12_02_261441_0000.jpg
/home/pi/Desktop/images/09012025/06/12/image_09012025_06_12_02_261441_0001.jpg
/home/pi/Desktop/images/09012025/06/12/image_09012025_06_12_02_261441_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.961091756820679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:13:22.039705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/11/image_09012025_06_11_02_773374_0003.jpg', '/home/pi/Desktop/images/09012025/06/12/image_09012025_06_12_02_261441_0000.jpg', '/home/pi/Desktop/images/09012025/06/12/image_09012025_06_12_02_261441_0001.jpg', '/home/pi/Desktop/images/09012025/06/12/image_09012025_06_12_02_261441_0002.jpg', '/home/pi/Desktop/images/09012025/06/12/image_09012025_06_12_02_261441_0003.jpg', '/home/pi/Desktop/images/09012025/06/13/image_09012025_06_13_02_935772_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/11/image_09012025_06_11_02_773374_0003.jpg
/home/pi/Desktop/images/09012025/06/12/image_09012025_06_12_02_261441_0000.jpg
/home/pi/Desktop/images/09012025/06/12/image_09012025_06_12_02_261441_0001.jpg
/home/pi/Desktop/images/09012025/06/12/image_09012025_06_12_02_261441_0002.jpg
/home/pi/Desktop/images/09012025/06/12/image_09012025_06_12_02_261441_0003.jpg
/home/pi/Desktop/images/09012025/06/13/image_09012025_06_13_02_935772_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327598494","1327598482","1327598485","1327598487","1327598478","1327598489"],"photo_ids_order":["1327598478","1327598482","1327598485","1327598487","1327598489","1327598494"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3a484e7eb703cc1edacce3b1c498292c.jpg","text":"TemporaryFile(/tmp/multipartBody8438523987403945252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399677152,"filename":"image_09012025_06_13_02_935772_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8efb51528a2c138e3390e29804469a2d.jpg","text":"TemporaryFile(/tmp/multipartBody7516124452170533608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399677152,"filename":"image_09012025_06_12_02_261441_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/90322c3400a2131cc5a9b40966e31bcb.jpg","text":"TemporaryFile(/tmp/multipartBody6195089447566587017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399677152,"filename":"image_09012025_06_12_02_261441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7129ca373911d3a87a6de6ab3619e831.jpg","text":"TemporaryFile(/tmp/multipartBody8455275115912190349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399677152,"filename":"image_09012025_06_12_02_261441_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/644065189d65b6fd2b3f4000d08c9043.jpg","text":"TemporaryFile(/tmp/multipartBody4896080597644401453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399677152,"filename":"image_09012025_06_11_02_773374_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ee9153f5fa161bdc6a4ae11c239eaafb.jpg","text":"TemporaryFile(/tmp/multipartBody8415804286192105240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399677152,"filename":"image_09012025_06_12_02_261441_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327598485","file1":"1327598482","file0":"1327598478","file4":"1327598489","file5":"1327598494","file3":"1327598487"},"map_files_photo_id_array":[{"photo_id":"1327598494","filename":"file5"},{"photo_id":"1327598485","filename":"file2"},{"photo_id":"1327598489","filename":"file4"},{"photo_id":"1327598482","filename":"file1"},{"photo_id":"1327598478","filename":"file0"},{"photo_id":"1327598487","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327598494":["hashtag1","hashtag2"]},{"1327598482":["hashtag1","hashtag2"]},{"1327598485":["hashtag1","hashtag2"]},{"1327598487":["hashtag1","hashtag2"]},{"1327598478":["hashtag1","hashtag2"]},{"1327598489":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327598494, 1327598482, 1327598485, 1327598487, 1327598478, 1327598489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.061110973358154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:14:21.803040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/13/image_09012025_06_13_02_935772_0001.jpg', '/home/pi/Desktop/images/09012025/06/13/image_09012025_06_13_02_935772_0002.jpg', '/home/pi/Desktop/images/09012025/06/13/image_09012025_06_13_02_935772_0003.jpg', '/home/pi/Desktop/images/09012025/06/14/image_09012025_06_14_02_499445_0000.jpg', '/home/pi/Desktop/images/09012025/06/14/image_09012025_06_14_02_499445_0001.jpg', '/home/pi/Desktop/images/09012025/06/14/image_09012025_06_14_02_499445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/13/image_09012025_06_13_02_935772_0001.jpg
/home/pi/Desktop/images/09012025/06/13/image_09012025_06_13_02_935772_0002.jpg
/home/pi/Desktop/images/09012025/06/13/image_09012025_06_13_02_935772_0003.jpg
/home/pi/Desktop/images/09012025/06/14/image_09012025_06_14_02_499445_0000.jpg
/home/pi/Desktop/images/09012025/06/14/image_09012025_06_14_02_499445_0001.jpg
/home/pi/Desktop/images/09012025/06/14/image_09012025_06_14_02_499445_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327598522","1327598510","1327598504","1327598513","1327598507","1327598524"],"photo_ids_order":["1327598504","1327598507","1327598510","1327598513","1327598522","1327598524"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9d420075f9e330e1f54c684f32a8694b.jpg","text":"TemporaryFile(/tmp/multipartBody653741026956869705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399736821,"filename":"image_09012025_06_14_02_499445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e2b23a33050c4251349c56dacb983cc6.jpg","text":"TemporaryFile(/tmp/multipartBody7646528287738264999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399736821,"filename":"image_09012025_06_13_02_935772_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f35daff52862db536d0be07c80623990.jpg","text":"TemporaryFile(/tmp/multipartBody7033259738929860058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399736821,"filename":"image_09012025_06_13_02_935772_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a76583b1a6f3e4862b6ea6f07b273e50.jpg","text":"TemporaryFile(/tmp/multipartBody5587835845057750282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399736821,"filename":"image_09012025_06_14_02_499445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/73b8f161f3ed2d88d54496a4bb2aebd8.jpg","text":"TemporaryFile(/tmp/multipartBody9102794684256001806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399736821,"filename":"image_09012025_06_13_02_935772_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9336002dee28e8861a94e133ffaf38c0.jpg","text":"TemporaryFile(/tmp/multipartBody7454691225999631490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399736821,"filename":"image_09012025_06_14_02_499445_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327598510","file1":"1327598507","file0":"1327598504","file4":"1327598522","file5":"1327598524","file3":"1327598513"},"map_files_photo_id_array":[{"photo_id":"1327598524","filename":"file5"},{"photo_id":"1327598510","filename":"file2"},{"photo_id":"1327598522","filename":"file4"},{"photo_id":"1327598507","filename":"file1"},{"photo_id":"1327598504","filename":"file0"},{"photo_id":"1327598513","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327598522":["hashtag1","hashtag2"]},{"1327598510":["hashtag1","hashtag2"]},{"1327598504":["hashtag1","hashtag2"]},{"1327598513":["hashtag1","hashtag2"]},{"1327598507":["hashtag1","hashtag2"]},{"1327598524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327598522, 1327598510, 1327598504, 1327598513, 1327598507, 1327598524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.0239679813385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:15:22.249103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/14/image_09012025_06_14_02_499445_0003.jpg', '/home/pi/Desktop/images/09012025/06/15/image_09012025_06_15_02_131636_0000.jpg', '/home/pi/Desktop/images/09012025/06/15/image_09012025_06_15_02_131636_0001.jpg', '/home/pi/Desktop/images/09012025/06/15/image_09012025_06_15_02_131636_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/14/image_09012025_06_14_02_499445_0003.jpg
/home/pi/Desktop/images/09012025/06/15/image_09012025_06_15_02_131636_0000.jpg
/home/pi/Desktop/images/09012025/06/15/image_09012025_06_15_02_131636_0001.jpg
/home/pi/Desktop/images/09012025/06/15/image_09012025_06_15_02_131636_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327598530","1327598533","1327598536","1327598528"],"photo_ids_order":["1327598528","1327598530","1327598533","1327598536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9642cd968c4828628c405e42a1b699b6.jpg","text":"TemporaryFile(/tmp/multipartBody1215514483081050652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399792630,"filename":"image_09012025_06_15_02_131636_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d0e7bd44b30f6effd69ba46e8c7c8dcf.jpg","text":"TemporaryFile(/tmp/multipartBody5408352275294701966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399792630,"filename":"image_09012025_06_15_02_131636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1856ed8e5ff26a38e001255a2496d9be.jpg","text":"TemporaryFile(/tmp/multipartBody7990198768149706601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399792630,"filename":"image_09012025_06_15_02_131636_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/467e19699b64ff3e2625ac6c8b992a87.jpg","text":"TemporaryFile(/tmp/multipartBody4358096241751765518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399792630,"filename":"image_09012025_06_14_02_499445_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327598533","file1":"1327598530","file0":"1327598528","file3":"1327598536"},"map_files_photo_id_array":[{"photo_id":"1327598533","filename":"file2"},{"photo_id":"1327598530","filename":"file1"},{"photo_id":"1327598528","filename":"file0"},{"photo_id":"1327598536","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327598530":["hashtag1","hashtag2"]},{"1327598533":["hashtag1","hashtag2"]},{"1327598536":["hashtag1","hashtag2"]},{"1327598528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327598530, 1327598533, 1327598536, 1327598528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13182282447815 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:16:21.805804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/15/image_09012025_06_15_02_131636_0003.jpg', '/home/pi/Desktop/images/09012025/06/16/image_09012025_06_16_02_649133_0000.jpg', '/home/pi/Desktop/images/09012025/06/16/image_09012025_06_16_02_649133_0001.jpg', '/home/pi/Desktop/images/09012025/06/16/image_09012025_06_16_02_649133_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/15/image_09012025_06_15_02_131636_0003.jpg
/home/pi/Desktop/images/09012025/06/16/image_09012025_06_16_02_649133_0000.jpg
/home/pi/Desktop/images/09012025/06/16/image_09012025_06_16_02_649133_0001.jpg
/home/pi/Desktop/images/09012025/06/16/image_09012025_06_16_02_649133_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327598569","1327598562","1327598559","1327598567"],"photo_ids_order":["1327598559","1327598562","1327598567","1327598569"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/36d65d867dd17a37c698b4c59e7ca95d.jpg","text":"TemporaryFile(/tmp/multipartBody5690672020427498140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399852057,"filename":"image_09012025_06_16_02_649133_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/915eec8a749b30d1c63dee8ff73f03c1.jpg","text":"TemporaryFile(/tmp/multipartBody8812087031517111722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399852057,"filename":"image_09012025_06_16_02_649133_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f66a7e8994899f265443c541a9fd4eba.jpg","text":"TemporaryFile(/tmp/multipartBody3127035506440215032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399852057,"filename":"image_09012025_06_15_02_131636_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5925da8ded634734bbde1f503cbbc1a9.jpg","text":"TemporaryFile(/tmp/multipartBody1167559929167090463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399852057,"filename":"image_09012025_06_16_02_649133_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327598567","file1":"1327598562","file0":"1327598559","file3":"1327598569"},"map_files_photo_id_array":[{"photo_id":"1327598567","filename":"file2"},{"photo_id":"1327598562","filename":"file1"},{"photo_id":"1327598559","filename":"file0"},{"photo_id":"1327598569","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327598569":["hashtag1","hashtag2"]},{"1327598562":["hashtag1","hashtag2"]},{"1327598559":["hashtag1","hashtag2"]},{"1327598567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327598569, 1327598562, 1327598559, 1327598567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.23421549797058 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:17:22.226951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/16/image_09012025_06_16_02_649133_0003.jpg', '/home/pi/Desktop/images/09012025/06/17/image_09012025_06_17_02_149768_0000.jpg', '/home/pi/Desktop/images/09012025/06/17/image_09012025_06_17_02_149768_0001.jpg', '/home/pi/Desktop/images/09012025/06/17/image_09012025_06_17_02_149768_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/16/image_09012025_06_16_02_649133_0003.jpg
/home/pi/Desktop/images/09012025/06/17/image_09012025_06_17_02_149768_0000.jpg
/home/pi/Desktop/images/09012025/06/17/image_09012025_06_17_02_149768_0001.jpg
/home/pi/Desktop/images/09012025/06/17/image_09012025_06_17_02_149768_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327598575","1327598578","1327598580","1327598582"],"photo_ids_order":["1327598575","1327598578","1327598580","1327598582"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4be8d7eabe4947a3e4720f44a9867c43.jpg","text":"TemporaryFile(/tmp/multipartBody3624293794019896491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399912619,"filename":"image_09012025_06_16_02_649133_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b89995085f5f2a066bc1664365a4217.jpg","text":"TemporaryFile(/tmp/multipartBody6371757928845612554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399912619,"filename":"image_09012025_06_17_02_149768_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a95309feebd4637a60fc4ff7df9cd7b9.jpg","text":"TemporaryFile(/tmp/multipartBody681189660068341647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399912619,"filename":"image_09012025_06_17_02_149768_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f4914dcf402a9f2a41c4215b09c365f4.jpg","text":"TemporaryFile(/tmp/multipartBody8104170328351668644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399912619,"filename":"image_09012025_06_17_02_149768_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327598580","file1":"1327598578","file0":"1327598575","file3":"1327598582"},"map_files_photo_id_array":[{"photo_id":"1327598580","filename":"file2"},{"photo_id":"1327598578","filename":"file1"},{"photo_id":"1327598575","filename":"file0"},{"photo_id":"1327598582","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327598575":["hashtag1","hashtag2"]},{"1327598578":["hashtag1","hashtag2"]},{"1327598580":["hashtag1","hashtag2"]},{"1327598582":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327598575, 1327598578, 1327598580, 1327598582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.24673366546631 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:18:03.116679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:18:22.668632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/17/image_09012025_06_17_02_149768_0003.jpg', '/home/pi/Desktop/images/09012025/06/18/image_09012025_06_18_02_614734_0000.jpg', '/home/pi/Desktop/images/09012025/06/18/image_09012025_06_18_02_614734_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/17/image_09012025_06_17_02_149768_0003.jpg
/home/pi/Desktop/images/09012025/06/18/image_09012025_06_18_02_614734_0000.jpg
/home/pi/Desktop/images/09012025/06/18/image_09012025_06_18_02_614734_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327598900","1327598780","1327598855"],"photo_ids_order":["1327598780","1327598855","1327598900"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0d636ae5786002e84446686905d1bc8e.jpg","text":"TemporaryFile(/tmp/multipartBody24331659516791104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399970545,"filename":"image_09012025_06_18_02_614734_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/93999a9688b366d6dc23c3b17d719462.jpg","text":"TemporaryFile(/tmp/multipartBody5336572813598815077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399970545,"filename":"image_09012025_06_17_02_149768_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/33b6c311e9910e902f8c709e9ffde749.jpg","text":"TemporaryFile(/tmp/multipartBody2753650093360268098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736399970545,"filename":"image_09012025_06_18_02_614734_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327598900","file1":"1327598855","file0":"1327598780"},"map_files_photo_id_array":[{"photo_id":"1327598900","filename":"file2"},{"photo_id":"1327598855","filename":"file1"},{"photo_id":"1327598780","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327598900":["hashtag1","hashtag2"]},{"1327598780":["hashtag1","hashtag2"]},{"1327598855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327598900, 1327598780, 1327598855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.163098096847534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:19:02.933217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:19:22.153361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/18/image_09012025_06_18_02_614734_0002.jpg', '/home/pi/Desktop/images/09012025/06/19/image_09012025_06_19_03_045295_0000.jpg', '/home/pi/Desktop/images/09012025/06/19/image_09012025_06_19_03_045295_0001.jpg', '/home/pi/Desktop/images/09012025/06/19/image_09012025_06_19_03_045295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/18/image_09012025_06_18_02_614734_0002.jpg
/home/pi/Desktop/images/09012025/06/19/image_09012025_06_19_03_045295_0000.jpg
/home/pi/Desktop/images/09012025/06/19/image_09012025_06_19_03_045295_0001.jpg
/home/pi/Desktop/images/09012025/06/19/image_09012025_06_19_03_045295_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.75534200668335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:20:02.348027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/18/image_09012025_06_18_02_614734_0002.jpg', '/home/pi/Desktop/images/09012025/06/19/image_09012025_06_19_03_045295_0000.jpg', '/home/pi/Desktop/images/09012025/06/19/image_09012025_06_19_03_045295_0001.jpg', '/home/pi/Desktop/images/09012025/06/19/image_09012025_06_19_03_045295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/18/image_09012025_06_18_02_614734_0002.jpg
/home/pi/Desktop/images/09012025/06/19/image_09012025_06_19_03_045295_0000.jpg
/home/pi/Desktop/images/09012025/06/19/image_09012025_06_19_03_045295_0001.jpg
/home/pi/Desktop/images/09012025/06/19/image_09012025_06_19_03_045295_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327599478","1327599477","1327599480","1327599482"],"photo_ids_order":["1327599477","1327599478","1327599480","1327599482"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7c78ccd323ef76fd014b4c6449c98b8e.jpg","text":"TemporaryFile(/tmp/multipartBody6757443197798728919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400072518,"filename":"image_09012025_06_19_03_045295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d3e47c695624609a292c086ead46e7d7.jpg","text":"TemporaryFile(/tmp/multipartBody3477065130857849083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400072518,"filename":"image_09012025_06_18_02_614734_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/262542de9eda89e1981dab9ee8efb245.jpg","text":"TemporaryFile(/tmp/multipartBody215715716435811570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400072518,"filename":"image_09012025_06_19_03_045295_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/39b97b4655de6fc03076f66f6e314c01.jpg","text":"TemporaryFile(/tmp/multipartBody4723244919333470557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400072518,"filename":"image_09012025_06_19_03_045295_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327599480","file1":"1327599478","file0":"1327599477","file3":"1327599482"},"map_files_photo_id_array":[{"photo_id":"1327599480","filename":"file2"},{"photo_id":"1327599478","filename":"file1"},{"photo_id":"1327599477","filename":"file0"},{"photo_id":"1327599482","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327599478":["hashtag1","hashtag2"]},{"1327599477":["hashtag1","hashtag2"]},{"1327599480":["hashtag1","hashtag2"]},{"1327599482":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327599478, 1327599477, 1327599480, 1327599482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.82134652137756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:21:03.155034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/19/image_09012025_06_19_03_045295_0003.jpg', '/home/pi/Desktop/images/09012025/06/20/image_09012025_06_20_02_532344_0000.jpg', '/home/pi/Desktop/images/09012025/06/20/image_09012025_06_20_02_532344_0001.jpg', '/home/pi/Desktop/images/09012025/06/20/image_09012025_06_20_02_532344_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/19/image_09012025_06_19_03_045295_0003.jpg
/home/pi/Desktop/images/09012025/06/20/image_09012025_06_20_02_532344_0000.jpg
/home/pi/Desktop/images/09012025/06/20/image_09012025_06_20_02_532344_0001.jpg
/home/pi/Desktop/images/09012025/06/20/image_09012025_06_20_02_532344_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.982020616531372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:21:22.474049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/19/image_09012025_06_19_03_045295_0003.jpg', '/home/pi/Desktop/images/09012025/06/20/image_09012025_06_20_02_532344_0000.jpg', '/home/pi/Desktop/images/09012025/06/20/image_09012025_06_20_02_532344_0001.jpg', '/home/pi/Desktop/images/09012025/06/20/image_09012025_06_20_02_532344_0002.jpg', '/home/pi/Desktop/images/09012025/06/20/image_09012025_06_20_02_532344_0003.jpg', '/home/pi/Desktop/images/09012025/06/21/image_09012025_06_21_02_365365_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/19/image_09012025_06_19_03_045295_0003.jpg
/home/pi/Desktop/images/09012025/06/20/image_09012025_06_20_02_532344_0000.jpg
/home/pi/Desktop/images/09012025/06/20/image_09012025_06_20_02_532344_0001.jpg
/home/pi/Desktop/images/09012025/06/20/image_09012025_06_20_02_532344_0002.jpg
/home/pi/Desktop/images/09012025/06/20/image_09012025_06_20_02_532344_0003.jpg
/home/pi/Desktop/images/09012025/06/21/image_09012025_06_21_02_365365_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327599787","1327599783","1327599785","1327599779","1327599781","1327599790"],"photo_ids_order":["1327599779","1327599781","1327599783","1327599785","1327599787","1327599790"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a375cf5231ff9f362fd353dab346b9d2.jpg","text":"TemporaryFile(/tmp/multipartBody7500981149567596076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400157598,"filename":"image_09012025_06_20_02_532344_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/102fe86971703480a105b809770779fd.jpg","text":"TemporaryFile(/tmp/multipartBody6500739907254421433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400157598,"filename":"image_09012025_06_20_02_532344_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b8705334dd88f327fa7d1ced5291f36b.jpg","text":"TemporaryFile(/tmp/multipartBody3042106789768841387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400157598,"filename":"image_09012025_06_20_02_532344_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f3734dde8fe44f8f20c5499b26b5efbe.jpg","text":"TemporaryFile(/tmp/multipartBody1339898216188477001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400157598,"filename":"image_09012025_06_19_03_045295_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/25cbe67d0adf2656331c27e88c912592.jpg","text":"TemporaryFile(/tmp/multipartBody4900138033289684607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400157598,"filename":"image_09012025_06_20_02_532344_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9da8798bc200019d8ab0508a597d412c.jpg","text":"TemporaryFile(/tmp/multipartBody2393434469836492300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400157598,"filename":"image_09012025_06_21_02_365365_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327599783","file1":"1327599781","file0":"1327599779","file4":"1327599787","file5":"1327599790","file3":"1327599785"},"map_files_photo_id_array":[{"photo_id":"1327599790","filename":"file5"},{"photo_id":"1327599783","filename":"file2"},{"photo_id":"1327599787","filename":"file4"},{"photo_id":"1327599781","filename":"file1"},{"photo_id":"1327599779","filename":"file0"},{"photo_id":"1327599785","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327599787":["hashtag1","hashtag2"]},{"1327599783":["hashtag1","hashtag2"]},{"1327599785":["hashtag1","hashtag2"]},{"1327599779":["hashtag1","hashtag2"]},{"1327599781":["hashtag1","hashtag2"]},{"1327599790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327599787, 1327599783, 1327599785, 1327599779, 1327599781, 1327599790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.60728621482849 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:22:22.239884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/21/image_09012025_06_21_02_365365_0001.jpg', '/home/pi/Desktop/images/09012025/06/21/image_09012025_06_21_02_365365_0002.jpg', '/home/pi/Desktop/images/09012025/06/21/image_09012025_06_21_02_365365_0003.jpg', '/home/pi/Desktop/images/09012025/06/22/image_09012025_06_22_02_911921_0000.jpg', '/home/pi/Desktop/images/09012025/06/22/image_09012025_06_22_02_911921_0001.jpg', '/home/pi/Desktop/images/09012025/06/22/image_09012025_06_22_02_911921_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/21/image_09012025_06_21_02_365365_0001.jpg
/home/pi/Desktop/images/09012025/06/21/image_09012025_06_21_02_365365_0002.jpg
/home/pi/Desktop/images/09012025/06/21/image_09012025_06_21_02_365365_0003.jpg
/home/pi/Desktop/images/09012025/06/22/image_09012025_06_22_02_911921_0000.jpg
/home/pi/Desktop/images/09012025/06/22/image_09012025_06_22_02_911921_0001.jpg
/home/pi/Desktop/images/09012025/06/22/image_09012025_06_22_02_911921_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327599808","1327599792","1327599810","1327599801","1327599804","1327599797"],"photo_ids_order":["1327599792","1327599797","1327599801","1327599804","1327599808","1327599810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d6918924693b571fb99c7b19ba306dd3.jpg","text":"TemporaryFile(/tmp/multipartBody1805315658881129814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400217524,"filename":"image_09012025_06_22_02_911921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ce20d523a6bf41d198ed895c0a8e3792.jpg","text":"TemporaryFile(/tmp/multipartBody1134865623413079325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400217524,"filename":"image_09012025_06_21_02_365365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/36ec479e805eac6bdcb869013e73762e.jpg","text":"TemporaryFile(/tmp/multipartBody8247194782455718136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400217524,"filename":"image_09012025_06_22_02_911921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cbf6ea33b51d75a3497af61b2be8911f.jpg","text":"TemporaryFile(/tmp/multipartBody7235302596042773625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400217524,"filename":"image_09012025_06_21_02_365365_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/67a74478adcb301660e0539840f910dc.jpg","text":"TemporaryFile(/tmp/multipartBody7910554530230363725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400217524,"filename":"image_09012025_06_22_02_911921_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/594f9982b6429a2e91ddea57d117c9b0.jpg","text":"TemporaryFile(/tmp/multipartBody8825490174209045780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400217524,"filename":"image_09012025_06_21_02_365365_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327599801","file1":"1327599797","file0":"1327599792","file4":"1327599808","file5":"1327599810","file3":"1327599804"},"map_files_photo_id_array":[{"photo_id":"1327599810","filename":"file5"},{"photo_id":"1327599801","filename":"file2"},{"photo_id":"1327599808","filename":"file4"},{"photo_id":"1327599797","filename":"file1"},{"photo_id":"1327599792","filename":"file0"},{"photo_id":"1327599804","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327599808":["hashtag1","hashtag2"]},{"1327599792":["hashtag1","hashtag2"]},{"1327599810":["hashtag1","hashtag2"]},{"1327599801":["hashtag1","hashtag2"]},{"1327599804":["hashtag1","hashtag2"]},{"1327599797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327599808, 1327599792, 1327599810, 1327599801, 1327599804, 1327599797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.2038516998291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:24:02.919056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/22/image_09012025_06_22_02_911921_0003.jpg', '/home/pi/Desktop/images/09012025/06/23/image_09012025_06_23_02_619439_0000.jpg', '/home/pi/Desktop/images/09012025/06/23/image_09012025_06_23_02_619439_0001.jpg', '/home/pi/Desktop/images/09012025/06/23/image_09012025_06_23_02_619439_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/22/image_09012025_06_22_02_911921_0003.jpg
/home/pi/Desktop/images/09012025/06/23/image_09012025_06_23_02_619439_0000.jpg
/home/pi/Desktop/images/09012025/06/23/image_09012025_06_23_02_619439_0001.jpg
/home/pi/Desktop/images/09012025/06/23/image_09012025_06_23_02_619439_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.958230972290039 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:24:22.223567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/22/image_09012025_06_22_02_911921_0003.jpg', '/home/pi/Desktop/images/09012025/06/23/image_09012025_06_23_02_619439_0000.jpg', '/home/pi/Desktop/images/09012025/06/23/image_09012025_06_23_02_619439_0001.jpg', '/home/pi/Desktop/images/09012025/06/23/image_09012025_06_23_02_619439_0002.jpg', '/home/pi/Desktop/images/09012025/06/23/image_09012025_06_23_02_619439_0003.jpg', '/home/pi/Desktop/images/09012025/06/24/image_09012025_06_24_02_160017_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/22/image_09012025_06_22_02_911921_0003.jpg
/home/pi/Desktop/images/09012025/06/23/image_09012025_06_23_02_619439_0000.jpg
/home/pi/Desktop/images/09012025/06/23/image_09012025_06_23_02_619439_0001.jpg
/home/pi/Desktop/images/09012025/06/23/image_09012025_06_23_02_619439_0002.jpg
/home/pi/Desktop/images/09012025/06/23/image_09012025_06_23_02_619439_0003.jpg
/home/pi/Desktop/images/09012025/06/24/image_09012025_06_24_02_160017_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327600497","1327600539","1327600605","1327600323","1327600097","1327600726"],"photo_ids_order":["1327600097","1327600323","1327600497","1327600539","1327600605","1327600726"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b83abc7563d85d4d67312d2c1925831d.jpg","text":"TemporaryFile(/tmp/multipartBody5687082388153827561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400337296,"filename":"image_09012025_06_23_02_619439_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/84df561a90de48c7deda352b54d3ab41.jpg","text":"TemporaryFile(/tmp/multipartBody7926329483977611577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400337296,"filename":"image_09012025_06_23_02_619439_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1a60f17b9259c4ea4621203f3cfb15f7.jpg","text":"TemporaryFile(/tmp/multipartBody8922944411839026865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400337296,"filename":"image_09012025_06_23_02_619439_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/24da458c7345d5a2f25b5e66aca313a1.jpg","text":"TemporaryFile(/tmp/multipartBody8122334148643369568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400337296,"filename":"image_09012025_06_23_02_619439_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0a4ba4e2bc6e37bced9edefa3cb9a625.jpg","text":"TemporaryFile(/tmp/multipartBody3466871309896437813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400337296,"filename":"image_09012025_06_22_02_911921_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5aeaa760cccb4b9c41c0f584efad44ea.jpg","text":"TemporaryFile(/tmp/multipartBody2360233110251689773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400337296,"filename":"image_09012025_06_24_02_160017_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327600497","file1":"1327600323","file0":"1327600097","file4":"1327600605","file5":"1327600726","file3":"1327600539"},"map_files_photo_id_array":[{"photo_id":"1327600726","filename":"file5"},{"photo_id":"1327600497","filename":"file2"},{"photo_id":"1327600605","filename":"file4"},{"photo_id":"1327600323","filename":"file1"},{"photo_id":"1327600097","filename":"file0"},{"photo_id":"1327600539","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327600497":["hashtag1","hashtag2"]},{"1327600539":["hashtag1","hashtag2"]},{"1327600605":["hashtag1","hashtag2"]},{"1327600323":["hashtag1","hashtag2"]},{"1327600097":["hashtag1","hashtag2"]},{"1327600726":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327600497, 1327600539, 1327600605, 1327600323, 1327600097, 1327600726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.776461124420166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:25:21.847263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/24/image_09012025_06_24_02_160017_0001.jpg', '/home/pi/Desktop/images/09012025/06/24/image_09012025_06_24_02_160017_0002.jpg', '/home/pi/Desktop/images/09012025/06/24/image_09012025_06_24_02_160017_0003.jpg', '/home/pi/Desktop/images/09012025/06/25/image_09012025_06_25_02_711118_0000.jpg', '/home/pi/Desktop/images/09012025/06/25/image_09012025_06_25_02_711118_0001.jpg', '/home/pi/Desktop/images/09012025/06/25/image_09012025_06_25_02_711118_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/24/image_09012025_06_24_02_160017_0001.jpg
/home/pi/Desktop/images/09012025/06/24/image_09012025_06_24_02_160017_0002.jpg
/home/pi/Desktop/images/09012025/06/24/image_09012025_06_24_02_160017_0003.jpg
/home/pi/Desktop/images/09012025/06/25/image_09012025_06_25_02_711118_0000.jpg
/home/pi/Desktop/images/09012025/06/25/image_09012025_06_25_02_711118_0001.jpg
/home/pi/Desktop/images/09012025/06/25/image_09012025_06_25_02_711118_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327601100","1327601001","1327601102","1327601114","1327601053","1327601104"],"photo_ids_order":["1327601001","1327601053","1327601100","1327601102","1327601104","1327601114"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e8cbf0bc2b1e72c3fd78376037c83301.jpg","text":"TemporaryFile(/tmp/multipartBody7798851562775240655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400396944,"filename":"image_09012025_06_24_02_160017_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7decba4b6e3f79a0e5dfe73634713a17.jpg","text":"TemporaryFile(/tmp/multipartBody127759232584871595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400396944,"filename":"image_09012025_06_24_02_160017_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cb276d5c9cae05655d6314cf15c72cd5.jpg","text":"TemporaryFile(/tmp/multipartBody2615975113427886840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400396944,"filename":"image_09012025_06_25_02_711118_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f903215bb297c5422996ff2ec34b1ae7.jpg","text":"TemporaryFile(/tmp/multipartBody2432402331876526241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400396944,"filename":"image_09012025_06_25_02_711118_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f9c06ed75cf2f146d058d252651e2035.jpg","text":"TemporaryFile(/tmp/multipartBody2984900776763976908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400396944,"filename":"image_09012025_06_24_02_160017_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a93ad5f5cd33ff121ea706878c06842c.jpg","text":"TemporaryFile(/tmp/multipartBody9073824500348520656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400396944,"filename":"image_09012025_06_25_02_711118_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327601100","file1":"1327601053","file0":"1327601001","file4":"1327601104","file5":"1327601114","file3":"1327601102"},"map_files_photo_id_array":[{"photo_id":"1327601114","filename":"file5"},{"photo_id":"1327601100","filename":"file2"},{"photo_id":"1327601104","filename":"file4"},{"photo_id":"1327601053","filename":"file1"},{"photo_id":"1327601001","filename":"file0"},{"photo_id":"1327601102","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327601100":["hashtag1","hashtag2"]},{"1327601001":["hashtag1","hashtag2"]},{"1327601102":["hashtag1","hashtag2"]},{"1327601114":["hashtag1","hashtag2"]},{"1327601053":["hashtag1","hashtag2"]},{"1327601104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327601100, 1327601001, 1327601102, 1327601114, 1327601053, 1327601104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.83019757270813 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:26:22.324473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/25/image_09012025_06_25_02_711118_0003.jpg', '/home/pi/Desktop/images/09012025/06/26/image_09012025_06_26_02_214270_0000.jpg', '/home/pi/Desktop/images/09012025/06/26/image_09012025_06_26_02_214270_0001.jpg', '/home/pi/Desktop/images/09012025/06/26/image_09012025_06_26_02_214270_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/25/image_09012025_06_25_02_711118_0003.jpg
/home/pi/Desktop/images/09012025/06/26/image_09012025_06_26_02_214270_0000.jpg
/home/pi/Desktop/images/09012025/06/26/image_09012025_06_26_02_214270_0001.jpg
/home/pi/Desktop/images/09012025/06/26/image_09012025_06_26_02_214270_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327601133","1327601129","1327601122","1327601125"],"photo_ids_order":["1327601122","1327601125","1327601129","1327601133"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/75f14923dca6722ddfcff54083bc0e0c.jpg","text":"TemporaryFile(/tmp/multipartBody4058421355952565998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400452419,"filename":"image_09012025_06_26_02_214270_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/94e0ed7883aaaa63cf6b7771db8d3232.jpg","text":"TemporaryFile(/tmp/multipartBody86991752167294254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400452419,"filename":"image_09012025_06_26_02_214270_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/70cce9e786243c9bf12d73c3cb7476fe.jpg","text":"TemporaryFile(/tmp/multipartBody2913490508253633826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400452419,"filename":"image_09012025_06_25_02_711118_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ddf3304d50774c950782fdca922a9759.jpg","text":"TemporaryFile(/tmp/multipartBody2236834470329692733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400452419,"filename":"image_09012025_06_26_02_214270_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327601129","file1":"1327601125","file0":"1327601122","file3":"1327601133"},"map_files_photo_id_array":[{"photo_id":"1327601129","filename":"file2"},{"photo_id":"1327601125","filename":"file1"},{"photo_id":"1327601122","filename":"file0"},{"photo_id":"1327601133","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327601133":["hashtag1","hashtag2"]},{"1327601129":["hashtag1","hashtag2"]},{"1327601122":["hashtag1","hashtag2"]},{"1327601125":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327601133, 1327601129, 1327601122, 1327601125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.275070905685425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:27:21.853416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/26/image_09012025_06_26_02_214270_0003.jpg', '/home/pi/Desktop/images/09012025/06/27/image_09012025_06_27_02_688862_0000.jpg', '/home/pi/Desktop/images/09012025/06/27/image_09012025_06_27_02_688862_0001.jpg', '/home/pi/Desktop/images/09012025/06/27/image_09012025_06_27_02_688862_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/26/image_09012025_06_26_02_214270_0003.jpg
/home/pi/Desktop/images/09012025/06/27/image_09012025_06_27_02_688862_0000.jpg
/home/pi/Desktop/images/09012025/06/27/image_09012025_06_27_02_688862_0001.jpg
/home/pi/Desktop/images/09012025/06/27/image_09012025_06_27_02_688862_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327601384","1327601467","1327601469","1327601460"],"photo_ids_order":["1327601384","1327601460","1327601467","1327601469"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/98251e92bd2ed37273c1ad65296d231c.jpg","text":"TemporaryFile(/tmp/multipartBody1737479244113240966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400512141,"filename":"image_09012025_06_26_02_214270_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5fd412f49a1cd0012813757f6f340832.jpg","text":"TemporaryFile(/tmp/multipartBody9098108001679018145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400512141,"filename":"image_09012025_06_27_02_688862_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/67cdeb4dfd4cab816d418f673688a750.jpg","text":"TemporaryFile(/tmp/multipartBody4602318078069626892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400512141,"filename":"image_09012025_06_27_02_688862_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9fb061ec671840c5b6814f9723b83a50.jpg","text":"TemporaryFile(/tmp/multipartBody6815192443802443793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400512141,"filename":"image_09012025_06_27_02_688862_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327601467","file1":"1327601460","file0":"1327601384","file3":"1327601469"},"map_files_photo_id_array":[{"photo_id":"1327601467","filename":"file2"},{"photo_id":"1327601460","filename":"file1"},{"photo_id":"1327601384","filename":"file0"},{"photo_id":"1327601469","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327601384":["hashtag1","hashtag2"]},{"1327601467":["hashtag1","hashtag2"]},{"1327601469":["hashtag1","hashtag2"]},{"1327601460":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327601384, 1327601467, 1327601469, 1327601460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.50187873840332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:28:02.775516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:28:22.341692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/27/image_09012025_06_27_02_688862_0003.jpg', '/home/pi/Desktop/images/09012025/06/28/image_09012025_06_28_02_217590_0000.jpg', '/home/pi/Desktop/images/09012025/06/28/image_09012025_06_28_02_217590_0001.jpg', '/home/pi/Desktop/images/09012025/06/28/image_09012025_06_28_02_217590_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/27/image_09012025_06_27_02_688862_0003.jpg
/home/pi/Desktop/images/09012025/06/28/image_09012025_06_28_02_217590_0000.jpg
/home/pi/Desktop/images/09012025/06/28/image_09012025_06_28_02_217590_0001.jpg
/home/pi/Desktop/images/09012025/06/28/image_09012025_06_28_02_217590_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327601508","1327601485","1327601490","1327601487"],"photo_ids_order":["1327601485","1327601487","1327601490","1327601508"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e9a78e0086090bd0a9ebba19df00f0aa.jpg","text":"TemporaryFile(/tmp/multipartBody7240521565518780959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400572664,"filename":"image_09012025_06_28_02_217590_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/62731f8b78896626f3abc1b7c2137545.jpg","text":"TemporaryFile(/tmp/multipartBody5523244064396755101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400572664,"filename":"image_09012025_06_27_02_688862_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c3a4b0fd3ad6bcbb1d438aa886ddffce.jpg","text":"TemporaryFile(/tmp/multipartBody8369834295694230366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400572664,"filename":"image_09012025_06_28_02_217590_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/31a7bdf5626f527da6bf02f318b2d3a0.jpg","text":"TemporaryFile(/tmp/multipartBody7823919711492479783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400572664,"filename":"image_09012025_06_28_02_217590_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327601490","file1":"1327601487","file0":"1327601485","file3":"1327601508"},"map_files_photo_id_array":[{"photo_id":"1327601490","filename":"file2"},{"photo_id":"1327601487","filename":"file1"},{"photo_id":"1327601485","filename":"file0"},{"photo_id":"1327601508","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327601508":["hashtag1","hashtag2"]},{"1327601485":["hashtag1","hashtag2"]},{"1327601490":["hashtag1","hashtag2"]},{"1327601487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327601508, 1327601485, 1327601490, 1327601487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.45619249343872 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:29:02.576123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:29:21.782891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/28/image_09012025_06_28_02_217590_0003.jpg', '/home/pi/Desktop/images/09012025/06/29/image_09012025_06_29_02_717586_0000.jpg', '/home/pi/Desktop/images/09012025/06/29/image_09012025_06_29_02_717586_0001.jpg', '/home/pi/Desktop/images/09012025/06/29/image_09012025_06_29_02_717586_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/28/image_09012025_06_28_02_217590_0003.jpg
/home/pi/Desktop/images/09012025/06/29/image_09012025_06_29_02_717586_0000.jpg
/home/pi/Desktop/images/09012025/06/29/image_09012025_06_29_02_717586_0001.jpg
/home/pi/Desktop/images/09012025/06/29/image_09012025_06_29_02_717586_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327601573","1327601607","1327601537","1327601692"],"photo_ids_order":["1327601537","1327601573","1327601607","1327601692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/36423083a93d62b7672e70f03067e11f.jpg","text":"TemporaryFile(/tmp/multipartBody9218655131297220830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400632152,"filename":"image_09012025_06_29_02_717586_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9ea961b163f56f24ec5998a8d8d6b146.jpg","text":"TemporaryFile(/tmp/multipartBody2907551917476146515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400632152,"filename":"image_09012025_06_29_02_717586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6beaf092b74474aab14310f3211eadc2.jpg","text":"TemporaryFile(/tmp/multipartBody7414485012436434481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400632152,"filename":"image_09012025_06_28_02_217590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0ec1497f239d812abd06b542eaaffc17.jpg","text":"TemporaryFile(/tmp/multipartBody9104873344514038027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400632152,"filename":"image_09012025_06_29_02_717586_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327601607","file1":"1327601573","file0":"1327601537","file3":"1327601692"},"map_files_photo_id_array":[{"photo_id":"1327601607","filename":"file2"},{"photo_id":"1327601573","filename":"file1"},{"photo_id":"1327601537","filename":"file0"},{"photo_id":"1327601692","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327601573":["hashtag1","hashtag2"]},{"1327601607":["hashtag1","hashtag2"]},{"1327601537":["hashtag1","hashtag2"]},{"1327601692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327601573, 1327601607, 1327601537, 1327601692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.465476751327515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:30:02.777754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:30:22.409838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/29/image_09012025_06_29_02_717586_0003.jpg', '/home/pi/Desktop/images/09012025/06/30/image_09012025_06_30_02_217717_0000.jpg', '/home/pi/Desktop/images/09012025/06/30/image_09012025_06_30_02_217717_0001.jpg', '/home/pi/Desktop/images/09012025/06/30/image_09012025_06_30_02_217717_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/29/image_09012025_06_29_02_717586_0003.jpg
/home/pi/Desktop/images/09012025/06/30/image_09012025_06_30_02_217717_0000.jpg
/home/pi/Desktop/images/09012025/06/30/image_09012025_06_30_02_217717_0001.jpg
/home/pi/Desktop/images/09012025/06/30/image_09012025_06_30_02_217717_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327602131","1327602134","1327602137","1327602127"],"photo_ids_order":["1327602127","1327602131","1327602134","1327602137"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/81e7471b4849400ffa937aa59ec0bb5a.jpg","text":"TemporaryFile(/tmp/multipartBody3102654411153286458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400692750,"filename":"image_09012025_06_30_02_217717_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/10b955d6b73efe8d89f54bda25039650.jpg","text":"TemporaryFile(/tmp/multipartBody2228123923650844914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400692750,"filename":"image_09012025_06_30_02_217717_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/919f3e7e565bedd90c9d4eafb85d85a4.jpg","text":"TemporaryFile(/tmp/multipartBody6412708143097210112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400692750,"filename":"image_09012025_06_30_02_217717_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/65c25c9651cd591346750285f5b06bb1.jpg","text":"TemporaryFile(/tmp/multipartBody522975727142250806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400692750,"filename":"image_09012025_06_29_02_717586_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327602134","file1":"1327602131","file0":"1327602127","file3":"1327602137"},"map_files_photo_id_array":[{"photo_id":"1327602134","filename":"file2"},{"photo_id":"1327602131","filename":"file1"},{"photo_id":"1327602127","filename":"file0"},{"photo_id":"1327602137","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327602131":["hashtag1","hashtag2"]},{"1327602134":["hashtag1","hashtag2"]},{"1327602137":["hashtag1","hashtag2"]},{"1327602127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327602131, 1327602134, 1327602137, 1327602127)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.064905405044556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:31:21.880933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/30/image_09012025_06_30_02_217717_0003.jpg', '/home/pi/Desktop/images/09012025/06/31/image_09012025_06_31_02_770879_0000.jpg', '/home/pi/Desktop/images/09012025/06/31/image_09012025_06_31_02_770879_0001.jpg', '/home/pi/Desktop/images/09012025/06/31/image_09012025_06_31_02_770879_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/30/image_09012025_06_30_02_217717_0003.jpg
/home/pi/Desktop/images/09012025/06/31/image_09012025_06_31_02_770879_0000.jpg
/home/pi/Desktop/images/09012025/06/31/image_09012025_06_31_02_770879_0001.jpg
/home/pi/Desktop/images/09012025/06/31/image_09012025_06_31_02_770879_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327602163","1327602166","1327602156","1327602159"],"photo_ids_order":["1327602156","1327602159","1327602163","1327602166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b68a7356cd58c35edb583d3b23ba8586.jpg","text":"TemporaryFile(/tmp/multipartBody1257339653644989201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400752207,"filename":"image_09012025_06_31_02_770879_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/995948cb47f3f3befe4b51f1a219bd99.jpg","text":"TemporaryFile(/tmp/multipartBody7404403307522619786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400752207,"filename":"image_09012025_06_31_02_770879_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/99e3ee90557cbc33bae186d83ba26d2e.jpg","text":"TemporaryFile(/tmp/multipartBody5647028909614142041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400752207,"filename":"image_09012025_06_30_02_217717_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/131cb8d449f1ee63ab2abbb7a4244529.jpg","text":"TemporaryFile(/tmp/multipartBody668748133823271716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400752207,"filename":"image_09012025_06_31_02_770879_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327602163","file1":"1327602159","file0":"1327602156","file3":"1327602166"},"map_files_photo_id_array":[{"photo_id":"1327602163","filename":"file2"},{"photo_id":"1327602159","filename":"file1"},{"photo_id":"1327602156","filename":"file0"},{"photo_id":"1327602166","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327602163":["hashtag1","hashtag2"]},{"1327602166":["hashtag1","hashtag2"]},{"1327602156":["hashtag1","hashtag2"]},{"1327602159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327602163, 1327602166, 1327602156, 1327602159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.952308893203735 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:32:22.424665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/31/image_09012025_06_31_02_770879_0003.jpg', '/home/pi/Desktop/images/09012025/06/32/image_09012025_06_32_02_274272_0000.jpg', '/home/pi/Desktop/images/09012025/06/32/image_09012025_06_32_02_274272_0001.jpg', '/home/pi/Desktop/images/09012025/06/32/image_09012025_06_32_02_274272_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/31/image_09012025_06_31_02_770879_0003.jpg
/home/pi/Desktop/images/09012025/06/32/image_09012025_06_32_02_274272_0000.jpg
/home/pi/Desktop/images/09012025/06/32/image_09012025_06_32_02_274272_0001.jpg
/home/pi/Desktop/images/09012025/06/32/image_09012025_06_32_02_274272_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327602518","1327602515","1327602472","1327602511"],"photo_ids_order":["1327602472","1327602511","1327602515","1327602518"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d33a2c295428ad94030cb04b1ced9ba5.jpg","text":"TemporaryFile(/tmp/multipartBody9105334640462351044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400812692,"filename":"image_09012025_06_32_02_274272_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/67586d727ec48a5be3007d590ef1a9d8.jpg","text":"TemporaryFile(/tmp/multipartBody4969786049368045049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400812692,"filename":"image_09012025_06_32_02_274272_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ce6efe9de2492eb5e22b3075dc4d2ac8.jpg","text":"TemporaryFile(/tmp/multipartBody6079168440894725084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400812692,"filename":"image_09012025_06_31_02_770879_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7fbecad07dbc952b956f64cdf8e30e4e.jpg","text":"TemporaryFile(/tmp/multipartBody3420143829994967746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400812692,"filename":"image_09012025_06_32_02_274272_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327602515","file1":"1327602511","file0":"1327602472","file3":"1327602518"},"map_files_photo_id_array":[{"photo_id":"1327602515","filename":"file2"},{"photo_id":"1327602511","filename":"file1"},{"photo_id":"1327602472","filename":"file0"},{"photo_id":"1327602518","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327602518":["hashtag1","hashtag2"]},{"1327602515":["hashtag1","hashtag2"]},{"1327602472":["hashtag1","hashtag2"]},{"1327602511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327602518, 1327602515, 1327602472, 1327602511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.950199365615845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:33:21.887150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/32/image_09012025_06_32_02_274272_0003.jpg', '/home/pi/Desktop/images/09012025/06/33/image_09012025_06_33_02_755348_0000.jpg', '/home/pi/Desktop/images/09012025/06/33/image_09012025_06_33_02_755348_0001.jpg', '/home/pi/Desktop/images/09012025/06/33/image_09012025_06_33_02_755348_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/32/image_09012025_06_32_02_274272_0003.jpg
/home/pi/Desktop/images/09012025/06/33/image_09012025_06_33_02_755348_0000.jpg
/home/pi/Desktop/images/09012025/06/33/image_09012025_06_33_02_755348_0001.jpg
/home/pi/Desktop/images/09012025/06/33/image_09012025_06_33_02_755348_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327602559","1327602550","1327602553","1327602556"],"photo_ids_order":["1327602550","1327602553","1327602556","1327602559"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/850c757d0c635daaaadaa4555ee7db5c.jpg","text":"TemporaryFile(/tmp/multipartBody4797384799543764703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400872269,"filename":"image_09012025_06_33_02_755348_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f90ff5861f44c87abf4892718bf85a70.jpg","text":"TemporaryFile(/tmp/multipartBody4293637161531488487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400872269,"filename":"image_09012025_06_32_02_274272_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a921dd1916fb7571f57010c17dc3306f.jpg","text":"TemporaryFile(/tmp/multipartBody4816888365191168454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400872269,"filename":"image_09012025_06_33_02_755348_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5b8772b1074f57e4053281f601da34b4.jpg","text":"TemporaryFile(/tmp/multipartBody9032335268858565326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400872269,"filename":"image_09012025_06_33_02_755348_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327602556","file1":"1327602553","file0":"1327602550","file3":"1327602559"},"map_files_photo_id_array":[{"photo_id":"1327602556","filename":"file2"},{"photo_id":"1327602553","filename":"file1"},{"photo_id":"1327602550","filename":"file0"},{"photo_id":"1327602559","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327602559":["hashtag1","hashtag2"]},{"1327602550":["hashtag1","hashtag2"]},{"1327602553":["hashtag1","hashtag2"]},{"1327602556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327602559, 1327602550, 1327602553, 1327602556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.468061447143555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:34:02.806508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:34:22.309083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/33/image_09012025_06_33_02_755348_0003.jpg', '/home/pi/Desktop/images/09012025/06/34/image_09012025_06_34_02_237880_0000.jpg', '/home/pi/Desktop/images/09012025/06/34/image_09012025_06_34_02_237880_0001.jpg', '/home/pi/Desktop/images/09012025/06/34/image_09012025_06_34_02_237880_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/33/image_09012025_06_33_02_755348_0003.jpg
/home/pi/Desktop/images/09012025/06/34/image_09012025_06_34_02_237880_0000.jpg
/home/pi/Desktop/images/09012025/06/34/image_09012025_06_34_02_237880_0001.jpg
/home/pi/Desktop/images/09012025/06/34/image_09012025_06_34_02_237880_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327602603","1327602626","1327602606","1327602600"],"photo_ids_order":["1327602600","1327602603","1327602606","1327602626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ce9f7313777ce8dd25de4d3cd3aa5d95.jpg","text":"TemporaryFile(/tmp/multipartBody7719899087598023125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400932577,"filename":"image_09012025_06_34_02_237880_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e613f830c2d14ed2567ab265471a7977.jpg","text":"TemporaryFile(/tmp/multipartBody1270221534129923038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400932577,"filename":"image_09012025_06_34_02_237880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a8c72c0d26415bb12667dc6111be8fc4.jpg","text":"TemporaryFile(/tmp/multipartBody6348054804077202957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400932577,"filename":"image_09012025_06_34_02_237880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c6ef1272c0c989525109113044c708dd.jpg","text":"TemporaryFile(/tmp/multipartBody6726021437283212993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400932577,"filename":"image_09012025_06_33_02_755348_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327602606","file1":"1327602603","file0":"1327602600","file3":"1327602626"},"map_files_photo_id_array":[{"photo_id":"1327602606","filename":"file2"},{"photo_id":"1327602603","filename":"file1"},{"photo_id":"1327602600","filename":"file0"},{"photo_id":"1327602626","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327602603":["hashtag1","hashtag2"]},{"1327602626":["hashtag1","hashtag2"]},{"1327602606":["hashtag1","hashtag2"]},{"1327602600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327602603, 1327602626, 1327602606, 1327602600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.18357872962952 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:35:02.459077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:35:21.797963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/34/image_09012025_06_34_02_237880_0003.jpg', '/home/pi/Desktop/images/09012025/06/35/image_09012025_06_35_02_672429_0000.jpg', '/home/pi/Desktop/images/09012025/06/35/image_09012025_06_35_02_672429_0001.jpg', '/home/pi/Desktop/images/09012025/06/35/image_09012025_06_35_02_672429_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/34/image_09012025_06_34_02_237880_0003.jpg
/home/pi/Desktop/images/09012025/06/35/image_09012025_06_35_02_672429_0000.jpg
/home/pi/Desktop/images/09012025/06/35/image_09012025_06_35_02_672429_0001.jpg
/home/pi/Desktop/images/09012025/06/35/image_09012025_06_35_02_672429_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327602632","1327602642","1327602636","1327602639"],"photo_ids_order":["1327602632","1327602636","1327602639","1327602642"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3dcef4f838ac89710ca6579a04776c69.jpg","text":"TemporaryFile(/tmp/multipartBody1743307782081095889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400992220,"filename":"image_09012025_06_34_02_237880_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cf1ca3d6bad51e756d3b23b0f1e1ae03.jpg","text":"TemporaryFile(/tmp/multipartBody8753930496405567895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400992220,"filename":"image_09012025_06_35_02_672429_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3ca987eca5c8d03d943501a1da19f12c.jpg","text":"TemporaryFile(/tmp/multipartBody2752960133544069329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400992220,"filename":"image_09012025_06_35_02_672429_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3a23c6e2e80392041d9da0d17412094d.jpg","text":"TemporaryFile(/tmp/multipartBody841568963289585073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736400992220,"filename":"image_09012025_06_35_02_672429_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327602639","file1":"1327602636","file0":"1327602632","file3":"1327602642"},"map_files_photo_id_array":[{"photo_id":"1327602639","filename":"file2"},{"photo_id":"1327602636","filename":"file1"},{"photo_id":"1327602632","filename":"file0"},{"photo_id":"1327602642","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327602632":["hashtag1","hashtag2"]},{"1327602642":["hashtag1","hashtag2"]},{"1327602636":["hashtag1","hashtag2"]},{"1327602639":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327602632, 1327602642, 1327602636, 1327602639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94464993476868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:36:02.847882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:36:22.331447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/35/image_09012025_06_35_02_672429_0003.jpg', '/home/pi/Desktop/images/09012025/06/36/image_09012025_06_36_02_115774_0000.jpg', '/home/pi/Desktop/images/09012025/06/36/image_09012025_06_36_02_115774_0001.jpg', '/home/pi/Desktop/images/09012025/06/36/image_09012025_06_36_02_115774_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/35/image_09012025_06_35_02_672429_0003.jpg
/home/pi/Desktop/images/09012025/06/36/image_09012025_06_36_02_115774_0000.jpg
/home/pi/Desktop/images/09012025/06/36/image_09012025_06_36_02_115774_0001.jpg
/home/pi/Desktop/images/09012025/06/36/image_09012025_06_36_02_115774_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327602665","1327602674","1327602662","1327602669"],"photo_ids_order":["1327602662","1327602665","1327602669","1327602674"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6d33889778ae9ce74cbf084588f967d1.jpg","text":"TemporaryFile(/tmp/multipartBody1327983338085050180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401052725,"filename":"image_09012025_06_36_02_115774_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5e39514c250ca340d48a63a36dadbe48.jpg","text":"TemporaryFile(/tmp/multipartBody9211098289891794403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401052725,"filename":"image_09012025_06_36_02_115774_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0c16f10962e759268b2562a7aa53cf57.jpg","text":"TemporaryFile(/tmp/multipartBody1565375994708542996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401052725,"filename":"image_09012025_06_35_02_672429_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a8bde3e68f77cabb9464dc097418261d.jpg","text":"TemporaryFile(/tmp/multipartBody4300043728657644736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401052725,"filename":"image_09012025_06_36_02_115774_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327602669","file1":"1327602665","file0":"1327602662","file3":"1327602674"},"map_files_photo_id_array":[{"photo_id":"1327602669","filename":"file2"},{"photo_id":"1327602665","filename":"file1"},{"photo_id":"1327602662","filename":"file0"},{"photo_id":"1327602674","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327602665":["hashtag1","hashtag2"]},{"1327602674":["hashtag1","hashtag2"]},{"1327602662":["hashtag1","hashtag2"]},{"1327602669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327602665, 1327602674, 1327602662, 1327602669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.16488766670227 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:37:22.044997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/36/image_09012025_06_36_02_115774_0003.jpg', '/home/pi/Desktop/images/09012025/06/37/image_09012025_06_37_02_835239_0000.jpg', '/home/pi/Desktop/images/09012025/06/37/image_09012025_06_37_02_835239_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/36/image_09012025_06_36_02_115774_0003.jpg
/home/pi/Desktop/images/09012025/06/37/image_09012025_06_37_02_835239_0000.jpg
/home/pi/Desktop/images/09012025/06/37/image_09012025_06_37_02_835239_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327602692","1327602688","1327602683"],"photo_ids_order":["1327602683","1327602688","1327602692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/67c274b7bc0c0546bf481037f5bdc29a.jpg","text":"TemporaryFile(/tmp/multipartBody3869009449139331034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401109834,"filename":"image_09012025_06_37_02_835239_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5eb20e0a11c963c221e14224a0e04d9f.jpg","text":"TemporaryFile(/tmp/multipartBody5998935273663048424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401109834,"filename":"image_09012025_06_37_02_835239_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/606ab42016cdbc8e807d87d3badb0e1e.jpg","text":"TemporaryFile(/tmp/multipartBody1457095683361232432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401109834,"filename":"image_09012025_06_36_02_115774_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327602692","file1":"1327602688","file0":"1327602683"},"map_files_photo_id_array":[{"photo_id":"1327602692","filename":"file2"},{"photo_id":"1327602688","filename":"file1"},{"photo_id":"1327602683","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327602692":["hashtag1","hashtag2"]},{"1327602688":["hashtag1","hashtag2"]},{"1327602683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327602692, 1327602688, 1327602683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.568495750427246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:38:03.040657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:38:22.528937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/37/image_09012025_06_37_02_835239_0003.jpg', '/home/pi/Desktop/images/09012025/06/38/image_09012025_06_38_02_423091_0000.jpg', '/home/pi/Desktop/images/09012025/06/38/image_09012025_06_38_02_423091_0001.jpg', '/home/pi/Desktop/images/09012025/06/38/image_09012025_06_38_02_423091_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/37/image_09012025_06_37_02_835239_0003.jpg
/home/pi/Desktop/images/09012025/06/38/image_09012025_06_38_02_423091_0000.jpg
/home/pi/Desktop/images/09012025/06/38/image_09012025_06_38_02_423091_0001.jpg
/home/pi/Desktop/images/09012025/06/38/image_09012025_06_38_02_423091_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327602713","1327602706","1327602709","1327602717"],"photo_ids_order":["1327602706","1327602709","1327602713","1327602717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b56d28c0e90156c8f474b076036eadf.jpg","text":"TemporaryFile(/tmp/multipartBody5264068406910106162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401172739,"filename":"image_09012025_06_38_02_423091_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9f567caf71c8ce46a455777806b56b69.jpg","text":"TemporaryFile(/tmp/multipartBody7357119571587522218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401172739,"filename":"image_09012025_06_37_02_835239_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eb340191eea212ee695f8cf698f5f3f8.jpg","text":"TemporaryFile(/tmp/multipartBody5047168886028598142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401172739,"filename":"image_09012025_06_38_02_423091_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/037e72c7f17709e61b7ebecfb9d3e856.jpg","text":"TemporaryFile(/tmp/multipartBody6178151775637555613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401172739,"filename":"image_09012025_06_38_02_423091_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327602713","file1":"1327602709","file0":"1327602706","file3":"1327602717"},"map_files_photo_id_array":[{"photo_id":"1327602713","filename":"file2"},{"photo_id":"1327602709","filename":"file1"},{"photo_id":"1327602706","filename":"file0"},{"photo_id":"1327602717","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327602713":["hashtag1","hashtag2"]},{"1327602706":["hashtag1","hashtag2"]},{"1327602709":["hashtag1","hashtag2"]},{"1327602717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327602713, 1327602706, 1327602709, 1327602717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15980410575867 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:39:22.063909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/38/image_09012025_06_38_02_423091_0003.jpg', '/home/pi/Desktop/images/09012025/06/39/image_09012025_06_39_02_916179_0000.jpg', '/home/pi/Desktop/images/09012025/06/39/image_09012025_06_39_02_916179_0001.jpg', '/home/pi/Desktop/images/09012025/06/39/image_09012025_06_39_02_916179_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/38/image_09012025_06_38_02_423091_0003.jpg
/home/pi/Desktop/images/09012025/06/39/image_09012025_06_39_02_916179_0000.jpg
/home/pi/Desktop/images/09012025/06/39/image_09012025_06_39_02_916179_0001.jpg
/home/pi/Desktop/images/09012025/06/39/image_09012025_06_39_02_916179_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327602734","1327602728","1327602737","1327602731"],"photo_ids_order":["1327602728","1327602731","1327602734","1327602737"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/16c951aca03fc794e0701c9d583d8c31.jpg","text":"TemporaryFile(/tmp/multipartBody5820344578043977985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401232586,"filename":"image_09012025_06_39_02_916179_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/11bb882d6b46bf980dc61f6fa622ce23.jpg","text":"TemporaryFile(/tmp/multipartBody2405640619567274311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401232586,"filename":"image_09012025_06_38_02_423091_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/51361b80b4396207ce972f01a6b9332d.jpg","text":"TemporaryFile(/tmp/multipartBody6239776414639710194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401232586,"filename":"image_09012025_06_39_02_916179_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8a8764ac21727a859681cfc78e0828bf.jpg","text":"TemporaryFile(/tmp/multipartBody2261709676433683169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401232586,"filename":"image_09012025_06_39_02_916179_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327602734","file1":"1327602731","file0":"1327602728","file3":"1327602737"},"map_files_photo_id_array":[{"photo_id":"1327602734","filename":"file2"},{"photo_id":"1327602731","filename":"file1"},{"photo_id":"1327602728","filename":"file0"},{"photo_id":"1327602737","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327602734":["hashtag1","hashtag2"]},{"1327602728":["hashtag1","hashtag2"]},{"1327602737":["hashtag1","hashtag2"]},{"1327602731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327602734, 1327602728, 1327602737, 1327602731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.920714139938354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:40:02.880229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:40:22.524814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/39/image_09012025_06_39_02_916179_0003.jpg', '/home/pi/Desktop/images/09012025/06/40/image_09012025_06_40_02_397596_0000.jpg', '/home/pi/Desktop/images/09012025/06/40/image_09012025_06_40_02_397596_0001.jpg', '/home/pi/Desktop/images/09012025/06/40/image_09012025_06_40_02_397596_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/39/image_09012025_06_39_02_916179_0003.jpg
/home/pi/Desktop/images/09012025/06/40/image_09012025_06_40_02_397596_0000.jpg
/home/pi/Desktop/images/09012025/06/40/image_09012025_06_40_02_397596_0001.jpg
/home/pi/Desktop/images/09012025/06/40/image_09012025_06_40_02_397596_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327602763","1327602766","1327602745","1327602748"],"photo_ids_order":["1327602745","1327602748","1327602763","1327602766"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/737876e74a475f5781c07f3b1b8ebcdd.jpg","text":"TemporaryFile(/tmp/multipartBody706990222793461359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401292942,"filename":"image_09012025_06_40_02_397596_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9fd9d076459d517197b14a71fbb3b807.jpg","text":"TemporaryFile(/tmp/multipartBody2545644021346094846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401292942,"filename":"image_09012025_06_40_02_397596_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/75f988ed85b0168c537438df8b27b803.jpg","text":"TemporaryFile(/tmp/multipartBody279336112180420611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401292942,"filename":"image_09012025_06_39_02_916179_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ff4469eea3a88f4cd6a4aad443b7cb0b.jpg","text":"TemporaryFile(/tmp/multipartBody2368322231183913853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401292942,"filename":"image_09012025_06_40_02_397596_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327602763","file1":"1327602748","file0":"1327602745","file3":"1327602766"},"map_files_photo_id_array":[{"photo_id":"1327602763","filename":"file2"},{"photo_id":"1327602748","filename":"file1"},{"photo_id":"1327602745","filename":"file0"},{"photo_id":"1327602766","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327602763":["hashtag1","hashtag2"]},{"1327602766":["hashtag1","hashtag2"]},{"1327602745":["hashtag1","hashtag2"]},{"1327602748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327602763, 1327602766, 1327602745, 1327602748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.781803369522095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:41:02.738161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:41:22.007008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/40/image_09012025_06_40_02_397596_0003.jpg', '/home/pi/Desktop/images/09012025/06/41/image_09012025_06_41_02_946715_0000.jpg', '/home/pi/Desktop/images/09012025/06/41/image_09012025_06_41_02_946715_0001.jpg', '/home/pi/Desktop/images/09012025/06/41/image_09012025_06_41_02_946715_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/40/image_09012025_06_40_02_397596_0003.jpg
/home/pi/Desktop/images/09012025/06/41/image_09012025_06_41_02_946715_0000.jpg
/home/pi/Desktop/images/09012025/06/41/image_09012025_06_41_02_946715_0001.jpg
/home/pi/Desktop/images/09012025/06/41/image_09012025_06_41_02_946715_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327602830","1327602842","1327602834","1327602816"],"photo_ids_order":["1327602816","1327602830","1327602834","1327602842"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/27fda44984843d931708312c16a7fe27.jpg","text":"TemporaryFile(/tmp/multipartBody7182501647575997645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401352171,"filename":"image_09012025_06_41_02_946715_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5b3ae33bcde3ac1668caee43a78edd9f.jpg","text":"TemporaryFile(/tmp/multipartBody5742967253636344549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401352171,"filename":"image_09012025_06_41_02_946715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8195c461b95b032891d317d9383ad978.jpg","text":"TemporaryFile(/tmp/multipartBody6112991685069503660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401352171,"filename":"image_09012025_06_41_02_946715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/96c9dc0be5b77bdcddc6214214a0c511.jpg","text":"TemporaryFile(/tmp/multipartBody5885233404752343435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401352171,"filename":"image_09012025_06_40_02_397596_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327602834","file1":"1327602830","file0":"1327602816","file3":"1327602842"},"map_files_photo_id_array":[{"photo_id":"1327602834","filename":"file2"},{"photo_id":"1327602830","filename":"file1"},{"photo_id":"1327602816","filename":"file0"},{"photo_id":"1327602842","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327602830":["hashtag1","hashtag2"]},{"1327602842":["hashtag1","hashtag2"]},{"1327602834":["hashtag1","hashtag2"]},{"1327602816":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327602830, 1327602842, 1327602834, 1327602816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.80562686920166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:42:03.131283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:42:22.670049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/41/image_09012025_06_41_02_946715_0003.jpg', '/home/pi/Desktop/images/09012025/06/42/image_09012025_06_42_02_461403_0000.jpg', '/home/pi/Desktop/images/09012025/06/42/image_09012025_06_42_02_461403_0001.jpg', '/home/pi/Desktop/images/09012025/06/42/image_09012025_06_42_02_461403_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/41/image_09012025_06_41_02_946715_0003.jpg
/home/pi/Desktop/images/09012025/06/42/image_09012025_06_42_02_461403_0000.jpg
/home/pi/Desktop/images/09012025/06/42/image_09012025_06_42_02_461403_0001.jpg
/home/pi/Desktop/images/09012025/06/42/image_09012025_06_42_02_461403_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327602872","1327602866","1327602869","1327602862"],"photo_ids_order":["1327602862","1327602866","1327602869","1327602872"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1b515fe17a5324102310766d1ba45a49.jpg","text":"TemporaryFile(/tmp/multipartBody4658344838604935629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401412925,"filename":"image_09012025_06_42_02_461403_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/35de8439079aa140869c419289c02ff4.jpg","text":"TemporaryFile(/tmp/multipartBody6553393567743749216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401412925,"filename":"image_09012025_06_42_02_461403_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/96100f9c722303a6f8caf6773ea5f5d4.jpg","text":"TemporaryFile(/tmp/multipartBody1463924482647164891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401412925,"filename":"image_09012025_06_42_02_461403_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/14bd739009a26e1a0d27437637e7f4fd.jpg","text":"TemporaryFile(/tmp/multipartBody7591305798966026713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401412925,"filename":"image_09012025_06_41_02_946715_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327602869","file1":"1327602866","file0":"1327602862","file3":"1327602872"},"map_files_photo_id_array":[{"photo_id":"1327602869","filename":"file2"},{"photo_id":"1327602866","filename":"file1"},{"photo_id":"1327602862","filename":"file0"},{"photo_id":"1327602872","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327602872":["hashtag1","hashtag2"]},{"1327602866":["hashtag1","hashtag2"]},{"1327602869":["hashtag1","hashtag2"]},{"1327602862":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327602872, 1327602866, 1327602869, 1327602862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.451420068740845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:43:22.259032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/42/image_09012025_06_42_02_461403_0003.jpg', '/home/pi/Desktop/images/09012025/06/43/image_09012025_06_43_03_087880_0000.jpg', '/home/pi/Desktop/images/09012025/06/43/image_09012025_06_43_03_087880_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/42/image_09012025_06_42_02_461403_0003.jpg
/home/pi/Desktop/images/09012025/06/43/image_09012025_06_43_03_087880_0000.jpg
/home/pi/Desktop/images/09012025/06/43/image_09012025_06_43_03_087880_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327602902","1327602892","1327602896"],"photo_ids_order":["1327602892","1327602896","1327602902"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5e80684f1187ffd916ff99602a1e4f2f.jpg","text":"TemporaryFile(/tmp/multipartBody313572951224717125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401470176,"filename":"image_09012025_06_43_03_087880_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/668058035e9a12e342863b463e765622.jpg","text":"TemporaryFile(/tmp/multipartBody8406702520493027658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401470176,"filename":"image_09012025_06_42_02_461403_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/642ca3ea0d8352026db13af8563c6fd2.jpg","text":"TemporaryFile(/tmp/multipartBody4944565056744223501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401470176,"filename":"image_09012025_06_43_03_087880_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327602902","file1":"1327602896","file0":"1327602892"},"map_files_photo_id_array":[{"photo_id":"1327602902","filename":"file2"},{"photo_id":"1327602896","filename":"file1"},{"photo_id":"1327602892","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327602902":["hashtag1","hashtag2"]},{"1327602892":["hashtag1","hashtag2"]},{"1327602896":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327602902, 1327602892, 1327602896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.58429265022278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:44:03.079418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:44:22.709651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/43/image_09012025_06_43_03_087880_0002.jpg', '/home/pi/Desktop/images/09012025/06/44/image_09012025_06_44_02_626763_0000.jpg', '/home/pi/Desktop/images/09012025/06/44/image_09012025_06_44_02_626763_0001.jpg', '/home/pi/Desktop/images/09012025/06/44/image_09012025_06_44_02_626763_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/43/image_09012025_06_43_03_087880_0002.jpg
/home/pi/Desktop/images/09012025/06/44/image_09012025_06_44_02_626763_0000.jpg
/home/pi/Desktop/images/09012025/06/44/image_09012025_06_44_02_626763_0001.jpg
/home/pi/Desktop/images/09012025/06/44/image_09012025_06_44_02_626763_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327602937","1327602922","1327602934","1327602930"],"photo_ids_order":["1327602922","1327602930","1327602934","1327602937"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/58b2916002edc83785c02e3e2e475cbd.jpg","text":"TemporaryFile(/tmp/multipartBody4540698936454579442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401533016,"filename":"image_09012025_06_44_02_626763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/690f03fb18c432e27fbdaba7f3bbf64f.jpg","text":"TemporaryFile(/tmp/multipartBody6062533844353663717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401533016,"filename":"image_09012025_06_43_03_087880_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/377b61e9e61b246993d128c48a133191.jpg","text":"TemporaryFile(/tmp/multipartBody1777302916046405635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401533016,"filename":"image_09012025_06_44_02_626763_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8bfbf7c42d1bc15cf5767302595485b0.jpg","text":"TemporaryFile(/tmp/multipartBody1126198640998318823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401533016,"filename":"image_09012025_06_44_02_626763_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327602934","file1":"1327602930","file0":"1327602922","file3":"1327602937"},"map_files_photo_id_array":[{"photo_id":"1327602934","filename":"file2"},{"photo_id":"1327602930","filename":"file1"},{"photo_id":"1327602922","filename":"file0"},{"photo_id":"1327602937","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327602937":["hashtag1","hashtag2"]},{"1327602922":["hashtag1","hashtag2"]},{"1327602934":["hashtag1","hashtag2"]},{"1327602930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327602937, 1327602922, 1327602934, 1327602930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.128177881240845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:45:22.283885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/44/image_09012025_06_44_02_626763_0003.jpg', '/home/pi/Desktop/images/09012025/06/45/image_09012025_06_45_03_119999_0000.jpg', '/home/pi/Desktop/images/09012025/06/45/image_09012025_06_45_03_119999_0001.jpg', '/home/pi/Desktop/images/09012025/06/45/image_09012025_06_45_03_119999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/44/image_09012025_06_44_02_626763_0003.jpg
/home/pi/Desktop/images/09012025/06/45/image_09012025_06_45_03_119999_0000.jpg
/home/pi/Desktop/images/09012025/06/45/image_09012025_06_45_03_119999_0001.jpg
/home/pi/Desktop/images/09012025/06/45/image_09012025_06_45_03_119999_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327603052","1327603294","1327603138","1327603437"],"photo_ids_order":["1327603052","1327603138","1327603294","1327603437"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0703ff3c1ebb5cc58de4d0ba3e210697.jpg","text":"TemporaryFile(/tmp/multipartBody7950157159557801640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401592657,"filename":"image_09012025_06_44_02_626763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5d4c8842c6bca567ab07e47a5f31cdb8.jpg","text":"TemporaryFile(/tmp/multipartBody3595881829644557103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401592657,"filename":"image_09012025_06_45_03_119999_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c9696ab4ccf78314848a523d2270bb85.jpg","text":"TemporaryFile(/tmp/multipartBody3882057680543150740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401592657,"filename":"image_09012025_06_45_03_119999_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ef854da0c6e2ce2375c82bf567c6e5e3.jpg","text":"TemporaryFile(/tmp/multipartBody5371939091312491101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401592657,"filename":"image_09012025_06_45_03_119999_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327603294","file1":"1327603138","file0":"1327603052","file3":"1327603437"},"map_files_photo_id_array":[{"photo_id":"1327603294","filename":"file2"},{"photo_id":"1327603138","filename":"file1"},{"photo_id":"1327603052","filename":"file0"},{"photo_id":"1327603437","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327603052":["hashtag1","hashtag2"]},{"1327603294":["hashtag1","hashtag2"]},{"1327603138":["hashtag1","hashtag2"]},{"1327603437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327603052, 1327603294, 1327603138, 1327603437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.831260681152344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:46:02.347178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:46:21.814946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/45/image_09012025_06_45_03_119999_0003.jpg', '/home/pi/Desktop/images/09012025/06/46/image_09012025_06_46_02_707540_0000.jpg', '/home/pi/Desktop/images/09012025/06/46/image_09012025_06_46_02_707540_0001.jpg', '/home/pi/Desktop/images/09012025/06/46/image_09012025_06_46_02_707540_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/45/image_09012025_06_45_03_119999_0003.jpg
/home/pi/Desktop/images/09012025/06/46/image_09012025_06_46_02_707540_0000.jpg
/home/pi/Desktop/images/09012025/06/46/image_09012025_06_46_02_707540_0001.jpg
/home/pi/Desktop/images/09012025/06/46/image_09012025_06_46_02_707540_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327603989","1327603983","1327603986","1327603976"],"photo_ids_order":["1327603976","1327603983","1327603986","1327603989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/64c1e0f1feb3c7d76deffbe2611ac204.jpg","text":"TemporaryFile(/tmp/multipartBody5505300032940973295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401652235,"filename":"image_09012025_06_46_02_707540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6819594d26750c06069b27c0ce2f88cb.jpg","text":"TemporaryFile(/tmp/multipartBody6507637781032552809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401652235,"filename":"image_09012025_06_46_02_707540_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a92d2a459418b1c73b40ae21aa5fd88b.jpg","text":"TemporaryFile(/tmp/multipartBody1729818571813062508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401652235,"filename":"image_09012025_06_46_02_707540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/325732a15f6256284708361ea5d3bca4.jpg","text":"TemporaryFile(/tmp/multipartBody8575072486427082486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401652235,"filename":"image_09012025_06_45_03_119999_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327603986","file1":"1327603983","file0":"1327603976","file3":"1327603989"},"map_files_photo_id_array":[{"photo_id":"1327603986","filename":"file2"},{"photo_id":"1327603983","filename":"file1"},{"photo_id":"1327603976","filename":"file0"},{"photo_id":"1327603989","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327603989":["hashtag1","hashtag2"]},{"1327603983":["hashtag1","hashtag2"]},{"1327603986":["hashtag1","hashtag2"]},{"1327603976":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327603989, 1327603983, 1327603986, 1327603976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.72612953186035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:47:03.026547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:47:22.263349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/46/image_09012025_06_46_02_707540_0003.jpg', '/home/pi/Desktop/images/09012025/06/47/image_09012025_06_47_02_233883_0000.jpg', '/home/pi/Desktop/images/09012025/06/47/image_09012025_06_47_02_233883_0001.jpg', '/home/pi/Desktop/images/09012025/06/47/image_09012025_06_47_02_233883_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/46/image_09012025_06_46_02_707540_0003.jpg
/home/pi/Desktop/images/09012025/06/47/image_09012025_06_47_02_233883_0000.jpg
/home/pi/Desktop/images/09012025/06/47/image_09012025_06_47_02_233883_0001.jpg
/home/pi/Desktop/images/09012025/06/47/image_09012025_06_47_02_233883_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327604161","1327604339","1327604267","1327604222"],"photo_ids_order":["1327604161","1327604222","1327604267","1327604339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b0e4fb82ba18854a357e97a68f43cbcf.jpg","text":"TemporaryFile(/tmp/multipartBody1673958020939838556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401712554,"filename":"image_09012025_06_46_02_707540_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/804f5c0861914c2dc975abf2d681913d.jpg","text":"TemporaryFile(/tmp/multipartBody7567111463133726208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401712554,"filename":"image_09012025_06_47_02_233883_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a90e3a59ee7f629990318e2775426ff6.jpg","text":"TemporaryFile(/tmp/multipartBody8796520820495890252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401712554,"filename":"image_09012025_06_47_02_233883_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aed9bb1a613fbe12afae71701b071fa1.jpg","text":"TemporaryFile(/tmp/multipartBody4823641082189449691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401712554,"filename":"image_09012025_06_47_02_233883_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327604267","file1":"1327604222","file0":"1327604161","file3":"1327604339"},"map_files_photo_id_array":[{"photo_id":"1327604267","filename":"file2"},{"photo_id":"1327604222","filename":"file1"},{"photo_id":"1327604161","filename":"file0"},{"photo_id":"1327604339","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327604161":["hashtag1","hashtag2"]},{"1327604339":["hashtag1","hashtag2"]},{"1327604267":["hashtag1","hashtag2"]},{"1327604222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327604161, 1327604339, 1327604267, 1327604222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.096954584121704 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:48:21.899310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/47/image_09012025_06_47_02_233883_0003.jpg', '/home/pi/Desktop/images/09012025/06/48/image_09012025_06_48_02_710507_0000.jpg', '/home/pi/Desktop/images/09012025/06/48/image_09012025_06_48_02_710507_0001.jpg', '/home/pi/Desktop/images/09012025/06/48/image_09012025_06_48_02_710507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/47/image_09012025_06_47_02_233883_0003.jpg
/home/pi/Desktop/images/09012025/06/48/image_09012025_06_48_02_710507_0000.jpg
/home/pi/Desktop/images/09012025/06/48/image_09012025_06_48_02_710507_0001.jpg
/home/pi/Desktop/images/09012025/06/48/image_09012025_06_48_02_710507_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.875295400619507 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:49:03.009927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/47/image_09012025_06_47_02_233883_0003.jpg', '/home/pi/Desktop/images/09012025/06/48/image_09012025_06_48_02_710507_0000.jpg', '/home/pi/Desktop/images/09012025/06/48/image_09012025_06_48_02_710507_0001.jpg', '/home/pi/Desktop/images/09012025/06/48/image_09012025_06_48_02_710507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/47/image_09012025_06_47_02_233883_0003.jpg
/home/pi/Desktop/images/09012025/06/48/image_09012025_06_48_02_710507_0000.jpg
/home/pi/Desktop/images/09012025/06/48/image_09012025_06_48_02_710507_0001.jpg
/home/pi/Desktop/images/09012025/06/48/image_09012025_06_48_02_710507_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327605511","1327605507","1327605506","1327605509"],"photo_ids_order":["1327605506","1327605507","1327605509","1327605511"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e942c632d46fa4407655f5daf8da4a40.jpg","text":"TemporaryFile(/tmp/multipartBody1406762417463053322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401813318,"filename":"image_09012025_06_48_02_710507_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1ebd05a4124855ca94c50c0017ef0326.jpg","text":"TemporaryFile(/tmp/multipartBody5931293834371102615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401813318,"filename":"image_09012025_06_48_02_710507_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/90afd46007112beb5966eb3263aa1cc2.jpg","text":"TemporaryFile(/tmp/multipartBody6141219733968335787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401813318,"filename":"image_09012025_06_47_02_233883_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/db5ea8864c0716a95a0929b2a22006ad.jpg","text":"TemporaryFile(/tmp/multipartBody8917065228253342834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401813318,"filename":"image_09012025_06_48_02_710507_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327605509","file1":"1327605507","file0":"1327605506","file3":"1327605511"},"map_files_photo_id_array":[{"photo_id":"1327605509","filename":"file2"},{"photo_id":"1327605507","filename":"file1"},{"photo_id":"1327605506","filename":"file0"},{"photo_id":"1327605511","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327605511":["hashtag1","hashtag2"]},{"1327605507":["hashtag1","hashtag2"]},{"1327605506":["hashtag1","hashtag2"]},{"1327605509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327605511, 1327605507, 1327605506, 1327605509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47783374786377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:50:02.493416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/48/image_09012025_06_48_02_710507_0003.jpg', '/home/pi/Desktop/images/09012025/06/49/image_09012025_06_49_02_259503_0000.jpg', '/home/pi/Desktop/images/09012025/06/49/image_09012025_06_49_02_259503_0001.jpg', '/home/pi/Desktop/images/09012025/06/49/image_09012025_06_49_02_259503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/48/image_09012025_06_48_02_710507_0003.jpg
/home/pi/Desktop/images/09012025/06/49/image_09012025_06_49_02_259503_0000.jpg
/home/pi/Desktop/images/09012025/06/49/image_09012025_06_49_02_259503_0001.jpg
/home/pi/Desktop/images/09012025/06/49/image_09012025_06_49_02_259503_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327605573","1327605576","1327605578","1327605572"],"photo_ids_order":["1327605572","1327605573","1327605576","1327605578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/248ba1a9b733e27741af1c6d7db99efa.jpg","text":"TemporaryFile(/tmp/multipartBody3103339462050848608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401872702,"filename":"image_09012025_06_49_02_259503_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fd4241a282a1c89d5a9e732deba52fc9.jpg","text":"TemporaryFile(/tmp/multipartBody7714027000916189287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401872702,"filename":"image_09012025_06_49_02_259503_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/31856eb4e8649d11a2218ddb95a3c635.jpg","text":"TemporaryFile(/tmp/multipartBody7922841528910418824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401872702,"filename":"image_09012025_06_49_02_259503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5878ad706cb656e1b164aa47d3112070.jpg","text":"TemporaryFile(/tmp/multipartBody556395648938168655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401872702,"filename":"image_09012025_06_48_02_710507_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327605576","file1":"1327605573","file0":"1327605572","file3":"1327605578"},"map_files_photo_id_array":[{"photo_id":"1327605576","filename":"file2"},{"photo_id":"1327605573","filename":"file1"},{"photo_id":"1327605572","filename":"file0"},{"photo_id":"1327605578","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327605573":["hashtag1","hashtag2"]},{"1327605576":["hashtag1","hashtag2"]},{"1327605578":["hashtag1","hashtag2"]},{"1327605572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327605573, 1327605576, 1327605578, 1327605572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.56158208847046 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:51:03.086029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/49/image_09012025_06_49_02_259503_0003.jpg', '/home/pi/Desktop/images/09012025/06/50/image_09012025_06_50_02_779003_0000.jpg', '/home/pi/Desktop/images/09012025/06/50/image_09012025_06_50_02_779003_0001.jpg', '/home/pi/Desktop/images/09012025/06/50/image_09012025_06_50_02_779003_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/49/image_09012025_06_49_02_259503_0003.jpg
/home/pi/Desktop/images/09012025/06/50/image_09012025_06_50_02_779003_0000.jpg
/home/pi/Desktop/images/09012025/06/50/image_09012025_06_50_02_779003_0001.jpg
/home/pi/Desktop/images/09012025/06/50/image_09012025_06_50_02_779003_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.760612487792969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:51:22.449044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/49/image_09012025_06_49_02_259503_0003.jpg', '/home/pi/Desktop/images/09012025/06/50/image_09012025_06_50_02_779003_0000.jpg', '/home/pi/Desktop/images/09012025/06/50/image_09012025_06_50_02_779003_0001.jpg', '/home/pi/Desktop/images/09012025/06/50/image_09012025_06_50_02_779003_0002.jpg', '/home/pi/Desktop/images/09012025/06/50/image_09012025_06_50_02_779003_0003.jpg', '/home/pi/Desktop/images/09012025/06/51/image_09012025_06_51_02_359289_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/49/image_09012025_06_49_02_259503_0003.jpg
/home/pi/Desktop/images/09012025/06/50/image_09012025_06_50_02_779003_0000.jpg
/home/pi/Desktop/images/09012025/06/50/image_09012025_06_50_02_779003_0001.jpg
/home/pi/Desktop/images/09012025/06/50/image_09012025_06_50_02_779003_0002.jpg
/home/pi/Desktop/images/09012025/06/50/image_09012025_06_50_02_779003_0003.jpg
/home/pi/Desktop/images/09012025/06/51/image_09012025_06_51_02_359289_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327606407","1327606379","1327606604","1327606465","1327606726","1327606797"],"photo_ids_order":["1327606379","1327606407","1327606465","1327606604","1327606726","1327606797"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/10a4feab3846c3a34f851d97aed2e265.jpg","text":"TemporaryFile(/tmp/multipartBody6821725480212721739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401957311,"filename":"image_09012025_06_50_02_779003_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/811926ce1db1de2d9a6d8eccb1830296.jpg","text":"TemporaryFile(/tmp/multipartBody5344860417411735279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401957311,"filename":"image_09012025_06_49_02_259503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1860b7ca8ebcc68357b672c55e76563e.jpg","text":"TemporaryFile(/tmp/multipartBody482367340055251600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401957311,"filename":"image_09012025_06_50_02_779003_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/71351d11eb5c5c4f155548a76403a1a4.jpg","text":"TemporaryFile(/tmp/multipartBody5710284001349279797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401957311,"filename":"image_09012025_06_50_02_779003_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/654690f02743944b69899f9386a726b3.jpg","text":"TemporaryFile(/tmp/multipartBody6180273574356070731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401957311,"filename":"image_09012025_06_50_02_779003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/588ce2bab1b2952c6a42458d17a02544.jpg","text":"TemporaryFile(/tmp/multipartBody9122779715327975794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736401957311,"filename":"image_09012025_06_51_02_359289_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327606465","file1":"1327606407","file0":"1327606379","file4":"1327606726","file5":"1327606797","file3":"1327606604"},"map_files_photo_id_array":[{"photo_id":"1327606797","filename":"file5"},{"photo_id":"1327606465","filename":"file2"},{"photo_id":"1327606726","filename":"file4"},{"photo_id":"1327606407","filename":"file1"},{"photo_id":"1327606379","filename":"file0"},{"photo_id":"1327606604","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327606407":["hashtag1","hashtag2"]},{"1327606379":["hashtag1","hashtag2"]},{"1327606604":["hashtag1","hashtag2"]},{"1327606465":["hashtag1","hashtag2"]},{"1327606726":["hashtag1","hashtag2"]},{"1327606797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327606407, 1327606379, 1327606604, 1327606465, 1327606726, 1327606797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.32223701477051 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:52:22.181080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/51/image_09012025_06_51_02_359289_0002.jpg', '/home/pi/Desktop/images/09012025/06/51/image_09012025_06_51_02_359289_0003.jpg', '/home/pi/Desktop/images/09012025/06/52/image_09012025_06_52_02_910769_0000.jpg', '/home/pi/Desktop/images/09012025/06/52/image_09012025_06_52_02_910769_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/51/image_09012025_06_51_02_359289_0002.jpg
/home/pi/Desktop/images/09012025/06/51/image_09012025_06_51_02_359289_0003.jpg
/home/pi/Desktop/images/09012025/06/52/image_09012025_06_52_02_910769_0000.jpg
/home/pi/Desktop/images/09012025/06/52/image_09012025_06_52_02_910769_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.752333879470825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:53:03.286410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/51/image_09012025_06_51_02_359289_0002.jpg', '/home/pi/Desktop/images/09012025/06/51/image_09012025_06_51_02_359289_0003.jpg', '/home/pi/Desktop/images/09012025/06/52/image_09012025_06_52_02_910769_0000.jpg', '/home/pi/Desktop/images/09012025/06/52/image_09012025_06_52_02_910769_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/51/image_09012025_06_51_02_359289_0002.jpg
/home/pi/Desktop/images/09012025/06/51/image_09012025_06_51_02_359289_0003.jpg
/home/pi/Desktop/images/09012025/06/52/image_09012025_06_52_02_910769_0000.jpg
/home/pi/Desktop/images/09012025/06/52/image_09012025_06_52_02_910769_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327607531","1327607470","1327607434","1327607586"],"photo_ids_order":["1327607434","1327607470","1327607531","1327607586"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f1956d003e9f025e0c233c5af4a97389.jpg","text":"TemporaryFile(/tmp/multipartBody2443073885540199277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402053499,"filename":"image_09012025_06_52_02_910769_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/748c4af9bb43a0a779e4ecb7cf38d1ac.jpg","text":"TemporaryFile(/tmp/multipartBody2242185897374979115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402053499,"filename":"image_09012025_06_51_02_359289_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d337e54a670be7e0d84fdd02d6f3ee65.jpg","text":"TemporaryFile(/tmp/multipartBody415023683500149941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402053499,"filename":"image_09012025_06_51_02_359289_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/72939b5179877e0ace396be144136d50.jpg","text":"TemporaryFile(/tmp/multipartBody162141506290716073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402053499,"filename":"image_09012025_06_52_02_910769_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327607531","file1":"1327607470","file0":"1327607434","file3":"1327607586"},"map_files_photo_id_array":[{"photo_id":"1327607531","filename":"file2"},{"photo_id":"1327607470","filename":"file1"},{"photo_id":"1327607434","filename":"file0"},{"photo_id":"1327607586","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327607531":["hashtag1","hashtag2"]},{"1327607470":["hashtag1","hashtag2"]},{"1327607434":["hashtag1","hashtag2"]},{"1327607586":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327607531, 1327607470, 1327607434, 1327607586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.191938638687134 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:54:02.745584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/52/image_09012025_06_52_02_910769_0002.jpg', '/home/pi/Desktop/images/09012025/06/53/image_09012025_06_53_02_571217_0000.jpg', '/home/pi/Desktop/images/09012025/06/53/image_09012025_06_53_02_571217_0001.jpg', '/home/pi/Desktop/images/09012025/06/53/image_09012025_06_53_02_571217_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/52/image_09012025_06_52_02_910769_0002.jpg
/home/pi/Desktop/images/09012025/06/53/image_09012025_06_53_02_571217_0000.jpg
/home/pi/Desktop/images/09012025/06/53/image_09012025_06_53_02_571217_0001.jpg
/home/pi/Desktop/images/09012025/06/53/image_09012025_06_53_02_571217_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.936527252197266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:54:22.285311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/52/image_09012025_06_52_02_910769_0002.jpg', '/home/pi/Desktop/images/09012025/06/53/image_09012025_06_53_02_571217_0000.jpg', '/home/pi/Desktop/images/09012025/06/53/image_09012025_06_53_02_571217_0001.jpg', '/home/pi/Desktop/images/09012025/06/53/image_09012025_06_53_02_571217_0002.jpg', '/home/pi/Desktop/images/09012025/06/53/image_09012025_06_53_02_571217_0003.jpg', '/home/pi/Desktop/images/09012025/06/54/image_09012025_06_54_03_075755_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/52/image_09012025_06_52_02_910769_0002.jpg
/home/pi/Desktop/images/09012025/06/53/image_09012025_06_53_02_571217_0000.jpg
/home/pi/Desktop/images/09012025/06/53/image_09012025_06_53_02_571217_0001.jpg
/home/pi/Desktop/images/09012025/06/53/image_09012025_06_53_02_571217_0002.jpg
/home/pi/Desktop/images/09012025/06/53/image_09012025_06_53_02_571217_0003.jpg
/home/pi/Desktop/images/09012025/06/54/image_09012025_06_54_03_075755_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327608110","1327608103","1327608112","1327608106","1327608100","1327608108"],"photo_ids_order":["1327608100","1327608103","1327608106","1327608108","1327608110","1327608112"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/79a691562d23ad50d0d38f93e3146a69.jpg","text":"TemporaryFile(/tmp/multipartBody4748414024213187493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402137599,"filename":"image_09012025_06_53_02_571217_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a118f807769d8cdf58e055959cec816d.jpg","text":"TemporaryFile(/tmp/multipartBody2271846838233330101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402137599,"filename":"image_09012025_06_53_02_571217_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e00e090396b8bb87b899a374c3583110.jpg","text":"TemporaryFile(/tmp/multipartBody2918030516555189689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402137599,"filename":"image_09012025_06_54_03_075755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1a433a49c5138a9817decca63edfdc2a.jpg","text":"TemporaryFile(/tmp/multipartBody5784126870872265667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402137599,"filename":"image_09012025_06_53_02_571217_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2574548826944c2cb585bb54d02189ad.jpg","text":"TemporaryFile(/tmp/multipartBody5090139272160412929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402137599,"filename":"image_09012025_06_52_02_910769_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5c4d5397ef2ee8a2ec90fe70703e153d.jpg","text":"TemporaryFile(/tmp/multipartBody3628507655967455526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402137599,"filename":"image_09012025_06_53_02_571217_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327608106","file1":"1327608103","file0":"1327608100","file4":"1327608110","file5":"1327608112","file3":"1327608108"},"map_files_photo_id_array":[{"photo_id":"1327608112","filename":"file5"},{"photo_id":"1327608106","filename":"file2"},{"photo_id":"1327608110","filename":"file4"},{"photo_id":"1327608103","filename":"file1"},{"photo_id":"1327608100","filename":"file0"},{"photo_id":"1327608108","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327608110":["hashtag1","hashtag2"]},{"1327608103":["hashtag1","hashtag2"]},{"1327608112":["hashtag1","hashtag2"]},{"1327608106":["hashtag1","hashtag2"]},{"1327608100":["hashtag1","hashtag2"]},{"1327608108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327608110, 1327608103, 1327608112, 1327608106, 1327608100, 1327608108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.549012660980225 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:56:02.762111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/54/image_09012025_06_54_03_075755_0002.jpg', '/home/pi/Desktop/images/09012025/06/54/image_09012025_06_54_03_075755_0003.jpg', '/home/pi/Desktop/images/09012025/06/55/image_09012025_06_55_02_693317_0000.jpg', '/home/pi/Desktop/images/09012025/06/55/image_09012025_06_55_02_693317_0001.jpg', '/home/pi/Desktop/images/09012025/06/55/image_09012025_06_55_02_693317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/54/image_09012025_06_54_03_075755_0002.jpg
/home/pi/Desktop/images/09012025/06/54/image_09012025_06_54_03_075755_0003.jpg
/home/pi/Desktop/images/09012025/06/55/image_09012025_06_55_02_693317_0000.jpg
/home/pi/Desktop/images/09012025/06/55/image_09012025_06_55_02_693317_0001.jpg
/home/pi/Desktop/images/09012025/06/55/image_09012025_06_55_02_693317_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327608407","1327608469","1327608474","1327608477","1327608471"],"photo_ids_order":["1327608407","1327608469","1327608471","1327608474","1327608477"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c34e26071185d8741b3323954c780a7b.jpg","text":"TemporaryFile(/tmp/multipartBody3660064135862149544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402235621,"filename":"image_09012025_06_54_03_075755_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ed4d751b03ecc079390f5c4416236043.jpg","text":"TemporaryFile(/tmp/multipartBody4431260151728573688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402235621,"filename":"image_09012025_06_54_03_075755_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/767cabefa1f0c65e907a12832751c98e.jpg","text":"TemporaryFile(/tmp/multipartBody6451602247914054505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402235621,"filename":"image_09012025_06_55_02_693317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3fc8a781e3e9d37b88e38a8181277e56.jpg","text":"TemporaryFile(/tmp/multipartBody4350020340872944461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402235621,"filename":"image_09012025_06_55_02_693317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ac7d498759a51051b25426aa8de4b7a7.jpg","text":"TemporaryFile(/tmp/multipartBody2021605850462700338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402235621,"filename":"image_09012025_06_55_02_693317_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327608471","file1":"1327608469","file0":"1327608407","file4":"1327608477","file3":"1327608474"},"map_files_photo_id_array":[{"photo_id":"1327608471","filename":"file2"},{"photo_id":"1327608477","filename":"file4"},{"photo_id":"1327608469","filename":"file1"},{"photo_id":"1327608407","filename":"file0"},{"photo_id":"1327608474","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327608407":["hashtag1","hashtag2"]},{"1327608469":["hashtag1","hashtag2"]},{"1327608474":["hashtag1","hashtag2"]},{"1327608477":["hashtag1","hashtag2"]},{"1327608471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327608407, 1327608469, 1327608474, 1327608477, 1327608471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.18499517440796 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:57:02.506551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/55/image_09012025_06_55_02_693317_0003.jpg', '/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0000.jpg', '/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0001.jpg', '/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/55/image_09012025_06_55_02_693317_0003.jpg
/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0000.jpg
/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0001.jpg
/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.866734743118286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 06:57:21.788828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/55/image_09012025_06_55_02_693317_0003.jpg', '/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0000.jpg', '/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0001.jpg', '/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0002.jpg', '/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0003.jpg', '/home/pi/Desktop/images/09012025/06/57/image_09012025_06_57_02_722588_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/55/image_09012025_06_55_02_693317_0003.jpg
/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0000.jpg
/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0001.jpg
/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0002.jpg
/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0003.jpg
/home/pi/Desktop/images/09012025/06/57/image_09012025_06_57_02_722588_0000.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 06:59:03.183369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/55/image_09012025_06_55_02_693317_0003.jpg', '/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0000.jpg', '/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0001.jpg', '/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0002.jpg', '/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0003.jpg', '/home/pi/Desktop/images/09012025/06/57/image_09012025_06_57_02_722588_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/55/image_09012025_06_55_02_693317_0003.jpg
/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0000.jpg
/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0001.jpg
/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0002.jpg
/home/pi/Desktop/images/09012025/06/56/image_09012025_06_56_02_182161_0003.jpg
/home/pi/Desktop/images/09012025/06/57/image_09012025_06_57_02_722588_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327608560","1327608554","1327608556","1327608550","1327608547","1327608543"],"photo_ids_order":["1327608543","1327608547","1327608550","1327608554","1327608556","1327608560"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/53d09faebd713cd1cd2070a64d6db6a8.jpg","text":"TemporaryFile(/tmp/multipartBody336342718622819524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402418284,"filename":"image_09012025_06_57_02_722588_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/828d7012598cb1e0c1e452f9ac3a66f1.jpg","text":"TemporaryFile(/tmp/multipartBody1630306793844249278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402418284,"filename":"image_09012025_06_56_02_182161_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ccaa99316d9e7d38c64f87d29a83404f.jpg","text":"TemporaryFile(/tmp/multipartBody1729559659757350408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402418284,"filename":"image_09012025_06_56_02_182161_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/55a11d1bcd19fb02cb1e46b1a3ef9155.jpg","text":"TemporaryFile(/tmp/multipartBody919925066549450758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402418284,"filename":"image_09012025_06_56_02_182161_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ec6607ab36adc797623608b68d99d156.jpg","text":"TemporaryFile(/tmp/multipartBody8709810093433235278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402418284,"filename":"image_09012025_06_56_02_182161_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7b9d9c1474231835e213c4c6c3151bbf.jpg","text":"TemporaryFile(/tmp/multipartBody1022805412980191097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402418284,"filename":"image_09012025_06_55_02_693317_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327608550","file1":"1327608547","file0":"1327608543","file4":"1327608556","file5":"1327608560","file3":"1327608554"},"map_files_photo_id_array":[{"photo_id":"1327608560","filename":"file5"},{"photo_id":"1327608550","filename":"file2"},{"photo_id":"1327608556","filename":"file4"},{"photo_id":"1327608547","filename":"file1"},{"photo_id":"1327608543","filename":"file0"},{"photo_id":"1327608554","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327608560":["hashtag1","hashtag2"]},{"1327608554":["hashtag1","hashtag2"]},{"1327608556":["hashtag1","hashtag2"]},{"1327608550":["hashtag1","hashtag2"]},{"1327608547":["hashtag1","hashtag2"]},{"1327608543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327608560, 1327608554, 1327608556, 1327608550, 1327608547, 1327608543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.67182183265686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:00:02.703492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/57/image_09012025_06_57_02_722588_0001.jpg', '/home/pi/Desktop/images/09012025/06/57/image_09012025_06_57_02_722588_0002.jpg', '/home/pi/Desktop/images/09012025/06/57/image_09012025_06_57_02_722588_0003.jpg', '/home/pi/Desktop/images/09012025/06/58/image_09012025_06_58_02_257518_0000.jpg', '/home/pi/Desktop/images/09012025/06/58/image_09012025_06_58_02_257518_0001.jpg', '/home/pi/Desktop/images/09012025/06/58/image_09012025_06_58_02_257518_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/57/image_09012025_06_57_02_722588_0001.jpg
/home/pi/Desktop/images/09012025/06/57/image_09012025_06_57_02_722588_0002.jpg
/home/pi/Desktop/images/09012025/06/57/image_09012025_06_57_02_722588_0003.jpg
/home/pi/Desktop/images/09012025/06/58/image_09012025_06_58_02_257518_0000.jpg
/home/pi/Desktop/images/09012025/06/58/image_09012025_06_58_02_257518_0001.jpg
/home/pi/Desktop/images/09012025/06/58/image_09012025_06_58_02_257518_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327608587","1327608592","1327608589","1327608580","1327608596","1327608584"],"photo_ids_order":["1327608580","1327608584","1327608587","1327608589","1327608592","1327608596"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/53d1dbbbb4827b45c790991b09ccc3f0.jpg","text":"TemporaryFile(/tmp/multipartBody1845038947945908264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402477849,"filename":"image_09012025_06_57_02_722588_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/93f9c1eb15aac2b3625bd0791f880d04.jpg","text":"TemporaryFile(/tmp/multipartBody2731503202849671502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402477849,"filename":"image_09012025_06_58_02_257518_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1af109f61ca3224f0dc1c04e755935ee.jpg","text":"TemporaryFile(/tmp/multipartBody7951901893286363442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402477849,"filename":"image_09012025_06_58_02_257518_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3f1e2c6878716216e9d23dbfcb1f1a79.jpg","text":"TemporaryFile(/tmp/multipartBody7849621920549111239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402477849,"filename":"image_09012025_06_57_02_722588_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dcd64b7642e11f1e2affb983cc3f54ba.jpg","text":"TemporaryFile(/tmp/multipartBody8979463328912204830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402477849,"filename":"image_09012025_06_58_02_257518_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0517bf8e9d44aa16a4e44bd804798932.jpg","text":"TemporaryFile(/tmp/multipartBody4506170163396544750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402477849,"filename":"image_09012025_06_57_02_722588_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327608587","file1":"1327608584","file0":"1327608580","file4":"1327608592","file5":"1327608596","file3":"1327608589"},"map_files_photo_id_array":[{"photo_id":"1327608596","filename":"file5"},{"photo_id":"1327608587","filename":"file2"},{"photo_id":"1327608592","filename":"file4"},{"photo_id":"1327608584","filename":"file1"},{"photo_id":"1327608580","filename":"file0"},{"photo_id":"1327608589","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327608587":["hashtag1","hashtag2"]},{"1327608592":["hashtag1","hashtag2"]},{"1327608589":["hashtag1","hashtag2"]},{"1327608580":["hashtag1","hashtag2"]},{"1327608596":["hashtag1","hashtag2"]},{"1327608584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327608587, 1327608592, 1327608589, 1327608580, 1327608596, 1327608584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.8927435874939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:01:02.373674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/06/58/image_09012025_06_58_02_257518_0003.jpg', '/home/pi/Desktop/images/09012025/06/59/image_09012025_06_59_02_826233_0000.jpg', '/home/pi/Desktop/images/09012025/06/59/image_09012025_06_59_02_826233_0001.jpg', '/home/pi/Desktop/images/09012025/06/59/image_09012025_06_59_02_826233_0002.jpg', '/home/pi/Desktop/images/09012025/06/59/image_09012025_06_59_02_826233_0003.jpg', '/home/pi/Desktop/images/09012025/07/00/image_09012025_07_00_03_023887_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/06/58/image_09012025_06_58_02_257518_0003.jpg
/home/pi/Desktop/images/09012025/06/59/image_09012025_06_59_02_826233_0000.jpg
/home/pi/Desktop/images/09012025/06/59/image_09012025_06_59_02_826233_0001.jpg
/home/pi/Desktop/images/09012025/06/59/image_09012025_06_59_02_826233_0002.jpg
/home/pi/Desktop/images/09012025/06/59/image_09012025_06_59_02_826233_0003.jpg
/home/pi/Desktop/images/09012025/07/00/image_09012025_07_00_03_023887_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327608623","1327608634","1327608616","1327608630","1327608627","1327608612"],"photo_ids_order":["1327608612","1327608616","1327608623","1327608627","1327608630","1327608634"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/550e7df891041392f593a0c22970aed0.jpg","text":"TemporaryFile(/tmp/multipartBody210319210071206842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402537455,"filename":"image_09012025_06_59_02_826233_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b60207634291f810d7d979b44f5ee698.jpg","text":"TemporaryFile(/tmp/multipartBody1040181373097252894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402537455,"filename":"image_09012025_07_00_03_023887_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/63294f122fe498ec4fb9e7bd03be6a43.jpg","text":"TemporaryFile(/tmp/multipartBody7881611986911202015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402537455,"filename":"image_09012025_06_59_02_826233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/42999ff45bad8e12bc60b9a4111fecbc.jpg","text":"TemporaryFile(/tmp/multipartBody8946484674412709534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402537455,"filename":"image_09012025_06_59_02_826233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6165027fe69f6e64177ffefea72b7dcf.jpg","text":"TemporaryFile(/tmp/multipartBody2968426510506814462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402537455,"filename":"image_09012025_06_59_02_826233_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2f0b3592beadd1d5d8ce8d638a279f0c.jpg","text":"TemporaryFile(/tmp/multipartBody487973562307161386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402537455,"filename":"image_09012025_06_58_02_257518_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327608623","file1":"1327608616","file0":"1327608612","file4":"1327608630","file5":"1327608634","file3":"1327608627"},"map_files_photo_id_array":[{"photo_id":"1327608634","filename":"file5"},{"photo_id":"1327608623","filename":"file2"},{"photo_id":"1327608630","filename":"file4"},{"photo_id":"1327608616","filename":"file1"},{"photo_id":"1327608612","filename":"file0"},{"photo_id":"1327608627","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327608623":["hashtag1","hashtag2"]},{"1327608634":["hashtag1","hashtag2"]},{"1327608616":["hashtag1","hashtag2"]},{"1327608630":["hashtag1","hashtag2"]},{"1327608627":["hashtag1","hashtag2"]},{"1327608612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327608623, 1327608634, 1327608616, 1327608630, 1327608627, 1327608612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.38409900665283 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:02:02.944004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/00/image_09012025_07_00_03_023887_0001.jpg', '/home/pi/Desktop/images/09012025/07/00/image_09012025_07_00_03_023887_0002.jpg', '/home/pi/Desktop/images/09012025/07/00/image_09012025_07_00_03_023887_0003.jpg', '/home/pi/Desktop/images/09012025/07/01/image_09012025_07_01_02_713577_0000.jpg', '/home/pi/Desktop/images/09012025/07/01/image_09012025_07_01_02_713577_0001.jpg', '/home/pi/Desktop/images/09012025/07/01/image_09012025_07_01_02_713577_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/00/image_09012025_07_00_03_023887_0001.jpg
/home/pi/Desktop/images/09012025/07/00/image_09012025_07_00_03_023887_0002.jpg
/home/pi/Desktop/images/09012025/07/00/image_09012025_07_00_03_023887_0003.jpg
/home/pi/Desktop/images/09012025/07/01/image_09012025_07_01_02_713577_0000.jpg
/home/pi/Desktop/images/09012025/07/01/image_09012025_07_01_02_713577_0001.jpg
/home/pi/Desktop/images/09012025/07/01/image_09012025_07_01_02_713577_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327608659","1327608668","1327608664","1327608643","1327608672","1327608662"],"photo_ids_order":["1327608643","1327608659","1327608662","1327608664","1327608668","1327608672"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0831febdcaa483c24c93571267bf0135.jpg","text":"TemporaryFile(/tmp/multipartBody7115189054584582288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402598006,"filename":"image_09012025_07_00_03_023887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6740745c423e048b963a779f457e7f2f.jpg","text":"TemporaryFile(/tmp/multipartBody2522314676403916200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402598006,"filename":"image_09012025_07_01_02_713577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/50e60bb434e7e00dd354e4e2b7237442.jpg","text":"TemporaryFile(/tmp/multipartBody8404071787046223531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402598006,"filename":"image_09012025_07_01_02_713577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/17a33f6936b97a21759f3705d128e035.jpg","text":"TemporaryFile(/tmp/multipartBody1753974970038414499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402598006,"filename":"image_09012025_07_00_03_023887_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/963aab2a16781bb6bd5f81f9a4fd0d64.jpg","text":"TemporaryFile(/tmp/multipartBody5917427055277649297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402598006,"filename":"image_09012025_07_01_02_713577_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/944dafbe46be02be31666d7f2e6a1778.jpg","text":"TemporaryFile(/tmp/multipartBody8361807847631980294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402598006,"filename":"image_09012025_07_00_03_023887_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327608662","file1":"1327608659","file0":"1327608643","file4":"1327608668","file5":"1327608672","file3":"1327608664"},"map_files_photo_id_array":[{"photo_id":"1327608672","filename":"file5"},{"photo_id":"1327608662","filename":"file2"},{"photo_id":"1327608668","filename":"file4"},{"photo_id":"1327608659","filename":"file1"},{"photo_id":"1327608643","filename":"file0"},{"photo_id":"1327608664","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327608659":["hashtag1","hashtag2"]},{"1327608668":["hashtag1","hashtag2"]},{"1327608664":["hashtag1","hashtag2"]},{"1327608643":["hashtag1","hashtag2"]},{"1327608672":["hashtag1","hashtag2"]},{"1327608662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327608659, 1327608668, 1327608664, 1327608643, 1327608672, 1327608662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.77357316017151 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:03:02.666070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/01/image_09012025_07_01_02_713577_0003.jpg', '/home/pi/Desktop/images/09012025/07/02/image_09012025_07_02_02_237117_0000.jpg', '/home/pi/Desktop/images/09012025/07/02/image_09012025_07_02_02_237117_0001.jpg', '/home/pi/Desktop/images/09012025/07/02/image_09012025_07_02_02_237117_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/01/image_09012025_07_01_02_713577_0003.jpg
/home/pi/Desktop/images/09012025/07/02/image_09012025_07_02_02_237117_0000.jpg
/home/pi/Desktop/images/09012025/07/02/image_09012025_07_02_02_237117_0001.jpg
/home/pi/Desktop/images/09012025/07/02/image_09012025_07_02_02_237117_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327608694","1327608697","1327608679","1327608700"],"photo_ids_order":["1327608679","1327608694","1327608697","1327608700"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/edbd20da497a6f463594c5f3f1064052.jpg","text":"TemporaryFile(/tmp/multipartBody2315955913760339224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402652900,"filename":"image_09012025_07_02_02_237117_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/84cc6b855378b9178d8571e42a46232e.jpg","text":"TemporaryFile(/tmp/multipartBody6636966556461787092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402652900,"filename":"image_09012025_07_02_02_237117_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/779bf515a34c7e55ad9532874207ae22.jpg","text":"TemporaryFile(/tmp/multipartBody1779276295075882412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402652900,"filename":"image_09012025_07_01_02_713577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/096dda6b360dc2cfc58c78deee48552d.jpg","text":"TemporaryFile(/tmp/multipartBody3612839230089184773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402652900,"filename":"image_09012025_07_02_02_237117_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327608697","file1":"1327608694","file0":"1327608679","file3":"1327608700"},"map_files_photo_id_array":[{"photo_id":"1327608697","filename":"file2"},{"photo_id":"1327608694","filename":"file1"},{"photo_id":"1327608679","filename":"file0"},{"photo_id":"1327608700","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327608694":["hashtag1","hashtag2"]},{"1327608697":["hashtag1","hashtag2"]},{"1327608679":["hashtag1","hashtag2"]},{"1327608700":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327608694, 1327608697, 1327608679, 1327608700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.77601981163025 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:04:03.137614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/02/image_09012025_07_02_02_237117_0003.jpg', '/home/pi/Desktop/images/09012025/07/03/image_09012025_07_03_02_890061_0000.jpg', '/home/pi/Desktop/images/09012025/07/03/image_09012025_07_03_02_890061_0001.jpg', '/home/pi/Desktop/images/09012025/07/03/image_09012025_07_03_02_890061_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/02/image_09012025_07_02_02_237117_0003.jpg
/home/pi/Desktop/images/09012025/07/03/image_09012025_07_03_02_890061_0000.jpg
/home/pi/Desktop/images/09012025/07/03/image_09012025_07_03_02_890061_0001.jpg
/home/pi/Desktop/images/09012025/07/03/image_09012025_07_03_02_890061_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327608734","1327608742","1327608747","1327608744"],"photo_ids_order":["1327608734","1327608742","1327608744","1327608747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ac94dbc7f4461d6ab1c29cf5a77c7dd5.jpg","text":"TemporaryFile(/tmp/multipartBody1176729935842921130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402713402,"filename":"image_09012025_07_02_02_237117_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4c6e596dc1de25362f1d6785759d0cdd.jpg","text":"TemporaryFile(/tmp/multipartBody5656964406520881444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402713402,"filename":"image_09012025_07_03_02_890061_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d5bb5582ab6342bda94dd4cf8a79266a.jpg","text":"TemporaryFile(/tmp/multipartBody4435739123378041851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402713402,"filename":"image_09012025_07_03_02_890061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2d3c7efaee8308b0465f42bb0c51ba30.jpg","text":"TemporaryFile(/tmp/multipartBody2622946659803765254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402713402,"filename":"image_09012025_07_03_02_890061_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327608744","file1":"1327608742","file0":"1327608734","file3":"1327608747"},"map_files_photo_id_array":[{"photo_id":"1327608744","filename":"file2"},{"photo_id":"1327608742","filename":"file1"},{"photo_id":"1327608734","filename":"file0"},{"photo_id":"1327608747","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327608734":["hashtag1","hashtag2"]},{"1327608742":["hashtag1","hashtag2"]},{"1327608747":["hashtag1","hashtag2"]},{"1327608744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327608734, 1327608742, 1327608747, 1327608744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.212695837020874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:05:02.765953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/03/image_09012025_07_03_02_890061_0003.jpg', '/home/pi/Desktop/images/09012025/07/04/image_09012025_07_04_02_365615_0000.jpg', '/home/pi/Desktop/images/09012025/07/04/image_09012025_07_04_02_365615_0001.jpg', '/home/pi/Desktop/images/09012025/07/04/image_09012025_07_04_02_365615_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/03/image_09012025_07_03_02_890061_0003.jpg
/home/pi/Desktop/images/09012025/07/04/image_09012025_07_04_02_365615_0000.jpg
/home/pi/Desktop/images/09012025/07/04/image_09012025_07_04_02_365615_0001.jpg
/home/pi/Desktop/images/09012025/07/04/image_09012025_07_04_02_365615_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327608770","1327608773","1327608775","1327608771"],"photo_ids_order":["1327608770","1327608771","1327608773","1327608775"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a59516faf5bc22a8fb68fff960b23633.jpg","text":"TemporaryFile(/tmp/multipartBody7344122968230333764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402773022,"filename":"image_09012025_07_03_02_890061_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e7b431a3532674ef381d750c5b99776f.jpg","text":"TemporaryFile(/tmp/multipartBody3492649178948469682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402773022,"filename":"image_09012025_07_04_02_365615_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a3977fc9a93f0557fa6ff80f0df54ae4.jpg","text":"TemporaryFile(/tmp/multipartBody9119692982142085195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402773022,"filename":"image_09012025_07_04_02_365615_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/65e5e57423e9f0a43f4433486d9c97fd.jpg","text":"TemporaryFile(/tmp/multipartBody6422390883664265991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402773022,"filename":"image_09012025_07_04_02_365615_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327608773","file1":"1327608771","file0":"1327608770","file3":"1327608775"},"map_files_photo_id_array":[{"photo_id":"1327608773","filename":"file2"},{"photo_id":"1327608771","filename":"file1"},{"photo_id":"1327608770","filename":"file0"},{"photo_id":"1327608775","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327608770":["hashtag1","hashtag2"]},{"1327608773":["hashtag1","hashtag2"]},{"1327608775":["hashtag1","hashtag2"]},{"1327608771":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327608770, 1327608773, 1327608775, 1327608771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.65452814102173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:06:03.065959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/04/image_09012025_07_04_02_365615_0003.jpg', '/home/pi/Desktop/images/09012025/07/05/image_09012025_07_05_02_956646_0000.jpg', '/home/pi/Desktop/images/09012025/07/05/image_09012025_07_05_02_956646_0001.jpg', '/home/pi/Desktop/images/09012025/07/05/image_09012025_07_05_02_956646_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/04/image_09012025_07_04_02_365615_0003.jpg
/home/pi/Desktop/images/09012025/07/05/image_09012025_07_05_02_956646_0000.jpg
/home/pi/Desktop/images/09012025/07/05/image_09012025_07_05_02_956646_0001.jpg
/home/pi/Desktop/images/09012025/07/05/image_09012025_07_05_02_956646_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327608812","1327608806","1327608809","1327608796"],"photo_ids_order":["1327608796","1327608806","1327608809","1327608812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3187e85713f8c740a64acdca712ecc7e.jpg","text":"TemporaryFile(/tmp/multipartBody8454547182918197998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402833333,"filename":"image_09012025_07_05_02_956646_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/950888eb5852a1cfe031eedb3cc2dd84.jpg","text":"TemporaryFile(/tmp/multipartBody2876120163714527377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402833333,"filename":"image_09012025_07_05_02_956646_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/752c31c9c2ab2a0000efd9220cbcedce.jpg","text":"TemporaryFile(/tmp/multipartBody5132083177742698600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402833333,"filename":"image_09012025_07_05_02_956646_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b53c26b28f03e63fd0d2b895e9a0009a.jpg","text":"TemporaryFile(/tmp/multipartBody2308013200420909260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402833333,"filename":"image_09012025_07_04_02_365615_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327608809","file1":"1327608806","file0":"1327608796","file3":"1327608812"},"map_files_photo_id_array":[{"photo_id":"1327608809","filename":"file2"},{"photo_id":"1327608806","filename":"file1"},{"photo_id":"1327608796","filename":"file0"},{"photo_id":"1327608812","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327608812":["hashtag1","hashtag2"]},{"1327608806":["hashtag1","hashtag2"]},{"1327608809":["hashtag1","hashtag2"]},{"1327608796":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327608812, 1327608806, 1327608809, 1327608796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.628162145614624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:07:02.941717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/05/image_09012025_07_05_02_956646_0003.jpg', '/home/pi/Desktop/images/09012025/07/06/image_09012025_07_06_02_486505_0000.jpg', '/home/pi/Desktop/images/09012025/07/06/image_09012025_07_06_02_486505_0001.jpg', '/home/pi/Desktop/images/09012025/07/06/image_09012025_07_06_02_486505_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/05/image_09012025_07_05_02_956646_0003.jpg
/home/pi/Desktop/images/09012025/07/06/image_09012025_07_06_02_486505_0000.jpg
/home/pi/Desktop/images/09012025/07/06/image_09012025_07_06_02_486505_0001.jpg
/home/pi/Desktop/images/09012025/07/06/image_09012025_07_06_02_486505_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.89217209815979 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:07:22.212926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/05/image_09012025_07_05_02_956646_0003.jpg', '/home/pi/Desktop/images/09012025/07/06/image_09012025_07_06_02_486505_0000.jpg', '/home/pi/Desktop/images/09012025/07/06/image_09012025_07_06_02_486505_0001.jpg', '/home/pi/Desktop/images/09012025/07/06/image_09012025_07_06_02_486505_0002.jpg', '/home/pi/Desktop/images/09012025/07/06/image_09012025_07_06_02_486505_0003.jpg', '/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/05/image_09012025_07_05_02_956646_0003.jpg
/home/pi/Desktop/images/09012025/07/06/image_09012025_07_06_02_486505_0000.jpg
/home/pi/Desktop/images/09012025/07/06/image_09012025_07_06_02_486505_0001.jpg
/home/pi/Desktop/images/09012025/07/06/image_09012025_07_06_02_486505_0002.jpg
/home/pi/Desktop/images/09012025/07/06/image_09012025_07_06_02_486505_0003.jpg
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327609393","1327609432","1327609443","1327609323","1327609391","1327609451"],"photo_ids_order":["1327609323","1327609391","1327609393","1327609432","1327609443","1327609451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a02fa2aba6a13f4a0a3efb3ba0cc208c.jpg","text":"TemporaryFile(/tmp/multipartBody6802101091596225097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402917441,"filename":"image_09012025_07_06_02_486505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/272a1c91ecbd14bb10c9c27e92ff69e6.jpg","text":"TemporaryFile(/tmp/multipartBody5068899144347417859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402917441,"filename":"image_09012025_07_06_02_486505_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/29a22396e16905be2ac1382a5e01f538.jpg","text":"TemporaryFile(/tmp/multipartBody4667941636044979950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402917441,"filename":"image_09012025_07_06_02_486505_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/54b650b60f3ae24e0ca8ae88ff76f1f1.jpg","text":"TemporaryFile(/tmp/multipartBody591640219326349792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402917441,"filename":"image_09012025_07_05_02_956646_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/82683bf071626a154d9a91be6b8423e7.jpg","text":"TemporaryFile(/tmp/multipartBody2481247354567683312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402917441,"filename":"image_09012025_07_06_02_486505_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/201d34ba793768f37d124bee0b18f1a7.jpg","text":"TemporaryFile(/tmp/multipartBody3666272248224262116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736402917441,"filename":"image_09012025_07_07_03_084924_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327609393","file1":"1327609391","file0":"1327609323","file4":"1327609443","file5":"1327609451","file3":"1327609432"},"map_files_photo_id_array":[{"photo_id":"1327609451","filename":"file5"},{"photo_id":"1327609393","filename":"file2"},{"photo_id":"1327609443","filename":"file4"},{"photo_id":"1327609391","filename":"file1"},{"photo_id":"1327609323","filename":"file0"},{"photo_id":"1327609432","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327609393":["hashtag1","hashtag2"]},{"1327609432":["hashtag1","hashtag2"]},{"1327609443":["hashtag1","hashtag2"]},{"1327609323":["hashtag1","hashtag2"]},{"1327609391":["hashtag1","hashtag2"]},{"1327609451":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327609393, 1327609432, 1327609443, 1327609323, 1327609391, 1327609451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.12731909751892 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:08:21.795876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0001.jpg', '/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0002.jpg', '/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0003.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0000.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0001.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0001.jpg
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0002.jpg
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0003.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0000.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0001.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0002.jpg
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>884oocd9p</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>884oocd9p</strong>.
uploaded 0 photos
time to upload: 39.77286458015442 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:09:02.828045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0001.jpg', '/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0002.jpg', '/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0003.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0000.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0001.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0001.jpg
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0002.jpg
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0003.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0000.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0001.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>884oof39i</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>884oof39i</strong>.
uploaded 0 photos
time to upload: 44.69415760040283 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:10:02.347290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0001.jpg', '/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0002.jpg', '/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0003.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0000.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0001.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0001.jpg
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0002.jpg
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0003.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0000.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0001.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>884ooidaf</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>884ooidaf</strong>.
uploaded 0 photos
time to upload: 44.68569493293762 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:11:03.022631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0001.jpg', '/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0002.jpg', '/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0003.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0000.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0001.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0001.jpg
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0002.jpg
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0003.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0000.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0001.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>884oolp7c</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>884oolp7c</strong>.
uploaded 0 photos
time to upload: 44.76997685432434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:12:02.462091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0001.jpg', '/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0002.jpg', '/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0003.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0000.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0001.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0001.jpg
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0002.jpg
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0003.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0000.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0001.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>884oop926</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>884oop926</strong>.
uploaded 0 photos
time to upload: 44.682079553604126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:13:03.056031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0001.jpg', '/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0002.jpg', '/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0003.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0000.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0001.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0001.jpg
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0002.jpg
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0003.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0000.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0001.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>884op2kjj</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>884op2kjj</strong>.
uploaded 0 photos
time to upload: 44.70687294006348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:14:02.516277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0001.jpg', '/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0002.jpg', '/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0003.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0000.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0001.jpg', '/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0001.jpg
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0002.jpg
/home/pi/Desktop/images/09012025/07/07/image_09012025_07_07_03_084924_0003.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0000.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0001.jpg
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327609483","1327609494","1327609488","1327609475","1327609499","1327609478"],"photo_ids_order":["1327609475","1327609478","1327609483","1327609488","1327609494","1327609499"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8cf74d7d0474f9d619ea959a55087e36.jpg","text":"TemporaryFile(/tmp/multipartBody2852554921103924647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403322175,"filename":"image_09012025_07_07_03_084924_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e8a0d6e669107425bcfdbc765b3ad436.jpg","text":"TemporaryFile(/tmp/multipartBody4374645749995007639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403322175,"filename":"image_09012025_07_08_02_598395_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f7e75d72823ef941e6c68e5f891783fe.jpg","text":"TemporaryFile(/tmp/multipartBody4300732189819910716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403322175,"filename":"image_09012025_07_08_02_598395_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d2de6164493608dce5b437a8cb4bef03.jpg","text":"TemporaryFile(/tmp/multipartBody8226092564099933328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403322175,"filename":"image_09012025_07_07_03_084924_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/de891dc5d9d846c50e548238efc13ecf.jpg","text":"TemporaryFile(/tmp/multipartBody6048594918288736342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403322175,"filename":"image_09012025_07_08_02_598395_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cd00d15da5a2891e68d2f7934d849248.jpg","text":"TemporaryFile(/tmp/multipartBody8570661591561495187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403322175,"filename":"image_09012025_07_07_03_084924_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327609483","file1":"1327609478","file0":"1327609475","file4":"1327609494","file5":"1327609499","file3":"1327609488"},"map_files_photo_id_array":[{"photo_id":"1327609499","filename":"file5"},{"photo_id":"1327609483","filename":"file2"},{"photo_id":"1327609494","filename":"file4"},{"photo_id":"1327609478","filename":"file1"},{"photo_id":"1327609475","filename":"file0"},{"photo_id":"1327609488","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327609483":["hashtag1","hashtag2"]},{"1327609494":["hashtag1","hashtag2"]},{"1327609488":["hashtag1","hashtag2"]},{"1327609475":["hashtag1","hashtag2"]},{"1327609499":["hashtag1","hashtag2"]},{"1327609478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327609483, 1327609494, 1327609488, 1327609475, 1327609499, 1327609478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.460195541381836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:15:22.433381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0003.jpg', '/home/pi/Desktop/images/09012025/07/09/image_09012025_07_09_02_160023_0000.jpg', '/home/pi/Desktop/images/09012025/07/09/image_09012025_07_09_02_160023_0001.jpg', '/home/pi/Desktop/images/09012025/07/09/image_09012025_07_09_02_160023_0002.jpg', '/home/pi/Desktop/images/09012025/07/09/image_09012025_07_09_02_160023_0003.jpg', '/home/pi/Desktop/images/09012025/07/10/image_09012025_07_10_02_623963_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/08/image_09012025_07_08_02_598395_0003.jpg
/home/pi/Desktop/images/09012025/07/09/image_09012025_07_09_02_160023_0000.jpg
/home/pi/Desktop/images/09012025/07/09/image_09012025_07_09_02_160023_0001.jpg
/home/pi/Desktop/images/09012025/07/09/image_09012025_07_09_02_160023_0002.jpg
/home/pi/Desktop/images/09012025/07/09/image_09012025_07_09_02_160023_0003.jpg
/home/pi/Desktop/images/09012025/07/10/image_09012025_07_10_02_623963_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327609543","1327609525","1327609528","1327609536","1327609539","1327609532"],"photo_ids_order":["1327609525","1327609528","1327609532","1327609536","1327609539","1327609543"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1b5cb345f12fff9d628f45fa62b7e023.jpg","text":"TemporaryFile(/tmp/multipartBody6092329262192805399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403397581,"filename":"image_09012025_07_10_02_623963_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4fa07bcec1adf9e7a4f814fe9d996f19.jpg","text":"TemporaryFile(/tmp/multipartBody6134689612077047590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403397581,"filename":"image_09012025_07_08_02_598395_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/204511d1c71a4ec65800e2bc439361a9.jpg","text":"TemporaryFile(/tmp/multipartBody4748945014384690275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403397581,"filename":"image_09012025_07_09_02_160023_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4fbddb85bf5ff485abb9de602f169053.jpg","text":"TemporaryFile(/tmp/multipartBody6350820398809565154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403397581,"filename":"image_09012025_07_09_02_160023_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8baa3821fbc7de3755505931674293bc.jpg","text":"TemporaryFile(/tmp/multipartBody4765969298153959970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403397581,"filename":"image_09012025_07_09_02_160023_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/abcea029b963529923d81fe86921fd55.jpg","text":"TemporaryFile(/tmp/multipartBody8522858924883880931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403397581,"filename":"image_09012025_07_09_02_160023_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327609532","file1":"1327609528","file0":"1327609525","file4":"1327609539","file5":"1327609543","file3":"1327609536"},"map_files_photo_id_array":[{"photo_id":"1327609543","filename":"file5"},{"photo_id":"1327609532","filename":"file2"},{"photo_id":"1327609539","filename":"file4"},{"photo_id":"1327609528","filename":"file1"},{"photo_id":"1327609525","filename":"file0"},{"photo_id":"1327609536","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327609543":["hashtag1","hashtag2"]},{"1327609525":["hashtag1","hashtag2"]},{"1327609528":["hashtag1","hashtag2"]},{"1327609536":["hashtag1","hashtag2"]},{"1327609539":["hashtag1","hashtag2"]},{"1327609532":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327609543, 1327609525, 1327609528, 1327609536, 1327609539, 1327609532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.62014842033386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:16:22.005783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/10/image_09012025_07_10_02_623963_0002.jpg', '/home/pi/Desktop/images/09012025/07/10/image_09012025_07_10_02_623963_0003.jpg', '/home/pi/Desktop/images/09012025/07/11/image_09012025_07_11_02_197832_0000.jpg', '/home/pi/Desktop/images/09012025/07/11/image_09012025_07_11_02_197832_0001.jpg', '/home/pi/Desktop/images/09012025/07/11/image_09012025_07_11_02_197832_0002.jpg', '/home/pi/Desktop/images/09012025/07/11/image_09012025_07_11_02_197832_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/10/image_09012025_07_10_02_623963_0002.jpg
/home/pi/Desktop/images/09012025/07/10/image_09012025_07_10_02_623963_0003.jpg
/home/pi/Desktop/images/09012025/07/11/image_09012025_07_11_02_197832_0000.jpg
/home/pi/Desktop/images/09012025/07/11/image_09012025_07_11_02_197832_0001.jpg
/home/pi/Desktop/images/09012025/07/11/image_09012025_07_11_02_197832_0002.jpg
/home/pi/Desktop/images/09012025/07/11/image_09012025_07_11_02_197832_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.527981519699097 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:17:02.913644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/10/image_09012025_07_10_02_623963_0002.jpg', '/home/pi/Desktop/images/09012025/07/10/image_09012025_07_10_02_623963_0003.jpg', '/home/pi/Desktop/images/09012025/07/11/image_09012025_07_11_02_197832_0000.jpg', '/home/pi/Desktop/images/09012025/07/11/image_09012025_07_11_02_197832_0001.jpg', '/home/pi/Desktop/images/09012025/07/11/image_09012025_07_11_02_197832_0002.jpg', '/home/pi/Desktop/images/09012025/07/11/image_09012025_07_11_02_197832_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/10/image_09012025_07_10_02_623963_0002.jpg
/home/pi/Desktop/images/09012025/07/10/image_09012025_07_10_02_623963_0003.jpg
/home/pi/Desktop/images/09012025/07/11/image_09012025_07_11_02_197832_0000.jpg
/home/pi/Desktop/images/09012025/07/11/image_09012025_07_11_02_197832_0001.jpg
/home/pi/Desktop/images/09012025/07/11/image_09012025_07_11_02_197832_0002.jpg
/home/pi/Desktop/images/09012025/07/11/image_09012025_07_11_02_197832_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327609588","1327609578","1327609574","1327609568","1327609583","1327609571"],"photo_ids_order":["1327609568","1327609571","1327609574","1327609578","1327609583","1327609588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/18954182ae1d98ba34537460e82bcf02.jpg","text":"TemporaryFile(/tmp/multipartBody7623935846043619139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403497930,"filename":"image_09012025_07_11_02_197832_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c293ea5a2a1dc280d1fc19dd6742add8.jpg","text":"TemporaryFile(/tmp/multipartBody4340792026731347914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403497930,"filename":"image_09012025_07_11_02_197832_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/905f4c53804d2959b550a23eada7aa84.jpg","text":"TemporaryFile(/tmp/multipartBody1252266168708158080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403497930,"filename":"image_09012025_07_11_02_197832_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/89060c5fb2a263f7d0935f346d87a685.jpg","text":"TemporaryFile(/tmp/multipartBody2938190293283094718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403497930,"filename":"image_09012025_07_10_02_623963_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a66080c5656164244e0adfe9f04e8bb9.jpg","text":"TemporaryFile(/tmp/multipartBody742757440903599143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403497930,"filename":"image_09012025_07_11_02_197832_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b5a71d60a96d52e88818b738cbd76703.jpg","text":"TemporaryFile(/tmp/multipartBody3451791765458453559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403497930,"filename":"image_09012025_07_10_02_623963_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327609574","file1":"1327609571","file0":"1327609568","file4":"1327609583","file5":"1327609588","file3":"1327609578"},"map_files_photo_id_array":[{"photo_id":"1327609588","filename":"file5"},{"photo_id":"1327609574","filename":"file2"},{"photo_id":"1327609583","filename":"file4"},{"photo_id":"1327609571","filename":"file1"},{"photo_id":"1327609568","filename":"file0"},{"photo_id":"1327609578","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327609588":["hashtag1","hashtag2"]},{"1327609578":["hashtag1","hashtag2"]},{"1327609574":["hashtag1","hashtag2"]},{"1327609568":["hashtag1","hashtag2"]},{"1327609583":["hashtag1","hashtag2"]},{"1327609571":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327609588, 1327609578, 1327609574, 1327609568, 1327609583, 1327609571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.932592153549194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:18:02.590938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/12/image_09012025_07_12_02_760505_0000.jpg', '/home/pi/Desktop/images/09012025/07/12/image_09012025_07_12_02_760505_0001.jpg', '/home/pi/Desktop/images/09012025/07/12/image_09012025_07_12_02_760505_0002.jpg', '/home/pi/Desktop/images/09012025/07/12/image_09012025_07_12_02_760505_0003.jpg', '/home/pi/Desktop/images/09012025/07/13/image_09012025_07_13_02_353382_0000.jpg', '/home/pi/Desktop/images/09012025/07/13/image_09012025_07_13_02_353382_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/12/image_09012025_07_12_02_760505_0000.jpg
/home/pi/Desktop/images/09012025/07/12/image_09012025_07_12_02_760505_0001.jpg
/home/pi/Desktop/images/09012025/07/12/image_09012025_07_12_02_760505_0002.jpg
/home/pi/Desktop/images/09012025/07/12/image_09012025_07_12_02_760505_0003.jpg
/home/pi/Desktop/images/09012025/07/13/image_09012025_07_13_02_353382_0000.jpg
/home/pi/Desktop/images/09012025/07/13/image_09012025_07_13_02_353382_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327609601","1327609603","1327609614","1327609608","1327609623","1327609619"],"photo_ids_order":["1327609601","1327609603","1327609608","1327609614","1327609619","1327609623"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/00c8a15f70d24ddbe0f963907deb870d.jpg","text":"TemporaryFile(/tmp/multipartBody3224975206008180255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403557835,"filename":"image_09012025_07_12_02_760505_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/35e1b1d922f7523221ceffb4b239fa4c.jpg","text":"TemporaryFile(/tmp/multipartBody550485984674211898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403557835,"filename":"image_09012025_07_12_02_760505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0d042adf1207c40b10aa3267886945a5.jpg","text":"TemporaryFile(/tmp/multipartBody1636408044686939800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403557835,"filename":"image_09012025_07_12_02_760505_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a4bfa23ca85c906e10823ed2be4a8afe.jpg","text":"TemporaryFile(/tmp/multipartBody788606187382338421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403557835,"filename":"image_09012025_07_12_02_760505_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/203277194e5e7671c3ba6d76ac4258e2.jpg","text":"TemporaryFile(/tmp/multipartBody1405743386707459757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403557835,"filename":"image_09012025_07_13_02_353382_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bd37f3a680af2bde5c61bc47de56cf1c.jpg","text":"TemporaryFile(/tmp/multipartBody5970288923634816278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403557835,"filename":"image_09012025_07_13_02_353382_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327609608","file1":"1327609603","file0":"1327609601","file4":"1327609619","file5":"1327609623","file3":"1327609614"},"map_files_photo_id_array":[{"photo_id":"1327609623","filename":"file5"},{"photo_id":"1327609608","filename":"file2"},{"photo_id":"1327609619","filename":"file4"},{"photo_id":"1327609603","filename":"file1"},{"photo_id":"1327609601","filename":"file0"},{"photo_id":"1327609614","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327609601":["hashtag1","hashtag2"]},{"1327609603":["hashtag1","hashtag2"]},{"1327609614":["hashtag1","hashtag2"]},{"1327609608":["hashtag1","hashtag2"]},{"1327609623":["hashtag1","hashtag2"]},{"1327609619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327609601, 1327609603, 1327609614, 1327609608, 1327609623, 1327609619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.918986082077026 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:19:03.288507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/13/image_09012025_07_13_02_353382_0002.jpg', '/home/pi/Desktop/images/09012025/07/13/image_09012025_07_13_02_353382_0003.jpg', '/home/pi/Desktop/images/09012025/07/14/image_09012025_07_14_02_854224_0000.jpg', '/home/pi/Desktop/images/09012025/07/14/image_09012025_07_14_02_854224_0001.jpg', '/home/pi/Desktop/images/09012025/07/14/image_09012025_07_14_02_854224_0002.jpg', '/home/pi/Desktop/images/09012025/07/14/image_09012025_07_14_02_854224_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/13/image_09012025_07_13_02_353382_0002.jpg
/home/pi/Desktop/images/09012025/07/13/image_09012025_07_13_02_353382_0003.jpg
/home/pi/Desktop/images/09012025/07/14/image_09012025_07_14_02_854224_0000.jpg
/home/pi/Desktop/images/09012025/07/14/image_09012025_07_14_02_854224_0001.jpg
/home/pi/Desktop/images/09012025/07/14/image_09012025_07_14_02_854224_0002.jpg
/home/pi/Desktop/images/09012025/07/14/image_09012025_07_14_02_854224_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.51837968826294 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:19:22.707498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/13/image_09012025_07_13_02_353382_0002.jpg', '/home/pi/Desktop/images/09012025/07/13/image_09012025_07_13_02_353382_0003.jpg', '/home/pi/Desktop/images/09012025/07/14/image_09012025_07_14_02_854224_0000.jpg', '/home/pi/Desktop/images/09012025/07/14/image_09012025_07_14_02_854224_0001.jpg', '/home/pi/Desktop/images/09012025/07/14/image_09012025_07_14_02_854224_0002.jpg', '/home/pi/Desktop/images/09012025/07/14/image_09012025_07_14_02_854224_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/13/image_09012025_07_13_02_353382_0002.jpg
/home/pi/Desktop/images/09012025/07/13/image_09012025_07_13_02_353382_0003.jpg
/home/pi/Desktop/images/09012025/07/14/image_09012025_07_14_02_854224_0000.jpg
/home/pi/Desktop/images/09012025/07/14/image_09012025_07_14_02_854224_0001.jpg
/home/pi/Desktop/images/09012025/07/14/image_09012025_07_14_02_854224_0002.jpg
/home/pi/Desktop/images/09012025/07/14/image_09012025_07_14_02_854224_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327609681","1327609669","1327609656","1327609685","1327609649","1327609643"],"photo_ids_order":["1327609643","1327609649","1327609656","1327609669","1327609681","1327609685"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8b19a25bcbddab083de29af3f4581a4d.jpg","text":"TemporaryFile(/tmp/multipartBody9009102146421085830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403637574,"filename":"image_09012025_07_14_02_854224_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6088428511d8dacc17dc8afcd3cbe43e.jpg","text":"TemporaryFile(/tmp/multipartBody3768463510670263593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403637574,"filename":"image_09012025_07_14_02_854224_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fd3cde5e20592ef54a0bae9c72a4d158.jpg","text":"TemporaryFile(/tmp/multipartBody4262349842770813509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403637574,"filename":"image_09012025_07_14_02_854224_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/751458774adaa7e21cda9b5b334697ea.jpg","text":"TemporaryFile(/tmp/multipartBody3274051405830671692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403637574,"filename":"image_09012025_07_14_02_854224_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/39f60e03cfe76b1d1d63b329fdd05afd.jpg","text":"TemporaryFile(/tmp/multipartBody3430179027767871579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403637574,"filename":"image_09012025_07_13_02_353382_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/86af27c8ccd7dabadbcdd480fa22f6c5.jpg","text":"TemporaryFile(/tmp/multipartBody475856567068982528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403637574,"filename":"image_09012025_07_13_02_353382_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327609656","file1":"1327609649","file0":"1327609643","file4":"1327609681","file5":"1327609685","file3":"1327609669"},"map_files_photo_id_array":[{"photo_id":"1327609685","filename":"file5"},{"photo_id":"1327609656","filename":"file2"},{"photo_id":"1327609681","filename":"file4"},{"photo_id":"1327609649","filename":"file1"},{"photo_id":"1327609643","filename":"file0"},{"photo_id":"1327609669","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327609681":["hashtag1","hashtag2"]},{"1327609669":["hashtag1","hashtag2"]},{"1327609656":["hashtag1","hashtag2"]},{"1327609685":["hashtag1","hashtag2"]},{"1327609649":["hashtag1","hashtag2"]},{"1327609643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327609681, 1327609669, 1327609656, 1327609685, 1327609649, 1327609643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.091816902160645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:20:22.370012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/15/image_09012025_07_15_02_363582_0000.jpg', '/home/pi/Desktop/images/09012025/07/15/image_09012025_07_15_02_363582_0001.jpg', '/home/pi/Desktop/images/09012025/07/15/image_09012025_07_15_02_363582_0002.jpg', '/home/pi/Desktop/images/09012025/07/15/image_09012025_07_15_02_363582_0003.jpg', '/home/pi/Desktop/images/09012025/07/16/image_09012025_07_16_02_910763_0000.jpg', '/home/pi/Desktop/images/09012025/07/16/image_09012025_07_16_02_910763_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/15/image_09012025_07_15_02_363582_0000.jpg
/home/pi/Desktop/images/09012025/07/15/image_09012025_07_15_02_363582_0001.jpg
/home/pi/Desktop/images/09012025/07/15/image_09012025_07_15_02_363582_0002.jpg
/home/pi/Desktop/images/09012025/07/15/image_09012025_07_15_02_363582_0003.jpg
/home/pi/Desktop/images/09012025/07/16/image_09012025_07_16_02_910763_0000.jpg
/home/pi/Desktop/images/09012025/07/16/image_09012025_07_16_02_910763_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.5641508102417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:21:02.622844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/15/image_09012025_07_15_02_363582_0000.jpg', '/home/pi/Desktop/images/09012025/07/15/image_09012025_07_15_02_363582_0001.jpg', '/home/pi/Desktop/images/09012025/07/15/image_09012025_07_15_02_363582_0002.jpg', '/home/pi/Desktop/images/09012025/07/15/image_09012025_07_15_02_363582_0003.jpg', '/home/pi/Desktop/images/09012025/07/16/image_09012025_07_16_02_910763_0000.jpg', '/home/pi/Desktop/images/09012025/07/16/image_09012025_07_16_02_910763_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/15/image_09012025_07_15_02_363582_0000.jpg
/home/pi/Desktop/images/09012025/07/15/image_09012025_07_15_02_363582_0001.jpg
/home/pi/Desktop/images/09012025/07/15/image_09012025_07_15_02_363582_0002.jpg
/home/pi/Desktop/images/09012025/07/15/image_09012025_07_15_02_363582_0003.jpg
/home/pi/Desktop/images/09012025/07/16/image_09012025_07_16_02_910763_0000.jpg
/home/pi/Desktop/images/09012025/07/16/image_09012025_07_16_02_910763_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327610467","1327610461","1327610455","1327610458","1327610443","1327610463"],"photo_ids_order":["1327610443","1327610455","1327610458","1327610461","1327610463","1327610467"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3f8c0c82e582a7f046e3b66b91158319.jpg","text":"TemporaryFile(/tmp/multipartBody4423421415476803704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403737608,"filename":"image_09012025_07_16_02_910763_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/00a359318daff5b6d454bd66775c171d.jpg","text":"TemporaryFile(/tmp/multipartBody1615930981565843073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403737608,"filename":"image_09012025_07_15_02_363582_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/de8878147951ad8b64854471a2bff30c.jpg","text":"TemporaryFile(/tmp/multipartBody4099462194404072799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403737608,"filename":"image_09012025_07_15_02_363582_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a8385fb9fa3965e89057b6bd11287ed7.jpg","text":"TemporaryFile(/tmp/multipartBody6513251156117179864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403737608,"filename":"image_09012025_07_15_02_363582_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/19ae6768dc865416f39a3c9cc2038eeb.jpg","text":"TemporaryFile(/tmp/multipartBody3420548978916683294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403737608,"filename":"image_09012025_07_15_02_363582_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9d1ff5e9611a05b12678e81f0e3538e9.jpg","text":"TemporaryFile(/tmp/multipartBody8166202056062687606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403737608,"filename":"image_09012025_07_16_02_910763_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327610458","file1":"1327610455","file0":"1327610443","file4":"1327610463","file5":"1327610467","file3":"1327610461"},"map_files_photo_id_array":[{"photo_id":"1327610467","filename":"file5"},{"photo_id":"1327610458","filename":"file2"},{"photo_id":"1327610463","filename":"file4"},{"photo_id":"1327610455","filename":"file1"},{"photo_id":"1327610443","filename":"file0"},{"photo_id":"1327610461","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327610467":["hashtag1","hashtag2"]},{"1327610461":["hashtag1","hashtag2"]},{"1327610455":["hashtag1","hashtag2"]},{"1327610458":["hashtag1","hashtag2"]},{"1327610443":["hashtag1","hashtag2"]},{"1327610463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327610467, 1327610461, 1327610455, 1327610458, 1327610443, 1327610463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.79771304130554 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:22:02.822220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/16/image_09012025_07_16_02_910763_0002.jpg', '/home/pi/Desktop/images/09012025/07/16/image_09012025_07_16_02_910763_0003.jpg', '/home/pi/Desktop/images/09012025/07/17/image_09012025_07_17_02_370710_0000.jpg', '/home/pi/Desktop/images/09012025/07/17/image_09012025_07_17_02_370710_0001.jpg', '/home/pi/Desktop/images/09012025/07/17/image_09012025_07_17_02_370710_0002.jpg', '/home/pi/Desktop/images/09012025/07/17/image_09012025_07_17_02_370710_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/16/image_09012025_07_16_02_910763_0002.jpg
/home/pi/Desktop/images/09012025/07/16/image_09012025_07_16_02_910763_0003.jpg
/home/pi/Desktop/images/09012025/07/17/image_09012025_07_17_02_370710_0000.jpg
/home/pi/Desktop/images/09012025/07/17/image_09012025_07_17_02_370710_0001.jpg
/home/pi/Desktop/images/09012025/07/17/image_09012025_07_17_02_370710_0002.jpg
/home/pi/Desktop/images/09012025/07/17/image_09012025_07_17_02_370710_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327610695","1327610708","1327610698","1327610713","1327610700","1327610703"],"photo_ids_order":["1327610695","1327610698","1327610700","1327610703","1327610708","1327610713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bb040b7a51aa6f7ce5ce10460b731804.jpg","text":"TemporaryFile(/tmp/multipartBody1885975580619373085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403797807,"filename":"image_09012025_07_16_02_910763_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2436fd4d8516d51858376d1b30405192.jpg","text":"TemporaryFile(/tmp/multipartBody3144360474946378393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403797807,"filename":"image_09012025_07_17_02_370710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/45985938a23bb2eea2b4c07e24a20004.jpg","text":"TemporaryFile(/tmp/multipartBody522697063611035932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403797807,"filename":"image_09012025_07_16_02_910763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/841ea8ae31d8f688912e41f31c9d5e01.jpg","text":"TemporaryFile(/tmp/multipartBody6853993897601790417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403797807,"filename":"image_09012025_07_17_02_370710_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/55584177077a9f710b1d47586ffb9ebf.jpg","text":"TemporaryFile(/tmp/multipartBody7315968368657251649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403797807,"filename":"image_09012025_07_17_02_370710_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fb72a5295fb0b15ca5e708e8b422f468.jpg","text":"TemporaryFile(/tmp/multipartBody6306330032399887940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403797807,"filename":"image_09012025_07_17_02_370710_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327610700","file1":"1327610698","file0":"1327610695","file4":"1327610708","file5":"1327610713","file3":"1327610703"},"map_files_photo_id_array":[{"photo_id":"1327610713","filename":"file5"},{"photo_id":"1327610700","filename":"file2"},{"photo_id":"1327610708","filename":"file4"},{"photo_id":"1327610698","filename":"file1"},{"photo_id":"1327610695","filename":"file0"},{"photo_id":"1327610703","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327610695":["hashtag1","hashtag2"]},{"1327610708":["hashtag1","hashtag2"]},{"1327610698":["hashtag1","hashtag2"]},{"1327610713":["hashtag1","hashtag2"]},{"1327610700":["hashtag1","hashtag2"]},{"1327610703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327610695, 1327610708, 1327610698, 1327610713, 1327610700, 1327610703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.23941516876221 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:23:02.591722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/18/image_09012025_07_18_02_844784_0000.jpg', '/home/pi/Desktop/images/09012025/07/18/image_09012025_07_18_02_844784_0001.jpg', '/home/pi/Desktop/images/09012025/07/18/image_09012025_07_18_02_844784_0002.jpg', '/home/pi/Desktop/images/09012025/07/18/image_09012025_07_18_02_844784_0003.jpg', '/home/pi/Desktop/images/09012025/07/19/image_09012025_07_19_02_529079_0000.jpg', '/home/pi/Desktop/images/09012025/07/19/image_09012025_07_19_02_529079_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/18/image_09012025_07_18_02_844784_0000.jpg
/home/pi/Desktop/images/09012025/07/18/image_09012025_07_18_02_844784_0001.jpg
/home/pi/Desktop/images/09012025/07/18/image_09012025_07_18_02_844784_0002.jpg
/home/pi/Desktop/images/09012025/07/18/image_09012025_07_18_02_844784_0003.jpg
/home/pi/Desktop/images/09012025/07/19/image_09012025_07_19_02_529079_0000.jpg
/home/pi/Desktop/images/09012025/07/19/image_09012025_07_19_02_529079_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327610753","1327610756","1327610787","1327610778","1327610751","1327610748"],"photo_ids_order":["1327610748","1327610751","1327610753","1327610756","1327610778","1327610787"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/db292500a6305bd235f34cf2cfce24bd.jpg","text":"TemporaryFile(/tmp/multipartBody2643769397691338597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403857776,"filename":"image_09012025_07_18_02_844784_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a495a5bdc7d084484b4367e69cae6392.jpg","text":"TemporaryFile(/tmp/multipartBody3179965235218721831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403857776,"filename":"image_09012025_07_18_02_844784_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/11364a32fdeb7d50e3c499479db23f7a.jpg","text":"TemporaryFile(/tmp/multipartBody8391177280094161373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403857776,"filename":"image_09012025_07_19_02_529079_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/781eb8126d98a50ec39616169c616b74.jpg","text":"TemporaryFile(/tmp/multipartBody4544392208731373854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403857776,"filename":"image_09012025_07_19_02_529079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f7b4183b0e1d34699a5ff6465499201b.jpg","text":"TemporaryFile(/tmp/multipartBody1209985848434649618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403857776,"filename":"image_09012025_07_18_02_844784_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/292bca5050e73724b8bad570940a4312.jpg","text":"TemporaryFile(/tmp/multipartBody4275517578924941958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403857776,"filename":"image_09012025_07_18_02_844784_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327610753","file1":"1327610751","file0":"1327610748","file4":"1327610778","file5":"1327610787","file3":"1327610756"},"map_files_photo_id_array":[{"photo_id":"1327610787","filename":"file5"},{"photo_id":"1327610753","filename":"file2"},{"photo_id":"1327610778","filename":"file4"},{"photo_id":"1327610751","filename":"file1"},{"photo_id":"1327610748","filename":"file0"},{"photo_id":"1327610756","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327610753":["hashtag1","hashtag2"]},{"1327610756":["hashtag1","hashtag2"]},{"1327610787":["hashtag1","hashtag2"]},{"1327610778":["hashtag1","hashtag2"]},{"1327610751":["hashtag1","hashtag2"]},{"1327610748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327610753, 1327610756, 1327610787, 1327610778, 1327610751, 1327610748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.52873349189758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:24:03.067271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/19/image_09012025_07_19_02_529079_0002.jpg', '/home/pi/Desktop/images/09012025/07/19/image_09012025_07_19_02_529079_0003.jpg', '/home/pi/Desktop/images/09012025/07/20/image_09012025_07_20_03_103871_0000.jpg', '/home/pi/Desktop/images/09012025/07/20/image_09012025_07_20_03_103871_0001.jpg', '/home/pi/Desktop/images/09012025/07/20/image_09012025_07_20_03_103871_0002.jpg', '/home/pi/Desktop/images/09012025/07/20/image_09012025_07_20_03_103871_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/19/image_09012025_07_19_02_529079_0002.jpg
/home/pi/Desktop/images/09012025/07/19/image_09012025_07_19_02_529079_0003.jpg
/home/pi/Desktop/images/09012025/07/20/image_09012025_07_20_03_103871_0000.jpg
/home/pi/Desktop/images/09012025/07/20/image_09012025_07_20_03_103871_0001.jpg
/home/pi/Desktop/images/09012025/07/20/image_09012025_07_20_03_103871_0002.jpg
/home/pi/Desktop/images/09012025/07/20/image_09012025_07_20_03_103871_0003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.879654169082642 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:24:22.596777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/19/image_09012025_07_19_02_529079_0002.jpg', '/home/pi/Desktop/images/09012025/07/19/image_09012025_07_19_02_529079_0003.jpg', '/home/pi/Desktop/images/09012025/07/20/image_09012025_07_20_03_103871_0000.jpg', '/home/pi/Desktop/images/09012025/07/20/image_09012025_07_20_03_103871_0001.jpg', '/home/pi/Desktop/images/09012025/07/20/image_09012025_07_20_03_103871_0002.jpg', '/home/pi/Desktop/images/09012025/07/20/image_09012025_07_20_03_103871_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/19/image_09012025_07_19_02_529079_0002.jpg
/home/pi/Desktop/images/09012025/07/19/image_09012025_07_19_02_529079_0003.jpg
/home/pi/Desktop/images/09012025/07/20/image_09012025_07_20_03_103871_0000.jpg
/home/pi/Desktop/images/09012025/07/20/image_09012025_07_20_03_103871_0001.jpg
/home/pi/Desktop/images/09012025/07/20/image_09012025_07_20_03_103871_0002.jpg
/home/pi/Desktop/images/09012025/07/20/image_09012025_07_20_03_103871_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327610822","1327610810","1327610824","1327610827","1327610815","1327610820"],"photo_ids_order":["1327610810","1327610815","1327610820","1327610822","1327610824","1327610827"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4131d86f34cda0d44c403ea3c4834c37.jpg","text":"TemporaryFile(/tmp/multipartBody2308692272969069959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403937835,"filename":"image_09012025_07_20_03_103871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c6e98da3d1810fc0fca9c8f7d1773c85.jpg","text":"TemporaryFile(/tmp/multipartBody7226102664831887086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403937835,"filename":"image_09012025_07_19_02_529079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bd1f8d860fede4a394499b24420c42cc.jpg","text":"TemporaryFile(/tmp/multipartBody4354553440715066892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403937835,"filename":"image_09012025_07_20_03_103871_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7ee2ce67f18cd7a08c3545888d9540b1.jpg","text":"TemporaryFile(/tmp/multipartBody2519061210841965036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403937835,"filename":"image_09012025_07_20_03_103871_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/69212152d917204d4b53701e61ccf949.jpg","text":"TemporaryFile(/tmp/multipartBody5339926874285000750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403937835,"filename":"image_09012025_07_19_02_529079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9e5b205a4fbf29c44d1c7a83e5421d1e.jpg","text":"TemporaryFile(/tmp/multipartBody6580666095977283363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403937835,"filename":"image_09012025_07_20_03_103871_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327610820","file1":"1327610815","file0":"1327610810","file4":"1327610824","file5":"1327610827","file3":"1327610822"},"map_files_photo_id_array":[{"photo_id":"1327610827","filename":"file5"},{"photo_id":"1327610820","filename":"file2"},{"photo_id":"1327610824","filename":"file4"},{"photo_id":"1327610815","filename":"file1"},{"photo_id":"1327610810","filename":"file0"},{"photo_id":"1327610822","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327610822":["hashtag1","hashtag2"]},{"1327610810":["hashtag1","hashtag2"]},{"1327610824":["hashtag1","hashtag2"]},{"1327610827":["hashtag1","hashtag2"]},{"1327610815":["hashtag1","hashtag2"]},{"1327610820":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327610822, 1327610810, 1327610824, 1327610827, 1327610815, 1327610820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.606687784194946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:25:22.159923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/21/image_09012025_07_21_02_694917_0000.jpg', '/home/pi/Desktop/images/09012025/07/21/image_09012025_07_21_02_694917_0001.jpg', '/home/pi/Desktop/images/09012025/07/21/image_09012025_07_21_02_694917_0002.jpg', '/home/pi/Desktop/images/09012025/07/21/image_09012025_07_21_02_694917_0003.jpg', '/home/pi/Desktop/images/09012025/07/22/image_09012025_07_22_02_229468_0000.jpg', '/home/pi/Desktop/images/09012025/07/22/image_09012025_07_22_02_229468_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/21/image_09012025_07_21_02_694917_0000.jpg
/home/pi/Desktop/images/09012025/07/21/image_09012025_07_21_02_694917_0001.jpg
/home/pi/Desktop/images/09012025/07/21/image_09012025_07_21_02_694917_0002.jpg
/home/pi/Desktop/images/09012025/07/21/image_09012025_07_21_02_694917_0003.jpg
/home/pi/Desktop/images/09012025/07/22/image_09012025_07_22_02_229468_0000.jpg
/home/pi/Desktop/images/09012025/07/22/image_09012025_07_22_02_229468_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327610854","1327610848","1327610833","1327610836","1327610856","1327610858"],"photo_ids_order":["1327610833","1327610836","1327610848","1327610854","1327610856","1327610858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/df0b840d0ef68347e0fa80ac3077c462.jpg","text":"TemporaryFile(/tmp/multipartBody2232999133501294079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403997426,"filename":"image_09012025_07_21_02_694917_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f9d05bb317ab51d85b54dafb6b7e8349.jpg","text":"TemporaryFile(/tmp/multipartBody130435508528749125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403997426,"filename":"image_09012025_07_21_02_694917_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/33c36800aeee5203f59d1e69d4f235f6.jpg","text":"TemporaryFile(/tmp/multipartBody153644974458180722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403997426,"filename":"image_09012025_07_21_02_694917_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8075821154207667130c9a7e85a5a3a0.jpg","text":"TemporaryFile(/tmp/multipartBody314933711283759089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403997426,"filename":"image_09012025_07_21_02_694917_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/96899eb63f22147fe71869cbab7a11f0.jpg","text":"TemporaryFile(/tmp/multipartBody5373604915922247535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403997426,"filename":"image_09012025_07_22_02_229468_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/07cc9d74d616ee8d822f34ceb9568a56.jpg","text":"TemporaryFile(/tmp/multipartBody4855504562535855516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736403997426,"filename":"image_09012025_07_22_02_229468_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327610848","file1":"1327610836","file0":"1327610833","file4":"1327610856","file5":"1327610858","file3":"1327610854"},"map_files_photo_id_array":[{"photo_id":"1327610858","filename":"file5"},{"photo_id":"1327610848","filename":"file2"},{"photo_id":"1327610856","filename":"file4"},{"photo_id":"1327610836","filename":"file1"},{"photo_id":"1327610833","filename":"file0"},{"photo_id":"1327610854","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327610854":["hashtag1","hashtag2"]},{"1327610848":["hashtag1","hashtag2"]},{"1327610833":["hashtag1","hashtag2"]},{"1327610836":["hashtag1","hashtag2"]},{"1327610856":["hashtag1","hashtag2"]},{"1327610858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327610854, 1327610848, 1327610833, 1327610836, 1327610856, 1327610858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.4724383354187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:26:22.690049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/22/image_09012025_07_22_02_229468_0002.jpg', '/home/pi/Desktop/images/09012025/07/22/image_09012025_07_22_02_229468_0003.jpg', '/home/pi/Desktop/images/09012025/07/23/image_09012025_07_23_02_842346_0001.jpg', '/home/pi/Desktop/images/09012025/07/23/image_09012025_07_23_02_842346_0002.jpg', '/home/pi/Desktop/images/09012025/07/23/image_09012025_07_23_02_842346_0003.jpg', '/home/pi/Desktop/images/09012025/07/24/image_09012025_07_24_02_433428_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/22/image_09012025_07_22_02_229468_0002.jpg
/home/pi/Desktop/images/09012025/07/22/image_09012025_07_22_02_229468_0003.jpg
/home/pi/Desktop/images/09012025/07/23/image_09012025_07_23_02_842346_0001.jpg
/home/pi/Desktop/images/09012025/07/23/image_09012025_07_23_02_842346_0002.jpg
/home/pi/Desktop/images/09012025/07/23/image_09012025_07_23_02_842346_0003.jpg
/home/pi/Desktop/images/09012025/07/24/image_09012025_07_24_02_433428_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327610869","1327610902","1327610889","1327610874","1327610877","1327610865"],"photo_ids_order":["1327610865","1327610869","1327610874","1327610877","1327610889","1327610902"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d59331bc1d7efa255c04c43adb802d1b.jpg","text":"TemporaryFile(/tmp/multipartBody1406276868568637532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404057702,"filename":"image_09012025_07_22_02_229468_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3e8d88e935ed7b27777ec777f18b6448.jpg","text":"TemporaryFile(/tmp/multipartBody4509009398003457824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404057702,"filename":"image_09012025_07_24_02_433428_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/92158cdcc31f8ed1b0c646fc73324765.jpg","text":"TemporaryFile(/tmp/multipartBody6113276776025253583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404057702,"filename":"image_09012025_07_23_02_842346_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7317bc833b3f06cac548e9b793cf603c.jpg","text":"TemporaryFile(/tmp/multipartBody8404628483993427412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404057702,"filename":"image_09012025_07_23_02_842346_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/34cfafaf039e370afc4185dd70086be0.jpg","text":"TemporaryFile(/tmp/multipartBody2665770091994030043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404057702,"filename":"image_09012025_07_23_02_842346_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/085f158dba05fec44bdfa54e374cdb0c.jpg","text":"TemporaryFile(/tmp/multipartBody7940989431092476245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404057702,"filename":"image_09012025_07_22_02_229468_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327610874","file1":"1327610869","file0":"1327610865","file4":"1327610889","file5":"1327610902","file3":"1327610877"},"map_files_photo_id_array":[{"photo_id":"1327610902","filename":"file5"},{"photo_id":"1327610874","filename":"file2"},{"photo_id":"1327610889","filename":"file4"},{"photo_id":"1327610869","filename":"file1"},{"photo_id":"1327610865","filename":"file0"},{"photo_id":"1327610877","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327610869":["hashtag1","hashtag2"]},{"1327610902":["hashtag1","hashtag2"]},{"1327610889":["hashtag1","hashtag2"]},{"1327610874":["hashtag1","hashtag2"]},{"1327610877":["hashtag1","hashtag2"]},{"1327610865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327610869, 1327610902, 1327610889, 1327610874, 1327610877, 1327610865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.077784061431885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:27:22.227451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/24/image_09012025_07_24_02_433428_0001.jpg', '/home/pi/Desktop/images/09012025/07/24/image_09012025_07_24_02_433428_0002.jpg', '/home/pi/Desktop/images/09012025/07/24/image_09012025_07_24_02_433428_0003.jpg', '/home/pi/Desktop/images/09012025/07/25/image_09012025_07_25_03_011332_0000.jpg', '/home/pi/Desktop/images/09012025/07/25/image_09012025_07_25_03_011332_0001.jpg', '/home/pi/Desktop/images/09012025/07/25/image_09012025_07_25_03_011332_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/24/image_09012025_07_24_02_433428_0001.jpg
/home/pi/Desktop/images/09012025/07/24/image_09012025_07_24_02_433428_0002.jpg
/home/pi/Desktop/images/09012025/07/24/image_09012025_07_24_02_433428_0003.jpg
/home/pi/Desktop/images/09012025/07/25/image_09012025_07_25_03_011332_0000.jpg
/home/pi/Desktop/images/09012025/07/25/image_09012025_07_25_03_011332_0001.jpg
/home/pi/Desktop/images/09012025/07/25/image_09012025_07_25_03_011332_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327610995","1327611001","1327610997","1327610988","1327610981","1327610999"],"photo_ids_order":["1327610981","1327610988","1327610995","1327610997","1327610999","1327611001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3d5e2b59342b14448564736d8a13faef.jpg","text":"TemporaryFile(/tmp/multipartBody4345237860477753894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404117382,"filename":"image_09012025_07_24_02_433428_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1be8557bda5813bf9cca279c96e977a2.jpg","text":"TemporaryFile(/tmp/multipartBody8194476544717043394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404117382,"filename":"image_09012025_07_25_03_011332_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e20db8370029df1c7f25697c8b84d07.jpg","text":"TemporaryFile(/tmp/multipartBody1750372796241403372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404117382,"filename":"image_09012025_07_25_03_011332_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f5f63397748aff378d29d8a581693e85.jpg","text":"TemporaryFile(/tmp/multipartBody1118428362167029654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404117382,"filename":"image_09012025_07_24_02_433428_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/50b992a9e613fcd577bb61b3b807aab4.jpg","text":"TemporaryFile(/tmp/multipartBody323124434376227343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404117382,"filename":"image_09012025_07_24_02_433428_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8cb065a2171263a683250c76769582fa.jpg","text":"TemporaryFile(/tmp/multipartBody2737957577869407671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404117382,"filename":"image_09012025_07_25_03_011332_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327610995","file1":"1327610988","file0":"1327610981","file4":"1327610999","file5":"1327611001","file3":"1327610997"},"map_files_photo_id_array":[{"photo_id":"1327611001","filename":"file5"},{"photo_id":"1327610995","filename":"file2"},{"photo_id":"1327610999","filename":"file4"},{"photo_id":"1327610988","filename":"file1"},{"photo_id":"1327610981","filename":"file0"},{"photo_id":"1327610997","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327610995":["hashtag1","hashtag2"]},{"1327611001":["hashtag1","hashtag2"]},{"1327610997":["hashtag1","hashtag2"]},{"1327610988":["hashtag1","hashtag2"]},{"1327610981":["hashtag1","hashtag2"]},{"1327610999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327610995, 1327611001, 1327610997, 1327610988, 1327610981, 1327610999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.96703863143921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:28:22.717185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/25/image_09012025_07_25_03_011332_0003.jpg', '/home/pi/Desktop/images/09012025/07/26/image_09012025_07_26_02_492321_0000.jpg', '/home/pi/Desktop/images/09012025/07/26/image_09012025_07_26_02_492321_0001.jpg', '/home/pi/Desktop/images/09012025/07/26/image_09012025_07_26_02_492321_0002.jpg', '/home/pi/Desktop/images/09012025/07/26/image_09012025_07_26_02_492321_0003.jpg', '/home/pi/Desktop/images/09012025/07/27/image_09012025_07_27_03_095096_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/25/image_09012025_07_25_03_011332_0003.jpg
/home/pi/Desktop/images/09012025/07/26/image_09012025_07_26_02_492321_0000.jpg
/home/pi/Desktop/images/09012025/07/26/image_09012025_07_26_02_492321_0001.jpg
/home/pi/Desktop/images/09012025/07/26/image_09012025_07_26_02_492321_0002.jpg
/home/pi/Desktop/images/09012025/07/26/image_09012025_07_26_02_492321_0003.jpg
/home/pi/Desktop/images/09012025/07/27/image_09012025_07_27_03_095096_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327611049","1327611046","1327611021","1327611024","1327611027","1327611044"],"photo_ids_order":["1327611021","1327611024","1327611027","1327611044","1327611046","1327611049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d59400fb118e08f8ffe913d28b9ccf56.jpg","text":"TemporaryFile(/tmp/multipartBody1628332112945544283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404177986,"filename":"image_09012025_07_27_03_095096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3d287c54c48820a5513e71eab869c7c7.jpg","text":"TemporaryFile(/tmp/multipartBody362275334389220237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404177986,"filename":"image_09012025_07_26_02_492321_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8700cdbbbd1c7f18008dce32cc034c4d.jpg","text":"TemporaryFile(/tmp/multipartBody2294112169079657730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404177986,"filename":"image_09012025_07_25_03_011332_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a697746baebeaaf3d7d8fdc136fd0de0.jpg","text":"TemporaryFile(/tmp/multipartBody1584556759788391820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404177986,"filename":"image_09012025_07_26_02_492321_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/66e7ac69cba619c71e04b0c6a1a9140a.jpg","text":"TemporaryFile(/tmp/multipartBody2935268192688430942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404177986,"filename":"image_09012025_07_26_02_492321_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a4c032df07da77b18a7fc88a2e5fe2c7.jpg","text":"TemporaryFile(/tmp/multipartBody4339484893449507969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404177986,"filename":"image_09012025_07_26_02_492321_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327611027","file1":"1327611024","file0":"1327611021","file4":"1327611046","file5":"1327611049","file3":"1327611044"},"map_files_photo_id_array":[{"photo_id":"1327611049","filename":"file5"},{"photo_id":"1327611027","filename":"file2"},{"photo_id":"1327611046","filename":"file4"},{"photo_id":"1327611024","filename":"file1"},{"photo_id":"1327611021","filename":"file0"},{"photo_id":"1327611044","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327611049":["hashtag1","hashtag2"]},{"1327611046":["hashtag1","hashtag2"]},{"1327611021":["hashtag1","hashtag2"]},{"1327611024":["hashtag1","hashtag2"]},{"1327611027":["hashtag1","hashtag2"]},{"1327611044":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327611049, 1327611046, 1327611021, 1327611024, 1327611027, 1327611044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.95786118507385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:29:22.236850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/27/image_09012025_07_27_03_095096_0001.jpg', '/home/pi/Desktop/images/09012025/07/27/image_09012025_07_27_03_095096_0002.jpg', '/home/pi/Desktop/images/09012025/07/27/image_09012025_07_27_03_095096_0003.jpg', '/home/pi/Desktop/images/09012025/07/28/image_09012025_07_28_02_603086_0000.jpg', '/home/pi/Desktop/images/09012025/07/28/image_09012025_07_28_02_603086_0001.jpg', '/home/pi/Desktop/images/09012025/07/28/image_09012025_07_28_02_603086_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/27/image_09012025_07_27_03_095096_0001.jpg
/home/pi/Desktop/images/09012025/07/27/image_09012025_07_27_03_095096_0002.jpg
/home/pi/Desktop/images/09012025/07/27/image_09012025_07_27_03_095096_0003.jpg
/home/pi/Desktop/images/09012025/07/28/image_09012025_07_28_02_603086_0000.jpg
/home/pi/Desktop/images/09012025/07/28/image_09012025_07_28_02_603086_0001.jpg
/home/pi/Desktop/images/09012025/07/28/image_09012025_07_28_02_603086_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327611112","1327611106","1327611087","1327611108","1327611074","1327611110"],"photo_ids_order":["1327611074","1327611087","1327611106","1327611108","1327611110","1327611112"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/064429f05f9b38a8b002167bf0dbe216.jpg","text":"TemporaryFile(/tmp/multipartBody602827344840880110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404237293,"filename":"image_09012025_07_28_02_603086_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6cdee46943c6fd0abcc08ba79cbc98e2.jpg","text":"TemporaryFile(/tmp/multipartBody6552574399965229053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404237293,"filename":"image_09012025_07_27_03_095096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/157805c26b6eca9fd12647253ba04409.jpg","text":"TemporaryFile(/tmp/multipartBody7690648621169719950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404237293,"filename":"image_09012025_07_27_03_095096_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b31d58b4f0523ae008ae9a8978d7d1e1.jpg","text":"TemporaryFile(/tmp/multipartBody4379694300187457946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404237293,"filename":"image_09012025_07_28_02_603086_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/106eee17711b23d54d23927f3204b4ac.jpg","text":"TemporaryFile(/tmp/multipartBody6741201862104936647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404237293,"filename":"image_09012025_07_27_03_095096_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/25bb1667f5de3c67fe099a3d5a474fde.jpg","text":"TemporaryFile(/tmp/multipartBody9102308241478262468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404237293,"filename":"image_09012025_07_28_02_603086_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327611106","file1":"1327611087","file0":"1327611074","file4":"1327611110","file5":"1327611112","file3":"1327611108"},"map_files_photo_id_array":[{"photo_id":"1327611112","filename":"file5"},{"photo_id":"1327611106","filename":"file2"},{"photo_id":"1327611110","filename":"file4"},{"photo_id":"1327611087","filename":"file1"},{"photo_id":"1327611074","filename":"file0"},{"photo_id":"1327611108","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327611112":["hashtag1","hashtag2"]},{"1327611106":["hashtag1","hashtag2"]},{"1327611087":["hashtag1","hashtag2"]},{"1327611108":["hashtag1","hashtag2"]},{"1327611074":["hashtag1","hashtag2"]},{"1327611110":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327611112, 1327611106, 1327611087, 1327611108, 1327611074, 1327611110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.468829870224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:30:22.708574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/28/image_09012025_07_28_02_603086_0003.jpg', '/home/pi/Desktop/images/09012025/07/29/image_09012025_07_29_03_095042_0000.jpg', '/home/pi/Desktop/images/09012025/07/29/image_09012025_07_29_03_095042_0001.jpg', '/home/pi/Desktop/images/09012025/07/29/image_09012025_07_29_03_095042_0002.jpg', '/home/pi/Desktop/images/09012025/07/29/image_09012025_07_29_03_095042_0003.jpg', '/home/pi/Desktop/images/09012025/07/30/image_09012025_07_30_02_599705_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/28/image_09012025_07_28_02_603086_0003.jpg
/home/pi/Desktop/images/09012025/07/29/image_09012025_07_29_03_095042_0000.jpg
/home/pi/Desktop/images/09012025/07/29/image_09012025_07_29_03_095042_0001.jpg
/home/pi/Desktop/images/09012025/07/29/image_09012025_07_29_03_095042_0002.jpg
/home/pi/Desktop/images/09012025/07/29/image_09012025_07_29_03_095042_0003.jpg
/home/pi/Desktop/images/09012025/07/30/image_09012025_07_30_02_599705_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.730058670043945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:31:02.862310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/28/image_09012025_07_28_02_603086_0003.jpg', '/home/pi/Desktop/images/09012025/07/29/image_09012025_07_29_03_095042_0000.jpg', '/home/pi/Desktop/images/09012025/07/29/image_09012025_07_29_03_095042_0001.jpg', '/home/pi/Desktop/images/09012025/07/29/image_09012025_07_29_03_095042_0002.jpg', '/home/pi/Desktop/images/09012025/07/29/image_09012025_07_29_03_095042_0003.jpg', '/home/pi/Desktop/images/09012025/07/30/image_09012025_07_30_02_599705_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/28/image_09012025_07_28_02_603086_0003.jpg
/home/pi/Desktop/images/09012025/07/29/image_09012025_07_29_03_095042_0000.jpg
/home/pi/Desktop/images/09012025/07/29/image_09012025_07_29_03_095042_0001.jpg
/home/pi/Desktop/images/09012025/07/29/image_09012025_07_29_03_095042_0002.jpg
/home/pi/Desktop/images/09012025/07/29/image_09012025_07_29_03_095042_0003.jpg
/home/pi/Desktop/images/09012025/07/30/image_09012025_07_30_02_599705_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327611154","1327611148","1327611159","1327611144","1327611141","1327611138"],"photo_ids_order":["1327611138","1327611141","1327611144","1327611148","1327611154","1327611159"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/73633cf793ce5e6b245e08e388bbf9d0.jpg","text":"TemporaryFile(/tmp/multipartBody8473573062310087199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404338056,"filename":"image_09012025_07_29_03_095042_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4e6e23d838739f7881550a18d88ea191.jpg","text":"TemporaryFile(/tmp/multipartBody8232175711972211200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404338056,"filename":"image_09012025_07_29_03_095042_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/379087abdb810cbee973e6288b4f1d5e.jpg","text":"TemporaryFile(/tmp/multipartBody86289884231479745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404338056,"filename":"image_09012025_07_30_02_599705_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4c943e756a02d26eb33d0a754af761b0.jpg","text":"TemporaryFile(/tmp/multipartBody6388084251659560305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404338056,"filename":"image_09012025_07_29_03_095042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fe82e96e53c41e19b74456df85a25bef.jpg","text":"TemporaryFile(/tmp/multipartBody4820655918673254623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404338056,"filename":"image_09012025_07_29_03_095042_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bb08fbb24601e7df8fc0481825f548f9.jpg","text":"TemporaryFile(/tmp/multipartBody5763876561087981873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404338056,"filename":"image_09012025_07_28_02_603086_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327611144","file1":"1327611141","file0":"1327611138","file4":"1327611154","file5":"1327611159","file3":"1327611148"},"map_files_photo_id_array":[{"photo_id":"1327611159","filename":"file5"},{"photo_id":"1327611144","filename":"file2"},{"photo_id":"1327611154","filename":"file4"},{"photo_id":"1327611141","filename":"file1"},{"photo_id":"1327611138","filename":"file0"},{"photo_id":"1327611148","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327611154":["hashtag1","hashtag2"]},{"1327611148":["hashtag1","hashtag2"]},{"1327611159":["hashtag1","hashtag2"]},{"1327611144":["hashtag1","hashtag2"]},{"1327611141":["hashtag1","hashtag2"]},{"1327611138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327611154, 1327611148, 1327611159, 1327611144, 1327611141, 1327611138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.49792122840881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:32:02.302518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/30/image_09012025_07_30_02_599705_0001.jpg', '/home/pi/Desktop/images/09012025/07/30/image_09012025_07_30_02_599705_0002.jpg', '/home/pi/Desktop/images/09012025/07/30/image_09012025_07_30_02_599705_0003.jpg', '/home/pi/Desktop/images/09012025/07/31/image_09012025_07_31_03_070594_0000.jpg', '/home/pi/Desktop/images/09012025/07/31/image_09012025_07_31_03_070594_0001.jpg', '/home/pi/Desktop/images/09012025/07/31/image_09012025_07_31_03_070594_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/30/image_09012025_07_30_02_599705_0001.jpg
/home/pi/Desktop/images/09012025/07/30/image_09012025_07_30_02_599705_0002.jpg
/home/pi/Desktop/images/09012025/07/30/image_09012025_07_30_02_599705_0003.jpg
/home/pi/Desktop/images/09012025/07/31/image_09012025_07_31_03_070594_0000.jpg
/home/pi/Desktop/images/09012025/07/31/image_09012025_07_31_03_070594_0001.jpg
/home/pi/Desktop/images/09012025/07/31/image_09012025_07_31_03_070594_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327611180","1327611171","1327611174","1327611213","1327611185","1327611167"],"photo_ids_order":["1327611167","1327611171","1327611174","1327611180","1327611185","1327611213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0d166205a4024e9b1ce60f8512845dc0.jpg","text":"TemporaryFile(/tmp/multipartBody7608459913391744339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404397365,"filename":"image_09012025_07_31_03_070594_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/529632176d07179d4e0fa80acbf4d9f8.jpg","text":"TemporaryFile(/tmp/multipartBody4011998558533634301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404397365,"filename":"image_09012025_07_30_02_599705_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/56d58f43687e4a6f349d721715991ad8.jpg","text":"TemporaryFile(/tmp/multipartBody6479468795981128228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404397365,"filename":"image_09012025_07_30_02_599705_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a9486050a254c0512bc8a88519dc236f.jpg","text":"TemporaryFile(/tmp/multipartBody6654575284418138683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404397365,"filename":"image_09012025_07_31_03_070594_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e13fe00a7b658120ca6fb85ca5d99b90.jpg","text":"TemporaryFile(/tmp/multipartBody7391258289717958783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404397365,"filename":"image_09012025_07_31_03_070594_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ad58c44ec164a78161350a60cf5e2b82.jpg","text":"TemporaryFile(/tmp/multipartBody1488588010874279543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404397365,"filename":"image_09012025_07_30_02_599705_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327611174","file1":"1327611171","file0":"1327611167","file4":"1327611185","file5":"1327611213","file3":"1327611180"},"map_files_photo_id_array":[{"photo_id":"1327611213","filename":"file5"},{"photo_id":"1327611174","filename":"file2"},{"photo_id":"1327611185","filename":"file4"},{"photo_id":"1327611171","filename":"file1"},{"photo_id":"1327611167","filename":"file0"},{"photo_id":"1327611180","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327611180":["hashtag1","hashtag2"]},{"1327611171":["hashtag1","hashtag2"]},{"1327611174":["hashtag1","hashtag2"]},{"1327611213":["hashtag1","hashtag2"]},{"1327611185":["hashtag1","hashtag2"]},{"1327611167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327611180, 1327611171, 1327611174, 1327611213, 1327611185, 1327611167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.38325238227844 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:33:22.430880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/31/image_09012025_07_31_03_070594_0003.jpg', '/home/pi/Desktop/images/09012025/07/32/image_09012025_07_32_02_608258_0000.jpg', '/home/pi/Desktop/images/09012025/07/32/image_09012025_07_32_02_608258_0001.jpg', '/home/pi/Desktop/images/09012025/07/32/image_09012025_07_32_02_608258_0002.jpg', '/home/pi/Desktop/images/09012025/07/32/image_09012025_07_32_02_608258_0003.jpg', '/home/pi/Desktop/images/09012025/07/33/image_09012025_07_33_02_293285_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/31/image_09012025_07_31_03_070594_0003.jpg
/home/pi/Desktop/images/09012025/07/32/image_09012025_07_32_02_608258_0000.jpg
/home/pi/Desktop/images/09012025/07/32/image_09012025_07_32_02_608258_0001.jpg
/home/pi/Desktop/images/09012025/07/32/image_09012025_07_32_02_608258_0002.jpg
/home/pi/Desktop/images/09012025/07/32/image_09012025_07_32_02_608258_0003.jpg
/home/pi/Desktop/images/09012025/07/33/image_09012025_07_33_02_293285_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327611935","1327612471","1327612201","1327612458","1327612053","1327612508"],"photo_ids_order":["1327611935","1327612053","1327612201","1327612458","1327612471","1327612508"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a3340f8e773dd6e9b720dbe8a857042e.jpg","text":"TemporaryFile(/tmp/multipartBody3360281534488644567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404477398,"filename":"image_09012025_07_31_03_070594_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/898d10e0e3cefb0d45f9d9257a745d8e.jpg","text":"TemporaryFile(/tmp/multipartBody3152316104845842618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404477398,"filename":"image_09012025_07_32_02_608258_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0c0ce03a85b4bae5c5e53a63d4e96a9a.jpg","text":"TemporaryFile(/tmp/multipartBody6069291468078546368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404477398,"filename":"image_09012025_07_32_02_608258_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d355e407d00fc6c5af599d47433cabf6.jpg","text":"TemporaryFile(/tmp/multipartBody16818561137672236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404477398,"filename":"image_09012025_07_32_02_608258_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/726a821059e7521a35823fc37afbf4c7.jpg","text":"TemporaryFile(/tmp/multipartBody8574248161163835806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404477398,"filename":"image_09012025_07_32_02_608258_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/debc515e1dc70bfc6e0592087835821e.jpg","text":"TemporaryFile(/tmp/multipartBody1554779941303781661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404477398,"filename":"image_09012025_07_33_02_293285_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327612201","file1":"1327612053","file0":"1327611935","file4":"1327612471","file5":"1327612508","file3":"1327612458"},"map_files_photo_id_array":[{"photo_id":"1327612508","filename":"file5"},{"photo_id":"1327612201","filename":"file2"},{"photo_id":"1327612471","filename":"file4"},{"photo_id":"1327612053","filename":"file1"},{"photo_id":"1327611935","filename":"file0"},{"photo_id":"1327612458","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327611935":["hashtag1","hashtag2"]},{"1327612471":["hashtag1","hashtag2"]},{"1327612201":["hashtag1","hashtag2"]},{"1327612458":["hashtag1","hashtag2"]},{"1327612053":["hashtag1","hashtag2"]},{"1327612508":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327611935, 1327612471, 1327612201, 1327612458, 1327612053, 1327612508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.214338064193726 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:34:21.938501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/33/image_09012025_07_33_02_293285_0001.jpg', '/home/pi/Desktop/images/09012025/07/33/image_09012025_07_33_02_293285_0002.jpg', '/home/pi/Desktop/images/09012025/07/33/image_09012025_07_33_02_293285_0003.jpg', '/home/pi/Desktop/images/09012025/07/34/image_09012025_07_34_02_786775_0000.jpg', '/home/pi/Desktop/images/09012025/07/34/image_09012025_07_34_02_786775_0001.jpg', '/home/pi/Desktop/images/09012025/07/34/image_09012025_07_34_02_786775_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/33/image_09012025_07_33_02_293285_0001.jpg
/home/pi/Desktop/images/09012025/07/33/image_09012025_07_33_02_293285_0002.jpg
/home/pi/Desktop/images/09012025/07/33/image_09012025_07_33_02_293285_0003.jpg
/home/pi/Desktop/images/09012025/07/34/image_09012025_07_34_02_786775_0000.jpg
/home/pi/Desktop/images/09012025/07/34/image_09012025_07_34_02_786775_0001.jpg
/home/pi/Desktop/images/09012025/07/34/image_09012025_07_34_02_786775_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.783012866973877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:35:03.212131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/33/image_09012025_07_33_02_293285_0001.jpg', '/home/pi/Desktop/images/09012025/07/33/image_09012025_07_33_02_293285_0002.jpg', '/home/pi/Desktop/images/09012025/07/33/image_09012025_07_33_02_293285_0003.jpg', '/home/pi/Desktop/images/09012025/07/34/image_09012025_07_34_02_786775_0000.jpg', '/home/pi/Desktop/images/09012025/07/34/image_09012025_07_34_02_786775_0001.jpg', '/home/pi/Desktop/images/09012025/07/34/image_09012025_07_34_02_786775_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/33/image_09012025_07_33_02_293285_0001.jpg
/home/pi/Desktop/images/09012025/07/33/image_09012025_07_33_02_293285_0002.jpg
/home/pi/Desktop/images/09012025/07/33/image_09012025_07_33_02_293285_0003.jpg
/home/pi/Desktop/images/09012025/07/34/image_09012025_07_34_02_786775_0000.jpg
/home/pi/Desktop/images/09012025/07/34/image_09012025_07_34_02_786775_0001.jpg
/home/pi/Desktop/images/09012025/07/34/image_09012025_07_34_02_786775_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327612546","1327612671","1327612542","1327612538","1327612532","1327612535"],"photo_ids_order":["1327612532","1327612535","1327612538","1327612542","1327612546","1327612671"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0a3ea5da1a52f0b4646f9bd3b07cc0dc.jpg","text":"TemporaryFile(/tmp/multipartBody5506266815941047232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404578461,"filename":"image_09012025_07_34_02_786775_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e22301e30a886e10122b0f74d9ba82e1.jpg","text":"TemporaryFile(/tmp/multipartBody5077779994927690630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404578461,"filename":"image_09012025_07_34_02_786775_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/40465c897821308662fcf4b1d0805c50.jpg","text":"TemporaryFile(/tmp/multipartBody2771380070953661411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404578461,"filename":"image_09012025_07_34_02_786775_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/50df93a80cd94f3957653a9c447bf4ba.jpg","text":"TemporaryFile(/tmp/multipartBody588184219528188936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404578461,"filename":"image_09012025_07_33_02_293285_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/590de6b65806a578c08f11668608b435.jpg","text":"TemporaryFile(/tmp/multipartBody5330800253145929305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404578461,"filename":"image_09012025_07_33_02_293285_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6aa25182a87b23993aa51290a5188874.jpg","text":"TemporaryFile(/tmp/multipartBody7950477467911260690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404578461,"filename":"image_09012025_07_33_02_293285_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327612538","file1":"1327612535","file0":"1327612532","file4":"1327612546","file5":"1327612671","file3":"1327612542"},"map_files_photo_id_array":[{"photo_id":"1327612671","filename":"file5"},{"photo_id":"1327612538","filename":"file2"},{"photo_id":"1327612546","filename":"file4"},{"photo_id":"1327612535","filename":"file1"},{"photo_id":"1327612532","filename":"file0"},{"photo_id":"1327612542","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327612546":["hashtag1","hashtag2"]},{"1327612671":["hashtag1","hashtag2"]},{"1327612542":["hashtag1","hashtag2"]},{"1327612538":["hashtag1","hashtag2"]},{"1327612532":["hashtag1","hashtag2"]},{"1327612535":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327612546, 1327612671, 1327612542, 1327612538, 1327612532, 1327612535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.51038384437561 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:36:22.172989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/34/image_09012025_07_34_02_786775_0003.jpg', '/home/pi/Desktop/images/09012025/07/35/image_09012025_07_35_02_357806_0000.jpg', '/home/pi/Desktop/images/09012025/07/35/image_09012025_07_35_02_357806_0001.jpg', '/home/pi/Desktop/images/09012025/07/35/image_09012025_07_35_02_357806_0003.jpg', '/home/pi/Desktop/images/09012025/07/36/image_09012025_07_36_02_898791_0000.jpg', '/home/pi/Desktop/images/09012025/07/36/image_09012025_07_36_02_898791_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/34/image_09012025_07_34_02_786775_0003.jpg
/home/pi/Desktop/images/09012025/07/35/image_09012025_07_35_02_357806_0000.jpg
/home/pi/Desktop/images/09012025/07/35/image_09012025_07_35_02_357806_0001.jpg
/home/pi/Desktop/images/09012025/07/35/image_09012025_07_35_02_357806_0003.jpg
/home/pi/Desktop/images/09012025/07/36/image_09012025_07_36_02_898791_0000.jpg
/home/pi/Desktop/images/09012025/07/36/image_09012025_07_36_02_898791_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327612939","1327612936","1327612946","1327612949","1327612943","1327612922"],"photo_ids_order":["1327612922","1327612936","1327612939","1327612943","1327612946","1327612949"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9310dad9a4718d6c04b76354c538fcd6.jpg","text":"TemporaryFile(/tmp/multipartBody6464216622552636343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404657385,"filename":"image_09012025_07_35_02_357806_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/89ab1b6873480b11aeffc8ec609452d9.jpg","text":"TemporaryFile(/tmp/multipartBody1493125642915965353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404657385,"filename":"image_09012025_07_35_02_357806_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/148d2c13331a921e8f5df2c5210d6c49.jpg","text":"TemporaryFile(/tmp/multipartBody612543005175261721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404657385,"filename":"image_09012025_07_36_02_898791_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/066f48639b91b53a67bdb197a46c1f31.jpg","text":"TemporaryFile(/tmp/multipartBody3933495640093320413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404657385,"filename":"image_09012025_07_36_02_898791_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8b02674f459dcd077fab6a0687f55159.jpg","text":"TemporaryFile(/tmp/multipartBody6457234468703183394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404657385,"filename":"image_09012025_07_35_02_357806_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d467816e9f0167b8152c606755485f4b.jpg","text":"TemporaryFile(/tmp/multipartBody3014346951583436099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404657385,"filename":"image_09012025_07_34_02_786775_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327612939","file1":"1327612936","file0":"1327612922","file4":"1327612946","file5":"1327612949","file3":"1327612943"},"map_files_photo_id_array":[{"photo_id":"1327612949","filename":"file5"},{"photo_id":"1327612939","filename":"file2"},{"photo_id":"1327612946","filename":"file4"},{"photo_id":"1327612936","filename":"file1"},{"photo_id":"1327612922","filename":"file0"},{"photo_id":"1327612943","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327612939":["hashtag1","hashtag2"]},{"1327612936":["hashtag1","hashtag2"]},{"1327612946":["hashtag1","hashtag2"]},{"1327612949":["hashtag1","hashtag2"]},{"1327612943":["hashtag1","hashtag2"]},{"1327612922":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327612939, 1327612936, 1327612946, 1327612949, 1327612943, 1327612922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.82780575752258 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:37:22.684357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/36/image_09012025_07_36_02_898791_0002.jpg', '/home/pi/Desktop/images/09012025/07/36/image_09012025_07_36_02_898791_0003.jpg', '/home/pi/Desktop/images/09012025/07/37/image_09012025_07_37_02_541904_0000.jpg', '/home/pi/Desktop/images/09012025/07/37/image_09012025_07_37_02_541904_0001.jpg', '/home/pi/Desktop/images/09012025/07/37/image_09012025_07_37_02_541904_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/36/image_09012025_07_36_02_898791_0002.jpg
/home/pi/Desktop/images/09012025/07/36/image_09012025_07_36_02_898791_0003.jpg
/home/pi/Desktop/images/09012025/07/37/image_09012025_07_37_02_541904_0000.jpg
/home/pi/Desktop/images/09012025/07/37/image_09012025_07_37_02_541904_0001.jpg
/home/pi/Desktop/images/09012025/07/37/image_09012025_07_37_02_541904_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327612954","1327612965","1327612959","1327612963","1327612957"],"photo_ids_order":["1327612954","1327612957","1327612959","1327612963","1327612965"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6e56ebfe2e51a02e0062f1dbe4648e09.jpg","text":"TemporaryFile(/tmp/multipartBody1848680853747265017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404715274,"filename":"image_09012025_07_36_02_898791_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c7c998a38a31ca2ab68e1753c4ac78d3.jpg","text":"TemporaryFile(/tmp/multipartBody211177296351944213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404715274,"filename":"image_09012025_07_37_02_541904_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/23e486f8dbb0ca17097b59cfe4cc67c3.jpg","text":"TemporaryFile(/tmp/multipartBody9049234678452791011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404715274,"filename":"image_09012025_07_37_02_541904_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ba88ff6288cf7372250fb8611c1a8520.jpg","text":"TemporaryFile(/tmp/multipartBody3501665555416238544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404715274,"filename":"image_09012025_07_37_02_541904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1151d56217093e08f8e713659575dd24.jpg","text":"TemporaryFile(/tmp/multipartBody5455026771794714657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404715274,"filename":"image_09012025_07_36_02_898791_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327612959","file1":"1327612957","file0":"1327612954","file4":"1327612965","file3":"1327612963"},"map_files_photo_id_array":[{"photo_id":"1327612959","filename":"file2"},{"photo_id":"1327612965","filename":"file4"},{"photo_id":"1327612957","filename":"file1"},{"photo_id":"1327612954","filename":"file0"},{"photo_id":"1327612963","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327612954":["hashtag1","hashtag2"]},{"1327612965":["hashtag1","hashtag2"]},{"1327612959":["hashtag1","hashtag2"]},{"1327612963":["hashtag1","hashtag2"]},{"1327612957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327612954, 1327612965, 1327612959, 1327612963, 1327612957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.12002682685852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:38:22.207098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/37/image_09012025_07_37_02_541904_0003.jpg', '/home/pi/Desktop/images/09012025/07/38/image_09012025_07_38_03_076786_0000.jpg', '/home/pi/Desktop/images/09012025/07/38/image_09012025_07_38_03_076786_0001.jpg', '/home/pi/Desktop/images/09012025/07/38/image_09012025_07_38_03_076786_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/37/image_09012025_07_37_02_541904_0003.jpg
/home/pi/Desktop/images/09012025/07/38/image_09012025_07_38_03_076786_0000.jpg
/home/pi/Desktop/images/09012025/07/38/image_09012025_07_38_03_076786_0001.jpg
/home/pi/Desktop/images/09012025/07/38/image_09012025_07_38_03_076786_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327613001","1327612997","1327612988","1327612993"],"photo_ids_order":["1327612988","1327612993","1327612997","1327613001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c762637546080ffb3fa2c9823f7ee0e0.jpg","text":"TemporaryFile(/tmp/multipartBody3837971459860089851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404772553,"filename":"image_09012025_07_38_03_076786_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3099e5fba7f5dec0975ced2b3a6cdaee.jpg","text":"TemporaryFile(/tmp/multipartBody4241182994331981823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404772553,"filename":"image_09012025_07_38_03_076786_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4bc88241fb17260cf04f81085e130efb.jpg","text":"TemporaryFile(/tmp/multipartBody2848461052544996684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404772553,"filename":"image_09012025_07_37_02_541904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/72cae42aa84fae0b1d227ac4c35fa45f.jpg","text":"TemporaryFile(/tmp/multipartBody5373613108632199873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404772553,"filename":"image_09012025_07_38_03_076786_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327612997","file1":"1327612993","file0":"1327612988","file3":"1327613001"},"map_files_photo_id_array":[{"photo_id":"1327612997","filename":"file2"},{"photo_id":"1327612993","filename":"file1"},{"photo_id":"1327612988","filename":"file0"},{"photo_id":"1327613001","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327613001":["hashtag1","hashtag2"]},{"1327612997":["hashtag1","hashtag2"]},{"1327612988":["hashtag1","hashtag2"]},{"1327612993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327613001, 1327612997, 1327612988, 1327612993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.5261607170105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:39:03.314792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:39:22.656547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/38/image_09012025_07_38_03_076786_0003.jpg', '/home/pi/Desktop/images/09012025/07/39/image_09012025_07_39_02_575497_0000.jpg', '/home/pi/Desktop/images/09012025/07/39/image_09012025_07_39_02_575497_0001.jpg', '/home/pi/Desktop/images/09012025/07/39/image_09012025_07_39_02_575497_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/38/image_09012025_07_38_03_076786_0003.jpg
/home/pi/Desktop/images/09012025/07/39/image_09012025_07_39_02_575497_0000.jpg
/home/pi/Desktop/images/09012025/07/39/image_09012025_07_39_02_575497_0001.jpg
/home/pi/Desktop/images/09012025/07/39/image_09012025_07_39_02_575497_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327613035","1327613010","1327613072","1327613057"],"photo_ids_order":["1327613010","1327613035","1327613057","1327613072"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c7630507872924da7bf38ea4ca0f74e3.jpg","text":"TemporaryFile(/tmp/multipartBody6237211300061683997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404832991,"filename":"image_09012025_07_39_02_575497_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/be434e5b854bb877d53c1ed0bcea05a7.jpg","text":"TemporaryFile(/tmp/multipartBody3656680544386230184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404832991,"filename":"image_09012025_07_38_03_076786_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/67ced2a3d7dea030708db4f3a4e4503f.jpg","text":"TemporaryFile(/tmp/multipartBody7306223289749831744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404832991,"filename":"image_09012025_07_39_02_575497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0c7c253c6d22b86e3e0bf27997a56e7c.jpg","text":"TemporaryFile(/tmp/multipartBody7595023125457833955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404832991,"filename":"image_09012025_07_39_02_575497_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327613057","file1":"1327613035","file0":"1327613010","file3":"1327613072"},"map_files_photo_id_array":[{"photo_id":"1327613057","filename":"file2"},{"photo_id":"1327613035","filename":"file1"},{"photo_id":"1327613010","filename":"file0"},{"photo_id":"1327613072","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327613035":["hashtag1","hashtag2"]},{"1327613010":["hashtag1","hashtag2"]},{"1327613072":["hashtag1","hashtag2"]},{"1327613057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327613035, 1327613010, 1327613072, 1327613057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.683563232421875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:40:02.506289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:40:22.184429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/39/image_09012025_07_39_02_575497_0003.jpg', '/home/pi/Desktop/images/09012025/07/40/image_09012025_07_40_03_054599_0000.jpg', '/home/pi/Desktop/images/09012025/07/40/image_09012025_07_40_03_054599_0001.jpg', '/home/pi/Desktop/images/09012025/07/40/image_09012025_07_40_03_054599_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/39/image_09012025_07_39_02_575497_0003.jpg
/home/pi/Desktop/images/09012025/07/40/image_09012025_07_40_03_054599_0000.jpg
/home/pi/Desktop/images/09012025/07/40/image_09012025_07_40_03_054599_0001.jpg
/home/pi/Desktop/images/09012025/07/40/image_09012025_07_40_03_054599_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327613549","1327613615","1327613432","1327613488"],"photo_ids_order":["1327613432","1327613488","1327613549","1327613615"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/25693f583a86df25f159a236d23559e0.jpg","text":"TemporaryFile(/tmp/multipartBody6076553697031720036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404892593,"filename":"image_09012025_07_40_03_054599_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d83a97b47ee155ea7ddf497bc1da3742.jpg","text":"TemporaryFile(/tmp/multipartBody3794306728734651711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404892593,"filename":"image_09012025_07_40_03_054599_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/49ca0c83f841cf6154ebed2be862c58d.jpg","text":"TemporaryFile(/tmp/multipartBody4402713223174435440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404892593,"filename":"image_09012025_07_39_02_575497_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b0a786f647fe03e751ce2c36960564ad.jpg","text":"TemporaryFile(/tmp/multipartBody6416717037676441508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404892593,"filename":"image_09012025_07_40_03_054599_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327613549","file1":"1327613488","file0":"1327613432","file3":"1327613615"},"map_files_photo_id_array":[{"photo_id":"1327613549","filename":"file2"},{"photo_id":"1327613488","filename":"file1"},{"photo_id":"1327613432","filename":"file0"},{"photo_id":"1327613615","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327613549":["hashtag1","hashtag2"]},{"1327613615":["hashtag1","hashtag2"]},{"1327613432":["hashtag1","hashtag2"]},{"1327613488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327613549, 1327613615, 1327613432, 1327613488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.67215895652771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:41:21.747120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/40/image_09012025_07_40_03_054599_0003.jpg', '/home/pi/Desktop/images/09012025/07/41/image_09012025_07_41_02_634092_0000.jpg', '/home/pi/Desktop/images/09012025/07/41/image_09012025_07_41_02_634092_0001.jpg', '/home/pi/Desktop/images/09012025/07/41/image_09012025_07_41_02_634092_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/40/image_09012025_07_40_03_054599_0003.jpg
/home/pi/Desktop/images/09012025/07/41/image_09012025_07_41_02_634092_0000.jpg
/home/pi/Desktop/images/09012025/07/41/image_09012025_07_41_02_634092_0001.jpg
/home/pi/Desktop/images/09012025/07/41/image_09012025_07_41_02_634092_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327613913","1327613945","1327613950","1327613938"],"photo_ids_order":["1327613913","1327613938","1327613945","1327613950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c7e9adeb7df353f0353aeea622780b84.jpg","text":"TemporaryFile(/tmp/multipartBody1625084530903818453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404952116,"filename":"image_09012025_07_40_03_054599_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9858b1d735ba9e3f323be4193e6ead0f.jpg","text":"TemporaryFile(/tmp/multipartBody4903732795131970875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404952116,"filename":"image_09012025_07_41_02_634092_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/749117c9a8f5c43097c1552c7dd88ea7.jpg","text":"TemporaryFile(/tmp/multipartBody8282514227936258992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404952116,"filename":"image_09012025_07_41_02_634092_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5ccde6d06fdc72f5634d5cb636ab134b.jpg","text":"TemporaryFile(/tmp/multipartBody1939584237018170108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736404952116,"filename":"image_09012025_07_41_02_634092_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327613945","file1":"1327613938","file0":"1327613913","file3":"1327613950"},"map_files_photo_id_array":[{"photo_id":"1327613945","filename":"file2"},{"photo_id":"1327613938","filename":"file1"},{"photo_id":"1327613913","filename":"file0"},{"photo_id":"1327613950","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327613913":["hashtag1","hashtag2"]},{"1327613945":["hashtag1","hashtag2"]},{"1327613950":["hashtag1","hashtag2"]},{"1327613938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327613913, 1327613945, 1327613950, 1327613938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.52789545059204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:42:02.685812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:42:22.164579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/41/image_09012025_07_41_02_634092_0003.jpg', '/home/pi/Desktop/images/09012025/07/42/image_09012025_07_42_02_103887_0000.jpg', '/home/pi/Desktop/images/09012025/07/42/image_09012025_07_42_02_103887_0001.jpg', '/home/pi/Desktop/images/09012025/07/42/image_09012025_07_42_02_103887_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/41/image_09012025_07_41_02_634092_0003.jpg
/home/pi/Desktop/images/09012025/07/42/image_09012025_07_42_02_103887_0000.jpg
/home/pi/Desktop/images/09012025/07/42/image_09012025_07_42_02_103887_0001.jpg
/home/pi/Desktop/images/09012025/07/42/image_09012025_07_42_02_103887_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.893067836761475 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:43:03.439946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/41/image_09012025_07_41_02_634092_0003.jpg', '/home/pi/Desktop/images/09012025/07/42/image_09012025_07_42_02_103887_0000.jpg', '/home/pi/Desktop/images/09012025/07/42/image_09012025_07_42_02_103887_0001.jpg', '/home/pi/Desktop/images/09012025/07/42/image_09012025_07_42_02_103887_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/41/image_09012025_07_41_02_634092_0003.jpg
/home/pi/Desktop/images/09012025/07/42/image_09012025_07_42_02_103887_0000.jpg
/home/pi/Desktop/images/09012025/07/42/image_09012025_07_42_02_103887_0001.jpg
/home/pi/Desktop/images/09012025/07/42/image_09012025_07_42_02_103887_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327614481","1327614484","1327614486","1327614480"],"photo_ids_order":["1327614480","1327614481","1327614484","1327614486"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4fdcfb95453268fb665d1b1663c57b6f.jpg","text":"TemporaryFile(/tmp/multipartBody612108108537187556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405053779,"filename":"image_09012025_07_42_02_103887_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/73c25b6fad290c3721bfe3d093b07930.jpg","text":"TemporaryFile(/tmp/multipartBody1001271753426030831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405053779,"filename":"image_09012025_07_42_02_103887_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5aba52d865d1002ac5e327532e44c299.jpg","text":"TemporaryFile(/tmp/multipartBody3718696689514405356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405053779,"filename":"image_09012025_07_42_02_103887_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/62b673f772928a57994b0f637e976a58.jpg","text":"TemporaryFile(/tmp/multipartBody7650474152356856847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405053779,"filename":"image_09012025_07_41_02_634092_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327614484","file1":"1327614481","file0":"1327614480","file3":"1327614486"},"map_files_photo_id_array":[{"photo_id":"1327614484","filename":"file2"},{"photo_id":"1327614481","filename":"file1"},{"photo_id":"1327614480","filename":"file0"},{"photo_id":"1327614486","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327614481":["hashtag1","hashtag2"]},{"1327614484":["hashtag1","hashtag2"]},{"1327614486":["hashtag1","hashtag2"]},{"1327614480":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327614481, 1327614484, 1327614486, 1327614480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.33007478713989 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:44:02.762732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/42/image_09012025_07_42_02_103887_0003.jpg', '/home/pi/Desktop/images/09012025/07/43/image_09012025_07_43_02_582613_0000.jpg', '/home/pi/Desktop/images/09012025/07/43/image_09012025_07_43_02_582613_0001.jpg', '/home/pi/Desktop/images/09012025/07/43/image_09012025_07_43_02_582613_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/42/image_09012025_07_42_02_103887_0003.jpg
/home/pi/Desktop/images/09012025/07/43/image_09012025_07_43_02_582613_0000.jpg
/home/pi/Desktop/images/09012025/07/43/image_09012025_07_43_02_582613_0001.jpg
/home/pi/Desktop/images/09012025/07/43/image_09012025_07_43_02_582613_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327614510","1327614503","1327614512","1327614506"],"photo_ids_order":["1327614503","1327614506","1327614510","1327614512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6e62b9cdedbeec81ba5e0701c3096e72.jpg","text":"TemporaryFile(/tmp/multipartBody3137817174759421818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405113118,"filename":"image_09012025_07_43_02_582613_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a83a06fca01ab32f4dbbca179fe3f33c.jpg","text":"TemporaryFile(/tmp/multipartBody7317078520029202139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405113118,"filename":"image_09012025_07_42_02_103887_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/75747e3dcbc72f5b82a004dae770406c.jpg","text":"TemporaryFile(/tmp/multipartBody1127173155698928469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405113118,"filename":"image_09012025_07_43_02_582613_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9014db43f6f6cf6ab9c5eb88ccbb76dd.jpg","text":"TemporaryFile(/tmp/multipartBody4351532215582905528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405113118,"filename":"image_09012025_07_43_02_582613_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327614510","file1":"1327614506","file0":"1327614503","file3":"1327614512"},"map_files_photo_id_array":[{"photo_id":"1327614510","filename":"file2"},{"photo_id":"1327614506","filename":"file1"},{"photo_id":"1327614503","filename":"file0"},{"photo_id":"1327614512","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327614510":["hashtag1","hashtag2"]},{"1327614503":["hashtag1","hashtag2"]},{"1327614512":["hashtag1","hashtag2"]},{"1327614506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327614510, 1327614503, 1327614512, 1327614506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.1373975276947 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:45:02.490649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/43/image_09012025_07_43_02_582613_0003.jpg', '/home/pi/Desktop/images/09012025/07/44/image_09012025_07_44_03_100329_0000.jpg', '/home/pi/Desktop/images/09012025/07/44/image_09012025_07_44_03_100329_0001.jpg', '/home/pi/Desktop/images/09012025/07/44/image_09012025_07_44_03_100329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/43/image_09012025_07_43_02_582613_0003.jpg
/home/pi/Desktop/images/09012025/07/44/image_09012025_07_44_03_100329_0000.jpg
/home/pi/Desktop/images/09012025/07/44/image_09012025_07_44_03_100329_0001.jpg
/home/pi/Desktop/images/09012025/07/44/image_09012025_07_44_03_100329_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.119104623794556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:45:21.836981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/43/image_09012025_07_43_02_582613_0003.jpg', '/home/pi/Desktop/images/09012025/07/44/image_09012025_07_44_03_100329_0000.jpg', '/home/pi/Desktop/images/09012025/07/44/image_09012025_07_44_03_100329_0001.jpg', '/home/pi/Desktop/images/09012025/07/44/image_09012025_07_44_03_100329_0002.jpg', '/home/pi/Desktop/images/09012025/07/44/image_09012025_07_44_03_100329_0003.jpg', '/home/pi/Desktop/images/09012025/07/45/image_09012025_07_45_02_681487_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/43/image_09012025_07_43_02_582613_0003.jpg
/home/pi/Desktop/images/09012025/07/44/image_09012025_07_44_03_100329_0000.jpg
/home/pi/Desktop/images/09012025/07/44/image_09012025_07_44_03_100329_0001.jpg
/home/pi/Desktop/images/09012025/07/44/image_09012025_07_44_03_100329_0002.jpg
/home/pi/Desktop/images/09012025/07/44/image_09012025_07_44_03_100329_0003.jpg
/home/pi/Desktop/images/09012025/07/45/image_09012025_07_45_02_681487_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327614578","1327614563","1327614551","1327614554","1327614565","1327614547"],"photo_ids_order":["1327614547","1327614551","1327614554","1327614563","1327614565","1327614578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0c6e3af680c077845c27d2e23c98ff2d.jpg","text":"TemporaryFile(/tmp/multipartBody4752216193862487497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405197078,"filename":"image_09012025_07_45_02_681487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/53f68bf8e69542052f0652cccb6110d0.jpg","text":"TemporaryFile(/tmp/multipartBody6609022200787327486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405197078,"filename":"image_09012025_07_44_03_100329_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8c94e465e8db22e61354ae506df8d1a8.jpg","text":"TemporaryFile(/tmp/multipartBody1564848139385493139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405197078,"filename":"image_09012025_07_44_03_100329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3f1815136ad41add1a27629b21ff1df9.jpg","text":"TemporaryFile(/tmp/multipartBody1621817818080066492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405197078,"filename":"image_09012025_07_44_03_100329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/39c4775c37e4c272f58b5de1c9b757bd.jpg","text":"TemporaryFile(/tmp/multipartBody343211953271478467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405197078,"filename":"image_09012025_07_44_03_100329_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f4d602d8dc90fef8248603cb1fd71318.jpg","text":"TemporaryFile(/tmp/multipartBody6325527170039993988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405197078,"filename":"image_09012025_07_43_02_582613_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327614554","file1":"1327614551","file0":"1327614547","file4":"1327614565","file5":"1327614578","file3":"1327614563"},"map_files_photo_id_array":[{"photo_id":"1327614578","filename":"file5"},{"photo_id":"1327614554","filename":"file2"},{"photo_id":"1327614565","filename":"file4"},{"photo_id":"1327614551","filename":"file1"},{"photo_id":"1327614547","filename":"file0"},{"photo_id":"1327614563","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327614578":["hashtag1","hashtag2"]},{"1327614563":["hashtag1","hashtag2"]},{"1327614551":["hashtag1","hashtag2"]},{"1327614554":["hashtag1","hashtag2"]},{"1327614565":["hashtag1","hashtag2"]},{"1327614547":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327614578, 1327614563, 1327614551, 1327614554, 1327614565, 1327614547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.9183406829834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:47:02.604831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/45/image_09012025_07_45_02_681487_0001.jpg', '/home/pi/Desktop/images/09012025/07/45/image_09012025_07_45_02_681487_0002.jpg', '/home/pi/Desktop/images/09012025/07/45/image_09012025_07_45_02_681487_0003.jpg', '/home/pi/Desktop/images/09012025/07/46/image_09012025_07_46_02_192871_0000.jpg', '/home/pi/Desktop/images/09012025/07/46/image_09012025_07_46_02_192871_0001.jpg', '/home/pi/Desktop/images/09012025/07/46/image_09012025_07_46_02_192871_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/45/image_09012025_07_45_02_681487_0001.jpg
/home/pi/Desktop/images/09012025/07/45/image_09012025_07_45_02_681487_0002.jpg
/home/pi/Desktop/images/09012025/07/45/image_09012025_07_45_02_681487_0003.jpg
/home/pi/Desktop/images/09012025/07/46/image_09012025_07_46_02_192871_0000.jpg
/home/pi/Desktop/images/09012025/07/46/image_09012025_07_46_02_192871_0001.jpg
/home/pi/Desktop/images/09012025/07/46/image_09012025_07_46_02_192871_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327614912","1327614900","1327614917","1327614908","1327614902","1327614904"],"photo_ids_order":["1327614900","1327614902","1327614904","1327614908","1327614912","1327614917"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fbfb351e81c9bff513dde643d8eb304a.jpg","text":"TemporaryFile(/tmp/multipartBody1444263653395562553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405298025,"filename":"image_09012025_07_46_02_192871_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3859e659980ac35f25a6769d8e67fe4d.jpg","text":"TemporaryFile(/tmp/multipartBody4028291441792077605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405298025,"filename":"image_09012025_07_45_02_681487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bd94fc05a35c0f882ecc9d33f1b073d8.jpg","text":"TemporaryFile(/tmp/multipartBody2196790975785718212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405298025,"filename":"image_09012025_07_46_02_192871_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5c0f6ef9fccf2408341f04ffa6b66a14.jpg","text":"TemporaryFile(/tmp/multipartBody1392331473049731754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405298025,"filename":"image_09012025_07_46_02_192871_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4b358843d96b12f2423605c229d821dc.jpg","text":"TemporaryFile(/tmp/multipartBody395284880593973012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405298025,"filename":"image_09012025_07_45_02_681487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b4ac840522688a8037cfb67df3a0609d.jpg","text":"TemporaryFile(/tmp/multipartBody4704490409665212051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405298025,"filename":"image_09012025_07_45_02_681487_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327614904","file1":"1327614902","file0":"1327614900","file4":"1327614912","file5":"1327614917","file3":"1327614908"},"map_files_photo_id_array":[{"photo_id":"1327614917","filename":"file5"},{"photo_id":"1327614904","filename":"file2"},{"photo_id":"1327614912","filename":"file4"},{"photo_id":"1327614902","filename":"file1"},{"photo_id":"1327614900","filename":"file0"},{"photo_id":"1327614908","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327614912":["hashtag1","hashtag2"]},{"1327614900":["hashtag1","hashtag2"]},{"1327614917":["hashtag1","hashtag2"]},{"1327614908":["hashtag1","hashtag2"]},{"1327614902":["hashtag1","hashtag2"]},{"1327614904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327614912, 1327614900, 1327614917, 1327614908, 1327614902, 1327614904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.94800400733948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:48:02.177208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/46/image_09012025_07_46_02_192871_0003.jpg', '/home/pi/Desktop/images/09012025/07/47/image_09012025_07_47_02_875224_0000.jpg', '/home/pi/Desktop/images/09012025/07/47/image_09012025_07_47_02_875224_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/46/image_09012025_07_46_02_192871_0003.jpg
/home/pi/Desktop/images/09012025/07/47/image_09012025_07_47_02_875224_0000.jpg
/home/pi/Desktop/images/09012025/07/47/image_09012025_07_47_02_875224_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327614940","1327614975","1327614957"],"photo_ids_order":["1327614940","1327614957","1327614975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7208c4343ebdd11dde03961360dda0d7.jpg","text":"TemporaryFile(/tmp/multipartBody3977923149935268143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405350111,"filename":"image_09012025_07_46_02_192871_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b5811d99b05137cdae66c9b968097296.jpg","text":"TemporaryFile(/tmp/multipartBody8915317678976311575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405350111,"filename":"image_09012025_07_47_02_875224_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/70e14e0062bb2a7d87167fe70fa8484f.jpg","text":"TemporaryFile(/tmp/multipartBody2535725777230090082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405350111,"filename":"image_09012025_07_47_02_875224_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327614975","file1":"1327614957","file0":"1327614940"},"map_files_photo_id_array":[{"photo_id":"1327614975","filename":"file2"},{"photo_id":"1327614957","filename":"file1"},{"photo_id":"1327614940","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327614940":["hashtag1","hashtag2"]},{"1327614975":["hashtag1","hashtag2"]},{"1327614957":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327614940, 1327614975, 1327614957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.72540760040283 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:49:02.954446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/47/image_09012025_07_47_02_875224_0003.jpg', '/home/pi/Desktop/images/09012025/07/48/image_09012025_07_48_02_370939_0001.jpg', '/home/pi/Desktop/images/09012025/07/48/image_09012025_07_48_02_370939_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/47/image_09012025_07_47_02_875224_0003.jpg
/home/pi/Desktop/images/09012025/07/48/image_09012025_07_48_02_370939_0001.jpg
/home/pi/Desktop/images/09012025/07/48/image_09012025_07_48_02_370939_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615079","1327615082","1327615081"],"photo_ids_order":["1327615079","1327615081","1327615082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6904bd0bbfa872357a721b58d2d00bee.jpg","text":"TemporaryFile(/tmp/multipartBody7569699825544626519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405410957,"filename":"image_09012025_07_47_02_875224_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d18e2b119299d183e3e03dfffbcc8b4b.jpg","text":"TemporaryFile(/tmp/multipartBody7050142408296552435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405410957,"filename":"image_09012025_07_48_02_370939_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d951500a8e1110d702728519b3fe434e.jpg","text":"TemporaryFile(/tmp/multipartBody5221485167498374517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405410957,"filename":"image_09012025_07_48_02_370939_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615082","file1":"1327615081","file0":"1327615079"},"map_files_photo_id_array":[{"photo_id":"1327615082","filename":"file2"},{"photo_id":"1327615081","filename":"file1"},{"photo_id":"1327615079","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615079":["hashtag1","hashtag2"]},{"1327615082":["hashtag1","hashtag2"]},{"1327615081":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615079, 1327615082, 1327615081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.649569749832153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:50:02.408766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/48/image_09012025_07_48_02_370939_0003.jpg', '/home/pi/Desktop/images/09012025/07/49/image_09012025_07_49_02_143257_0000.jpg', '/home/pi/Desktop/images/09012025/07/49/image_09012025_07_49_02_143257_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/48/image_09012025_07_48_02_370939_0003.jpg
/home/pi/Desktop/images/09012025/07/49/image_09012025_07_49_02_143257_0000.jpg
/home/pi/Desktop/images/09012025/07/49/image_09012025_07_49_02_143257_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615184","1327615174","1327615173"],"photo_ids_order":["1327615173","1327615174","1327615184"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8619a62a9fbf331c4d7937902a9a3a48.jpg","text":"TemporaryFile(/tmp/multipartBody125824968189271521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405470324,"filename":"image_09012025_07_49_02_143257_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/282b357e359a18d2e9ecd99b32b8419b.jpg","text":"TemporaryFile(/tmp/multipartBody8525878374717900655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405470324,"filename":"image_09012025_07_49_02_143257_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ac36dabc863dabff574a29b44dce4898.jpg","text":"TemporaryFile(/tmp/multipartBody2849026093957665541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405470324,"filename":"image_09012025_07_48_02_370939_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615184","file1":"1327615174","file0":"1327615173"},"map_files_photo_id_array":[{"photo_id":"1327615184","filename":"file2"},{"photo_id":"1327615174","filename":"file1"},{"photo_id":"1327615173","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615184":["hashtag1","hashtag2"]},{"1327615174":["hashtag1","hashtag2"]},{"1327615173":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615184, 1327615174, 1327615173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.382704973220825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:51:03.046853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/49/image_09012025_07_49_02_143257_0002.jpg', '/home/pi/Desktop/images/09012025/07/50/image_09012025_07_50_02_620718_0000.jpg', '/home/pi/Desktop/images/09012025/07/50/image_09012025_07_50_02_620718_0001.jpg', '/home/pi/Desktop/images/09012025/07/50/image_09012025_07_50_02_620718_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/49/image_09012025_07_49_02_143257_0002.jpg
/home/pi/Desktop/images/09012025/07/50/image_09012025_07_50_02_620718_0000.jpg
/home/pi/Desktop/images/09012025/07/50/image_09012025_07_50_02_620718_0001.jpg
/home/pi/Desktop/images/09012025/07/50/image_09012025_07_50_02_620718_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.002669095993042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:51:22.357769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/49/image_09012025_07_49_02_143257_0002.jpg', '/home/pi/Desktop/images/09012025/07/50/image_09012025_07_50_02_620718_0000.jpg', '/home/pi/Desktop/images/09012025/07/50/image_09012025_07_50_02_620718_0001.jpg', '/home/pi/Desktop/images/09012025/07/50/image_09012025_07_50_02_620718_0002.jpg', '/home/pi/Desktop/images/09012025/07/50/image_09012025_07_50_02_620718_0003.jpg', '/home/pi/Desktop/images/09012025/07/51/image_09012025_07_51_02_273150_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/49/image_09012025_07_49_02_143257_0002.jpg
/home/pi/Desktop/images/09012025/07/50/image_09012025_07_50_02_620718_0000.jpg
/home/pi/Desktop/images/09012025/07/50/image_09012025_07_50_02_620718_0001.jpg
/home/pi/Desktop/images/09012025/07/50/image_09012025_07_50_02_620718_0002.jpg
/home/pi/Desktop/images/09012025/07/50/image_09012025_07_50_02_620718_0003.jpg
/home/pi/Desktop/images/09012025/07/51/image_09012025_07_51_02_273150_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615233","1327615229","1327615231","1327615225","1327615236","1327615221"],"photo_ids_order":["1327615221","1327615225","1327615229","1327615231","1327615233","1327615236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/95f16037b13b89f33d711cd5100edf07.jpg","text":"TemporaryFile(/tmp/multipartBody1630534341933964842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405557328,"filename":"image_09012025_07_50_02_620718_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ed0d1574d942450be115d74c9e42836e.jpg","text":"TemporaryFile(/tmp/multipartBody7430551704533039527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405557328,"filename":"image_09012025_07_50_02_620718_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2e9f19db8cee20d51f88cde0c3721d01.jpg","text":"TemporaryFile(/tmp/multipartBody1367376180421914703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405557328,"filename":"image_09012025_07_50_02_620718_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3c43831e345d134a51665876d62924d8.jpg","text":"TemporaryFile(/tmp/multipartBody7919850828196877213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405557328,"filename":"image_09012025_07_50_02_620718_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9cc68459bfb0066b6ed0afeab44df684.jpg","text":"TemporaryFile(/tmp/multipartBody5160094902841725064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405557328,"filename":"image_09012025_07_51_02_273150_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/29c181fcb7492fc41c9e7bdca5a61d4d.jpg","text":"TemporaryFile(/tmp/multipartBody4465162802436289329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405557328,"filename":"image_09012025_07_49_02_143257_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615229","file1":"1327615225","file0":"1327615221","file4":"1327615233","file5":"1327615236","file3":"1327615231"},"map_files_photo_id_array":[{"photo_id":"1327615236","filename":"file5"},{"photo_id":"1327615229","filename":"file2"},{"photo_id":"1327615233","filename":"file4"},{"photo_id":"1327615225","filename":"file1"},{"photo_id":"1327615221","filename":"file0"},{"photo_id":"1327615231","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615233":["hashtag1","hashtag2"]},{"1327615229":["hashtag1","hashtag2"]},{"1327615231":["hashtag1","hashtag2"]},{"1327615225":["hashtag1","hashtag2"]},{"1327615236":["hashtag1","hashtag2"]},{"1327615221":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615233, 1327615229, 1327615231, 1327615225, 1327615236, 1327615221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.857675313949585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:52:22.491381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/51/image_09012025_07_51_02_273150_0001.jpg', '/home/pi/Desktop/images/09012025/07/51/image_09012025_07_51_02_273150_0002.jpg', '/home/pi/Desktop/images/09012025/07/51/image_09012025_07_51_02_273150_0003.jpg', '/home/pi/Desktop/images/09012025/07/52/image_09012025_07_52_02_751479_0000.jpg', '/home/pi/Desktop/images/09012025/07/52/image_09012025_07_52_02_751479_0001.jpg', '/home/pi/Desktop/images/09012025/07/52/image_09012025_07_52_02_751479_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/51/image_09012025_07_51_02_273150_0001.jpg
/home/pi/Desktop/images/09012025/07/51/image_09012025_07_51_02_273150_0002.jpg
/home/pi/Desktop/images/09012025/07/51/image_09012025_07_51_02_273150_0003.jpg
/home/pi/Desktop/images/09012025/07/52/image_09012025_07_52_02_751479_0000.jpg
/home/pi/Desktop/images/09012025/07/52/image_09012025_07_52_02_751479_0001.jpg
/home/pi/Desktop/images/09012025/07/52/image_09012025_07_52_02_751479_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615289","1327615268","1327615307","1327615293","1327615296","1327615281"],"photo_ids_order":["1327615268","1327615281","1327615289","1327615293","1327615296","1327615307"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d8b2e64f5cc607dfbb2e0a0e3ab9efb4.jpg","text":"TemporaryFile(/tmp/multipartBody1206457574485541394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405617425,"filename":"image_09012025_07_51_02_273150_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6e79efd1b501a1784bfec393a6d2e6c4.jpg","text":"TemporaryFile(/tmp/multipartBody4489167104031464239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405617425,"filename":"image_09012025_07_51_02_273150_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/be7bf2ae0c8291106eb9d545ca5f27d9.jpg","text":"TemporaryFile(/tmp/multipartBody4028090207923165395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405617425,"filename":"image_09012025_07_52_02_751479_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/af26919e99a7eba8347929058068081e.jpg","text":"TemporaryFile(/tmp/multipartBody1284303629676368868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405617425,"filename":"image_09012025_07_52_02_751479_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2508fd78df3958f07b65f86fb1ab6d3b.jpg","text":"TemporaryFile(/tmp/multipartBody6843495353459650911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405617425,"filename":"image_09012025_07_52_02_751479_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9f080fa76f7a8a54fde3e0d33e40af08.jpg","text":"TemporaryFile(/tmp/multipartBody3370545443194516987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405617425,"filename":"image_09012025_07_51_02_273150_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615289","file1":"1327615281","file0":"1327615268","file4":"1327615296","file5":"1327615307","file3":"1327615293"},"map_files_photo_id_array":[{"photo_id":"1327615307","filename":"file5"},{"photo_id":"1327615289","filename":"file2"},{"photo_id":"1327615296","filename":"file4"},{"photo_id":"1327615281","filename":"file1"},{"photo_id":"1327615268","filename":"file0"},{"photo_id":"1327615293","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615289":["hashtag1","hashtag2"]},{"1327615268":["hashtag1","hashtag2"]},{"1327615307":["hashtag1","hashtag2"]},{"1327615293":["hashtag1","hashtag2"]},{"1327615296":["hashtag1","hashtag2"]},{"1327615281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615289, 1327615268, 1327615307, 1327615293, 1327615296, 1327615281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.232391119003296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:53:21.954572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/52/image_09012025_07_52_02_751479_0003.jpg', '/home/pi/Desktop/images/09012025/07/53/image_09012025_07_53_02_799192_0000.jpg', '/home/pi/Desktop/images/09012025/07/53/image_09012025_07_53_02_799192_0001.jpg', '/home/pi/Desktop/images/09012025/07/53/image_09012025_07_53_02_799192_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/52/image_09012025_07_52_02_751479_0003.jpg
/home/pi/Desktop/images/09012025/07/53/image_09012025_07_53_02_799192_0000.jpg
/home/pi/Desktop/images/09012025/07/53/image_09012025_07_53_02_799192_0001.jpg
/home/pi/Desktop/images/09012025/07/53/image_09012025_07_53_02_799192_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615313","1327615316","1327615320","1327615323"],"photo_ids_order":["1327615313","1327615316","1327615320","1327615323"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/60eb886c30852ee838bae80275bbfc4c.jpg","text":"TemporaryFile(/tmp/multipartBody8652531743927096204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405672106,"filename":"image_09012025_07_52_02_751479_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/415b986782fd215db6ce8301c0e78079.jpg","text":"TemporaryFile(/tmp/multipartBody1603057714893018014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405672106,"filename":"image_09012025_07_53_02_799192_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/662c5fd704ee6a62959ddb3368b89873.jpg","text":"TemporaryFile(/tmp/multipartBody6423542351453760680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405672106,"filename":"image_09012025_07_53_02_799192_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/525a9aa0b197ae0b3223fb9278d8940f.jpg","text":"TemporaryFile(/tmp/multipartBody2916395980013570580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405672106,"filename":"image_09012025_07_53_02_799192_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615320","file1":"1327615316","file0":"1327615313","file3":"1327615323"},"map_files_photo_id_array":[{"photo_id":"1327615320","filename":"file2"},{"photo_id":"1327615316","filename":"file1"},{"photo_id":"1327615313","filename":"file0"},{"photo_id":"1327615323","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615313":["hashtag1","hashtag2"]},{"1327615316":["hashtag1","hashtag2"]},{"1327615320":["hashtag1","hashtag2"]},{"1327615323":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615313, 1327615316, 1327615320, 1327615323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.188610792160034 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:54:22.603692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/53/image_09012025_07_53_02_799192_0003.jpg', '/home/pi/Desktop/images/09012025/07/54/image_09012025_07_54_02_481973_0000.jpg', '/home/pi/Desktop/images/09012025/07/54/image_09012025_07_54_02_481973_0001.jpg', '/home/pi/Desktop/images/09012025/07/54/image_09012025_07_54_02_481973_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/53/image_09012025_07_53_02_799192_0003.jpg
/home/pi/Desktop/images/09012025/07/54/image_09012025_07_54_02_481973_0000.jpg
/home/pi/Desktop/images/09012025/07/54/image_09012025_07_54_02_481973_0001.jpg
/home/pi/Desktop/images/09012025/07/54/image_09012025_07_54_02_481973_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615421","1327615403","1327615411","1327615446"],"photo_ids_order":["1327615403","1327615411","1327615421","1327615446"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7c999c7534e71f353472e856524eae7f.jpg","text":"TemporaryFile(/tmp/multipartBody4432532653161580822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405732806,"filename":"image_09012025_07_54_02_481973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3e98abae7d04c3f6d298b8efb79b9565.jpg","text":"TemporaryFile(/tmp/multipartBody3930676302966861377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405732806,"filename":"image_09012025_07_53_02_799192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b08e17337e16754a4eb02b1a613b4047.jpg","text":"TemporaryFile(/tmp/multipartBody2853231214293795435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405732806,"filename":"image_09012025_07_54_02_481973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9189663519a04c56b3c1410bd8f6cfd5.jpg","text":"TemporaryFile(/tmp/multipartBody1040023675078055565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405732806,"filename":"image_09012025_07_54_02_481973_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615421","file1":"1327615411","file0":"1327615403","file3":"1327615446"},"map_files_photo_id_array":[{"photo_id":"1327615421","filename":"file2"},{"photo_id":"1327615411","filename":"file1"},{"photo_id":"1327615403","filename":"file0"},{"photo_id":"1327615446","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615421":["hashtag1","hashtag2"]},{"1327615403":["hashtag1","hashtag2"]},{"1327615411":["hashtag1","hashtag2"]},{"1327615446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615421, 1327615403, 1327615411, 1327615446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.1335129737854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:55:22.084055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/54/image_09012025_07_54_02_481973_0003.jpg', '/home/pi/Desktop/images/09012025/07/55/image_09012025_07_55_02_950948_0000.jpg', '/home/pi/Desktop/images/09012025/07/55/image_09012025_07_55_02_950948_0001.jpg', '/home/pi/Desktop/images/09012025/07/55/image_09012025_07_55_02_950948_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/54/image_09012025_07_54_02_481973_0003.jpg
/home/pi/Desktop/images/09012025/07/55/image_09012025_07_55_02_950948_0000.jpg
/home/pi/Desktop/images/09012025/07/55/image_09012025_07_55_02_950948_0001.jpg
/home/pi/Desktop/images/09012025/07/55/image_09012025_07_55_02_950948_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615463","1327615466","1327615453","1327615458"],"photo_ids_order":["1327615453","1327615458","1327615463","1327615466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bb53eee4cd19e313765150d229f7511c.jpg","text":"TemporaryFile(/tmp/multipartBody5191931677139060931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405792250,"filename":"image_09012025_07_55_02_950948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9ac4dae71697f8ebce6fa0968fb93b44.jpg","text":"TemporaryFile(/tmp/multipartBody4392810000161154964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405792250,"filename":"image_09012025_07_55_02_950948_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8b8c902a7a237c27d45feec0fe90b9c4.jpg","text":"TemporaryFile(/tmp/multipartBody183656626834960365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405792250,"filename":"image_09012025_07_54_02_481973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cdded8882213a3619519b9f00e450015.jpg","text":"TemporaryFile(/tmp/multipartBody854192121992679451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405792250,"filename":"image_09012025_07_55_02_950948_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615463","file1":"1327615458","file0":"1327615453","file3":"1327615466"},"map_files_photo_id_array":[{"photo_id":"1327615463","filename":"file2"},{"photo_id":"1327615458","filename":"file1"},{"photo_id":"1327615453","filename":"file0"},{"photo_id":"1327615466","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615463":["hashtag1","hashtag2"]},{"1327615466":["hashtag1","hashtag2"]},{"1327615453":["hashtag1","hashtag2"]},{"1327615458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615463, 1327615466, 1327615453, 1327615458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.04854989051819 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:56:03.126256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:56:22.603075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/55/image_09012025_07_55_02_950948_0003.jpg', '/home/pi/Desktop/images/09012025/07/56/image_09012025_07_56_02_495313_0000.jpg', '/home/pi/Desktop/images/09012025/07/56/image_09012025_07_56_02_495313_0001.jpg', '/home/pi/Desktop/images/09012025/07/56/image_09012025_07_56_02_495313_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/55/image_09012025_07_55_02_950948_0003.jpg
/home/pi/Desktop/images/09012025/07/56/image_09012025_07_56_02_495313_0000.jpg
/home/pi/Desktop/images/09012025/07/56/image_09012025_07_56_02_495313_0001.jpg
/home/pi/Desktop/images/09012025/07/56/image_09012025_07_56_02_495313_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.902227401733398 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:57:02.800200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/55/image_09012025_07_55_02_950948_0003.jpg', '/home/pi/Desktop/images/09012025/07/56/image_09012025_07_56_02_495313_0000.jpg', '/home/pi/Desktop/images/09012025/07/56/image_09012025_07_56_02_495313_0001.jpg', '/home/pi/Desktop/images/09012025/07/56/image_09012025_07_56_02_495313_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/55/image_09012025_07_55_02_950948_0003.jpg
/home/pi/Desktop/images/09012025/07/56/image_09012025_07_56_02_495313_0000.jpg
/home/pi/Desktop/images/09012025/07/56/image_09012025_07_56_02_495313_0001.jpg
/home/pi/Desktop/images/09012025/07/56/image_09012025_07_56_02_495313_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615512","1327615519","1327615513","1327615515"],"photo_ids_order":["1327615512","1327615513","1327615515","1327615519"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6d23ff67564aad46c432b19597f66cd6.jpg","text":"TemporaryFile(/tmp/multipartBody9194596851494392979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405893194,"filename":"image_09012025_07_55_02_950948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d5b8f9ee7b27d261e38049863fab73a9.jpg","text":"TemporaryFile(/tmp/multipartBody6818771962474016996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405893194,"filename":"image_09012025_07_56_02_495313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/17a3baf0aad52dcff4477c00e17d08a8.jpg","text":"TemporaryFile(/tmp/multipartBody5907049403989155117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405893194,"filename":"image_09012025_07_56_02_495313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/37c3bbce1e8dc02cf22f144990dbbfb7.jpg","text":"TemporaryFile(/tmp/multipartBody6226057086780260024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736405893194,"filename":"image_09012025_07_56_02_495313_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615515","file1":"1327615513","file0":"1327615512","file3":"1327615519"},"map_files_photo_id_array":[{"photo_id":"1327615515","filename":"file2"},{"photo_id":"1327615513","filename":"file1"},{"photo_id":"1327615512","filename":"file0"},{"photo_id":"1327615519","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615512":["hashtag1","hashtag2"]},{"1327615519":["hashtag1","hashtag2"]},{"1327615513":["hashtag1","hashtag2"]},{"1327615515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615512, 1327615519, 1327615513, 1327615515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.57690763473511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 07:59:02.725000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 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 626, 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 refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 07:59:22.075639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/56/image_09012025_07_56_02_495313_0003.jpg', '/home/pi/Desktop/images/09012025/07/57/image_09012025_07_57_03_041459_0000.jpg', '/home/pi/Desktop/images/09012025/07/57/image_09012025_07_57_03_041459_0001.jpg', '/home/pi/Desktop/images/09012025/07/57/image_09012025_07_57_03_041459_0002.jpg', '/home/pi/Desktop/images/09012025/07/57/image_09012025_07_57_03_041459_0003.jpg', '/home/pi/Desktop/images/09012025/07/58/image_09012025_07_58_02_529773_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/56/image_09012025_07_56_02_495313_0003.jpg
/home/pi/Desktop/images/09012025/07/57/image_09012025_07_57_03_041459_0000.jpg
/home/pi/Desktop/images/09012025/07/57/image_09012025_07_57_03_041459_0001.jpg
/home/pi/Desktop/images/09012025/07/57/image_09012025_07_57_03_041459_0002.jpg
/home/pi/Desktop/images/09012025/07/57/image_09012025_07_57_03_041459_0003.jpg
/home/pi/Desktop/images/09012025/07/58/image_09012025_07_58_02_529773_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615595","1327615589","1327615574","1327615579","1327615603","1327615584"],"photo_ids_order":["1327615574","1327615579","1327615584","1327615589","1327615595","1327615603"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a2f4a107b1e59331642cf084493dcff1.jpg","text":"TemporaryFile(/tmp/multipartBody8485021724625337000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406037102,"filename":"image_09012025_07_57_03_041459_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/af739b26fb250f5c9f20af173c7680ac.jpg","text":"TemporaryFile(/tmp/multipartBody445564864243225833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406037102,"filename":"image_09012025_07_57_03_041459_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d7ccf675ae2d2e5dba7eacfad40bcb88.jpg","text":"TemporaryFile(/tmp/multipartBody1921959996556609557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406037102,"filename":"image_09012025_07_56_02_495313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f501958297271bad80c61287bb424ab3.jpg","text":"TemporaryFile(/tmp/multipartBody3419620871857078548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406037102,"filename":"image_09012025_07_57_03_041459_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3efbe4f7869050b3b956d2fbd0dc7dac.jpg","text":"TemporaryFile(/tmp/multipartBody5794004316558398760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406037102,"filename":"image_09012025_07_58_02_529773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fd2741ae20379c0b0e15d28ee96217c2.jpg","text":"TemporaryFile(/tmp/multipartBody167966248053785758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406037102,"filename":"image_09012025_07_57_03_041459_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615584","file1":"1327615579","file0":"1327615574","file4":"1327615595","file5":"1327615603","file3":"1327615589"},"map_files_photo_id_array":[{"photo_id":"1327615603","filename":"file5"},{"photo_id":"1327615584","filename":"file2"},{"photo_id":"1327615595","filename":"file4"},{"photo_id":"1327615579","filename":"file1"},{"photo_id":"1327615574","filename":"file0"},{"photo_id":"1327615589","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615595":["hashtag1","hashtag2"]},{"1327615589":["hashtag1","hashtag2"]},{"1327615574":["hashtag1","hashtag2"]},{"1327615579":["hashtag1","hashtag2"]},{"1327615603":["hashtag1","hashtag2"]},{"1327615584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615595, 1327615589, 1327615574, 1327615579, 1327615603, 1327615584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.488985776901245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:00:22.629859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/07/58/image_09012025_07_58_02_529773_0002.jpg', '/home/pi/Desktop/images/09012025/07/58/image_09012025_07_58_02_529773_0003.jpg', '/home/pi/Desktop/images/09012025/07/59/image_09012025_07_59_02_245796_0000.jpg', '/home/pi/Desktop/images/09012025/07/59/image_09012025_07_59_02_245796_0001.jpg', '/home/pi/Desktop/images/09012025/07/59/image_09012025_07_59_02_245796_0002.jpg', '/home/pi/Desktop/images/09012025/07/59/image_09012025_07_59_02_245796_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/07/58/image_09012025_07_58_02_529773_0002.jpg
/home/pi/Desktop/images/09012025/07/58/image_09012025_07_58_02_529773_0003.jpg
/home/pi/Desktop/images/09012025/07/59/image_09012025_07_59_02_245796_0000.jpg
/home/pi/Desktop/images/09012025/07/59/image_09012025_07_59_02_245796_0001.jpg
/home/pi/Desktop/images/09012025/07/59/image_09012025_07_59_02_245796_0002.jpg
/home/pi/Desktop/images/09012025/07/59/image_09012025_07_59_02_245796_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615676","1327615661","1327615655","1327615670","1327615666","1327615648"],"photo_ids_order":["1327615648","1327615655","1327615661","1327615666","1327615670","1327615676"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f07eea1ee360e702f2e24e663c5b6031.jpg","text":"TemporaryFile(/tmp/multipartBody2863967651597616677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406097829,"filename":"image_09012025_07_59_02_245796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/63dd1980befe40a9bca95144a6597f83.jpg","text":"TemporaryFile(/tmp/multipartBody1758799032619049848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406097829,"filename":"image_09012025_07_59_02_245796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/67436e25a51f7a675f8f7a59910ac197.jpg","text":"TemporaryFile(/tmp/multipartBody677232355464652316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406097829,"filename":"image_09012025_07_58_02_529773_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/97e9275fc636a7afb7378e24b149a93c.jpg","text":"TemporaryFile(/tmp/multipartBody817230410739440369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406097829,"filename":"image_09012025_07_59_02_245796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/973f95c329947afb1958afd6c2c5bdfd.jpg","text":"TemporaryFile(/tmp/multipartBody3123050146490971866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406097829,"filename":"image_09012025_07_59_02_245796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/28154631d58b44d44935ad09922edac3.jpg","text":"TemporaryFile(/tmp/multipartBody2660199850518870475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406097829,"filename":"image_09012025_07_58_02_529773_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615661","file1":"1327615655","file0":"1327615648","file4":"1327615670","file5":"1327615676","file3":"1327615666"},"map_files_photo_id_array":[{"photo_id":"1327615676","filename":"file5"},{"photo_id":"1327615661","filename":"file2"},{"photo_id":"1327615670","filename":"file4"},{"photo_id":"1327615655","filename":"file1"},{"photo_id":"1327615648","filename":"file0"},{"photo_id":"1327615666","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615676":["hashtag1","hashtag2"]},{"1327615661":["hashtag1","hashtag2"]},{"1327615655":["hashtag1","hashtag2"]},{"1327615670":["hashtag1","hashtag2"]},{"1327615666":["hashtag1","hashtag2"]},{"1327615648":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615676, 1327615661, 1327615655, 1327615670, 1327615666, 1327615648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.19813394546509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:01:22.095323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/00/image_09012025_08_00_02_413011_0000.jpg', '/home/pi/Desktop/images/09012025/08/00/image_09012025_08_00_02_413011_0001.jpg', '/home/pi/Desktop/images/09012025/08/00/image_09012025_08_00_02_413011_0002.jpg', '/home/pi/Desktop/images/09012025/08/00/image_09012025_08_00_02_413011_0003.jpg', '/home/pi/Desktop/images/09012025/08/01/image_09012025_08_01_02_954671_0000.jpg', '/home/pi/Desktop/images/09012025/08/01/image_09012025_08_01_02_954671_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/00/image_09012025_08_00_02_413011_0000.jpg
/home/pi/Desktop/images/09012025/08/00/image_09012025_08_00_02_413011_0001.jpg
/home/pi/Desktop/images/09012025/08/00/image_09012025_08_00_02_413011_0002.jpg
/home/pi/Desktop/images/09012025/08/00/image_09012025_08_00_02_413011_0003.jpg
/home/pi/Desktop/images/09012025/08/01/image_09012025_08_01_02_954671_0000.jpg
/home/pi/Desktop/images/09012025/08/01/image_09012025_08_01_02_954671_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615704","1327615709","1327615699","1327615693","1327615711","1327615707"],"photo_ids_order":["1327615693","1327615699","1327615704","1327615707","1327615709","1327615711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/49eb8d99bc0fee6261e36b6655a94829.jpg","text":"TemporaryFile(/tmp/multipartBody54427298540694998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406157181,"filename":"image_09012025_08_00_02_413011_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6de9049438a89fb51cc14497c44074e5.jpg","text":"TemporaryFile(/tmp/multipartBody978498876150332546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406157181,"filename":"image_09012025_08_01_02_954671_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c2834fa52dad4bf686a8b5b7295dc5e7.jpg","text":"TemporaryFile(/tmp/multipartBody6977578517364392583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406157181,"filename":"image_09012025_08_00_02_413011_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/88782c94ca1c7e493748b7e21989814c.jpg","text":"TemporaryFile(/tmp/multipartBody2319520781285125869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406157181,"filename":"image_09012025_08_00_02_413011_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b58117f99eba32b3189a3d0289feb947.jpg","text":"TemporaryFile(/tmp/multipartBody2363080574438650389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406157181,"filename":"image_09012025_08_01_02_954671_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d84729da1e1b9b3dcab94ed28e065099.jpg","text":"TemporaryFile(/tmp/multipartBody4035252511246409437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406157181,"filename":"image_09012025_08_00_02_413011_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615704","file1":"1327615699","file0":"1327615693","file4":"1327615709","file5":"1327615711","file3":"1327615707"},"map_files_photo_id_array":[{"photo_id":"1327615711","filename":"file5"},{"photo_id":"1327615704","filename":"file2"},{"photo_id":"1327615709","filename":"file4"},{"photo_id":"1327615699","filename":"file1"},{"photo_id":"1327615693","filename":"file0"},{"photo_id":"1327615707","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615704":["hashtag1","hashtag2"]},{"1327615709":["hashtag1","hashtag2"]},{"1327615699":["hashtag1","hashtag2"]},{"1327615693":["hashtag1","hashtag2"]},{"1327615711":["hashtag1","hashtag2"]},{"1327615707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615704, 1327615709, 1327615699, 1327615693, 1327615711, 1327615707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.26711940765381 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:02:22.686850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/01/image_09012025_08_01_02_954671_0002.jpg', '/home/pi/Desktop/images/09012025/08/01/image_09012025_08_01_02_954671_0003.jpg', '/home/pi/Desktop/images/09012025/08/02/image_09012025_08_02_02_473954_0000.jpg', '/home/pi/Desktop/images/09012025/08/02/image_09012025_08_02_02_473954_0001.jpg', '/home/pi/Desktop/images/09012025/08/02/image_09012025_08_02_02_473954_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/01/image_09012025_08_01_02_954671_0002.jpg
/home/pi/Desktop/images/09012025/08/01/image_09012025_08_01_02_954671_0003.jpg
/home/pi/Desktop/images/09012025/08/02/image_09012025_08_02_02_473954_0000.jpg
/home/pi/Desktop/images/09012025/08/02/image_09012025_08_02_02_473954_0001.jpg
/home/pi/Desktop/images/09012025/08/02/image_09012025_08_02_02_473954_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 12.258875608444214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:03:02.699981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/01/image_09012025_08_01_02_954671_0002.jpg', '/home/pi/Desktop/images/09012025/08/01/image_09012025_08_01_02_954671_0003.jpg', '/home/pi/Desktop/images/09012025/08/02/image_09012025_08_02_02_473954_0000.jpg', '/home/pi/Desktop/images/09012025/08/02/image_09012025_08_02_02_473954_0001.jpg', '/home/pi/Desktop/images/09012025/08/02/image_09012025_08_02_02_473954_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/01/image_09012025_08_01_02_954671_0002.jpg
/home/pi/Desktop/images/09012025/08/01/image_09012025_08_01_02_954671_0003.jpg
/home/pi/Desktop/images/09012025/08/02/image_09012025_08_02_02_473954_0000.jpg
/home/pi/Desktop/images/09012025/08/02/image_09012025_08_02_02_473954_0001.jpg
/home/pi/Desktop/images/09012025/08/02/image_09012025_08_02_02_473954_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615754","1327615748","1327615765","1327615750","1327615758"],"photo_ids_order":["1327615748","1327615750","1327615754","1327615758","1327615765"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ccc59d4d84e31428ccf88e3a5eccd51f.jpg","text":"TemporaryFile(/tmp/multipartBody8690579213615521142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406255469,"filename":"image_09012025_08_02_02_473954_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/08b083a9cd948ed028d1cd9df78bd448.jpg","text":"TemporaryFile(/tmp/multipartBody1857574437867718992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406255469,"filename":"image_09012025_08_01_02_954671_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/526067f3c5321be723f45ca4290625a4.jpg","text":"TemporaryFile(/tmp/multipartBody8492655186834010615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406255469,"filename":"image_09012025_08_02_02_473954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e6ceb0f724e8470ab5cfef55909b91b.jpg","text":"TemporaryFile(/tmp/multipartBody1341493661144837386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406255469,"filename":"image_09012025_08_01_02_954671_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/86ecbc391a5855095b726a5dd99548f0.jpg","text":"TemporaryFile(/tmp/multipartBody5775881220635164636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406255469,"filename":"image_09012025_08_02_02_473954_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615754","file1":"1327615750","file0":"1327615748","file4":"1327615765","file3":"1327615758"},"map_files_photo_id_array":[{"photo_id":"1327615754","filename":"file2"},{"photo_id":"1327615765","filename":"file4"},{"photo_id":"1327615750","filename":"file1"},{"photo_id":"1327615748","filename":"file0"},{"photo_id":"1327615758","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615754":["hashtag1","hashtag2"]},{"1327615748":["hashtag1","hashtag2"]},{"1327615765":["hashtag1","hashtag2"]},{"1327615750":["hashtag1","hashtag2"]},{"1327615758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615754, 1327615748, 1327615765, 1327615750, 1327615758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 46.15682601928711 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:04:03.164968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/02/image_09012025_08_02_02_473954_0003.jpg', '/home/pi/Desktop/images/09012025/08/03/image_09012025_08_03_02_963541_0000.jpg', '/home/pi/Desktop/images/09012025/08/03/image_09012025_08_03_02_963541_0001.jpg', '/home/pi/Desktop/images/09012025/08/03/image_09012025_08_03_02_963541_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/02/image_09012025_08_02_02_473954_0003.jpg
/home/pi/Desktop/images/09012025/08/03/image_09012025_08_03_02_963541_0000.jpg
/home/pi/Desktop/images/09012025/08/03/image_09012025_08_03_02_963541_0001.jpg
/home/pi/Desktop/images/09012025/08/03/image_09012025_08_03_02_963541_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615789","1327615786","1327615794","1327615785"],"photo_ids_order":["1327615785","1327615786","1327615789","1327615794"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4f0f73c6093b8d6d242d782c65d9e6ac.jpg","text":"TemporaryFile(/tmp/multipartBody8767669212013925389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406313424,"filename":"image_09012025_08_03_02_963541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0e2a790d1bdc694d05d90f04d5c62f5d.jpg","text":"TemporaryFile(/tmp/multipartBody4392886998660479316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406313424,"filename":"image_09012025_08_03_02_963541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/74277269a1b913eec432fbb15f628246.jpg","text":"TemporaryFile(/tmp/multipartBody1740736661695026812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406313424,"filename":"image_09012025_08_03_02_963541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/90d0aef3a040ff13fae95416697512a3.jpg","text":"TemporaryFile(/tmp/multipartBody2178407087136402590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406313424,"filename":"image_09012025_08_02_02_473954_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615789","file1":"1327615786","file0":"1327615785","file3":"1327615794"},"map_files_photo_id_array":[{"photo_id":"1327615789","filename":"file2"},{"photo_id":"1327615786","filename":"file1"},{"photo_id":"1327615785","filename":"file0"},{"photo_id":"1327615794","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615789":["hashtag1","hashtag2"]},{"1327615786":["hashtag1","hashtag2"]},{"1327615794":["hashtag1","hashtag2"]},{"1327615785":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615789, 1327615786, 1327615794, 1327615785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12062931060791 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:05:02.741006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/03/image_09012025_08_03_02_963541_0003.jpg', '/home/pi/Desktop/images/09012025/08/04/image_09012025_08_04_02_482909_0000.jpg', '/home/pi/Desktop/images/09012025/08/04/image_09012025_08_04_02_482909_0001.jpg', '/home/pi/Desktop/images/09012025/08/04/image_09012025_08_04_02_482909_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/03/image_09012025_08_03_02_963541_0003.jpg
/home/pi/Desktop/images/09012025/08/04/image_09012025_08_04_02_482909_0000.jpg
/home/pi/Desktop/images/09012025/08/04/image_09012025_08_04_02_482909_0001.jpg
/home/pi/Desktop/images/09012025/08/04/image_09012025_08_04_02_482909_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615823","1327615831","1327615825","1327615827"],"photo_ids_order":["1327615823","1327615825","1327615827","1327615831"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e683e72468be2801c762e9a8f951fc07.jpg","text":"TemporaryFile(/tmp/multipartBody6843205303952285733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406373168,"filename":"image_09012025_08_03_02_963541_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/10fc9f8ad931afaa835c6ab3af8061b5.jpg","text":"TemporaryFile(/tmp/multipartBody7641452812057063797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406373168,"filename":"image_09012025_08_04_02_482909_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7bb0343259f381aabb1c5ccc91fcefbe.jpg","text":"TemporaryFile(/tmp/multipartBody1936857780146532926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406373168,"filename":"image_09012025_08_04_02_482909_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/080071c24773fb1d3f01386f0625064f.jpg","text":"TemporaryFile(/tmp/multipartBody2963654478994701502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406373168,"filename":"image_09012025_08_04_02_482909_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615827","file1":"1327615825","file0":"1327615823","file3":"1327615831"},"map_files_photo_id_array":[{"photo_id":"1327615827","filename":"file2"},{"photo_id":"1327615825","filename":"file1"},{"photo_id":"1327615823","filename":"file0"},{"photo_id":"1327615831","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615823":["hashtag1","hashtag2"]},{"1327615831":["hashtag1","hashtag2"]},{"1327615825":["hashtag1","hashtag2"]},{"1327615827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615823, 1327615831, 1327615825, 1327615827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.786187171936035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:06:02.219015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/04/image_09012025_08_04_02_482909_0003.jpg', '/home/pi/Desktop/images/09012025/08/05/image_09012025_08_05_03_050294_0000.jpg', '/home/pi/Desktop/images/09012025/08/05/image_09012025_08_05_03_050294_0001.jpg', '/home/pi/Desktop/images/09012025/08/05/image_09012025_08_05_03_050294_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/04/image_09012025_08_04_02_482909_0003.jpg
/home/pi/Desktop/images/09012025/08/05/image_09012025_08_05_03_050294_0000.jpg
/home/pi/Desktop/images/09012025/08/05/image_09012025_08_05_03_050294_0001.jpg
/home/pi/Desktop/images/09012025/08/05/image_09012025_08_05_03_050294_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615865","1327615868","1327615861","1327615860"],"photo_ids_order":["1327615860","1327615861","1327615865","1327615868"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2794582e2ec4de81be4bd8f045e650bf.jpg","text":"TemporaryFile(/tmp/multipartBody6603548215508831478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406432524,"filename":"image_09012025_08_05_03_050294_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bb248808c40c3bd920cdf2535afa1f69.jpg","text":"TemporaryFile(/tmp/multipartBody8506520160290968355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406432524,"filename":"image_09012025_08_05_03_050294_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1befc953a83f2c5db3177f1c9fe41a1f.jpg","text":"TemporaryFile(/tmp/multipartBody2392076659636904833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406432524,"filename":"image_09012025_08_05_03_050294_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b064241c2123b885df3e12b0920cb50.jpg","text":"TemporaryFile(/tmp/multipartBody7529337451256930875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406432524,"filename":"image_09012025_08_04_02_482909_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615865","file1":"1327615861","file0":"1327615860","file3":"1327615868"},"map_files_photo_id_array":[{"photo_id":"1327615865","filename":"file2"},{"photo_id":"1327615861","filename":"file1"},{"photo_id":"1327615860","filename":"file0"},{"photo_id":"1327615868","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615865":["hashtag1","hashtag2"]},{"1327615868":["hashtag1","hashtag2"]},{"1327615861":["hashtag1","hashtag2"]},{"1327615860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615865, 1327615868, 1327615861, 1327615860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.50392198562622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:07:02.766851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/05/image_09012025_08_05_03_050294_0003.jpg', '/home/pi/Desktop/images/09012025/08/06/image_09012025_08_06_02_584070_0001.jpg', '/home/pi/Desktop/images/09012025/08/06/image_09012025_08_06_02_584070_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/05/image_09012025_08_05_03_050294_0003.jpg
/home/pi/Desktop/images/09012025/08/06/image_09012025_08_06_02_584070_0001.jpg
/home/pi/Desktop/images/09012025/08/06/image_09012025_08_06_02_584070_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615894","1327615890","1327615893"],"photo_ids_order":["1327615890","1327615893","1327615894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/385cdd191a67ecc264218266080081f7.jpg","text":"TemporaryFile(/tmp/multipartBody3088000166702372915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406490735,"filename":"image_09012025_08_06_02_584070_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cddfd6c8418a1fcd6c6fe211781cedd2.jpg","text":"TemporaryFile(/tmp/multipartBody497565934227754149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406490735,"filename":"image_09012025_08_05_03_050294_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/05c5bfd989aa42b7e0f72bc22a3f93e6.jpg","text":"TemporaryFile(/tmp/multipartBody2535027793478099823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406490735,"filename":"image_09012025_08_06_02_584070_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615894","file1":"1327615893","file0":"1327615890"},"map_files_photo_id_array":[{"photo_id":"1327615894","filename":"file2"},{"photo_id":"1327615893","filename":"file1"},{"photo_id":"1327615890","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615894":["hashtag1","hashtag2"]},{"1327615890":["hashtag1","hashtag2"]},{"1327615893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615894, 1327615890, 1327615893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.40901446342468 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:08:02.428606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/06/image_09012025_08_06_02_584070_0003.jpg', '/home/pi/Desktop/images/09012025/08/07/image_09012025_08_07_02_182206_0000.jpg', '/home/pi/Desktop/images/09012025/08/07/image_09012025_08_07_02_182206_0001.jpg', '/home/pi/Desktop/images/09012025/08/07/image_09012025_08_07_02_182206_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/06/image_09012025_08_06_02_584070_0003.jpg
/home/pi/Desktop/images/09012025/08/07/image_09012025_08_07_02_182206_0000.jpg
/home/pi/Desktop/images/09012025/08/07/image_09012025_08_07_02_182206_0001.jpg
/home/pi/Desktop/images/09012025/08/07/image_09012025_08_07_02_182206_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.08212685585022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:08:22.033852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/06/image_09012025_08_06_02_584070_0003.jpg', '/home/pi/Desktop/images/09012025/08/07/image_09012025_08_07_02_182206_0000.jpg', '/home/pi/Desktop/images/09012025/08/07/image_09012025_08_07_02_182206_0001.jpg', '/home/pi/Desktop/images/09012025/08/07/image_09012025_08_07_02_182206_0002.jpg', '/home/pi/Desktop/images/09012025/08/07/image_09012025_08_07_02_182206_0003.jpg', '/home/pi/Desktop/images/09012025/08/08/image_09012025_08_08_02_730978_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/06/image_09012025_08_06_02_584070_0003.jpg
/home/pi/Desktop/images/09012025/08/07/image_09012025_08_07_02_182206_0000.jpg
/home/pi/Desktop/images/09012025/08/07/image_09012025_08_07_02_182206_0001.jpg
/home/pi/Desktop/images/09012025/08/07/image_09012025_08_07_02_182206_0002.jpg
/home/pi/Desktop/images/09012025/08/07/image_09012025_08_07_02_182206_0003.jpg
/home/pi/Desktop/images/09012025/08/08/image_09012025_08_08_02_730978_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615976","1327615979","1327615970","1327615964","1327615973","1327615978"],"photo_ids_order":["1327615964","1327615970","1327615973","1327615976","1327615978","1327615979"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/366b63d4dcd91c1c0a36e4cdb893f306.jpg","text":"TemporaryFile(/tmp/multipartBody4995064182038701439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406577356,"filename":"image_09012025_08_07_02_182206_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f21f6b8e13d610f38e0a1ccbb44ace88.jpg","text":"TemporaryFile(/tmp/multipartBody8284241734230367539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406577356,"filename":"image_09012025_08_08_02_730978_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4b328825de38dbdf44f92302cc918de0.jpg","text":"TemporaryFile(/tmp/multipartBody3135255486664935171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406577356,"filename":"image_09012025_08_07_02_182206_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1fd715bfa34f3ec9c5514dfb2d7e941e.jpg","text":"TemporaryFile(/tmp/multipartBody1937780956938136160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406577356,"filename":"image_09012025_08_06_02_584070_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/21a58a3ebd9c3d169616123412e7d171.jpg","text":"TemporaryFile(/tmp/multipartBody1858888873087667895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406577356,"filename":"image_09012025_08_07_02_182206_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c7653733ce568f03eefa3ab46ce8821d.jpg","text":"TemporaryFile(/tmp/multipartBody1711355117586695337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406577356,"filename":"image_09012025_08_07_02_182206_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615973","file1":"1327615970","file0":"1327615964","file4":"1327615978","file5":"1327615979","file3":"1327615976"},"map_files_photo_id_array":[{"photo_id":"1327615979","filename":"file5"},{"photo_id":"1327615973","filename":"file2"},{"photo_id":"1327615978","filename":"file4"},{"photo_id":"1327615970","filename":"file1"},{"photo_id":"1327615964","filename":"file0"},{"photo_id":"1327615976","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615976":["hashtag1","hashtag2"]},{"1327615979":["hashtag1","hashtag2"]},{"1327615970":["hashtag1","hashtag2"]},{"1327615964":["hashtag1","hashtag2"]},{"1327615973":["hashtag1","hashtag2"]},{"1327615978":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615976, 1327615979, 1327615970, 1327615964, 1327615973, 1327615978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.09359526634216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:09:22.614516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/08/image_09012025_08_08_02_730978_0001.jpg', '/home/pi/Desktop/images/09012025/08/08/image_09012025_08_08_02_730978_0002.jpg', '/home/pi/Desktop/images/09012025/08/08/image_09012025_08_08_02_730978_0003.jpg', '/home/pi/Desktop/images/09012025/08/09/image_09012025_08_09_02_423158_0000.jpg', '/home/pi/Desktop/images/09012025/08/09/image_09012025_08_09_02_423158_0001.jpg', '/home/pi/Desktop/images/09012025/08/09/image_09012025_08_09_02_423158_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/08/image_09012025_08_08_02_730978_0001.jpg
/home/pi/Desktop/images/09012025/08/08/image_09012025_08_08_02_730978_0002.jpg
/home/pi/Desktop/images/09012025/08/08/image_09012025_08_08_02_730978_0003.jpg
/home/pi/Desktop/images/09012025/08/09/image_09012025_08_09_02_423158_0000.jpg
/home/pi/Desktop/images/09012025/08/09/image_09012025_08_09_02_423158_0001.jpg
/home/pi/Desktop/images/09012025/08/09/image_09012025_08_09_02_423158_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327615991","1327616009","1327616000","1327616012","1327615986","1327615995"],"photo_ids_order":["1327615986","1327615991","1327615995","1327616000","1327616009","1327616012"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7d7b7b7974e02b2c054873e277c6e9c7.jpg","text":"TemporaryFile(/tmp/multipartBody2729125095669088427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406638070,"filename":"image_09012025_08_08_02_730978_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/10fd062c3dcb18231e2b803ab9a25c64.jpg","text":"TemporaryFile(/tmp/multipartBody6098832870892000690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406638070,"filename":"image_09012025_08_09_02_423158_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b7ec8d7dd316c27625f03a8f4dd1cfee.jpg","text":"TemporaryFile(/tmp/multipartBody3922674715506974104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406638070,"filename":"image_09012025_08_09_02_423158_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5fdb4e8162bc7e8034cc1ea554bc1da9.jpg","text":"TemporaryFile(/tmp/multipartBody2069242701241681595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406638070,"filename":"image_09012025_08_09_02_423158_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0523d472dc1ba0bf801f53d2f077dffc.jpg","text":"TemporaryFile(/tmp/multipartBody7742019831242624692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406638070,"filename":"image_09012025_08_08_02_730978_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1ee1f15080f502a1019b0959d13ca93d.jpg","text":"TemporaryFile(/tmp/multipartBody4863764287820183086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406638070,"filename":"image_09012025_08_08_02_730978_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327615995","file1":"1327615991","file0":"1327615986","file4":"1327616009","file5":"1327616012","file3":"1327616000"},"map_files_photo_id_array":[{"photo_id":"1327616012","filename":"file5"},{"photo_id":"1327615995","filename":"file2"},{"photo_id":"1327616009","filename":"file4"},{"photo_id":"1327615991","filename":"file1"},{"photo_id":"1327615986","filename":"file0"},{"photo_id":"1327616000","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327615991":["hashtag1","hashtag2"]},{"1327616009":["hashtag1","hashtag2"]},{"1327616000":["hashtag1","hashtag2"]},{"1327616012":["hashtag1","hashtag2"]},{"1327615986":["hashtag1","hashtag2"]},{"1327615995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327615991, 1327616009, 1327616000, 1327616012, 1327615986, 1327615995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.90037727355957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:11:03.096594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/09/image_09012025_08_09_02_423158_0003.jpg', '/home/pi/Desktop/images/09012025/08/10/image_09012025_08_10_02_952697_0000.jpg', '/home/pi/Desktop/images/09012025/08/10/image_09012025_08_10_02_952697_0001.jpg', '/home/pi/Desktop/images/09012025/08/10/image_09012025_08_10_02_952697_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/09/image_09012025_08_09_02_423158_0003.jpg
/home/pi/Desktop/images/09012025/08/10/image_09012025_08_10_02_952697_0000.jpg
/home/pi/Desktop/images/09012025/08/10/image_09012025_08_10_02_952697_0001.jpg
/home/pi/Desktop/images/09012025/08/10/image_09012025_08_10_02_952697_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327616036","1327616038","1327616035","1327616037"],"photo_ids_order":["1327616035","1327616036","1327616037","1327616038"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e86f196be7f95a8c6d5b0a351409ccd3.jpg","text":"TemporaryFile(/tmp/multipartBody7845490052375154954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406733630,"filename":"image_09012025_08_10_02_952697_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/752f2d641767108b8bff2a1f09c58bbe.jpg","text":"TemporaryFile(/tmp/multipartBody8567601524250696268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406733630,"filename":"image_09012025_08_10_02_952697_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a920c69b55cb87a1b69ec99c50d5412d.jpg","text":"TemporaryFile(/tmp/multipartBody5129855569259472819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406733630,"filename":"image_09012025_08_09_02_423158_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b0d011319944e8cf82de57bcdca484d.jpg","text":"TemporaryFile(/tmp/multipartBody6089327877840623831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406733630,"filename":"image_09012025_08_10_02_952697_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327616037","file1":"1327616036","file0":"1327616035","file3":"1327616038"},"map_files_photo_id_array":[{"photo_id":"1327616037","filename":"file2"},{"photo_id":"1327616036","filename":"file1"},{"photo_id":"1327616035","filename":"file0"},{"photo_id":"1327616038","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327616036":["hashtag1","hashtag2"]},{"1327616038":["hashtag1","hashtag2"]},{"1327616035":["hashtag1","hashtag2"]},{"1327616037":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327616036, 1327616038, 1327616035, 1327616037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.960999727249146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:12:02.601080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/10/image_09012025_08_10_02_952697_0003.jpg', '/home/pi/Desktop/images/09012025/08/11/image_09012025_08_11_02_448096_0000.jpg', '/home/pi/Desktop/images/09012025/08/11/image_09012025_08_11_02_448096_0001.jpg', '/home/pi/Desktop/images/09012025/08/11/image_09012025_08_11_02_448096_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/10/image_09012025_08_10_02_952697_0003.jpg
/home/pi/Desktop/images/09012025/08/11/image_09012025_08_11_02_448096_0000.jpg
/home/pi/Desktop/images/09012025/08/11/image_09012025_08_11_02_448096_0001.jpg
/home/pi/Desktop/images/09012025/08/11/image_09012025_08_11_02_448096_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.980852365493774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:12:22.221808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/10/image_09012025_08_10_02_952697_0003.jpg', '/home/pi/Desktop/images/09012025/08/11/image_09012025_08_11_02_448096_0000.jpg', '/home/pi/Desktop/images/09012025/08/11/image_09012025_08_11_02_448096_0001.jpg', '/home/pi/Desktop/images/09012025/08/11/image_09012025_08_11_02_448096_0002.jpg', '/home/pi/Desktop/images/09012025/08/11/image_09012025_08_11_02_448096_0003.jpg', '/home/pi/Desktop/images/09012025/08/12/image_09012025_08_12_02_954852_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/10/image_09012025_08_10_02_952697_0003.jpg
/home/pi/Desktop/images/09012025/08/11/image_09012025_08_11_02_448096_0000.jpg
/home/pi/Desktop/images/09012025/08/11/image_09012025_08_11_02_448096_0001.jpg
/home/pi/Desktop/images/09012025/08/11/image_09012025_08_11_02_448096_0002.jpg
/home/pi/Desktop/images/09012025/08/11/image_09012025_08_11_02_448096_0003.jpg
/home/pi/Desktop/images/09012025/08/12/image_09012025_08_12_02_954852_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327616071","1327616067","1327616081","1327616075","1327616084","1327616078"],"photo_ids_order":["1327616067","1327616071","1327616075","1327616078","1327616081","1327616084"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d2b989f910852331e0272d294af0d680.jpg","text":"TemporaryFile(/tmp/multipartBody6794282943330587317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406817514,"filename":"image_09012025_08_11_02_448096_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b9bc275b161318bc0296476425a4a7ff.jpg","text":"TemporaryFile(/tmp/multipartBody3226602520176684149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406817514,"filename":"image_09012025_08_10_02_952697_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6f336676a2c6f5f4eb1850422e26a29f.jpg","text":"TemporaryFile(/tmp/multipartBody1599991250415148263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406817514,"filename":"image_09012025_08_11_02_448096_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/59895ed9fee75fb9471ebdbdf6292911.jpg","text":"TemporaryFile(/tmp/multipartBody5313402220235958561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406817514,"filename":"image_09012025_08_11_02_448096_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e566912b47d587a7893da3fdba1594f1.jpg","text":"TemporaryFile(/tmp/multipartBody7308804440295100935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406817514,"filename":"image_09012025_08_12_02_954852_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/14199ebb6c1a7d89dd2998bd5e770285.jpg","text":"TemporaryFile(/tmp/multipartBody2186151528191373068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406817514,"filename":"image_09012025_08_11_02_448096_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327616075","file1":"1327616071","file0":"1327616067","file4":"1327616081","file5":"1327616084","file3":"1327616078"},"map_files_photo_id_array":[{"photo_id":"1327616084","filename":"file5"},{"photo_id":"1327616075","filename":"file2"},{"photo_id":"1327616081","filename":"file4"},{"photo_id":"1327616071","filename":"file1"},{"photo_id":"1327616067","filename":"file0"},{"photo_id":"1327616078","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327616071":["hashtag1","hashtag2"]},{"1327616067":["hashtag1","hashtag2"]},{"1327616081":["hashtag1","hashtag2"]},{"1327616075":["hashtag1","hashtag2"]},{"1327616084":["hashtag1","hashtag2"]},{"1327616078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327616071, 1327616067, 1327616081, 1327616075, 1327616084, 1327616078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.332064628601074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:13:21.750020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/12/image_09012025_08_12_02_954852_0002.jpg', '/home/pi/Desktop/images/09012025/08/12/image_09012025_08_12_02_954852_0003.jpg', '/home/pi/Desktop/images/09012025/08/13/image_09012025_08_13_02_643421_0000.jpg', '/home/pi/Desktop/images/09012025/08/13/image_09012025_08_13_02_643421_0001.jpg', '/home/pi/Desktop/images/09012025/08/13/image_09012025_08_13_02_643421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/12/image_09012025_08_12_02_954852_0002.jpg
/home/pi/Desktop/images/09012025/08/12/image_09012025_08_12_02_954852_0003.jpg
/home/pi/Desktop/images/09012025/08/13/image_09012025_08_13_02_643421_0000.jpg
/home/pi/Desktop/images/09012025/08/13/image_09012025_08_13_02_643421_0001.jpg
/home/pi/Desktop/images/09012025/08/13/image_09012025_08_13_02_643421_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327616092","1327616101","1327616103","1327616096","1327616099"],"photo_ids_order":["1327616092","1327616096","1327616099","1327616101","1327616103"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/684bec3da09df0e677daf5dfebefa779.jpg","text":"TemporaryFile(/tmp/multipartBody44292703760293580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406874598,"filename":"image_09012025_08_12_02_954852_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/214de4debdddd76277bac000c805db4a.jpg","text":"TemporaryFile(/tmp/multipartBody8892290585206268749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406874598,"filename":"image_09012025_08_13_02_643421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/672ab4c842684a2dfb0662bad8e0cf57.jpg","text":"TemporaryFile(/tmp/multipartBody256735758964947064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406874598,"filename":"image_09012025_08_13_02_643421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4d09eb03cbb8dfef9163a1f3731e2a5d.jpg","text":"TemporaryFile(/tmp/multipartBody3675628118274968615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406874598,"filename":"image_09012025_08_12_02_954852_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2e80b2bb8ce47b740d2eeaf2ac0ab366.jpg","text":"TemporaryFile(/tmp/multipartBody5728367888484415219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406874598,"filename":"image_09012025_08_13_02_643421_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327616099","file1":"1327616096","file0":"1327616092","file4":"1327616103","file3":"1327616101"},"map_files_photo_id_array":[{"photo_id":"1327616099","filename":"file2"},{"photo_id":"1327616103","filename":"file4"},{"photo_id":"1327616096","filename":"file1"},{"photo_id":"1327616092","filename":"file0"},{"photo_id":"1327616101","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327616092":["hashtag1","hashtag2"]},{"1327616101":["hashtag1","hashtag2"]},{"1327616103":["hashtag1","hashtag2"]},{"1327616096":["hashtag1","hashtag2"]},{"1327616099":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327616092, 1327616101, 1327616103, 1327616096, 1327616099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 50.18209218978882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:14:22.227216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/13/image_09012025_08_13_02_643421_0003.jpg', '/home/pi/Desktop/images/09012025/08/14/image_09012025_08_14_02_105386_0000.jpg', '/home/pi/Desktop/images/09012025/08/14/image_09012025_08_14_02_105386_0001.jpg', '/home/pi/Desktop/images/09012025/08/14/image_09012025_08_14_02_105386_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/13/image_09012025_08_13_02_643421_0003.jpg
/home/pi/Desktop/images/09012025/08/14/image_09012025_08_14_02_105386_0000.jpg
/home/pi/Desktop/images/09012025/08/14/image_09012025_08_14_02_105386_0001.jpg
/home/pi/Desktop/images/09012025/08/14/image_09012025_08_14_02_105386_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.882831335067749 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:15:02.278001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/13/image_09012025_08_13_02_643421_0003.jpg', '/home/pi/Desktop/images/09012025/08/14/image_09012025_08_14_02_105386_0000.jpg', '/home/pi/Desktop/images/09012025/08/14/image_09012025_08_14_02_105386_0001.jpg', '/home/pi/Desktop/images/09012025/08/14/image_09012025_08_14_02_105386_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/13/image_09012025_08_13_02_643421_0003.jpg
/home/pi/Desktop/images/09012025/08/14/image_09012025_08_14_02_105386_0000.jpg
/home/pi/Desktop/images/09012025/08/14/image_09012025_08_14_02_105386_0001.jpg
/home/pi/Desktop/images/09012025/08/14/image_09012025_08_14_02_105386_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327616164","1327616158","1327616160","1327616162"],"photo_ids_order":["1327616158","1327616160","1327616162","1327616164"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8404943f48f1e92e810209c6a0e24095.jpg","text":"TemporaryFile(/tmp/multipartBody8582578940660859369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406972664,"filename":"image_09012025_08_14_02_105386_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fbb7e6112c7799c6dd50f65503c02d8a.jpg","text":"TemporaryFile(/tmp/multipartBody2622497895637207321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406972664,"filename":"image_09012025_08_13_02_643421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/abf7f08248fa6b30c25d7096b05a1ba9.jpg","text":"TemporaryFile(/tmp/multipartBody2165014087796319752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406972664,"filename":"image_09012025_08_14_02_105386_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/55106c4ee31d74a8092f021d08ed274c.jpg","text":"TemporaryFile(/tmp/multipartBody7440203786087059429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736406972664,"filename":"image_09012025_08_14_02_105386_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327616162","file1":"1327616160","file0":"1327616158","file3":"1327616164"},"map_files_photo_id_array":[{"photo_id":"1327616162","filename":"file2"},{"photo_id":"1327616160","filename":"file1"},{"photo_id":"1327616158","filename":"file0"},{"photo_id":"1327616164","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327616164":["hashtag1","hashtag2"]},{"1327616158":["hashtag1","hashtag2"]},{"1327616160":["hashtag1","hashtag2"]},{"1327616162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327616164, 1327616158, 1327616160, 1327616162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.91921949386597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:16:02.780502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/14/image_09012025_08_14_02_105386_0003.jpg', '/home/pi/Desktop/images/09012025/08/15/image_09012025_08_15_02_622597_0000.jpg', '/home/pi/Desktop/images/09012025/08/15/image_09012025_08_15_02_622597_0001.jpg', '/home/pi/Desktop/images/09012025/08/15/image_09012025_08_15_02_622597_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/14/image_09012025_08_14_02_105386_0003.jpg
/home/pi/Desktop/images/09012025/08/15/image_09012025_08_15_02_622597_0000.jpg
/home/pi/Desktop/images/09012025/08/15/image_09012025_08_15_02_622597_0001.jpg
/home/pi/Desktop/images/09012025/08/15/image_09012025_08_15_02_622597_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327616185","1327616182","1327616187","1327616183"],"photo_ids_order":["1327616182","1327616183","1327616185","1327616187"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b5c647a6aa3ad401980da4c937bc420.jpg","text":"TemporaryFile(/tmp/multipartBody543804303429836227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407033136,"filename":"image_09012025_08_15_02_622597_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/072d0f5800553e1957135a222a6c2653.jpg","text":"TemporaryFile(/tmp/multipartBody6940874005479761320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407033136,"filename":"image_09012025_08_14_02_105386_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bc6b85038da6b53fb9cfb3ab4e59f255.jpg","text":"TemporaryFile(/tmp/multipartBody8841946480218145142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407033136,"filename":"image_09012025_08_15_02_622597_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/efab7794f5375a0b40ac19b9625431c9.jpg","text":"TemporaryFile(/tmp/multipartBody1100752519161480378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407033136,"filename":"image_09012025_08_15_02_622597_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327616185","file1":"1327616183","file0":"1327616182","file3":"1327616187"},"map_files_photo_id_array":[{"photo_id":"1327616185","filename":"file2"},{"photo_id":"1327616183","filename":"file1"},{"photo_id":"1327616182","filename":"file0"},{"photo_id":"1327616187","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327616185":["hashtag1","hashtag2"]},{"1327616182":["hashtag1","hashtag2"]},{"1327616187":["hashtag1","hashtag2"]},{"1327616183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327616185, 1327616182, 1327616187, 1327616183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.364195108413696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:17:02.449311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/15/image_09012025_08_15_02_622597_0003.jpg', '/home/pi/Desktop/images/09012025/08/16/image_09012025_08_16_02_172120_0000.jpg', '/home/pi/Desktop/images/09012025/08/16/image_09012025_08_16_02_172120_0001.jpg', '/home/pi/Desktop/images/09012025/08/16/image_09012025_08_16_02_172120_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/15/image_09012025_08_15_02_622597_0003.jpg
/home/pi/Desktop/images/09012025/08/16/image_09012025_08_16_02_172120_0000.jpg
/home/pi/Desktop/images/09012025/08/16/image_09012025_08_16_02_172120_0001.jpg
/home/pi/Desktop/images/09012025/08/16/image_09012025_08_16_02_172120_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327616207","1327616203","1327616202","1327616205"],"photo_ids_order":["1327616202","1327616203","1327616205","1327616207"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6078f7abed44356fca888377313fa4a1.jpg","text":"TemporaryFile(/tmp/multipartBody1587517948033691566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407092954,"filename":"image_09012025_08_16_02_172120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ee2db84957b80d013813aad049bab823.jpg","text":"TemporaryFile(/tmp/multipartBody2832629796359985659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407092954,"filename":"image_09012025_08_16_02_172120_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b1f9459ad12df6a9a0af16c1237fe839.jpg","text":"TemporaryFile(/tmp/multipartBody6049038401741767167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407092954,"filename":"image_09012025_08_15_02_622597_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/89d8b95242ff826bb10ddd1fb6b0475b.jpg","text":"TemporaryFile(/tmp/multipartBody1286452887022639795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407092954,"filename":"image_09012025_08_16_02_172120_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327616205","file1":"1327616203","file0":"1327616202","file3":"1327616207"},"map_files_photo_id_array":[{"photo_id":"1327616205","filename":"file2"},{"photo_id":"1327616203","filename":"file1"},{"photo_id":"1327616202","filename":"file0"},{"photo_id":"1327616207","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327616207":["hashtag1","hashtag2"]},{"1327616203":["hashtag1","hashtag2"]},{"1327616202":["hashtag1","hashtag2"]},{"1327616205":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327616207, 1327616203, 1327616202, 1327616205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.047423362731934 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:18:02.879855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/16/image_09012025_08_16_02_172120_0003.jpg', '/home/pi/Desktop/images/09012025/08/17/image_09012025_08_17_02_767291_0000.jpg', '/home/pi/Desktop/images/09012025/08/17/image_09012025_08_17_02_767291_0001.jpg', '/home/pi/Desktop/images/09012025/08/17/image_09012025_08_17_02_767291_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/16/image_09012025_08_16_02_172120_0003.jpg
/home/pi/Desktop/images/09012025/08/17/image_09012025_08_17_02_767291_0000.jpg
/home/pi/Desktop/images/09012025/08/17/image_09012025_08_17_02_767291_0001.jpg
/home/pi/Desktop/images/09012025/08/17/image_09012025_08_17_02_767291_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.988653421401978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:18:22.580695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/16/image_09012025_08_16_02_172120_0003.jpg', '/home/pi/Desktop/images/09012025/08/17/image_09012025_08_17_02_767291_0000.jpg', '/home/pi/Desktop/images/09012025/08/17/image_09012025_08_17_02_767291_0001.jpg', '/home/pi/Desktop/images/09012025/08/17/image_09012025_08_17_02_767291_0002.jpg', '/home/pi/Desktop/images/09012025/08/17/image_09012025_08_17_02_767291_0003.jpg', '/home/pi/Desktop/images/09012025/08/18/image_09012025_08_18_02_241638_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/16/image_09012025_08_16_02_172120_0003.jpg
/home/pi/Desktop/images/09012025/08/17/image_09012025_08_17_02_767291_0000.jpg
/home/pi/Desktop/images/09012025/08/17/image_09012025_08_17_02_767291_0001.jpg
/home/pi/Desktop/images/09012025/08/17/image_09012025_08_17_02_767291_0002.jpg
/home/pi/Desktop/images/09012025/08/17/image_09012025_08_17_02_767291_0003.jpg
/home/pi/Desktop/images/09012025/08/18/image_09012025_08_18_02_241638_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327616243","1327616272","1327616248","1327616233","1327616238","1327616261"],"photo_ids_order":["1327616233","1327616238","1327616243","1327616248","1327616261","1327616272"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/242d4874cf0079df24810ffe0ba80800.jpg","text":"TemporaryFile(/tmp/multipartBody2349553410953582093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407177726,"filename":"image_09012025_08_17_02_767291_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e665d957f1e1d8aa09fe2c11a70f34a0.jpg","text":"TemporaryFile(/tmp/multipartBody4817045574238079454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407177726,"filename":"image_09012025_08_18_02_241638_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5e5ff1e76ba920e84bb17058d32bb2dd.jpg","text":"TemporaryFile(/tmp/multipartBody152060785994405824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407177726,"filename":"image_09012025_08_17_02_767291_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/247599a18e045538b2e12690a7fcaf29.jpg","text":"TemporaryFile(/tmp/multipartBody8462771998590853780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407177726,"filename":"image_09012025_08_16_02_172120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d58a5caee202c11dccab2ddeba080d0f.jpg","text":"TemporaryFile(/tmp/multipartBody7782506445810285866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407177726,"filename":"image_09012025_08_17_02_767291_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3b3fb4ab7936607fb5c3270a631cffeb.jpg","text":"TemporaryFile(/tmp/multipartBody7952267988042109867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407177726,"filename":"image_09012025_08_17_02_767291_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327616243","file1":"1327616238","file0":"1327616233","file4":"1327616261","file5":"1327616272","file3":"1327616248"},"map_files_photo_id_array":[{"photo_id":"1327616272","filename":"file5"},{"photo_id":"1327616243","filename":"file2"},{"photo_id":"1327616261","filename":"file4"},{"photo_id":"1327616238","filename":"file1"},{"photo_id":"1327616233","filename":"file0"},{"photo_id":"1327616248","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327616243":["hashtag1","hashtag2"]},{"1327616272":["hashtag1","hashtag2"]},{"1327616248":["hashtag1","hashtag2"]},{"1327616233":["hashtag1","hashtag2"]},{"1327616238":["hashtag1","hashtag2"]},{"1327616261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327616243, 1327616272, 1327616248, 1327616233, 1327616238, 1327616261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.19235420227051 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:19:22.039194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/18/image_09012025_08_18_02_241638_0001.jpg', '/home/pi/Desktop/images/09012025/08/18/image_09012025_08_18_02_241638_0002.jpg', '/home/pi/Desktop/images/09012025/08/18/image_09012025_08_18_02_241638_0003.jpg', '/home/pi/Desktop/images/09012025/08/19/image_09012025_08_19_02_930491_0000.jpg', '/home/pi/Desktop/images/09012025/08/19/image_09012025_08_19_02_930491_0001.jpg', '/home/pi/Desktop/images/09012025/08/19/image_09012025_08_19_02_930491_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/18/image_09012025_08_18_02_241638_0001.jpg
/home/pi/Desktop/images/09012025/08/18/image_09012025_08_18_02_241638_0002.jpg
/home/pi/Desktop/images/09012025/08/18/image_09012025_08_18_02_241638_0003.jpg
/home/pi/Desktop/images/09012025/08/19/image_09012025_08_19_02_930491_0000.jpg
/home/pi/Desktop/images/09012025/08/19/image_09012025_08_19_02_930491_0001.jpg
/home/pi/Desktop/images/09012025/08/19/image_09012025_08_19_02_930491_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327616284","1327616287","1327616295","1327616289","1327616280","1327616291"],"photo_ids_order":["1327616280","1327616284","1327616287","1327616289","1327616291","1327616295"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/020685c9b32f6d443285b0b6fd2c0dec.jpg","text":"TemporaryFile(/tmp/multipartBody6241103838097869588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407237368,"filename":"image_09012025_08_18_02_241638_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9c8b949df8a6affe6a991a7bd57c486b.jpg","text":"TemporaryFile(/tmp/multipartBody5816461417883316842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407237368,"filename":"image_09012025_08_18_02_241638_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/94cd8fd339b4fec30164d7286819dea4.jpg","text":"TemporaryFile(/tmp/multipartBody4560377717159846220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407237368,"filename":"image_09012025_08_19_02_930491_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/69d82c842ac95081b0c586ecf381249a.jpg","text":"TemporaryFile(/tmp/multipartBody8075842129252808758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407237368,"filename":"image_09012025_08_19_02_930491_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9386292c1fef989e4ed02373ccc4a8d4.jpg","text":"TemporaryFile(/tmp/multipartBody2556282858971577328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407237368,"filename":"image_09012025_08_18_02_241638_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/65b6026ab89c75c8ee6f3dbf346c8210.jpg","text":"TemporaryFile(/tmp/multipartBody5616903489248099917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407237368,"filename":"image_09012025_08_19_02_930491_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327616287","file1":"1327616284","file0":"1327616280","file4":"1327616291","file5":"1327616295","file3":"1327616289"},"map_files_photo_id_array":[{"photo_id":"1327616295","filename":"file5"},{"photo_id":"1327616287","filename":"file2"},{"photo_id":"1327616291","filename":"file4"},{"photo_id":"1327616284","filename":"file1"},{"photo_id":"1327616280","filename":"file0"},{"photo_id":"1327616289","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327616284":["hashtag1","hashtag2"]},{"1327616287":["hashtag1","hashtag2"]},{"1327616295":["hashtag1","hashtag2"]},{"1327616289":["hashtag1","hashtag2"]},{"1327616280":["hashtag1","hashtag2"]},{"1327616291":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327616284, 1327616287, 1327616295, 1327616289, 1327616280, 1327616291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.29558539390564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:20:22.531946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/19/image_09012025_08_19_02_930491_0003.jpg', '/home/pi/Desktop/images/09012025/08/20/image_09012025_08_20_02_389923_0000.jpg', '/home/pi/Desktop/images/09012025/08/20/image_09012025_08_20_02_389923_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/19/image_09012025_08_19_02_930491_0003.jpg
/home/pi/Desktop/images/09012025/08/20/image_09012025_08_20_02_389923_0000.jpg
/home/pi/Desktop/images/09012025/08/20/image_09012025_08_20_02_389923_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327616302","1327616311","1327616305"],"photo_ids_order":["1327616302","1327616305","1327616311"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d6fb93a56bd44792e9eebe34f6e41151.jpg","text":"TemporaryFile(/tmp/multipartBody8245417216880278692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407290336,"filename":"image_09012025_08_19_02_930491_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/23858588f1deca8f659399c29d68ef89.jpg","text":"TemporaryFile(/tmp/multipartBody5890868024231437041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407290336,"filename":"image_09012025_08_20_02_389923_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/65c8850c561504672366444152cd1569.jpg","text":"TemporaryFile(/tmp/multipartBody7414414025897486721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407290336,"filename":"image_09012025_08_20_02_389923_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327616311","file1":"1327616305","file0":"1327616302"},"map_files_photo_id_array":[{"photo_id":"1327616311","filename":"file2"},{"photo_id":"1327616305","filename":"file1"},{"photo_id":"1327616302","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327616302":["hashtag1","hashtag2"]},{"1327616311":["hashtag1","hashtag2"]},{"1327616305":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327616302, 1327616311, 1327616305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.87248253822327 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:21:02.658538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:21:22.007235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/20/image_09012025_08_20_02_389923_0003.jpg', '/home/pi/Desktop/images/09012025/08/21/image_09012025_08_21_02_863723_0000.jpg', '/home/pi/Desktop/images/09012025/08/21/image_09012025_08_21_02_863723_0001.jpg', '/home/pi/Desktop/images/09012025/08/21/image_09012025_08_21_02_863723_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/20/image_09012025_08_20_02_389923_0003.jpg
/home/pi/Desktop/images/09012025/08/21/image_09012025_08_21_02_863723_0000.jpg
/home/pi/Desktop/images/09012025/08/21/image_09012025_08_21_02_863723_0001.jpg
/home/pi/Desktop/images/09012025/08/21/image_09012025_08_21_02_863723_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327616477","1327616327","1327616334","1327616759"],"photo_ids_order":["1327616327","1327616334","1327616477","1327616759"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/75c489053786488c0c4ef67da3187528.jpg","text":"TemporaryFile(/tmp/multipartBody6961727272427319840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407352414,"filename":"image_09012025_08_21_02_863723_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9b44b2e12709b7d8ed7c0695de62f7e1.jpg","text":"TemporaryFile(/tmp/multipartBody4938825767474130808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407352414,"filename":"image_09012025_08_20_02_389923_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3a2fdbb75a893a35c4e24f3e39d09541.jpg","text":"TemporaryFile(/tmp/multipartBody8720194830361381194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407352414,"filename":"image_09012025_08_21_02_863723_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/68dc91570e30a398694815f75df051c2.jpg","text":"TemporaryFile(/tmp/multipartBody6838853178898273029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407352414,"filename":"image_09012025_08_21_02_863723_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327616477","file1":"1327616334","file0":"1327616327","file3":"1327616759"},"map_files_photo_id_array":[{"photo_id":"1327616477","filename":"file2"},{"photo_id":"1327616334","filename":"file1"},{"photo_id":"1327616327","filename":"file0"},{"photo_id":"1327616759","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327616477":["hashtag1","hashtag2"]},{"1327616327":["hashtag1","hashtag2"]},{"1327616334":["hashtag1","hashtag2"]},{"1327616759":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327616477, 1327616327, 1327616334, 1327616759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23887920379639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:22:02.839154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:22:22.504537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/21/image_09012025_08_21_02_863723_0003.jpg', '/home/pi/Desktop/images/09012025/08/22/image_09012025_08_22_02_335424_0000.jpg', '/home/pi/Desktop/images/09012025/08/22/image_09012025_08_22_02_335424_0001.jpg', '/home/pi/Desktop/images/09012025/08/22/image_09012025_08_22_02_335424_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/21/image_09012025_08_21_02_863723_0003.jpg
/home/pi/Desktop/images/09012025/08/22/image_09012025_08_22_02_335424_0000.jpg
/home/pi/Desktop/images/09012025/08/22/image_09012025_08_22_02_335424_0001.jpg
/home/pi/Desktop/images/09012025/08/22/image_09012025_08_22_02_335424_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327617448","1327617453","1327617461","1327617440"],"photo_ids_order":["1327617440","1327617448","1327617453","1327617461"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5fa54ed8acca535367170cb897f690cc.jpg","text":"TemporaryFile(/tmp/multipartBody7381387234165366870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407413013,"filename":"image_09012025_08_22_02_335424_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d25244827c0a84891397e9fcac56f9a9.jpg","text":"TemporaryFile(/tmp/multipartBody3632143703227234597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407413013,"filename":"image_09012025_08_22_02_335424_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/406acfce3382f2849ca4ea51b469f7e5.jpg","text":"TemporaryFile(/tmp/multipartBody737924707416556472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407413013,"filename":"image_09012025_08_22_02_335424_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3bcbec54bc29a3edab0dc3d8139fa29b.jpg","text":"TemporaryFile(/tmp/multipartBody6084606657239454182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407413013,"filename":"image_09012025_08_21_02_863723_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327617453","file1":"1327617448","file0":"1327617440","file3":"1327617461"},"map_files_photo_id_array":[{"photo_id":"1327617453","filename":"file2"},{"photo_id":"1327617448","filename":"file1"},{"photo_id":"1327617440","filename":"file0"},{"photo_id":"1327617461","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327617448":["hashtag1","hashtag2"]},{"1327617453":["hashtag1","hashtag2"]},{"1327617461":["hashtag1","hashtag2"]},{"1327617440":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327617448, 1327617453, 1327617461, 1327617440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 56.49332594871521 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:23:21.983883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/22/image_09012025_08_22_02_335424_0003.jpg', '/home/pi/Desktop/images/09012025/08/23/image_09012025_08_23_02_837826_0000.jpg', '/home/pi/Desktop/images/09012025/08/23/image_09012025_08_23_02_837826_0001.jpg', '/home/pi/Desktop/images/09012025/08/23/image_09012025_08_23_02_837826_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/22/image_09012025_08_22_02_335424_0003.jpg
/home/pi/Desktop/images/09012025/08/23/image_09012025_08_23_02_837826_0000.jpg
/home/pi/Desktop/images/09012025/08/23/image_09012025_08_23_02_837826_0001.jpg
/home/pi/Desktop/images/09012025/08/23/image_09012025_08_23_02_837826_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327617475","1327617469","1327617482","1327617488"],"photo_ids_order":["1327617469","1327617475","1327617482","1327617488"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f321de96a5e27e14be9913fdd237b83a.jpg","text":"TemporaryFile(/tmp/multipartBody909072802744123712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407472545,"filename":"image_09012025_08_23_02_837826_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2a86eaad9713518e2ac5436c8406e16d.jpg","text":"TemporaryFile(/tmp/multipartBody7899952230611196845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407472545,"filename":"image_09012025_08_22_02_335424_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/786cc9de64d1d70d250bd2cbe881e103.jpg","text":"TemporaryFile(/tmp/multipartBody9060819209542365125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407472545,"filename":"image_09012025_08_23_02_837826_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f029a22debba9be75e824153866723d8.jpg","text":"TemporaryFile(/tmp/multipartBody619531452934764969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407472545,"filename":"image_09012025_08_23_02_837826_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327617482","file1":"1327617475","file0":"1327617469","file3":"1327617488"},"map_files_photo_id_array":[{"photo_id":"1327617482","filename":"file2"},{"photo_id":"1327617475","filename":"file1"},{"photo_id":"1327617469","filename":"file0"},{"photo_id":"1327617488","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327617475":["hashtag1","hashtag2"]},{"1327617469":["hashtag1","hashtag2"]},{"1327617482":["hashtag1","hashtag2"]},{"1327617488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327617475, 1327617469, 1327617482, 1327617488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.326233863830566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:24:22.451085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/23/image_09012025_08_23_02_837826_0003.jpg', '/home/pi/Desktop/images/09012025/08/24/image_09012025_08_24_02_336882_0000.jpg', '/home/pi/Desktop/images/09012025/08/24/image_09012025_08_24_02_336882_0001.jpg', '/home/pi/Desktop/images/09012025/08/24/image_09012025_08_24_02_336882_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/23/image_09012025_08_23_02_837826_0003.jpg
/home/pi/Desktop/images/09012025/08/24/image_09012025_08_24_02_336882_0000.jpg
/home/pi/Desktop/images/09012025/08/24/image_09012025_08_24_02_336882_0001.jpg
/home/pi/Desktop/images/09012025/08/24/image_09012025_08_24_02_336882_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327617522","1327617519","1327617512","1327617515"],"photo_ids_order":["1327617512","1327617515","1327617519","1327617522"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d1f584d2d89050d0c992f39909ea1116.jpg","text":"TemporaryFile(/tmp/multipartBody135707963549947881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407532704,"filename":"image_09012025_08_24_02_336882_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/72dcf39e26dd9c70fabcb1a753543985.jpg","text":"TemporaryFile(/tmp/multipartBody1963597966553574749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407532704,"filename":"image_09012025_08_24_02_336882_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/347990ab0ca2c4a15f9a305edbe64a64.jpg","text":"TemporaryFile(/tmp/multipartBody6410028822242240177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407532704,"filename":"image_09012025_08_23_02_837826_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/552cb5466e13303538e2135d86ae6d68.jpg","text":"TemporaryFile(/tmp/multipartBody4572291169342350767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407532704,"filename":"image_09012025_08_24_02_336882_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327617519","file1":"1327617515","file0":"1327617512","file3":"1327617522"},"map_files_photo_id_array":[{"photo_id":"1327617519","filename":"file2"},{"photo_id":"1327617515","filename":"file1"},{"photo_id":"1327617512","filename":"file0"},{"photo_id":"1327617522","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327617522":["hashtag1","hashtag2"]},{"1327617519":["hashtag1","hashtag2"]},{"1327617512":["hashtag1","hashtag2"]},{"1327617515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327617522, 1327617519, 1327617512, 1327617515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.40442085266113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:25:22.020511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/24/image_09012025_08_24_02_336882_0003.jpg', '/home/pi/Desktop/images/09012025/08/25/image_09012025_08_25_02_881018_0000.jpg', '/home/pi/Desktop/images/09012025/08/25/image_09012025_08_25_02_881018_0001.jpg', '/home/pi/Desktop/images/09012025/08/25/image_09012025_08_25_02_881018_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/24/image_09012025_08_24_02_336882_0003.jpg
/home/pi/Desktop/images/09012025/08/25/image_09012025_08_25_02_881018_0000.jpg
/home/pi/Desktop/images/09012025/08/25/image_09012025_08_25_02_881018_0001.jpg
/home/pi/Desktop/images/09012025/08/25/image_09012025_08_25_02_881018_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327617821","1327617831","1327617825","1327617828"],"photo_ids_order":["1327617821","1327617825","1327617828","1327617831"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cd018295542e9a86ddec381fbaa2d962.jpg","text":"TemporaryFile(/tmp/multipartBody5622179743588957204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407592496,"filename":"image_09012025_08_24_02_336882_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eabe2cf3a4dd9beccb37b48d3776cfe9.jpg","text":"TemporaryFile(/tmp/multipartBody8564469140789796536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407592496,"filename":"image_09012025_08_25_02_881018_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3f867dca416c2077e4ed265062968e53.jpg","text":"TemporaryFile(/tmp/multipartBody6365429493429289240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407592496,"filename":"image_09012025_08_25_02_881018_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/75a8bb16807cc5ed35035e22ed3f7793.jpg","text":"TemporaryFile(/tmp/multipartBody9221027163232840147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407592496,"filename":"image_09012025_08_25_02_881018_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327617828","file1":"1327617825","file0":"1327617821","file3":"1327617831"},"map_files_photo_id_array":[{"photo_id":"1327617828","filename":"file2"},{"photo_id":"1327617825","filename":"file1"},{"photo_id":"1327617821","filename":"file0"},{"photo_id":"1327617831","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327617821":["hashtag1","hashtag2"]},{"1327617831":["hashtag1","hashtag2"]},{"1327617825":["hashtag1","hashtag2"]},{"1327617828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327617821, 1327617831, 1327617825, 1327617828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.10589408874512 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:26:22.487866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/25/image_09012025_08_25_02_881018_0003.jpg', '/home/pi/Desktop/images/09012025/08/26/image_09012025_08_26_02_358986_0000.jpg', '/home/pi/Desktop/images/09012025/08/26/image_09012025_08_26_02_358986_0001.jpg', '/home/pi/Desktop/images/09012025/08/26/image_09012025_08_26_02_358986_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/25/image_09012025_08_25_02_881018_0003.jpg
/home/pi/Desktop/images/09012025/08/26/image_09012025_08_26_02_358986_0000.jpg
/home/pi/Desktop/images/09012025/08/26/image_09012025_08_26_02_358986_0001.jpg
/home/pi/Desktop/images/09012025/08/26/image_09012025_08_26_02_358986_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327617859","1327617856","1327617867","1327617863"],"photo_ids_order":["1327617856","1327617859","1327617863","1327617867"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b73ecaf210440ff752e32348eb6025ae.jpg","text":"TemporaryFile(/tmp/multipartBody3930819885815568793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407652888,"filename":"image_09012025_08_26_02_358986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ee44209dbdfb1889366edee0eb76f9e3.jpg","text":"TemporaryFile(/tmp/multipartBody5115638866547138767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407652888,"filename":"image_09012025_08_25_02_881018_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a51f2586daf1a933275cddfb50cf0807.jpg","text":"TemporaryFile(/tmp/multipartBody8871725413719006401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407652888,"filename":"image_09012025_08_26_02_358986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e61363dde6d7b01fefdacaa188ac995.jpg","text":"TemporaryFile(/tmp/multipartBody4717172743013598053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407652888,"filename":"image_09012025_08_26_02_358986_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327617863","file1":"1327617859","file0":"1327617856","file3":"1327617867"},"map_files_photo_id_array":[{"photo_id":"1327617863","filename":"file2"},{"photo_id":"1327617859","filename":"file1"},{"photo_id":"1327617856","filename":"file0"},{"photo_id":"1327617867","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327617859":["hashtag1","hashtag2"]},{"1327617856":["hashtag1","hashtag2"]},{"1327617867":["hashtag1","hashtag2"]},{"1327617863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327617859, 1327617856, 1327617867, 1327617863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.95001530647278 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:27:21.981172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/26/image_09012025_08_26_02_358986_0003.jpg', '/home/pi/Desktop/images/09012025/08/27/image_09012025_08_27_02_848575_0000.jpg', '/home/pi/Desktop/images/09012025/08/27/image_09012025_08_27_02_848575_0001.jpg', '/home/pi/Desktop/images/09012025/08/27/image_09012025_08_27_02_848575_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/26/image_09012025_08_26_02_358986_0003.jpg
/home/pi/Desktop/images/09012025/08/27/image_09012025_08_27_02_848575_0000.jpg
/home/pi/Desktop/images/09012025/08/27/image_09012025_08_27_02_848575_0001.jpg
/home/pi/Desktop/images/09012025/08/27/image_09012025_08_27_02_848575_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327618066","1327618369","1327618249","1327618162"],"photo_ids_order":["1327618066","1327618162","1327618249","1327618369"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f75f7fee238871d642412bd1cb97d833.jpg","text":"TemporaryFile(/tmp/multipartBody5027371221994868826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407712220,"filename":"image_09012025_08_26_02_358986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ae521c2418baba3a03a69447038e77c0.jpg","text":"TemporaryFile(/tmp/multipartBody6185916788876415041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407712220,"filename":"image_09012025_08_27_02_848575_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/49c70f2cefa3362c60801cbd25edb950.jpg","text":"TemporaryFile(/tmp/multipartBody4978246603257107776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407712220,"filename":"image_09012025_08_27_02_848575_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6f98f09e7a206aa858b745155ae447f8.jpg","text":"TemporaryFile(/tmp/multipartBody4441916206826763857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407712220,"filename":"image_09012025_08_27_02_848575_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327618249","file1":"1327618162","file0":"1327618066","file3":"1327618369"},"map_files_photo_id_array":[{"photo_id":"1327618249","filename":"file2"},{"photo_id":"1327618162","filename":"file1"},{"photo_id":"1327618066","filename":"file0"},{"photo_id":"1327618369","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327618066":["hashtag1","hashtag2"]},{"1327618369":["hashtag1","hashtag2"]},{"1327618249":["hashtag1","hashtag2"]},{"1327618162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327618066, 1327618369, 1327618249, 1327618162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.7396194934845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:28:02.983227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:28:22.530218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/27/image_09012025_08_27_02_848575_0003.jpg', '/home/pi/Desktop/images/09012025/08/28/image_09012025_08_28_02_421650_0000.jpg', '/home/pi/Desktop/images/09012025/08/28/image_09012025_08_28_02_421650_0001.jpg', '/home/pi/Desktop/images/09012025/08/28/image_09012025_08_28_02_421650_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/27/image_09012025_08_27_02_848575_0003.jpg
/home/pi/Desktop/images/09012025/08/28/image_09012025_08_28_02_421650_0000.jpg
/home/pi/Desktop/images/09012025/08/28/image_09012025_08_28_02_421650_0001.jpg
/home/pi/Desktop/images/09012025/08/28/image_09012025_08_28_02_421650_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327619046","1327618989","1327619042","1327619038"],"photo_ids_order":["1327618989","1327619038","1327619042","1327619046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6aef8ac60be3c4c1f54c12603412a73a.jpg","text":"TemporaryFile(/tmp/multipartBody1354977657681974529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407772856,"filename":"image_09012025_08_28_02_421650_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/020408ed9425a907b9264b1b7b08d84e.jpg","text":"TemporaryFile(/tmp/multipartBody6809917789249528422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407772856,"filename":"image_09012025_08_27_02_848575_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/29543fe2decebd25944a4a3188f63366.jpg","text":"TemporaryFile(/tmp/multipartBody1403736783341425558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407772856,"filename":"image_09012025_08_28_02_421650_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a0589f0755f4c65446e3b9c915a361c3.jpg","text":"TemporaryFile(/tmp/multipartBody2110495159467977501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407772856,"filename":"image_09012025_08_28_02_421650_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327619042","file1":"1327619038","file0":"1327618989","file3":"1327619046"},"map_files_photo_id_array":[{"photo_id":"1327619042","filename":"file2"},{"photo_id":"1327619038","filename":"file1"},{"photo_id":"1327618989","filename":"file0"},{"photo_id":"1327619046","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327619046":["hashtag1","hashtag2"]},{"1327618989":["hashtag1","hashtag2"]},{"1327619042":["hashtag1","hashtag2"]},{"1327619038":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327619046, 1327618989, 1327619042, 1327619038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20514535903931 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:29:22.156362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/28/image_09012025_08_28_02_421650_0003.jpg', '/home/pi/Desktop/images/09012025/08/29/image_09012025_08_29_03_006924_0000.jpg', '/home/pi/Desktop/images/09012025/08/29/image_09012025_08_29_03_006924_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/28/image_09012025_08_28_02_421650_0003.jpg
/home/pi/Desktop/images/09012025/08/29/image_09012025_08_29_03_006924_0000.jpg
/home/pi/Desktop/images/09012025/08/29/image_09012025_08_29_03_006924_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327619093","1327619098","1327619105"],"photo_ids_order":["1327619093","1327619098","1327619105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ae4f57190599be71e68f06f69072df0c.jpg","text":"TemporaryFile(/tmp/multipartBody1659493295468370286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407830021,"filename":"image_09012025_08_28_02_421650_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/82fe3f70097aecbf0fb16613eec32a69.jpg","text":"TemporaryFile(/tmp/multipartBody992414227502532776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407830021,"filename":"image_09012025_08_29_03_006924_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/79bd9da9996a406d3bda8035366b7618.jpg","text":"TemporaryFile(/tmp/multipartBody5139188399008024732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407830021,"filename":"image_09012025_08_29_03_006924_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327619105","file1":"1327619098","file0":"1327619093"},"map_files_photo_id_array":[{"photo_id":"1327619105","filename":"file2"},{"photo_id":"1327619098","filename":"file1"},{"photo_id":"1327619093","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327619093":["hashtag1","hashtag2"]},{"1327619098":["hashtag1","hashtag2"]},{"1327619105":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327619093, 1327619098, 1327619105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.506494998931885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:30:03.065645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:30:22.719793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/29/image_09012025_08_29_03_006924_0003.jpg', '/home/pi/Desktop/images/09012025/08/30/image_09012025_08_30_02_598504_0000.jpg', '/home/pi/Desktop/images/09012025/08/30/image_09012025_08_30_02_598504_0001.jpg', '/home/pi/Desktop/images/09012025/08/30/image_09012025_08_30_02_598504_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/29/image_09012025_08_29_03_006924_0003.jpg
/home/pi/Desktop/images/09012025/08/30/image_09012025_08_30_02_598504_0000.jpg
/home/pi/Desktop/images/09012025/08/30/image_09012025_08_30_02_598504_0001.jpg
/home/pi/Desktop/images/09012025/08/30/image_09012025_08_30_02_598504_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327619159","1327619167","1327619155","1327619164"],"photo_ids_order":["1327619155","1327619159","1327619164","1327619167"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a5a46f31251d7bf63cadbaabe0abdfb3.jpg","text":"TemporaryFile(/tmp/multipartBody7598151122785052016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407893071,"filename":"image_09012025_08_30_02_598504_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b151415514f39451a8f967e692659d51.jpg","text":"TemporaryFile(/tmp/multipartBody8806149203424688789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407893071,"filename":"image_09012025_08_30_02_598504_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/53b52ab2e019f38bf6c2e41b476d1fb9.jpg","text":"TemporaryFile(/tmp/multipartBody7027977842731425480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407893071,"filename":"image_09012025_08_29_03_006924_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c534d765259fabab07b3e34e3138cf99.jpg","text":"TemporaryFile(/tmp/multipartBody1023026741207488986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407893071,"filename":"image_09012025_08_30_02_598504_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327619164","file1":"1327619159","file0":"1327619155","file3":"1327619167"},"map_files_photo_id_array":[{"photo_id":"1327619164","filename":"file2"},{"photo_id":"1327619159","filename":"file1"},{"photo_id":"1327619155","filename":"file0"},{"photo_id":"1327619167","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327619159":["hashtag1","hashtag2"]},{"1327619167":["hashtag1","hashtag2"]},{"1327619155":["hashtag1","hashtag2"]},{"1327619164":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327619159, 1327619167, 1327619155, 1327619164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.72554683685303 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:31:22.291761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/30/image_09012025_08_30_02_598504_0003.jpg', '/home/pi/Desktop/images/09012025/08/31/image_09012025_08_31_03_121003_0000.jpg', '/home/pi/Desktop/images/09012025/08/31/image_09012025_08_31_03_121003_0001.jpg', '/home/pi/Desktop/images/09012025/08/31/image_09012025_08_31_03_121003_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/30/image_09012025_08_30_02_598504_0003.jpg
/home/pi/Desktop/images/09012025/08/31/image_09012025_08_31_03_121003_0000.jpg
/home/pi/Desktop/images/09012025/08/31/image_09012025_08_31_03_121003_0001.jpg
/home/pi/Desktop/images/09012025/08/31/image_09012025_08_31_03_121003_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327619280","1327619181","1327619729","1327619351"],"photo_ids_order":["1327619181","1327619280","1327619351","1327619729"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1cefc8c413af25c8c2ea1fc941a0c175.jpg","text":"TemporaryFile(/tmp/multipartBody4174481055480224391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407952650,"filename":"image_09012025_08_31_03_121003_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/99159f51392a6b594f1ab4f8545cd9f2.jpg","text":"TemporaryFile(/tmp/multipartBody326486267625670100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407952650,"filename":"image_09012025_08_30_02_598504_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8dc73e0708351ab46a241b44d52141bf.jpg","text":"TemporaryFile(/tmp/multipartBody3724300699320109617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407952650,"filename":"image_09012025_08_31_03_121003_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d236ed5885daa3bab33de397515bbaec.jpg","text":"TemporaryFile(/tmp/multipartBody8792686874875586032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736407952650,"filename":"image_09012025_08_31_03_121003_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327619351","file1":"1327619280","file0":"1327619181","file3":"1327619729"},"map_files_photo_id_array":[{"photo_id":"1327619351","filename":"file2"},{"photo_id":"1327619280","filename":"file1"},{"photo_id":"1327619181","filename":"file0"},{"photo_id":"1327619729","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327619280":["hashtag1","hashtag2"]},{"1327619181":["hashtag1","hashtag2"]},{"1327619729":["hashtag1","hashtag2"]},{"1327619351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327619280, 1327619181, 1327619729, 1327619351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.00834369659424 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:32:21.870624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/31/image_09012025_08_31_03_121003_0003.jpg', '/home/pi/Desktop/images/09012025/08/32/image_09012025_08_32_02_671679_0000.jpg', '/home/pi/Desktop/images/09012025/08/32/image_09012025_08_32_02_671679_0001.jpg', '/home/pi/Desktop/images/09012025/08/32/image_09012025_08_32_02_671679_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/31/image_09012025_08_31_03_121003_0003.jpg
/home/pi/Desktop/images/09012025/08/32/image_09012025_08_32_02_671679_0000.jpg
/home/pi/Desktop/images/09012025/08/32/image_09012025_08_32_02_671679_0001.jpg
/home/pi/Desktop/images/09012025/08/32/image_09012025_08_32_02_671679_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327619876","1327619867","1327619909","1327619893"],"photo_ids_order":["1327619867","1327619876","1327619893","1327619909"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b67ed679996e6983e730400d8678e5ae.jpg","text":"TemporaryFile(/tmp/multipartBody6171792157651055565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408012193,"filename":"image_09012025_08_32_02_671679_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/87ae77cdbff49557c9a0536667ec4385.jpg","text":"TemporaryFile(/tmp/multipartBody745006708150900427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408012193,"filename":"image_09012025_08_31_03_121003_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3ac4d84d798e98914fc2e3dfc06e03a9.jpg","text":"TemporaryFile(/tmp/multipartBody3242680228338545091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408012193,"filename":"image_09012025_08_32_02_671679_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cbb00cc0fac380493b8c9cd8d3fc2eea.jpg","text":"TemporaryFile(/tmp/multipartBody3960846949336302464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408012193,"filename":"image_09012025_08_32_02_671679_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327619893","file1":"1327619876","file0":"1327619867","file3":"1327619909"},"map_files_photo_id_array":[{"photo_id":"1327619893","filename":"file2"},{"photo_id":"1327619876","filename":"file1"},{"photo_id":"1327619867","filename":"file0"},{"photo_id":"1327619909","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327619876":["hashtag1","hashtag2"]},{"1327619867":["hashtag1","hashtag2"]},{"1327619909":["hashtag1","hashtag2"]},{"1327619893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327619876, 1327619867, 1327619909, 1327619893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.36855959892273 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:33:03.027187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:33:22.321182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/32/image_09012025_08_32_02_671679_0003.jpg', '/home/pi/Desktop/images/09012025/08/33/image_09012025_08_33_02_202362_0000.jpg', '/home/pi/Desktop/images/09012025/08/33/image_09012025_08_33_02_202362_0001.jpg', '/home/pi/Desktop/images/09012025/08/33/image_09012025_08_33_02_202362_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/32/image_09012025_08_32_02_671679_0003.jpg
/home/pi/Desktop/images/09012025/08/33/image_09012025_08_33_02_202362_0000.jpg
/home/pi/Desktop/images/09012025/08/33/image_09012025_08_33_02_202362_0001.jpg
/home/pi/Desktop/images/09012025/08/33/image_09012025_08_33_02_202362_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327619943","1327619936","1327619930","1327619923"],"photo_ids_order":["1327619923","1327619930","1327619936","1327619943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/33cf25e4829aaefe30e695738753d524.jpg","text":"TemporaryFile(/tmp/multipartBody3887515996760224303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408072832,"filename":"image_09012025_08_33_02_202362_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/04ac202b350e70307d49ca87f4d21466.jpg","text":"TemporaryFile(/tmp/multipartBody7985303330698973643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408072832,"filename":"image_09012025_08_33_02_202362_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c3da5c19ae6163a50d442f0832ddfc49.jpg","text":"TemporaryFile(/tmp/multipartBody8748880683537020217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408072832,"filename":"image_09012025_08_33_02_202362_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c40300b62989396eeba5de2bd6e04e4b.jpg","text":"TemporaryFile(/tmp/multipartBody4259680704427413612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408072832,"filename":"image_09012025_08_32_02_671679_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327619936","file1":"1327619930","file0":"1327619923","file3":"1327619943"},"map_files_photo_id_array":[{"photo_id":"1327619936","filename":"file2"},{"photo_id":"1327619930","filename":"file1"},{"photo_id":"1327619923","filename":"file0"},{"photo_id":"1327619943","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327619943":["hashtag1","hashtag2"]},{"1327619936":["hashtag1","hashtag2"]},{"1327619930":["hashtag1","hashtag2"]},{"1327619923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327619943, 1327619936, 1327619930, 1327619923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.07676124572754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:34:21.963832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/33/image_09012025_08_33_02_202362_0003.jpg', '/home/pi/Desktop/images/09012025/08/34/image_09012025_08_34_02_715472_0000.jpg', '/home/pi/Desktop/images/09012025/08/34/image_09012025_08_34_02_715472_0001.jpg', '/home/pi/Desktop/images/09012025/08/34/image_09012025_08_34_02_715472_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/33/image_09012025_08_33_02_202362_0003.jpg
/home/pi/Desktop/images/09012025/08/34/image_09012025_08_34_02_715472_0000.jpg
/home/pi/Desktop/images/09012025/08/34/image_09012025_08_34_02_715472_0001.jpg
/home/pi/Desktop/images/09012025/08/34/image_09012025_08_34_02_715472_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327620890","1327620572","1327620950","1327620952"],"photo_ids_order":["1327620572","1327620890","1327620950","1327620952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/57bd0bd61dc98f0ae413e67bec196028.jpg","text":"TemporaryFile(/tmp/multipartBody8169849296929797524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408132378,"filename":"image_09012025_08_34_02_715472_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/78da2e91f6e6934183551b66a4776ef2.jpg","text":"TemporaryFile(/tmp/multipartBody8485654293906245571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408132378,"filename":"image_09012025_08_33_02_202362_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/808a22fb688f8c9e4bf08ae6f400af23.jpg","text":"TemporaryFile(/tmp/multipartBody1621439032813225948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408132378,"filename":"image_09012025_08_34_02_715472_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d2a43d8d58650ef410ddc7d3524064fe.jpg","text":"TemporaryFile(/tmp/multipartBody157128373080864469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408132378,"filename":"image_09012025_08_34_02_715472_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327620950","file1":"1327620890","file0":"1327620572","file3":"1327620952"},"map_files_photo_id_array":[{"photo_id":"1327620950","filename":"file2"},{"photo_id":"1327620890","filename":"file1"},{"photo_id":"1327620572","filename":"file0"},{"photo_id":"1327620952","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327620890":["hashtag1","hashtag2"]},{"1327620572":["hashtag1","hashtag2"]},{"1327620950":["hashtag1","hashtag2"]},{"1327620952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327620890, 1327620572, 1327620950, 1327620952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.67107057571411 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:35:22.487073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/34/image_09012025_08_34_02_715472_0003.jpg', '/home/pi/Desktop/images/09012025/08/35/image_09012025_08_35_02_321734_0000.jpg', '/home/pi/Desktop/images/09012025/08/35/image_09012025_08_35_02_321734_0001.jpg', '/home/pi/Desktop/images/09012025/08/35/image_09012025_08_35_02_321734_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/34/image_09012025_08_34_02_715472_0003.jpg
/home/pi/Desktop/images/09012025/08/35/image_09012025_08_35_02_321734_0000.jpg
/home/pi/Desktop/images/09012025/08/35/image_09012025_08_35_02_321734_0001.jpg
/home/pi/Desktop/images/09012025/08/35/image_09012025_08_35_02_321734_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327621329","1327621037","1327621316","1327621013"],"photo_ids_order":["1327621013","1327621037","1327621316","1327621329"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cc42abc60300ed821d03690382b287c5.jpg","text":"TemporaryFile(/tmp/multipartBody8073899138937439242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408192968,"filename":"image_09012025_08_35_02_321734_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5d7ed319a91fcb91b738a20c9c53a4a6.jpg","text":"TemporaryFile(/tmp/multipartBody9099580113249459062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408192968,"filename":"image_09012025_08_35_02_321734_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/828c5aac0762fb1b56e812fd81f62e18.jpg","text":"TemporaryFile(/tmp/multipartBody7323157927963347410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408192968,"filename":"image_09012025_08_35_02_321734_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c6c9a725f6cbd4503d2fb9d54342c37c.jpg","text":"TemporaryFile(/tmp/multipartBody3728069336375695122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408192968,"filename":"image_09012025_08_34_02_715472_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327621316","file1":"1327621037","file0":"1327621013","file3":"1327621329"},"map_files_photo_id_array":[{"photo_id":"1327621316","filename":"file2"},{"photo_id":"1327621037","filename":"file1"},{"photo_id":"1327621013","filename":"file0"},{"photo_id":"1327621329","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327621329":["hashtag1","hashtag2"]},{"1327621037":["hashtag1","hashtag2"]},{"1327621316":["hashtag1","hashtag2"]},{"1327621013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327621329, 1327621037, 1327621316, 1327621013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.1240553855896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:36:21.938073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/35/image_09012025_08_35_02_321734_0003.jpg', '/home/pi/Desktop/images/09012025/08/36/image_09012025_08_36_02_832922_0000.jpg', '/home/pi/Desktop/images/09012025/08/36/image_09012025_08_36_02_832922_0001.jpg', '/home/pi/Desktop/images/09012025/08/36/image_09012025_08_36_02_832922_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/35/image_09012025_08_35_02_321734_0003.jpg
/home/pi/Desktop/images/09012025/08/36/image_09012025_08_36_02_832922_0000.jpg
/home/pi/Desktop/images/09012025/08/36/image_09012025_08_36_02_832922_0001.jpg
/home/pi/Desktop/images/09012025/08/36/image_09012025_08_36_02_832922_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327622175","1327622393","1327622396","1327622389"],"photo_ids_order":["1327622175","1327622389","1327622393","1327622396"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cd69acc24e9491152d0ffbd91d9dcd4d.jpg","text":"TemporaryFile(/tmp/multipartBody5001563966285691450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408252466,"filename":"image_09012025_08_35_02_321734_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1c4148dd6cabe64f0ac3aeb1068971d1.jpg","text":"TemporaryFile(/tmp/multipartBody9104873383452357343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408252466,"filename":"image_09012025_08_36_02_832922_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2ffe1ea04ba3e98f35862df01f2ee623.jpg","text":"TemporaryFile(/tmp/multipartBody7972663787814145029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408252466,"filename":"image_09012025_08_36_02_832922_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e67533f11bb9ca8ddabd8d7848e6d839.jpg","text":"TemporaryFile(/tmp/multipartBody6370129722120838139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408252466,"filename":"image_09012025_08_36_02_832922_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327622393","file1":"1327622389","file0":"1327622175","file3":"1327622396"},"map_files_photo_id_array":[{"photo_id":"1327622393","filename":"file2"},{"photo_id":"1327622389","filename":"file1"},{"photo_id":"1327622175","filename":"file0"},{"photo_id":"1327622396","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327622175":["hashtag1","hashtag2"]},{"1327622393":["hashtag1","hashtag2"]},{"1327622396":["hashtag1","hashtag2"]},{"1327622389":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327622175, 1327622393, 1327622396, 1327622389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.50266981124878 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:37:22.485846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/36/image_09012025_08_36_02_832922_0003.jpg', '/home/pi/Desktop/images/09012025/08/37/image_09012025_08_37_02_317916_0000.jpg', '/home/pi/Desktop/images/09012025/08/37/image_09012025_08_37_02_317916_0001.jpg', '/home/pi/Desktop/images/09012025/08/37/image_09012025_08_37_02_317916_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/36/image_09012025_08_36_02_832922_0003.jpg
/home/pi/Desktop/images/09012025/08/37/image_09012025_08_37_02_317916_0000.jpg
/home/pi/Desktop/images/09012025/08/37/image_09012025_08_37_02_317916_0001.jpg
/home/pi/Desktop/images/09012025/08/37/image_09012025_08_37_02_317916_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327622514","1327622492","1327622459","1327622733"],"photo_ids_order":["1327622459","1327622492","1327622514","1327622733"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a9c4691a3a038f5f14f21f6c17076c53.jpg","text":"TemporaryFile(/tmp/multipartBody6370828240157845003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408312849,"filename":"image_09012025_08_37_02_317916_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/04f272bd0ccccb69683a98a31eacb3af.jpg","text":"TemporaryFile(/tmp/multipartBody8991965405256927269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408312849,"filename":"image_09012025_08_37_02_317916_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e3646b59c3574ad0f0373db92cac0e4.jpg","text":"TemporaryFile(/tmp/multipartBody6327255992248962214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408312849,"filename":"image_09012025_08_36_02_832922_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bf138776bea5c6b0fa4cf38af3267a5c.jpg","text":"TemporaryFile(/tmp/multipartBody9127921189868403948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408312849,"filename":"image_09012025_08_37_02_317916_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327622514","file1":"1327622492","file0":"1327622459","file3":"1327622733"},"map_files_photo_id_array":[{"photo_id":"1327622514","filename":"file2"},{"photo_id":"1327622492","filename":"file1"},{"photo_id":"1327622459","filename":"file0"},{"photo_id":"1327622733","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327622514":["hashtag1","hashtag2"]},{"1327622492":["hashtag1","hashtag2"]},{"1327622459":["hashtag1","hashtag2"]},{"1327622733":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327622514, 1327622492, 1327622459, 1327622733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.385326623916626 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:38:21.968534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/37/image_09012025_08_37_02_317916_0003.jpg', '/home/pi/Desktop/images/09012025/08/38/image_09012025_08_38_02_803490_0000.jpg', '/home/pi/Desktop/images/09012025/08/38/image_09012025_08_38_02_803490_0001.jpg', '/home/pi/Desktop/images/09012025/08/38/image_09012025_08_38_02_803490_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/37/image_09012025_08_37_02_317916_0003.jpg
/home/pi/Desktop/images/09012025/08/38/image_09012025_08_38_02_803490_0000.jpg
/home/pi/Desktop/images/09012025/08/38/image_09012025_08_38_02_803490_0001.jpg
/home/pi/Desktop/images/09012025/08/38/image_09012025_08_38_02_803490_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327622949","1327622934","1327622954","1327623032"],"photo_ids_order":["1327622934","1327622949","1327622954","1327623032"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8ff521faadbfa42b3a801be79cf15c9c.jpg","text":"TemporaryFile(/tmp/multipartBody8250964815645446660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408372376,"filename":"image_09012025_08_38_02_803490_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/90be4caeee4bd622e5a391bb4361224a.jpg","text":"TemporaryFile(/tmp/multipartBody8508956780050878924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408372376,"filename":"image_09012025_08_37_02_317916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a44fe6d4105513242b629189851f5bb3.jpg","text":"TemporaryFile(/tmp/multipartBody6157124136488111201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408372376,"filename":"image_09012025_08_38_02_803490_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eb6e778678237c96da9f87de9ff2a108.jpg","text":"TemporaryFile(/tmp/multipartBody3708880727969060295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408372376,"filename":"image_09012025_08_38_02_803490_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327622954","file1":"1327622949","file0":"1327622934","file3":"1327623032"},"map_files_photo_id_array":[{"photo_id":"1327622954","filename":"file2"},{"photo_id":"1327622949","filename":"file1"},{"photo_id":"1327622934","filename":"file0"},{"photo_id":"1327623032","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327622949":["hashtag1","hashtag2"]},{"1327622934":["hashtag1","hashtag2"]},{"1327622954":["hashtag1","hashtag2"]},{"1327623032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327622949, 1327622934, 1327622954, 1327623032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.92455434799194 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:39:02.991093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:39:22.463738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/38/image_09012025_08_38_02_803490_0003.jpg', '/home/pi/Desktop/images/09012025/08/39/image_09012025_08_39_02_365441_0000.jpg', '/home/pi/Desktop/images/09012025/08/39/image_09012025_08_39_02_365441_0001.jpg', '/home/pi/Desktop/images/09012025/08/39/image_09012025_08_39_02_365441_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/38/image_09012025_08_38_02_803490_0003.jpg
/home/pi/Desktop/images/09012025/08/39/image_09012025_08_39_02_365441_0000.jpg
/home/pi/Desktop/images/09012025/08/39/image_09012025_08_39_02_365441_0001.jpg
/home/pi/Desktop/images/09012025/08/39/image_09012025_08_39_02_365441_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327623071","1327623068","1327623075","1327623078"],"photo_ids_order":["1327623068","1327623071","1327623075","1327623078"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1691d48a2350870d7c59e4fb0c968d56.jpg","text":"TemporaryFile(/tmp/multipartBody7084771230416690713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408432928,"filename":"image_09012025_08_39_02_365441_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/50b7fe8c9f04caf768d477713830ac57.jpg","text":"TemporaryFile(/tmp/multipartBody1905998738125250342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408432928,"filename":"image_09012025_08_38_02_803490_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/86fc02d769dba031ff2d4a5d3a83a68f.jpg","text":"TemporaryFile(/tmp/multipartBody9055503695129634203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408432928,"filename":"image_09012025_08_39_02_365441_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fc03ae7b73d70f3bc0fb388fcd82fed9.jpg","text":"TemporaryFile(/tmp/multipartBody5052435813003380360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408432928,"filename":"image_09012025_08_39_02_365441_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327623075","file1":"1327623071","file0":"1327623068","file3":"1327623078"},"map_files_photo_id_array":[{"photo_id":"1327623075","filename":"file2"},{"photo_id":"1327623071","filename":"file1"},{"photo_id":"1327623068","filename":"file0"},{"photo_id":"1327623078","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327623071":["hashtag1","hashtag2"]},{"1327623068":["hashtag1","hashtag2"]},{"1327623075":["hashtag1","hashtag2"]},{"1327623078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327623071, 1327623068, 1327623075, 1327623078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0956666469574 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:40:02.587213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:40:22.206805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/39/image_09012025_08_39_02_365441_0003.jpg', '/home/pi/Desktop/images/09012025/08/40/image_09012025_08_40_02_854227_0000.jpg', '/home/pi/Desktop/images/09012025/08/40/image_09012025_08_40_02_854227_0001.jpg', '/home/pi/Desktop/images/09012025/08/40/image_09012025_08_40_02_854227_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/39/image_09012025_08_39_02_365441_0003.jpg
/home/pi/Desktop/images/09012025/08/40/image_09012025_08_40_02_854227_0000.jpg
/home/pi/Desktop/images/09012025/08/40/image_09012025_08_40_02_854227_0001.jpg
/home/pi/Desktop/images/09012025/08/40/image_09012025_08_40_02_854227_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327623097","1327623094","1327623100","1327623090"],"photo_ids_order":["1327623090","1327623094","1327623097","1327623100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8298c33d0564bad2661dab9ce8161229.jpg","text":"TemporaryFile(/tmp/multipartBody3075595215004565447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408492501,"filename":"image_09012025_08_40_02_854227_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/14e010568084ed21f642c82fc054c1d7.jpg","text":"TemporaryFile(/tmp/multipartBody2788659765202054802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408492501,"filename":"image_09012025_08_40_02_854227_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0f9a8d7df9bd56cd5d6b2dea5428a5e6.jpg","text":"TemporaryFile(/tmp/multipartBody3164955907744799248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408492501,"filename":"image_09012025_08_40_02_854227_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5097821e4c5507e56cb0c6a4906fcf7f.jpg","text":"TemporaryFile(/tmp/multipartBody6434521275313639313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408492501,"filename":"image_09012025_08_39_02_365441_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327623097","file1":"1327623094","file0":"1327623090","file3":"1327623100"},"map_files_photo_id_array":[{"photo_id":"1327623097","filename":"file2"},{"photo_id":"1327623094","filename":"file1"},{"photo_id":"1327623090","filename":"file0"},{"photo_id":"1327623100","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327623097":["hashtag1","hashtag2"]},{"1327623094":["hashtag1","hashtag2"]},{"1327623100":["hashtag1","hashtag2"]},{"1327623090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327623097, 1327623094, 1327623100, 1327623090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.21482062339783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:41:03.046708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:41:22.631047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/40/image_09012025_08_40_02_854227_0003.jpg', '/home/pi/Desktop/images/09012025/08/41/image_09012025_08_41_02_505165_0000.jpg', '/home/pi/Desktop/images/09012025/08/41/image_09012025_08_41_02_505165_0001.jpg', '/home/pi/Desktop/images/09012025/08/41/image_09012025_08_41_02_505165_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/40/image_09012025_08_40_02_854227_0003.jpg
/home/pi/Desktop/images/09012025/08/41/image_09012025_08_41_02_505165_0000.jpg
/home/pi/Desktop/images/09012025/08/41/image_09012025_08_41_02_505165_0001.jpg
/home/pi/Desktop/images/09012025/08/41/image_09012025_08_41_02_505165_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327623149","1327623140","1327623143","1327623146"],"photo_ids_order":["1327623140","1327623143","1327623146","1327623149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/738ce7110fed607163261b8dc994feaf.jpg","text":"TemporaryFile(/tmp/multipartBody8188766809798984630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408552938,"filename":"image_09012025_08_41_02_505165_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5c6be84e4df6c80eedd5ccfed405b9d8.jpg","text":"TemporaryFile(/tmp/multipartBody7392867912459918505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408552938,"filename":"image_09012025_08_40_02_854227_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e5d0fcf1251fd114947bcb3d499bb887.jpg","text":"TemporaryFile(/tmp/multipartBody1272687186122064321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408552938,"filename":"image_09012025_08_41_02_505165_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/51e181bcb2bb6859a597ee3ad40491ce.jpg","text":"TemporaryFile(/tmp/multipartBody8387453754682833946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408552938,"filename":"image_09012025_08_41_02_505165_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327623146","file1":"1327623143","file0":"1327623140","file3":"1327623149"},"map_files_photo_id_array":[{"photo_id":"1327623146","filename":"file2"},{"photo_id":"1327623143","filename":"file1"},{"photo_id":"1327623140","filename":"file0"},{"photo_id":"1327623149","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327623149":["hashtag1","hashtag2"]},{"1327623140":["hashtag1","hashtag2"]},{"1327623143":["hashtag1","hashtag2"]},{"1327623146":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327623149, 1327623140, 1327623143, 1327623146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.533913135528564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:42:02.666653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:42:22.177071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/41/image_09012025_08_41_02_505165_0003.jpg', '/home/pi/Desktop/images/09012025/08/42/image_09012025_08_42_02_940935_0000.jpg', '/home/pi/Desktop/images/09012025/08/42/image_09012025_08_42_02_940935_0001.jpg', '/home/pi/Desktop/images/09012025/08/42/image_09012025_08_42_02_940935_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/41/image_09012025_08_41_02_505165_0003.jpg
/home/pi/Desktop/images/09012025/08/42/image_09012025_08_42_02_940935_0000.jpg
/home/pi/Desktop/images/09012025/08/42/image_09012025_08_42_02_940935_0001.jpg
/home/pi/Desktop/images/09012025/08/42/image_09012025_08_42_02_940935_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327623355","1327623202","1327623198","1327623252"],"photo_ids_order":["1327623198","1327623202","1327623252","1327623355"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/33e93b8d4806f9d95533bf1ebd5ffc6f.jpg","text":"TemporaryFile(/tmp/multipartBody7178559463017846149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408612631,"filename":"image_09012025_08_42_02_940935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/849c7a78137b65a9db3c04575e08829a.jpg","text":"TemporaryFile(/tmp/multipartBody1046680807373987380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408612631,"filename":"image_09012025_08_42_02_940935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/53cffffeaf6f2fdb92e6ce6edf9a8e5b.jpg","text":"TemporaryFile(/tmp/multipartBody3260622113680110669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408612631,"filename":"image_09012025_08_41_02_505165_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/368b70c2bd4e5cc081018c24c55eac80.jpg","text":"TemporaryFile(/tmp/multipartBody421443238870596615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408612631,"filename":"image_09012025_08_42_02_940935_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327623252","file1":"1327623202","file0":"1327623198","file3":"1327623355"},"map_files_photo_id_array":[{"photo_id":"1327623252","filename":"file2"},{"photo_id":"1327623202","filename":"file1"},{"photo_id":"1327623198","filename":"file0"},{"photo_id":"1327623355","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327623355":["hashtag1","hashtag2"]},{"1327623202":["hashtag1","hashtag2"]},{"1327623198":["hashtag1","hashtag2"]},{"1327623252":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327623355, 1327623202, 1327623198, 1327623252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.26936388015747 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:43:02.364720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:43:21.766381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/42/image_09012025_08_42_02_940935_0003.jpg', '/home/pi/Desktop/images/09012025/08/43/image_09012025_08_43_02_627338_0000.jpg', '/home/pi/Desktop/images/09012025/08/43/image_09012025_08_43_02_627338_0001.jpg', '/home/pi/Desktop/images/09012025/08/43/image_09012025_08_43_02_627338_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/42/image_09012025_08_42_02_940935_0003.jpg
/home/pi/Desktop/images/09012025/08/43/image_09012025_08_43_02_627338_0000.jpg
/home/pi/Desktop/images/09012025/08/43/image_09012025_08_43_02_627338_0001.jpg
/home/pi/Desktop/images/09012025/08/43/image_09012025_08_43_02_627338_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327624229","1327624240","1327624251","1327624248"],"photo_ids_order":["1327624229","1327624240","1327624248","1327624251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/96f878b602abfe7e64cf8f6d4e6ebced.jpg","text":"TemporaryFile(/tmp/multipartBody7311460230784835421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408672066,"filename":"image_09012025_08_42_02_940935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/37df184039771e088d3d8f70f2a66ee5.jpg","text":"TemporaryFile(/tmp/multipartBody3711722005935762168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408672066,"filename":"image_09012025_08_43_02_627338_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1d43630a3b1bb6c399721edabd27a69c.jpg","text":"TemporaryFile(/tmp/multipartBody998103910931330587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408672066,"filename":"image_09012025_08_43_02_627338_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9e091c6d53aa7c2bcab14c6c89be8ae1.jpg","text":"TemporaryFile(/tmp/multipartBody7068218679184643035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408672066,"filename":"image_09012025_08_43_02_627338_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327624248","file1":"1327624240","file0":"1327624229","file3":"1327624251"},"map_files_photo_id_array":[{"photo_id":"1327624248","filename":"file2"},{"photo_id":"1327624240","filename":"file1"},{"photo_id":"1327624229","filename":"file0"},{"photo_id":"1327624251","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327624229":["hashtag1","hashtag2"]},{"1327624240":["hashtag1","hashtag2"]},{"1327624251":["hashtag1","hashtag2"]},{"1327624248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327624229, 1327624240, 1327624251, 1327624248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28881478309631 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:44:02.822233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:44:22.296052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/43/image_09012025_08_43_02_627338_0003.jpg', '/home/pi/Desktop/images/09012025/08/44/image_09012025_08_44_02_191316_0000.jpg', '/home/pi/Desktop/images/09012025/08/44/image_09012025_08_44_02_191316_0001.jpg', '/home/pi/Desktop/images/09012025/08/44/image_09012025_08_44_02_191316_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/43/image_09012025_08_43_02_627338_0003.jpg
/home/pi/Desktop/images/09012025/08/44/image_09012025_08_44_02_191316_0000.jpg
/home/pi/Desktop/images/09012025/08/44/image_09012025_08_44_02_191316_0001.jpg
/home/pi/Desktop/images/09012025/08/44/image_09012025_08_44_02_191316_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327624276","1327624272","1327624292","1327624280"],"photo_ids_order":["1327624272","1327624276","1327624280","1327624292"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4f2ef4bbd1e5719e89ae82301fb19dd9.jpg","text":"TemporaryFile(/tmp/multipartBody8581749800394851044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408732476,"filename":"image_09012025_08_44_02_191316_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/34ab3feb0f7f4b1898c303be5d5fc8b7.jpg","text":"TemporaryFile(/tmp/multipartBody6787827296635895668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408732476,"filename":"image_09012025_08_43_02_627338_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c5bf53cff6a4a85e78d4fd35e0d27dc4.jpg","text":"TemporaryFile(/tmp/multipartBody1772208231573217417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408732476,"filename":"image_09012025_08_44_02_191316_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5c9cde348e8b532c2cb5e48a0b1bf637.jpg","text":"TemporaryFile(/tmp/multipartBody1345287196374161515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408732476,"filename":"image_09012025_08_44_02_191316_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327624280","file1":"1327624276","file0":"1327624272","file3":"1327624292"},"map_files_photo_id_array":[{"photo_id":"1327624280","filename":"file2"},{"photo_id":"1327624276","filename":"file1"},{"photo_id":"1327624272","filename":"file0"},{"photo_id":"1327624292","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327624276":["hashtag1","hashtag2"]},{"1327624272":["hashtag1","hashtag2"]},{"1327624292":["hashtag1","hashtag2"]},{"1327624280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327624276, 1327624272, 1327624292, 1327624280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.03382110595703 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:45:21.892263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/44/image_09012025_08_44_02_191316_0003.jpg', '/home/pi/Desktop/images/09012025/08/45/image_09012025_08_45_02_753513_0000.jpg', '/home/pi/Desktop/images/09012025/08/45/image_09012025_08_45_02_753513_0001.jpg', '/home/pi/Desktop/images/09012025/08/45/image_09012025_08_45_02_753513_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/44/image_09012025_08_44_02_191316_0003.jpg
/home/pi/Desktop/images/09012025/08/45/image_09012025_08_45_02_753513_0000.jpg
/home/pi/Desktop/images/09012025/08/45/image_09012025_08_45_02_753513_0001.jpg
/home/pi/Desktop/images/09012025/08/45/image_09012025_08_45_02_753513_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327624936","1327624909","1327624595","1327624775"],"photo_ids_order":["1327624595","1327624775","1327624909","1327624936"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/083329f0e23eaa90e2621f52cfa3fc87.jpg","text":"TemporaryFile(/tmp/multipartBody5024432008051936850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408792293,"filename":"image_09012025_08_45_02_753513_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/091dc5414803af4e14a128e939c2d6a9.jpg","text":"TemporaryFile(/tmp/multipartBody6375428962662991811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408792293,"filename":"image_09012025_08_45_02_753513_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3d47542aa5dd1d66d04325c0b6458863.jpg","text":"TemporaryFile(/tmp/multipartBody4967107435728026307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408792293,"filename":"image_09012025_08_44_02_191316_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5372b5dbb88feeacc13b6428670af29e.jpg","text":"TemporaryFile(/tmp/multipartBody1243099186020235848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408792293,"filename":"image_09012025_08_45_02_753513_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327624909","file1":"1327624775","file0":"1327624595","file3":"1327624936"},"map_files_photo_id_array":[{"photo_id":"1327624909","filename":"file2"},{"photo_id":"1327624775","filename":"file1"},{"photo_id":"1327624595","filename":"file0"},{"photo_id":"1327624936","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327624936":["hashtag1","hashtag2"]},{"1327624909":["hashtag1","hashtag2"]},{"1327624595":["hashtag1","hashtag2"]},{"1327624775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327624936, 1327624909, 1327624595, 1327624775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.49109721183777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:46:02.902278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:46:22.419019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/45/image_09012025_08_45_02_753513_0003.jpg', '/home/pi/Desktop/images/09012025/08/46/image_09012025_08_46_02_246422_0000.jpg', '/home/pi/Desktop/images/09012025/08/46/image_09012025_08_46_02_246422_0001.jpg', '/home/pi/Desktop/images/09012025/08/46/image_09012025_08_46_02_246422_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/45/image_09012025_08_45_02_753513_0003.jpg
/home/pi/Desktop/images/09012025/08/46/image_09012025_08_46_02_246422_0000.jpg
/home/pi/Desktop/images/09012025/08/46/image_09012025_08_46_02_246422_0001.jpg
/home/pi/Desktop/images/09012025/08/46/image_09012025_08_46_02_246422_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.91817331314087 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:47:02.641507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/45/image_09012025_08_45_02_753513_0003.jpg', '/home/pi/Desktop/images/09012025/08/46/image_09012025_08_46_02_246422_0000.jpg', '/home/pi/Desktop/images/09012025/08/46/image_09012025_08_46_02_246422_0001.jpg', '/home/pi/Desktop/images/09012025/08/46/image_09012025_08_46_02_246422_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/45/image_09012025_08_45_02_753513_0003.jpg
/home/pi/Desktop/images/09012025/08/46/image_09012025_08_46_02_246422_0000.jpg
/home/pi/Desktop/images/09012025/08/46/image_09012025_08_46_02_246422_0001.jpg
/home/pi/Desktop/images/09012025/08/46/image_09012025_08_46_02_246422_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327625185","1327625188","1327625182","1327625193"],"photo_ids_order":["1327625182","1327625185","1327625188","1327625193"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/076a4f297f4275065d1fc713e892d4bb.jpg","text":"TemporaryFile(/tmp/multipartBody6906887276666831636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408892994,"filename":"image_09012025_08_46_02_246422_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d61415385398f38c46a5c7d5b63a88d7.jpg","text":"TemporaryFile(/tmp/multipartBody674078788569686780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408892994,"filename":"image_09012025_08_46_02_246422_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2db3bae387d545cf713e1aebea9af54e.jpg","text":"TemporaryFile(/tmp/multipartBody2096757748299848599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408892994,"filename":"image_09012025_08_45_02_753513_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c0502d1dbfb730701f755df0cd62cb8d.jpg","text":"TemporaryFile(/tmp/multipartBody1380709737348173524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408892994,"filename":"image_09012025_08_46_02_246422_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327625188","file1":"1327625185","file0":"1327625182","file3":"1327625193"},"map_files_photo_id_array":[{"photo_id":"1327625188","filename":"file2"},{"photo_id":"1327625185","filename":"file1"},{"photo_id":"1327625182","filename":"file0"},{"photo_id":"1327625193","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327625185":["hashtag1","hashtag2"]},{"1327625188":["hashtag1","hashtag2"]},{"1327625182":["hashtag1","hashtag2"]},{"1327625193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327625185, 1327625188, 1327625182, 1327625193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.342257261276245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:48:02.927885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/46/image_09012025_08_46_02_246422_0003.jpg', '/home/pi/Desktop/images/09012025/08/47/image_09012025_08_47_02_761793_0000.jpg', '/home/pi/Desktop/images/09012025/08/47/image_09012025_08_47_02_761793_0001.jpg', '/home/pi/Desktop/images/09012025/08/47/image_09012025_08_47_02_761793_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/46/image_09012025_08_46_02_246422_0003.jpg
/home/pi/Desktop/images/09012025/08/47/image_09012025_08_47_02_761793_0000.jpg
/home/pi/Desktop/images/09012025/08/47/image_09012025_08_47_02_761793_0001.jpg
/home/pi/Desktop/images/09012025/08/47/image_09012025_08_47_02_761793_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327625262","1327625255","1327625264","1327625258"],"photo_ids_order":["1327625255","1327625258","1327625262","1327625264"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/618e75cb46ff66776ed831a97c039469.jpg","text":"TemporaryFile(/tmp/multipartBody6667897169413624234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408953281,"filename":"image_09012025_08_47_02_761793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/18eda7cd20bc74586b378977c81f938f.jpg","text":"TemporaryFile(/tmp/multipartBody1232912415070364233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408953281,"filename":"image_09012025_08_46_02_246422_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c0b6102bb39cd983db7641f14907c3a1.jpg","text":"TemporaryFile(/tmp/multipartBody2581547060495565581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408953281,"filename":"image_09012025_08_47_02_761793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0c43c5a328299ecb8a657ace406337f6.jpg","text":"TemporaryFile(/tmp/multipartBody4648259744089534449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736408953281,"filename":"image_09012025_08_47_02_761793_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327625262","file1":"1327625258","file0":"1327625255","file3":"1327625264"},"map_files_photo_id_array":[{"photo_id":"1327625262","filename":"file2"},{"photo_id":"1327625258","filename":"file1"},{"photo_id":"1327625255","filename":"file0"},{"photo_id":"1327625264","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327625262":["hashtag1","hashtag2"]},{"1327625255":["hashtag1","hashtag2"]},{"1327625264":["hashtag1","hashtag2"]},{"1327625258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327625262, 1327625255, 1327625264, 1327625258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.16828918457031 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:49:02.674914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/47/image_09012025_08_47_02_761793_0003.jpg', '/home/pi/Desktop/images/09012025/08/48/image_09012025_08_48_02_277204_0000.jpg', '/home/pi/Desktop/images/09012025/08/48/image_09012025_08_48_02_277204_0001.jpg', '/home/pi/Desktop/images/09012025/08/48/image_09012025_08_48_02_277204_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/47/image_09012025_08_47_02_761793_0003.jpg
/home/pi/Desktop/images/09012025/08/48/image_09012025_08_48_02_277204_0000.jpg
/home/pi/Desktop/images/09012025/08/48/image_09012025_08_48_02_277204_0001.jpg
/home/pi/Desktop/images/09012025/08/48/image_09012025_08_48_02_277204_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327625283","1327625286","1327625285","1327625282"],"photo_ids_order":["1327625282","1327625283","1327625285","1327625286"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c5e7542f73f21570e8be4913a39568e6.jpg","text":"TemporaryFile(/tmp/multipartBody8676254602570640545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409012874,"filename":"image_09012025_08_48_02_277204_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/47009d899e1984cf02ce2004a442da9c.jpg","text":"TemporaryFile(/tmp/multipartBody5101547072430553626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409012874,"filename":"image_09012025_08_48_02_277204_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7021fd4765c0db9d6b30dcc8122c3f86.jpg","text":"TemporaryFile(/tmp/multipartBody2037366862194794900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409012874,"filename":"image_09012025_08_48_02_277204_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3edd3f62bd25f1ad7fa70ba2e76e38ff.jpg","text":"TemporaryFile(/tmp/multipartBody3018338742817659488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409012874,"filename":"image_09012025_08_47_02_761793_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327625285","file1":"1327625283","file0":"1327625282","file3":"1327625286"},"map_files_photo_id_array":[{"photo_id":"1327625285","filename":"file2"},{"photo_id":"1327625283","filename":"file1"},{"photo_id":"1327625282","filename":"file0"},{"photo_id":"1327625286","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327625283":["hashtag1","hashtag2"]},{"1327625286":["hashtag1","hashtag2"]},{"1327625285":["hashtag1","hashtag2"]},{"1327625282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327625283, 1327625286, 1327625285, 1327625282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.661957025527954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:50:03.072520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/48/image_09012025_08_48_02_277204_0003.jpg', '/home/pi/Desktop/images/09012025/08/49/image_09012025_08_49_02_889438_0000.jpg', '/home/pi/Desktop/images/09012025/08/49/image_09012025_08_49_02_889438_0001.jpg', '/home/pi/Desktop/images/09012025/08/49/image_09012025_08_49_02_889438_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/48/image_09012025_08_48_02_277204_0003.jpg
/home/pi/Desktop/images/09012025/08/49/image_09012025_08_49_02_889438_0000.jpg
/home/pi/Desktop/images/09012025/08/49/image_09012025_08_49_02_889438_0001.jpg
/home/pi/Desktop/images/09012025/08/49/image_09012025_08_49_02_889438_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327625299","1327625297","1327625301","1327625296"],"photo_ids_order":["1327625296","1327625297","1327625299","1327625301"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cbb7e1f0c759798fe614899df219e619.jpg","text":"TemporaryFile(/tmp/multipartBody513121242871438687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409073450,"filename":"image_09012025_08_49_02_889438_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3acd0a5bfc50a8189ab3cb08d64c1318.jpg","text":"TemporaryFile(/tmp/multipartBody1255426480958679231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409073450,"filename":"image_09012025_08_49_02_889438_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0d7a5aeadf011ac319e25e912afc2a4e.jpg","text":"TemporaryFile(/tmp/multipartBody1762198010310422849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409073450,"filename":"image_09012025_08_49_02_889438_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ab4a48a76fd11810f2840f345c1d66ed.jpg","text":"TemporaryFile(/tmp/multipartBody3866218211429052001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409073450,"filename":"image_09012025_08_48_02_277204_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327625299","file1":"1327625297","file0":"1327625296","file3":"1327625301"},"map_files_photo_id_array":[{"photo_id":"1327625299","filename":"file2"},{"photo_id":"1327625297","filename":"file1"},{"photo_id":"1327625296","filename":"file0"},{"photo_id":"1327625301","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327625299":["hashtag1","hashtag2"]},{"1327625297":["hashtag1","hashtag2"]},{"1327625301":["hashtag1","hashtag2"]},{"1327625296":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327625299, 1327625297, 1327625301, 1327625296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.49774146080017 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:51:02.738593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/49/image_09012025_08_49_02_889438_0003.jpg', '/home/pi/Desktop/images/09012025/08/50/image_09012025_08_50_02_379406_0000.jpg', '/home/pi/Desktop/images/09012025/08/50/image_09012025_08_50_02_379406_0001.jpg', '/home/pi/Desktop/images/09012025/08/50/image_09012025_08_50_02_379406_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/49/image_09012025_08_49_02_889438_0003.jpg
/home/pi/Desktop/images/09012025/08/50/image_09012025_08_50_02_379406_0000.jpg
/home/pi/Desktop/images/09012025/08/50/image_09012025_08_50_02_379406_0001.jpg
/home/pi/Desktop/images/09012025/08/50/image_09012025_08_50_02_379406_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327625315","1327625314","1327625331","1327625318"],"photo_ids_order":["1327625314","1327625315","1327625318","1327625331"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f1c04f1139163d3b747044fa2c863f15.jpg","text":"TemporaryFile(/tmp/multipartBody7409656368684824876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409133028,"filename":"image_09012025_08_50_02_379406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5ebd102a30930fe8a1241e7d6d1e79ec.jpg","text":"TemporaryFile(/tmp/multipartBody3231280333998532545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409133028,"filename":"image_09012025_08_49_02_889438_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d4cc2e03ec6e596544cea3011b613ad7.jpg","text":"TemporaryFile(/tmp/multipartBody3191051265780223225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409133028,"filename":"image_09012025_08_50_02_379406_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d8293dde2da385d43bbc400c4e717ae7.jpg","text":"TemporaryFile(/tmp/multipartBody3354465852102610092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409133028,"filename":"image_09012025_08_50_02_379406_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327625318","file1":"1327625315","file0":"1327625314","file3":"1327625331"},"map_files_photo_id_array":[{"photo_id":"1327625318","filename":"file2"},{"photo_id":"1327625315","filename":"file1"},{"photo_id":"1327625314","filename":"file0"},{"photo_id":"1327625331","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327625315":["hashtag1","hashtag2"]},{"1327625314":["hashtag1","hashtag2"]},{"1327625331":["hashtag1","hashtag2"]},{"1327625318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327625315, 1327625314, 1327625331, 1327625318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.70607805252075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:52:02.222661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/50/image_09012025_08_50_02_379406_0003.jpg', '/home/pi/Desktop/images/09012025/08/51/image_09012025_08_51_02_988321_0000.jpg', '/home/pi/Desktop/images/09012025/08/51/image_09012025_08_51_02_988321_0001.jpg', '/home/pi/Desktop/images/09012025/08/51/image_09012025_08_51_02_988321_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/50/image_09012025_08_50_02_379406_0003.jpg
/home/pi/Desktop/images/09012025/08/51/image_09012025_08_51_02_988321_0000.jpg
/home/pi/Desktop/images/09012025/08/51/image_09012025_08_51_02_988321_0001.jpg
/home/pi/Desktop/images/09012025/08/51/image_09012025_08_51_02_988321_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327625344","1327625347","1327625349","1327625345"],"photo_ids_order":["1327625344","1327625345","1327625347","1327625349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6a5ffb5773683af41c962e7b0472a59f.jpg","text":"TemporaryFile(/tmp/multipartBody1413930717046159574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409192543,"filename":"image_09012025_08_50_02_379406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/07fdb98f2d3810e16c6a332a3e177be8.jpg","text":"TemporaryFile(/tmp/multipartBody3622911980969891956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409192543,"filename":"image_09012025_08_51_02_988321_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/266b78aa6761d033ffddf9b9318a32a3.jpg","text":"TemporaryFile(/tmp/multipartBody8581719724592587843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409192543,"filename":"image_09012025_08_51_02_988321_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/823778a3d8fefe2341d9c6e768aa27b5.jpg","text":"TemporaryFile(/tmp/multipartBody749795742519735453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409192543,"filename":"image_09012025_08_51_02_988321_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327625347","file1":"1327625345","file0":"1327625344","file3":"1327625349"},"map_files_photo_id_array":[{"photo_id":"1327625347","filename":"file2"},{"photo_id":"1327625345","filename":"file1"},{"photo_id":"1327625344","filename":"file0"},{"photo_id":"1327625349","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327625344":["hashtag1","hashtag2"]},{"1327625347":["hashtag1","hashtag2"]},{"1327625349":["hashtag1","hashtag2"]},{"1327625345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327625344, 1327625347, 1327625349, 1327625345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.68441581726074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:53:02.873615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/51/image_09012025_08_51_02_988321_0003.jpg', '/home/pi/Desktop/images/09012025/08/52/image_09012025_08_52_02_496411_0000.jpg', '/home/pi/Desktop/images/09012025/08/52/image_09012025_08_52_02_496411_0001.jpg', '/home/pi/Desktop/images/09012025/08/52/image_09012025_08_52_02_496411_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/51/image_09012025_08_51_02_988321_0003.jpg
/home/pi/Desktop/images/09012025/08/52/image_09012025_08_52_02_496411_0000.jpg
/home/pi/Desktop/images/09012025/08/52/image_09012025_08_52_02_496411_0001.jpg
/home/pi/Desktop/images/09012025/08/52/image_09012025_08_52_02_496411_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.931377172470093 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:53:22.302558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/51/image_09012025_08_51_02_988321_0003.jpg', '/home/pi/Desktop/images/09012025/08/52/image_09012025_08_52_02_496411_0000.jpg', '/home/pi/Desktop/images/09012025/08/52/image_09012025_08_52_02_496411_0001.jpg', '/home/pi/Desktop/images/09012025/08/52/image_09012025_08_52_02_496411_0002.jpg', '/home/pi/Desktop/images/09012025/08/52/image_09012025_08_52_02_496411_0003.jpg', '/home/pi/Desktop/images/09012025/08/53/image_09012025_08_53_02_160392_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/51/image_09012025_08_51_02_988321_0003.jpg
/home/pi/Desktop/images/09012025/08/52/image_09012025_08_52_02_496411_0000.jpg
/home/pi/Desktop/images/09012025/08/52/image_09012025_08_52_02_496411_0001.jpg
/home/pi/Desktop/images/09012025/08/52/image_09012025_08_52_02_496411_0002.jpg
/home/pi/Desktop/images/09012025/08/52/image_09012025_08_52_02_496411_0003.jpg
/home/pi/Desktop/images/09012025/08/53/image_09012025_08_53_02_160392_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327625408","1327625431","1327625424","1327625427","1327625395","1327625380"],"photo_ids_order":["1327625380","1327625395","1327625408","1327625424","1327625427","1327625431"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2bdff0eb5beb20e6681eb6f2f07aeb87.jpg","text":"TemporaryFile(/tmp/multipartBody6300940786975167936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409277449,"filename":"image_09012025_08_52_02_496411_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b61fb49f8cac2992d17e17468984b1fc.jpg","text":"TemporaryFile(/tmp/multipartBody7020854383957103367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409277449,"filename":"image_09012025_08_53_02_160392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/33a215c0bba44c54f230517d66cfc853.jpg","text":"TemporaryFile(/tmp/multipartBody3713304660322878885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409277449,"filename":"image_09012025_08_52_02_496411_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6f9bfbd04b4dddac2d34e477e08ca9d5.jpg","text":"TemporaryFile(/tmp/multipartBody1282678649910414238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409277449,"filename":"image_09012025_08_52_02_496411_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/66170560df1792d1346210176e3ba15c.jpg","text":"TemporaryFile(/tmp/multipartBody9188284569448571778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409277449,"filename":"image_09012025_08_52_02_496411_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/374cd343c443d2457d9862c4d5833a44.jpg","text":"TemporaryFile(/tmp/multipartBody8099304503278305177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409277449,"filename":"image_09012025_08_51_02_988321_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327625408","file1":"1327625395","file0":"1327625380","file4":"1327625427","file5":"1327625431","file3":"1327625424"},"map_files_photo_id_array":[{"photo_id":"1327625431","filename":"file5"},{"photo_id":"1327625408","filename":"file2"},{"photo_id":"1327625427","filename":"file4"},{"photo_id":"1327625395","filename":"file1"},{"photo_id":"1327625380","filename":"file0"},{"photo_id":"1327625424","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327625408":["hashtag1","hashtag2"]},{"1327625431":["hashtag1","hashtag2"]},{"1327625424":["hashtag1","hashtag2"]},{"1327625427":["hashtag1","hashtag2"]},{"1327625395":["hashtag1","hashtag2"]},{"1327625380":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327625408, 1327625431, 1327625424, 1327625427, 1327625395, 1327625380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.68587946891785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:54:22.095976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/53/image_09012025_08_53_02_160392_0001.jpg', '/home/pi/Desktop/images/09012025/08/53/image_09012025_08_53_02_160392_0002.jpg', '/home/pi/Desktop/images/09012025/08/53/image_09012025_08_53_02_160392_0003.jpg', '/home/pi/Desktop/images/09012025/08/54/image_09012025_08_54_02_693093_0000.jpg', '/home/pi/Desktop/images/09012025/08/54/image_09012025_08_54_02_693093_0001.jpg', '/home/pi/Desktop/images/09012025/08/54/image_09012025_08_54_02_693093_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/53/image_09012025_08_53_02_160392_0001.jpg
/home/pi/Desktop/images/09012025/08/53/image_09012025_08_53_02_160392_0002.jpg
/home/pi/Desktop/images/09012025/08/53/image_09012025_08_53_02_160392_0003.jpg
/home/pi/Desktop/images/09012025/08/54/image_09012025_08_54_02_693093_0000.jpg
/home/pi/Desktop/images/09012025/08/54/image_09012025_08_54_02_693093_0001.jpg
/home/pi/Desktop/images/09012025/08/54/image_09012025_08_54_02_693093_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.862401247024536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:55:03.302844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/53/image_09012025_08_53_02_160392_0001.jpg', '/home/pi/Desktop/images/09012025/08/53/image_09012025_08_53_02_160392_0002.jpg', '/home/pi/Desktop/images/09012025/08/53/image_09012025_08_53_02_160392_0003.jpg', '/home/pi/Desktop/images/09012025/08/54/image_09012025_08_54_02_693093_0000.jpg', '/home/pi/Desktop/images/09012025/08/54/image_09012025_08_54_02_693093_0001.jpg', '/home/pi/Desktop/images/09012025/08/54/image_09012025_08_54_02_693093_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/53/image_09012025_08_53_02_160392_0001.jpg
/home/pi/Desktop/images/09012025/08/53/image_09012025_08_53_02_160392_0002.jpg
/home/pi/Desktop/images/09012025/08/53/image_09012025_08_53_02_160392_0003.jpg
/home/pi/Desktop/images/09012025/08/54/image_09012025_08_54_02_693093_0000.jpg
/home/pi/Desktop/images/09012025/08/54/image_09012025_08_54_02_693093_0001.jpg
/home/pi/Desktop/images/09012025/08/54/image_09012025_08_54_02_693093_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327625461","1327625455","1327625457","1327625466","1327625459","1327625453"],"photo_ids_order":["1327625453","1327625455","1327625457","1327625459","1327625461","1327625466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c5cd2bc641783e2a3d196da34aa7b54c.jpg","text":"TemporaryFile(/tmp/multipartBody3269593471651026788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409378594,"filename":"image_09012025_08_54_02_693093_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ef6c793134bd24949fd5aae27e5847eb.jpg","text":"TemporaryFile(/tmp/multipartBody3983786147702654789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409378594,"filename":"image_09012025_08_53_02_160392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cadbc30c2fa6689433588aebf26a0bc8.jpg","text":"TemporaryFile(/tmp/multipartBody8397931185751552004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409378594,"filename":"image_09012025_08_53_02_160392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5fd742a90c28d4a28e727f2224f3261d.jpg","text":"TemporaryFile(/tmp/multipartBody260577210827827256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409378594,"filename":"image_09012025_08_54_02_693093_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/134a04f4922c7ad436f034bf46906213.jpg","text":"TemporaryFile(/tmp/multipartBody3281763867762163895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409378594,"filename":"image_09012025_08_54_02_693093_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/74be890d3e6e68b265bfd8e5014aa9c7.jpg","text":"TemporaryFile(/tmp/multipartBody662050439788345681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409378594,"filename":"image_09012025_08_53_02_160392_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327625457","file1":"1327625455","file0":"1327625453","file4":"1327625461","file5":"1327625466","file3":"1327625459"},"map_files_photo_id_array":[{"photo_id":"1327625466","filename":"file5"},{"photo_id":"1327625457","filename":"file2"},{"photo_id":"1327625461","filename":"file4"},{"photo_id":"1327625455","filename":"file1"},{"photo_id":"1327625453","filename":"file0"},{"photo_id":"1327625459","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327625461":["hashtag1","hashtag2"]},{"1327625455":["hashtag1","hashtag2"]},{"1327625457":["hashtag1","hashtag2"]},{"1327625466":["hashtag1","hashtag2"]},{"1327625459":["hashtag1","hashtag2"]},{"1327625453":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327625461, 1327625455, 1327625457, 1327625466, 1327625459, 1327625453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.9921669960022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:56:02.643402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/54/image_09012025_08_54_02_693093_0003.jpg', '/home/pi/Desktop/images/09012025/08/55/image_09012025_08_55_02_474098_0000.jpg', '/home/pi/Desktop/images/09012025/08/55/image_09012025_08_55_02_474098_0001.jpg', '/home/pi/Desktop/images/09012025/08/55/image_09012025_08_55_02_474098_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/54/image_09012025_08_54_02_693093_0003.jpg
/home/pi/Desktop/images/09012025/08/55/image_09012025_08_55_02_474098_0000.jpg
/home/pi/Desktop/images/09012025/08/55/image_09012025_08_55_02_474098_0001.jpg
/home/pi/Desktop/images/09012025/08/55/image_09012025_08_55_02_474098_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327625529","1327625517","1327625514","1327625567"],"photo_ids_order":["1327625514","1327625517","1327625529","1327625567"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/77ed2e60759a945a4c0f0eafd13c2442.jpg","text":"TemporaryFile(/tmp/multipartBody1955751476216082634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409433125,"filename":"image_09012025_08_55_02_474098_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6cd3c114c2fd3ba07c259d31d67c828d.jpg","text":"TemporaryFile(/tmp/multipartBody3524659551183947036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409433125,"filename":"image_09012025_08_55_02_474098_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7d4c1f4db5f1193d736c20473a2abaac.jpg","text":"TemporaryFile(/tmp/multipartBody6620058780865930520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409433125,"filename":"image_09012025_08_54_02_693093_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/75a34416a4858dd9c90a590c99514de0.jpg","text":"TemporaryFile(/tmp/multipartBody1300327869949428821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409433125,"filename":"image_09012025_08_55_02_474098_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327625529","file1":"1327625517","file0":"1327625514","file3":"1327625567"},"map_files_photo_id_array":[{"photo_id":"1327625529","filename":"file2"},{"photo_id":"1327625517","filename":"file1"},{"photo_id":"1327625514","filename":"file0"},{"photo_id":"1327625567","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327625529":["hashtag1","hashtag2"]},{"1327625517":["hashtag1","hashtag2"]},{"1327625514":["hashtag1","hashtag2"]},{"1327625567":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327625529, 1327625517, 1327625514, 1327625567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.637694120407104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:57:02.286483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/55/image_09012025_08_55_02_474098_0003.jpg', '/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0000.jpg', '/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0001.jpg', '/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/55/image_09012025_08_55_02_474098_0003.jpg
/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0000.jpg
/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0001.jpg
/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.085195302963257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 08:57:21.767561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/55/image_09012025_08_55_02_474098_0003.jpg', '/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0000.jpg', '/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0001.jpg', '/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0002.jpg', '/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0003.jpg', '/home/pi/Desktop/images/09012025/08/57/image_09012025_08_57_02_612690_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/55/image_09012025_08_55_02_474098_0003.jpg
/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0000.jpg
/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0001.jpg
/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0002.jpg
/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0003.jpg
/home/pi/Desktop/images/09012025/08/57/image_09012025_08_57_02_612690_0000.jpg
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 08:59:03.189400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/55/image_09012025_08_55_02_474098_0003.jpg', '/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0000.jpg', '/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0001.jpg', '/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0002.jpg', '/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0003.jpg', '/home/pi/Desktop/images/09012025/08/57/image_09012025_08_57_02_612690_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/55/image_09012025_08_55_02_474098_0003.jpg
/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0000.jpg
/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0001.jpg
/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0002.jpg
/home/pi/Desktop/images/09012025/08/56/image_09012025_08_56_02_982309_0003.jpg
/home/pi/Desktop/images/09012025/08/57/image_09012025_08_57_02_612690_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327625725","1327625710","1327625716","1327625748","1327625733","1327625730"],"photo_ids_order":["1327625710","1327625716","1327625725","1327625730","1327625733","1327625748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5f8beecd6a24c010be2dd97015c1c762.jpg","text":"TemporaryFile(/tmp/multipartBody1105143534555268108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409618491,"filename":"image_09012025_08_56_02_982309_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2c8095d1304e5d820d3ec65022ec998e.jpg","text":"TemporaryFile(/tmp/multipartBody8593729710396081977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409618491,"filename":"image_09012025_08_55_02_474098_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8d64a943d184763c25f370abbba2c844.jpg","text":"TemporaryFile(/tmp/multipartBody6695069106961815314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409618491,"filename":"image_09012025_08_56_02_982309_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7d92c704fc2cfb7a960c5ec5e9b54b67.jpg","text":"TemporaryFile(/tmp/multipartBody4564508277394211149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409618491,"filename":"image_09012025_08_57_02_612690_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/be5099da552369a914c9858f3ff8d0b9.jpg","text":"TemporaryFile(/tmp/multipartBody1874267182312510705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409618491,"filename":"image_09012025_08_56_02_982309_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/36f11d6cd27caec320d56914187f23aa.jpg","text":"TemporaryFile(/tmp/multipartBody6241414014907282288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409618491,"filename":"image_09012025_08_56_02_982309_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327625725","file1":"1327625716","file0":"1327625710","file4":"1327625733","file5":"1327625748","file3":"1327625730"},"map_files_photo_id_array":[{"photo_id":"1327625748","filename":"file5"},{"photo_id":"1327625725","filename":"file2"},{"photo_id":"1327625733","filename":"file4"},{"photo_id":"1327625716","filename":"file1"},{"photo_id":"1327625710","filename":"file0"},{"photo_id":"1327625730","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327625725":["hashtag1","hashtag2"]},{"1327625710":["hashtag1","hashtag2"]},{"1327625716":["hashtag1","hashtag2"]},{"1327625748":["hashtag1","hashtag2"]},{"1327625733":["hashtag1","hashtag2"]},{"1327625730":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327625725, 1327625710, 1327625716, 1327625748, 1327625733, 1327625730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.862985134124756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:00:02.676002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/57/image_09012025_08_57_02_612690_0001.jpg', '/home/pi/Desktop/images/09012025/08/57/image_09012025_08_57_02_612690_0002.jpg', '/home/pi/Desktop/images/09012025/08/57/image_09012025_08_57_02_612690_0003.jpg', '/home/pi/Desktop/images/09012025/08/58/image_09012025_08_58_02_156012_0000.jpg', '/home/pi/Desktop/images/09012025/08/58/image_09012025_08_58_02_156012_0001.jpg', '/home/pi/Desktop/images/09012025/08/58/image_09012025_08_58_02_156012_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/57/image_09012025_08_57_02_612690_0001.jpg
/home/pi/Desktop/images/09012025/08/57/image_09012025_08_57_02_612690_0002.jpg
/home/pi/Desktop/images/09012025/08/57/image_09012025_08_57_02_612690_0003.jpg
/home/pi/Desktop/images/09012025/08/58/image_09012025_08_58_02_156012_0000.jpg
/home/pi/Desktop/images/09012025/08/58/image_09012025_08_58_02_156012_0001.jpg
/home/pi/Desktop/images/09012025/08/58/image_09012025_08_58_02_156012_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327625796","1327625799","1327625808","1327625805","1327625813","1327625801"],"photo_ids_order":["1327625796","1327625799","1327625801","1327625805","1327625808","1327625813"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ea5b667fd84d4014d4a3d3b95a48e172.jpg","text":"TemporaryFile(/tmp/multipartBody4992748370157553534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409677874,"filename":"image_09012025_08_57_02_612690_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aac8a68c9a34142da6689ab040adeb8d.jpg","text":"TemporaryFile(/tmp/multipartBody5945070252119030562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409677874,"filename":"image_09012025_08_57_02_612690_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/43e2649f8803e21f00e8dc058bd65357.jpg","text":"TemporaryFile(/tmp/multipartBody5071098572832039332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409677874,"filename":"image_09012025_08_58_02_156012_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/56add08dccb5f652754d64467b58c80c.jpg","text":"TemporaryFile(/tmp/multipartBody9065024334228086990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409677874,"filename":"image_09012025_08_58_02_156012_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5d74ded51ea04f81cb53fbc65eb27ddf.jpg","text":"TemporaryFile(/tmp/multipartBody6360286106250691757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409677874,"filename":"image_09012025_08_58_02_156012_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c902c88be466207f2bbc7df93fd37f34.jpg","text":"TemporaryFile(/tmp/multipartBody1316917432178528950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409677874,"filename":"image_09012025_08_57_02_612690_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327625801","file1":"1327625799","file0":"1327625796","file4":"1327625808","file5":"1327625813","file3":"1327625805"},"map_files_photo_id_array":[{"photo_id":"1327625813","filename":"file5"},{"photo_id":"1327625801","filename":"file2"},{"photo_id":"1327625808","filename":"file4"},{"photo_id":"1327625799","filename":"file1"},{"photo_id":"1327625796","filename":"file0"},{"photo_id":"1327625805","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327625796":["hashtag1","hashtag2"]},{"1327625799":["hashtag1","hashtag2"]},{"1327625808":["hashtag1","hashtag2"]},{"1327625805":["hashtag1","hashtag2"]},{"1327625813":["hashtag1","hashtag2"]},{"1327625801":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327625796, 1327625799, 1327625808, 1327625805, 1327625813, 1327625801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.279972314834595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:01:02.361801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/08/59/image_09012025_08_59_02_822085_0000.jpg', '/home/pi/Desktop/images/09012025/08/59/image_09012025_08_59_02_822085_0001.jpg', '/home/pi/Desktop/images/09012025/08/59/image_09012025_08_59_02_822085_0002.jpg', '/home/pi/Desktop/images/09012025/08/59/image_09012025_08_59_02_822085_0003.jpg', '/home/pi/Desktop/images/09012025/09/00/image_09012025_09_00_03_046284_0000.jpg', '/home/pi/Desktop/images/09012025/09/00/image_09012025_09_00_03_046284_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/08/59/image_09012025_08_59_02_822085_0000.jpg
/home/pi/Desktop/images/09012025/08/59/image_09012025_08_59_02_822085_0001.jpg
/home/pi/Desktop/images/09012025/08/59/image_09012025_08_59_02_822085_0002.jpg
/home/pi/Desktop/images/09012025/08/59/image_09012025_08_59_02_822085_0003.jpg
/home/pi/Desktop/images/09012025/09/00/image_09012025_09_00_03_046284_0000.jpg
/home/pi/Desktop/images/09012025/09/00/image_09012025_09_00_03_046284_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327625833","1327625845","1327625830","1327625826","1327625841","1327625837"],"photo_ids_order":["1327625826","1327625830","1327625833","1327625837","1327625841","1327625845"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3938c19da0463cbea06e4796e5a1b72a.jpg","text":"TemporaryFile(/tmp/multipartBody2786347148415111761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409737550,"filename":"image_09012025_08_59_02_822085_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aa2ae92972f251bd45b6e062fdc123ad.jpg","text":"TemporaryFile(/tmp/multipartBody5667465553507225043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409737550,"filename":"image_09012025_09_00_03_046284_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4de5da5f27507055abffb298196b2913.jpg","text":"TemporaryFile(/tmp/multipartBody6035594903557032248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409737550,"filename":"image_09012025_08_59_02_822085_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3fdb9a89f91929b421314f77ad75996d.jpg","text":"TemporaryFile(/tmp/multipartBody5729445108314462477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409737550,"filename":"image_09012025_08_59_02_822085_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f43acc0647d512203b29112070c9f0b3.jpg","text":"TemporaryFile(/tmp/multipartBody588148837295351383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409737550,"filename":"image_09012025_09_00_03_046284_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a152e6884bd34645d93efb20b1090212.jpg","text":"TemporaryFile(/tmp/multipartBody3812715542929450264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409737550,"filename":"image_09012025_08_59_02_822085_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327625833","file1":"1327625830","file0":"1327625826","file4":"1327625841","file5":"1327625845","file3":"1327625837"},"map_files_photo_id_array":[{"photo_id":"1327625845","filename":"file5"},{"photo_id":"1327625833","filename":"file2"},{"photo_id":"1327625841","filename":"file4"},{"photo_id":"1327625830","filename":"file1"},{"photo_id":"1327625826","filename":"file0"},{"photo_id":"1327625837","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327625833":["hashtag1","hashtag2"]},{"1327625845":["hashtag1","hashtag2"]},{"1327625830":["hashtag1","hashtag2"]},{"1327625826":["hashtag1","hashtag2"]},{"1327625841":["hashtag1","hashtag2"]},{"1327625837":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327625833, 1327625845, 1327625830, 1327625826, 1327625841, 1327625837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.59389066696167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:02:02.885788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/00/image_09012025_09_00_03_046284_0003.jpg', '/home/pi/Desktop/images/09012025/09/01/image_09012025_09_01_02_642593_0000.jpg', '/home/pi/Desktop/images/09012025/09/01/image_09012025_09_01_02_642593_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/00/image_09012025_09_00_03_046284_0003.jpg
/home/pi/Desktop/images/09012025/09/01/image_09012025_09_01_02_642593_0000.jpg
/home/pi/Desktop/images/09012025/09/01/image_09012025_09_01_02_642593_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327625860","1327625863","1327625857"],"photo_ids_order":["1327625857","1327625860","1327625863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/99d682f8afd910d6ca60f67eeb154543.jpg","text":"TemporaryFile(/tmp/multipartBody328540138473356685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409790728,"filename":"image_09012025_09_01_02_642593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0c8ecf0955bf01e0ea8510963ea25fa1.jpg","text":"TemporaryFile(/tmp/multipartBody1527789201374878181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409790728,"filename":"image_09012025_09_01_02_642593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ad66a9e598ddcedc737babea28b5492a.jpg","text":"TemporaryFile(/tmp/multipartBody3100324243748588356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409790728,"filename":"image_09012025_09_00_03_046284_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327625863","file1":"1327625860","file0":"1327625857"},"map_files_photo_id_array":[{"photo_id":"1327625863","filename":"file2"},{"photo_id":"1327625860","filename":"file1"},{"photo_id":"1327625857","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327625860":["hashtag1","hashtag2"]},{"1327625863":["hashtag1","hashtag2"]},{"1327625857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327625860, 1327625863, 1327625857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.26607322692871 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:03:02.553716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/01/image_09012025_09_01_02_642593_0003.jpg', '/home/pi/Desktop/images/09012025/09/02/image_09012025_09_02_02_205633_0000.jpg', '/home/pi/Desktop/images/09012025/09/02/image_09012025_09_02_02_205633_0001.jpg', '/home/pi/Desktop/images/09012025/09/02/image_09012025_09_02_02_205633_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/01/image_09012025_09_01_02_642593_0003.jpg
/home/pi/Desktop/images/09012025/09/02/image_09012025_09_02_02_205633_0000.jpg
/home/pi/Desktop/images/09012025/09/02/image_09012025_09_02_02_205633_0001.jpg
/home/pi/Desktop/images/09012025/09/02/image_09012025_09_02_02_205633_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.824220418930054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:03:22.013874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/01/image_09012025_09_01_02_642593_0003.jpg', '/home/pi/Desktop/images/09012025/09/02/image_09012025_09_02_02_205633_0000.jpg', '/home/pi/Desktop/images/09012025/09/02/image_09012025_09_02_02_205633_0001.jpg', '/home/pi/Desktop/images/09012025/09/02/image_09012025_09_02_02_205633_0002.jpg', '/home/pi/Desktop/images/09012025/09/02/image_09012025_09_02_02_205633_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/01/image_09012025_09_01_02_642593_0003.jpg
/home/pi/Desktop/images/09012025/09/02/image_09012025_09_02_02_205633_0000.jpg
/home/pi/Desktop/images/09012025/09/02/image_09012025_09_02_02_205633_0001.jpg
/home/pi/Desktop/images/09012025/09/02/image_09012025_09_02_02_205633_0002.jpg
/home/pi/Desktop/images/09012025/09/02/image_09012025_09_02_02_205633_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327625893","1327625889","1327625886","1327625894","1327625890"],"photo_ids_order":["1327625886","1327625889","1327625890","1327625893","1327625894"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d7580f6a8b6b31223fb83635894a63e2.jpg","text":"TemporaryFile(/tmp/multipartBody7887063073041980135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409874560,"filename":"image_09012025_09_02_02_205633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d236e6b8fd0bdca3c0c586def596d282.jpg","text":"TemporaryFile(/tmp/multipartBody5972822460828419553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409874560,"filename":"image_09012025_09_02_02_205633_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1c1f66da050d31dee075ebb1a6b13a68.jpg","text":"TemporaryFile(/tmp/multipartBody9039372462803287784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409874560,"filename":"image_09012025_09_01_02_642593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e8ef3e3162362b4e8e8ac123f8ffb9d.jpg","text":"TemporaryFile(/tmp/multipartBody4022396261734535835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409874560,"filename":"image_09012025_09_02_02_205633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7ef434c66f19f61e23e6b853ffdec4b6.jpg","text":"TemporaryFile(/tmp/multipartBody8031869797306220889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409874560,"filename":"image_09012025_09_02_02_205633_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327625890","file1":"1327625889","file0":"1327625886","file4":"1327625894","file3":"1327625893"},"map_files_photo_id_array":[{"photo_id":"1327625890","filename":"file2"},{"photo_id":"1327625894","filename":"file4"},{"photo_id":"1327625889","filename":"file1"},{"photo_id":"1327625886","filename":"file0"},{"photo_id":"1327625893","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327625893":["hashtag1","hashtag2"]},{"1327625889":["hashtag1","hashtag2"]},{"1327625886":["hashtag1","hashtag2"]},{"1327625894":["hashtag1","hashtag2"]},{"1327625890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327625893, 1327625889, 1327625886, 1327625894, 1327625890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 48.51133394241333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:04:22.563397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/03/image_09012025_09_03_02_835172_0002.jpg', '/home/pi/Desktop/images/09012025/09/04/image_09012025_09_04_02_386571_0000.jpg', '/home/pi/Desktop/images/09012025/09/04/image_09012025_09_04_02_386571_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/03/image_09012025_09_03_02_835172_0002.jpg
/home/pi/Desktop/images/09012025/09/04/image_09012025_09_04_02_386571_0000.jpg
/home/pi/Desktop/images/09012025/09/04/image_09012025_09_04_02_386571_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327625953","1327625943","1327625949"],"photo_ids_order":["1327625943","1327625949","1327625953"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/05b5673cb49d1c6e6cb4749bf0c3709c.jpg","text":"TemporaryFile(/tmp/multipartBody4765469706120391204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409930348,"filename":"image_09012025_09_04_02_386571_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e6caf8b2f4605a0f1f024d492beb8705.jpg","text":"TemporaryFile(/tmp/multipartBody50643157449374557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409930348,"filename":"image_09012025_09_03_02_835172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a0376f37a02b9829ad8d8932f05d0bce.jpg","text":"TemporaryFile(/tmp/multipartBody5033202262324929308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409930348,"filename":"image_09012025_09_04_02_386571_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327625953","file1":"1327625949","file0":"1327625943"},"map_files_photo_id_array":[{"photo_id":"1327625953","filename":"file2"},{"photo_id":"1327625949","filename":"file1"},{"photo_id":"1327625943","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327625953":["hashtag1","hashtag2"]},{"1327625943":["hashtag1","hashtag2"]},{"1327625949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327625953, 1327625943, 1327625949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.274516820907593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:05:02.648134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:05:22.093034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/04/image_09012025_09_04_02_386571_0003.jpg', '/home/pi/Desktop/images/09012025/09/05/image_09012025_09_05_02_912216_0000.jpg', '/home/pi/Desktop/images/09012025/09/05/image_09012025_09_05_02_912216_0001.jpg', '/home/pi/Desktop/images/09012025/09/05/image_09012025_09_05_02_912216_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/04/image_09012025_09_04_02_386571_0003.jpg
/home/pi/Desktop/images/09012025/09/05/image_09012025_09_05_02_912216_0000.jpg
/home/pi/Desktop/images/09012025/09/05/image_09012025_09_05_02_912216_0001.jpg
/home/pi/Desktop/images/09012025/09/05/image_09012025_09_05_02_912216_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327626028","1327626022","1327626025","1327626018"],"photo_ids_order":["1327626018","1327626022","1327626025","1327626028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/03b97ddd5325787cbb0bc95b8620e650.jpg","text":"TemporaryFile(/tmp/multipartBody1648542289344931418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409992297,"filename":"image_09012025_09_05_02_912216_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e1e75de19e90d5c46eb8b7e699bb0436.jpg","text":"TemporaryFile(/tmp/multipartBody2627930755578651445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409992297,"filename":"image_09012025_09_05_02_912216_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2bddd643193035302e0053f34d2967a5.jpg","text":"TemporaryFile(/tmp/multipartBody7842478814162105131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409992297,"filename":"image_09012025_09_05_02_912216_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f820e2876d1e9b48d254b9a2f4c80bc9.jpg","text":"TemporaryFile(/tmp/multipartBody4463037036565719666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736409992297,"filename":"image_09012025_09_04_02_386571_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327626025","file1":"1327626022","file0":"1327626018","file3":"1327626028"},"map_files_photo_id_array":[{"photo_id":"1327626025","filename":"file2"},{"photo_id":"1327626022","filename":"file1"},{"photo_id":"1327626018","filename":"file0"},{"photo_id":"1327626028","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327626028":["hashtag1","hashtag2"]},{"1327626022":["hashtag1","hashtag2"]},{"1327626025":["hashtag1","hashtag2"]},{"1327626018":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327626028, 1327626022, 1327626025, 1327626018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.81657385826111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:06:03.089700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:06:22.700758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/05/image_09012025_09_05_02_912216_0003.jpg', '/home/pi/Desktop/images/09012025/09/06/image_09012025_09_06_02_382578_0001.jpg', '/home/pi/Desktop/images/09012025/09/06/image_09012025_09_06_02_382578_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/05/image_09012025_09_05_02_912216_0003.jpg
/home/pi/Desktop/images/09012025/09/06/image_09012025_09_06_02_382578_0001.jpg
/home/pi/Desktop/images/09012025/09/06/image_09012025_09_06_02_382578_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327626055","1327626051","1327626044"],"photo_ids_order":["1327626044","1327626051","1327626055"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/823377db1dd8ccfadd16bc0f15c27c00.jpg","text":"TemporaryFile(/tmp/multipartBody8941927797386879867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410050519,"filename":"image_09012025_09_06_02_382578_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/acd269fd46bf9180258af98f65a62b5f.jpg","text":"TemporaryFile(/tmp/multipartBody8947047740079352653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410050519,"filename":"image_09012025_09_06_02_382578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/347672facb78bf8d72bd923daf633568.jpg","text":"TemporaryFile(/tmp/multipartBody1659938373018931355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410050519,"filename":"image_09012025_09_05_02_912216_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327626055","file1":"1327626051","file0":"1327626044"},"map_files_photo_id_array":[{"photo_id":"1327626055","filename":"file2"},{"photo_id":"1327626051","filename":"file1"},{"photo_id":"1327626044","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327626055":["hashtag1","hashtag2"]},{"1327626051":["hashtag1","hashtag2"]},{"1327626044":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327626055, 1327626051, 1327626044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.19435667991638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:07:02.865274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:07:22.196067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/06/image_09012025_09_06_02_382578_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/06/image_09012025_09_06_02_382578_0003.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327626083"],"photo_id":"1327626083","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8cff9e1241b0bf46e9fcc93a45c549c0.jpg","text":"TemporaryFile(/tmp/multipartBody7219762123755606779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410105217,"filename":"image_09012025_09_06_02_382578_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1327626083"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1327626083"}],"hashtags":[],"portfolio_id":"19481811","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.842325448989868 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:08:02.167009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:08:21.836105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/07/image_09012025_09_07_03_060524_0003.jpg', '/home/pi/Desktop/images/09012025/09/08/image_09012025_09_08_02_575800_0000.jpg', '/home/pi/Desktop/images/09012025/09/08/image_09012025_09_08_02_575800_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/07/image_09012025_09_07_03_060524_0003.jpg
/home/pi/Desktop/images/09012025/09/08/image_09012025_09_08_02_575800_0000.jpg
/home/pi/Desktop/images/09012025/09/08/image_09012025_09_08_02_575800_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.377429008483887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:09:02.869219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/07/image_09012025_09_07_03_060524_0003.jpg', '/home/pi/Desktop/images/09012025/09/08/image_09012025_09_08_02_575800_0000.jpg', '/home/pi/Desktop/images/09012025/09/08/image_09012025_09_08_02_575800_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/07/image_09012025_09_07_03_060524_0003.jpg
/home/pi/Desktop/images/09012025/09/08/image_09012025_09_08_02_575800_0000.jpg
/home/pi/Desktop/images/09012025/09/08/image_09012025_09_08_02_575800_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327626351","1327626347","1327626326"],"photo_ids_order":["1327626326","1327626347","1327626351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/61c940beab68a9ec2116d6396a51f8ad.jpg","text":"TemporaryFile(/tmp/multipartBody8416073905467986679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410210696,"filename":"image_09012025_09_08_02_575800_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b6d547b6a0350a592dbe3fddfb88fcf1.jpg","text":"TemporaryFile(/tmp/multipartBody1560670077233161451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410210696,"filename":"image_09012025_09_08_02_575800_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a03eb8cec6ca7b518843652da40877f7.jpg","text":"TemporaryFile(/tmp/multipartBody7848280268629852261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410210696,"filename":"image_09012025_09_07_03_060524_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327626351","file1":"1327626347","file0":"1327626326"},"map_files_photo_id_array":[{"photo_id":"1327626351","filename":"file2"},{"photo_id":"1327626347","filename":"file1"},{"photo_id":"1327626326","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327626351":["hashtag1","hashtag2"]},{"1327626347":["hashtag1","hashtag2"]},{"1327626326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327626351, 1327626347, 1327626326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.927783250808716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:10:02.244992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/08/image_09012025_09_08_02_575800_0003.jpg', '/home/pi/Desktop/images/09012025/09/09/image_09012025_09_09_02_135230_0000.jpg', '/home/pi/Desktop/images/09012025/09/09/image_09012025_09_09_02_135230_0001.jpg', '/home/pi/Desktop/images/09012025/09/09/image_09012025_09_09_02_135230_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/08/image_09012025_09_08_02_575800_0003.jpg
/home/pi/Desktop/images/09012025/09/09/image_09012025_09_09_02_135230_0000.jpg
/home/pi/Desktop/images/09012025/09/09/image_09012025_09_09_02_135230_0001.jpg
/home/pi/Desktop/images/09012025/09/09/image_09012025_09_09_02_135230_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327626409","1327626378","1327626425","1327626455"],"photo_ids_order":["1327626378","1327626409","1327626425","1327626455"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ac21c0563728fdf5c294bac92c59211f.jpg","text":"TemporaryFile(/tmp/multipartBody1381428276319024719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410272441,"filename":"image_09012025_09_09_02_135230_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b6a5593847471914af712a1102f16164.jpg","text":"TemporaryFile(/tmp/multipartBody2552238440882250524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410272441,"filename":"image_09012025_09_08_02_575800_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0b9fe6c56a933e3bb9a6d4106f4fb6d3.jpg","text":"TemporaryFile(/tmp/multipartBody4369491881912823524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410272441,"filename":"image_09012025_09_09_02_135230_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b4eb2fda4b603297d54894b09ecad689.jpg","text":"TemporaryFile(/tmp/multipartBody5778503571610957813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410272441,"filename":"image_09012025_09_09_02_135230_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327626425","file1":"1327626409","file0":"1327626378","file3":"1327626455"},"map_files_photo_id_array":[{"photo_id":"1327626425","filename":"file2"},{"photo_id":"1327626409","filename":"file1"},{"photo_id":"1327626378","filename":"file0"},{"photo_id":"1327626455","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327626409":["hashtag1","hashtag2"]},{"1327626378":["hashtag1","hashtag2"]},{"1327626425":["hashtag1","hashtag2"]},{"1327626455":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327626409, 1327626378, 1327626425, 1327626455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.76734924316406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:11:03.035127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/09/image_09012025_09_09_02_135230_0003.jpg', '/home/pi/Desktop/images/09012025/09/10/image_09012025_09_10_02_653275_0000.jpg', '/home/pi/Desktop/images/09012025/09/10/image_09012025_09_10_02_653275_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/09/image_09012025_09_09_02_135230_0003.jpg
/home/pi/Desktop/images/09012025/09/10/image_09012025_09_10_02_653275_0000.jpg
/home/pi/Desktop/images/09012025/09/10/image_09012025_09_10_02_653275_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327627043","1327627042","1327627045"],"photo_ids_order":["1327627042","1327627043","1327627045"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2128d10d5810f05da70b840770c93d06.jpg","text":"TemporaryFile(/tmp/multipartBody691357385820838342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410330890,"filename":"image_09012025_09_10_02_653275_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/da70c58e306a7ed2f25a8ec0da768088.jpg","text":"TemporaryFile(/tmp/multipartBody6106511753156379477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410330890,"filename":"image_09012025_09_09_02_135230_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7c39857bb966ce95b2c05927193bf2d2.jpg","text":"TemporaryFile(/tmp/multipartBody4510095665703576916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410330890,"filename":"image_09012025_09_10_02_653275_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327627045","file1":"1327627043","file0":"1327627042"},"map_files_photo_id_array":[{"photo_id":"1327627045","filename":"file2"},{"photo_id":"1327627043","filename":"file1"},{"photo_id":"1327627042","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327627043":["hashtag1","hashtag2"]},{"1327627042":["hashtag1","hashtag2"]},{"1327627045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327627043, 1327627042, 1327627045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.113835334777832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:12:02.537423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/10/image_09012025_09_10_02_653275_0003.jpg', '/home/pi/Desktop/images/09012025/09/11/image_09012025_09_11_02_213906_0000.jpg', '/home/pi/Desktop/images/09012025/09/11/image_09012025_09_11_02_213906_0001.jpg', '/home/pi/Desktop/images/09012025/09/11/image_09012025_09_11_02_213906_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/10/image_09012025_09_10_02_653275_0003.jpg
/home/pi/Desktop/images/09012025/09/11/image_09012025_09_11_02_213906_0000.jpg
/home/pi/Desktop/images/09012025/09/11/image_09012025_09_11_02_213906_0001.jpg
/home/pi/Desktop/images/09012025/09/11/image_09012025_09_11_02_213906_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327628165","1327628003","1327628248","1327627672"],"photo_ids_order":["1327627672","1327628003","1327628165","1327628248"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a3927206f6f9d1687c0b2adfc8f3c8eb.jpg","text":"TemporaryFile(/tmp/multipartBody259974221901809349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410392738,"filename":"image_09012025_09_11_02_213906_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/43f9701df88dcc9eb31cf773bf4335ca.jpg","text":"TemporaryFile(/tmp/multipartBody4070422272852327282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410392738,"filename":"image_09012025_09_11_02_213906_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5e6a65254fea2e49671cefbd6b8f523a.jpg","text":"TemporaryFile(/tmp/multipartBody8844405591637953991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410392738,"filename":"image_09012025_09_11_02_213906_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/99518da25b3540ba8cbb67b5577ef5fb.jpg","text":"TemporaryFile(/tmp/multipartBody1479842591206869617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410392738,"filename":"image_09012025_09_10_02_653275_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327628165","file1":"1327628003","file0":"1327627672","file3":"1327628248"},"map_files_photo_id_array":[{"photo_id":"1327628165","filename":"file2"},{"photo_id":"1327628003","filename":"file1"},{"photo_id":"1327627672","filename":"file0"},{"photo_id":"1327628248","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327628165":["hashtag1","hashtag2"]},{"1327628003":["hashtag1","hashtag2"]},{"1327628248":["hashtag1","hashtag2"]},{"1327627672":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327628165, 1327628003, 1327628248, 1327627672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.13885736465454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:13:03.127649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/11/image_09012025_09_11_02_213906_0003.jpg', '/home/pi/Desktop/images/09012025/09/12/image_09012025_09_12_02_725900_0000.jpg', '/home/pi/Desktop/images/09012025/09/12/image_09012025_09_12_02_725900_0001.jpg', '/home/pi/Desktop/images/09012025/09/12/image_09012025_09_12_02_725900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/11/image_09012025_09_11_02_213906_0003.jpg
/home/pi/Desktop/images/09012025/09/12/image_09012025_09_12_02_725900_0000.jpg
/home/pi/Desktop/images/09012025/09/12/image_09012025_09_12_02_725900_0001.jpg
/home/pi/Desktop/images/09012025/09/12/image_09012025_09_12_02_725900_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327628558","1327628555","1327628560","1327628563"],"photo_ids_order":["1327628555","1327628558","1327628560","1327628563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b96329c76238dc7ad464c392dd4a2ab5.jpg","text":"TemporaryFile(/tmp/multipartBody2001392972260620432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410453344,"filename":"image_09012025_09_12_02_725900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e9f1baac14c72954b978c9c474477a19.jpg","text":"TemporaryFile(/tmp/multipartBody4536792661050280639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410453344,"filename":"image_09012025_09_11_02_213906_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ef1fa4e7ba6061d565a901bf93b33460.jpg","text":"TemporaryFile(/tmp/multipartBody5954156234168315966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410453344,"filename":"image_09012025_09_12_02_725900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/53fc53e0a1c8fdd43d68ee3bc7edf266.jpg","text":"TemporaryFile(/tmp/multipartBody1558022409097651959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410453344,"filename":"image_09012025_09_12_02_725900_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327628560","file1":"1327628558","file0":"1327628555","file3":"1327628563"},"map_files_photo_id_array":[{"photo_id":"1327628560","filename":"file2"},{"photo_id":"1327628558","filename":"file1"},{"photo_id":"1327628555","filename":"file0"},{"photo_id":"1327628563","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327628558":["hashtag1","hashtag2"]},{"1327628555":["hashtag1","hashtag2"]},{"1327628560":["hashtag1","hashtag2"]},{"1327628563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327628558, 1327628555, 1327628560, 1327628563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.560861587524414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:14:02.645276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/12/image_09012025_09_12_02_725900_0003.jpg', '/home/pi/Desktop/images/09012025/09/13/image_09012025_09_13_02_498711_0000.jpg', '/home/pi/Desktop/images/09012025/09/13/image_09012025_09_13_02_498711_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/12/image_09012025_09_12_02_725900_0003.jpg
/home/pi/Desktop/images/09012025/09/13/image_09012025_09_13_02_498711_0000.jpg
/home/pi/Desktop/images/09012025/09/13/image_09012025_09_13_02_498711_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327628600","1327628598","1327628595"],"photo_ids_order":["1327628595","1327628598","1327628600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2b9dfbe7215e589d9c0c243809d81184.jpg","text":"TemporaryFile(/tmp/multipartBody99037055154218851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410510460,"filename":"image_09012025_09_13_02_498711_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/76ac95aaba1dc25af51b97769c4db5e1.jpg","text":"TemporaryFile(/tmp/multipartBody5727117341320978237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410510460,"filename":"image_09012025_09_13_02_498711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/89ac72b133541c2029c5309a4dfe2578.jpg","text":"TemporaryFile(/tmp/multipartBody724775743189472824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410510460,"filename":"image_09012025_09_12_02_725900_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327628600","file1":"1327628598","file0":"1327628595"},"map_files_photo_id_array":[{"photo_id":"1327628600","filename":"file2"},{"photo_id":"1327628598","filename":"file1"},{"photo_id":"1327628595","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327628600":["hashtag1","hashtag2"]},{"1327628598":["hashtag1","hashtag2"]},{"1327628595":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327628600, 1327628598, 1327628595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.931766271591187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:15:02.526111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/13/image_09012025_09_13_02_498711_0002.jpg', '/home/pi/Desktop/images/09012025/09/14/image_09012025_09_14_03_096570_0000.jpg', '/home/pi/Desktop/images/09012025/09/14/image_09012025_09_14_03_096570_0001.jpg', '/home/pi/Desktop/images/09012025/09/14/image_09012025_09_14_03_096570_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/13/image_09012025_09_13_02_498711_0002.jpg
/home/pi/Desktop/images/09012025/09/14/image_09012025_09_14_03_096570_0000.jpg
/home/pi/Desktop/images/09012025/09/14/image_09012025_09_14_03_096570_0001.jpg
/home/pi/Desktop/images/09012025/09/14/image_09012025_09_14_03_096570_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327629077","1327629082","1327629081","1327629078"],"photo_ids_order":["1327629077","1327629078","1327629081","1327629082"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/09cd99c3963803ce6a0a3ce622ba5d5b.jpg","text":"TemporaryFile(/tmp/multipartBody8376283553984125887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410572726,"filename":"image_09012025_09_13_02_498711_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1f7e6db1d1a1b7e79b889a306e2cbb78.jpg","text":"TemporaryFile(/tmp/multipartBody6517066618217393765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410572726,"filename":"image_09012025_09_14_03_096570_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e12930577bde8b36459e0c256db604a3.jpg","text":"TemporaryFile(/tmp/multipartBody8387248672001442296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410572726,"filename":"image_09012025_09_14_03_096570_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0f886802e27dc06dbf631ecc4d1befeb.jpg","text":"TemporaryFile(/tmp/multipartBody8252478754916117539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410572726,"filename":"image_09012025_09_14_03_096570_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327629081","file1":"1327629078","file0":"1327629077","file3":"1327629082"},"map_files_photo_id_array":[{"photo_id":"1327629081","filename":"file2"},{"photo_id":"1327629078","filename":"file1"},{"photo_id":"1327629077","filename":"file0"},{"photo_id":"1327629082","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327629077":["hashtag1","hashtag2"]},{"1327629082":["hashtag1","hashtag2"]},{"1327629081":["hashtag1","hashtag2"]},{"1327629078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327629077, 1327629082, 1327629081, 1327629078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.415624141693115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:16:02.967813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/14/image_09012025_09_14_03_096570_0003.jpg', '/home/pi/Desktop/images/09012025/09/15/image_09012025_09_15_02_680413_0000.jpg', '/home/pi/Desktop/images/09012025/09/15/image_09012025_09_15_02_680413_0001.jpg', '/home/pi/Desktop/images/09012025/09/15/image_09012025_09_15_02_680413_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/14/image_09012025_09_14_03_096570_0003.jpg
/home/pi/Desktop/images/09012025/09/15/image_09012025_09_15_02_680413_0000.jpg
/home/pi/Desktop/images/09012025/09/15/image_09012025_09_15_02_680413_0001.jpg
/home/pi/Desktop/images/09012025/09/15/image_09012025_09_15_02_680413_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327629104","1327629107","1327629115","1327629111"],"photo_ids_order":["1327629104","1327629107","1327629111","1327629115"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/085a4ef0b053efb34f0d4dbc9ff8e869.jpg","text":"TemporaryFile(/tmp/multipartBody3344214783901999207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410633139,"filename":"image_09012025_09_14_03_096570_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4ab038c72adea6f8a0b8039f964e3b6f.jpg","text":"TemporaryFile(/tmp/multipartBody6107556917893454049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410633139,"filename":"image_09012025_09_15_02_680413_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ae00484c96d40f2dfbdcfa2c32615a70.jpg","text":"TemporaryFile(/tmp/multipartBody7828375749827242046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410633139,"filename":"image_09012025_09_15_02_680413_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f6be393b32b1535de54fdab9b3e41702.jpg","text":"TemporaryFile(/tmp/multipartBody8855683113060803856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410633139,"filename":"image_09012025_09_15_02_680413_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327629111","file1":"1327629107","file0":"1327629104","file3":"1327629115"},"map_files_photo_id_array":[{"photo_id":"1327629111","filename":"file2"},{"photo_id":"1327629107","filename":"file1"},{"photo_id":"1327629104","filename":"file0"},{"photo_id":"1327629115","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327629104":["hashtag1","hashtag2"]},{"1327629107":["hashtag1","hashtag2"]},{"1327629115":["hashtag1","hashtag2"]},{"1327629111":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327629104, 1327629107, 1327629115, 1327629111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60071134567261 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:17:02.701354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/15/image_09012025_09_15_02_680413_0003.jpg', '/home/pi/Desktop/images/09012025/09/16/image_09012025_09_16_02_195656_0000.jpg', '/home/pi/Desktop/images/09012025/09/16/image_09012025_09_16_02_195656_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/15/image_09012025_09_15_02_680413_0003.jpg
/home/pi/Desktop/images/09012025/09/16/image_09012025_09_16_02_195656_0000.jpg
/home/pi/Desktop/images/09012025/09/16/image_09012025_09_16_02_195656_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.411383390426636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:17:22.002536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/15/image_09012025_09_15_02_680413_0003.jpg', '/home/pi/Desktop/images/09012025/09/16/image_09012025_09_16_02_195656_0000.jpg', '/home/pi/Desktop/images/09012025/09/16/image_09012025_09_16_02_195656_0001.jpg', '/home/pi/Desktop/images/09012025/09/16/image_09012025_09_16_02_195656_0002.jpg', '/home/pi/Desktop/images/09012025/09/17/image_09012025_09_17_02_862540_0000.jpg', '/home/pi/Desktop/images/09012025/09/17/image_09012025_09_17_02_862540_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/15/image_09012025_09_15_02_680413_0003.jpg
/home/pi/Desktop/images/09012025/09/16/image_09012025_09_16_02_195656_0000.jpg
/home/pi/Desktop/images/09012025/09/16/image_09012025_09_16_02_195656_0001.jpg
/home/pi/Desktop/images/09012025/09/16/image_09012025_09_16_02_195656_0002.jpg
/home/pi/Desktop/images/09012025/09/17/image_09012025_09_17_02_862540_0000.jpg
/home/pi/Desktop/images/09012025/09/17/image_09012025_09_17_02_862540_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327631372","1327631165","1327631374","1327630828","1327630516","1327631370"],"photo_ids_order":["1327630516","1327630828","1327631165","1327631370","1327631372","1327631374"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/46a7428bfe62f284a08cfb20769b56c4.jpg","text":"TemporaryFile(/tmp/multipartBody1612152221759883095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410716905,"filename":"image_09012025_09_17_02_862540_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/91346b9b22d201973a288f1d4afe57e8.jpg","text":"TemporaryFile(/tmp/multipartBody6378794449025059438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410716905,"filename":"image_09012025_09_16_02_195656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/19ecb5317a8d4574c18c28d19965bf38.jpg","text":"TemporaryFile(/tmp/multipartBody9200297402465971061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410716905,"filename":"image_09012025_09_17_02_862540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b120dadd58a536af31d3bbbdf73ed30b.jpg","text":"TemporaryFile(/tmp/multipartBody7335712213386919766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410716905,"filename":"image_09012025_09_16_02_195656_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/709c0b4aede6f4614c81cda12949ae9f.jpg","text":"TemporaryFile(/tmp/multipartBody184079758452671695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410716905,"filename":"image_09012025_09_15_02_680413_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/016ec2afd2e4925e181dfedae8de69c9.jpg","text":"TemporaryFile(/tmp/multipartBody2382148822014430854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410716905,"filename":"image_09012025_09_16_02_195656_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327631165","file1":"1327630828","file0":"1327630516","file4":"1327631372","file5":"1327631374","file3":"1327631370"},"map_files_photo_id_array":[{"photo_id":"1327631374","filename":"file5"},{"photo_id":"1327631165","filename":"file2"},{"photo_id":"1327631372","filename":"file4"},{"photo_id":"1327630828","filename":"file1"},{"photo_id":"1327630516","filename":"file0"},{"photo_id":"1327631370","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327631372":["hashtag1","hashtag2"]},{"1327631165":["hashtag1","hashtag2"]},{"1327631374":["hashtag1","hashtag2"]},{"1327630828":["hashtag1","hashtag2"]},{"1327630516":["hashtag1","hashtag2"]},{"1327631370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327631372, 1327631165, 1327631374, 1327630828, 1327630516, 1327631370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.543185234069824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:18:22.696735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/17/image_09012025_09_17_02_862540_0002.jpg', '/home/pi/Desktop/images/09012025/09/17/image_09012025_09_17_02_862540_0003.jpg', '/home/pi/Desktop/images/09012025/09/18/image_09012025_09_18_02_370778_0000.jpg', '/home/pi/Desktop/images/09012025/09/18/image_09012025_09_18_02_370778_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/17/image_09012025_09_17_02_862540_0002.jpg
/home/pi/Desktop/images/09012025/09/17/image_09012025_09_17_02_862540_0003.jpg
/home/pi/Desktop/images/09012025/09/18/image_09012025_09_18_02_370778_0000.jpg
/home/pi/Desktop/images/09012025/09/18/image_09012025_09_18_02_370778_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327631408","1327631431","1327631457","1327631399"],"photo_ids_order":["1327631399","1327631408","1327631431","1327631457"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d4d4d46b6a9ab733adad79efde5122a5.jpg","text":"TemporaryFile(/tmp/multipartBody1363854182004844454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410772845,"filename":"image_09012025_09_17_02_862540_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/803db5da9e7455075c1bbc0d6fca2952.jpg","text":"TemporaryFile(/tmp/multipartBody7930440840372422517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410772845,"filename":"image_09012025_09_18_02_370778_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/23a0cd70f4088a6a1265ce0f536b3181.jpg","text":"TemporaryFile(/tmp/multipartBody5211676372726048578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410772845,"filename":"image_09012025_09_18_02_370778_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fb8ebf065d1122c5c63c7f8d3657c5bc.jpg","text":"TemporaryFile(/tmp/multipartBody4905656325497563890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410772845,"filename":"image_09012025_09_17_02_862540_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327631431","file1":"1327631408","file0":"1327631399","file3":"1327631457"},"map_files_photo_id_array":[{"photo_id":"1327631431","filename":"file2"},{"photo_id":"1327631408","filename":"file1"},{"photo_id":"1327631399","filename":"file0"},{"photo_id":"1327631457","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327631408":["hashtag1","hashtag2"]},{"1327631431":["hashtag1","hashtag2"]},{"1327631457":["hashtag1","hashtag2"]},{"1327631399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327631408, 1327631431, 1327631457, 1327631399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.30808734893799 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:19:02.817520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:19:22.140850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/18/image_09012025_09_18_02_370778_0003.jpg', '/home/pi/Desktop/images/09012025/09/19/image_09012025_09_19_03_043148_0000.jpg', '/home/pi/Desktop/images/09012025/09/19/image_09012025_09_19_03_043148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/18/image_09012025_09_18_02_370778_0003.jpg
/home/pi/Desktop/images/09012025/09/19/image_09012025_09_19_03_043148_0000.jpg
/home/pi/Desktop/images/09012025/09/19/image_09012025_09_19_03_043148_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.3837502002716064 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:20:03.027675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/18/image_09012025_09_18_02_370778_0003.jpg', '/home/pi/Desktop/images/09012025/09/19/image_09012025_09_19_03_043148_0000.jpg', '/home/pi/Desktop/images/09012025/09/19/image_09012025_09_19_03_043148_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/18/image_09012025_09_18_02_370778_0003.jpg
/home/pi/Desktop/images/09012025/09/19/image_09012025_09_19_03_043148_0000.jpg
/home/pi/Desktop/images/09012025/09/19/image_09012025_09_19_03_043148_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327633914","1327633598","1327634213"],"photo_ids_order":["1327633598","1327633914","1327634213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/af35cd520002a65cfc797309c5cd56db.jpg","text":"TemporaryFile(/tmp/multipartBody4522243044858854257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410870826,"filename":"image_09012025_09_19_03_043148_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f56ce1a78933ad1914979c589b7e1f5d.jpg","text":"TemporaryFile(/tmp/multipartBody5109103024928011292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410870826,"filename":"image_09012025_09_18_02_370778_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dff8f9c1b57503a09c683aa8be9898f3.jpg","text":"TemporaryFile(/tmp/multipartBody6784550794467854734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410870826,"filename":"image_09012025_09_19_03_043148_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327634213","file1":"1327633914","file0":"1327633598"},"map_files_photo_id_array":[{"photo_id":"1327634213","filename":"file2"},{"photo_id":"1327633914","filename":"file1"},{"photo_id":"1327633598","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327633914":["hashtag1","hashtag2"]},{"1327633598":["hashtag1","hashtag2"]},{"1327634213":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327633914, 1327633598, 1327634213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.293012619018555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:21:02.747866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/19/image_09012025_09_19_03_043148_0003.jpg', '/home/pi/Desktop/images/09012025/09/20/image_09012025_09_20_02_475343_0000.jpg', '/home/pi/Desktop/images/09012025/09/20/image_09012025_09_20_02_475343_0001.jpg', '/home/pi/Desktop/images/09012025/09/20/image_09012025_09_20_02_475343_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/19/image_09012025_09_19_03_043148_0003.jpg
/home/pi/Desktop/images/09012025/09/20/image_09012025_09_20_02_475343_0000.jpg
/home/pi/Desktop/images/09012025/09/20/image_09012025_09_20_02_475343_0001.jpg
/home/pi/Desktop/images/09012025/09/20/image_09012025_09_20_02_475343_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327634626","1327634637","1327634636","1327634635"],"photo_ids_order":["1327634626","1327634635","1327634636","1327634637"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2230c375e5f58d2e1f5835d7b92031e4.jpg","text":"TemporaryFile(/tmp/multipartBody809682012329373895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410932955,"filename":"image_09012025_09_19_03_043148_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5a0df7c52512d4f804db8124571801f2.jpg","text":"TemporaryFile(/tmp/multipartBody7933180912284542286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410932955,"filename":"image_09012025_09_20_02_475343_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7af6175ffd21cd1ac4fa27b05a5296bf.jpg","text":"TemporaryFile(/tmp/multipartBody4529922854622635951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410932955,"filename":"image_09012025_09_20_02_475343_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c7844eb32d6662c0bc7eb150b3a8f047.jpg","text":"TemporaryFile(/tmp/multipartBody6287038526691732495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410932955,"filename":"image_09012025_09_20_02_475343_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327634636","file1":"1327634635","file0":"1327634626","file3":"1327634637"},"map_files_photo_id_array":[{"photo_id":"1327634636","filename":"file2"},{"photo_id":"1327634635","filename":"file1"},{"photo_id":"1327634626","filename":"file0"},{"photo_id":"1327634637","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327634626":["hashtag1","hashtag2"]},{"1327634637":["hashtag1","hashtag2"]},{"1327634636":["hashtag1","hashtag2"]},{"1327634635":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327634626, 1327634637, 1327634636, 1327634635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.28482675552368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:22:02.224233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/20/image_09012025_09_20_02_475343_0003.jpg', '/home/pi/Desktop/images/09012025/09/21/image_09012025_09_21_03_109136_0000.jpg', '/home/pi/Desktop/images/09012025/09/21/image_09012025_09_21_03_109136_0001.jpg', '/home/pi/Desktop/images/09012025/09/21/image_09012025_09_21_03_109136_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/20/image_09012025_09_20_02_475343_0003.jpg
/home/pi/Desktop/images/09012025/09/21/image_09012025_09_21_03_109136_0000.jpg
/home/pi/Desktop/images/09012025/09/21/image_09012025_09_21_03_109136_0001.jpg
/home/pi/Desktop/images/09012025/09/21/image_09012025_09_21_03_109136_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327635051","1327634646","1327635161","1327634852"],"photo_ids_order":["1327634646","1327634852","1327635051","1327635161"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b9864e640c08a49d635b33f772d1da4d.jpg","text":"TemporaryFile(/tmp/multipartBody7201931886016095922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410992432,"filename":"image_09012025_09_21_03_109136_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/67af0486dc0fc40b3fcb9aaeb9b56084.jpg","text":"TemporaryFile(/tmp/multipartBody4877289725340036802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410992432,"filename":"image_09012025_09_20_02_475343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4565a51ff879b9bfe39539db56aca903.jpg","text":"TemporaryFile(/tmp/multipartBody4122630840147528926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410992432,"filename":"image_09012025_09_21_03_109136_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d6fb39926db4a6f5f39e661d056db2d5.jpg","text":"TemporaryFile(/tmp/multipartBody8547660754834289074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736410992432,"filename":"image_09012025_09_21_03_109136_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327635051","file1":"1327634852","file0":"1327634646","file3":"1327635161"},"map_files_photo_id_array":[{"photo_id":"1327635051","filename":"file2"},{"photo_id":"1327634852","filename":"file1"},{"photo_id":"1327634646","filename":"file0"},{"photo_id":"1327635161","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327635051":["hashtag1","hashtag2"]},{"1327634646":["hashtag1","hashtag2"]},{"1327635161":["hashtag1","hashtag2"]},{"1327634852":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327635051, 1327634646, 1327635161, 1327634852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.739835023880005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:23:02.806394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/21/image_09012025_09_21_03_109136_0003.jpg', '/home/pi/Desktop/images/09012025/09/22/image_09012025_09_22_02_596528_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/21/image_09012025_09_21_03_109136_0003.jpg
/home/pi/Desktop/images/09012025/09/22/image_09012025_09_22_02_596528_0000.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 5.113345384597778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:23:22.399722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/21/image_09012025_09_21_03_109136_0003.jpg', '/home/pi/Desktop/images/09012025/09/22/image_09012025_09_22_02_596528_0000.jpg', '/home/pi/Desktop/images/09012025/09/22/image_09012025_09_22_02_596528_0003.jpg', '/home/pi/Desktop/images/09012025/09/23/image_09012025_09_23_02_240998_0000.jpg', '/home/pi/Desktop/images/09012025/09/23/image_09012025_09_23_02_240998_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/21/image_09012025_09_21_03_109136_0003.jpg
/home/pi/Desktop/images/09012025/09/22/image_09012025_09_22_02_596528_0000.jpg
/home/pi/Desktop/images/09012025/09/22/image_09012025_09_22_02_596528_0003.jpg
/home/pi/Desktop/images/09012025/09/23/image_09012025_09_23_02_240998_0000.jpg
/home/pi/Desktop/images/09012025/09/23/image_09012025_09_23_02_240998_0001.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327635366","1327635368","1327635371","1327635347","1327635396"],"photo_ids_order":["1327635347","1327635366","1327635368","1327635371","1327635396"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b5117060f718654adb14331856ad55a8.jpg","text":"TemporaryFile(/tmp/multipartBody6301815661302486428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411075062,"filename":"image_09012025_09_22_02_596528_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5fda51a4b890c4e734161a320562b801.jpg","text":"TemporaryFile(/tmp/multipartBody3460948892060176791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411075062,"filename":"image_09012025_09_22_02_596528_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/87c80d3f09c051dbffd90a059be95697.jpg","text":"TemporaryFile(/tmp/multipartBody6416736321840804555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411075062,"filename":"image_09012025_09_23_02_240998_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/79c0e16c56f308e037ac5a9de2216de9.jpg","text":"TemporaryFile(/tmp/multipartBody7910850845165077110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411075062,"filename":"image_09012025_09_21_03_109136_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/efe0ca332ba0ef70966730b687e19ae4.jpg","text":"TemporaryFile(/tmp/multipartBody2201566284021333397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411075062,"filename":"image_09012025_09_23_02_240998_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327635368","file1":"1327635366","file0":"1327635347","file4":"1327635396","file3":"1327635371"},"map_files_photo_id_array":[{"photo_id":"1327635368","filename":"file2"},{"photo_id":"1327635396","filename":"file4"},{"photo_id":"1327635366","filename":"file1"},{"photo_id":"1327635347","filename":"file0"},{"photo_id":"1327635371","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327635366":["hashtag1","hashtag2"]},{"1327635368":["hashtag1","hashtag2"]},{"1327635371":["hashtag1","hashtag2"]},{"1327635347":["hashtag1","hashtag2"]},{"1327635396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327635366, 1327635368, 1327635371, 1327635347, 1327635396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 47.150657176971436 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:24:22.167774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/23/image_09012025_09_23_02_240998_0003.jpg', '/home/pi/Desktop/images/09012025/09/24/image_09012025_09_24_02_817968_0000.jpg', '/home/pi/Desktop/images/09012025/09/24/image_09012025_09_24_02_817968_0001.jpg', '/home/pi/Desktop/images/09012025/09/24/image_09012025_09_24_02_817968_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/23/image_09012025_09_23_02_240998_0003.jpg
/home/pi/Desktop/images/09012025/09/24/image_09012025_09_24_02_817968_0000.jpg
/home/pi/Desktop/images/09012025/09/24/image_09012025_09_24_02_817968_0001.jpg
/home/pi/Desktop/images/09012025/09/24/image_09012025_09_24_02_817968_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327635426","1327635429","1327635431","1327635433"],"photo_ids_order":["1327635426","1327635429","1327635431","1327635433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a6356a2303a814963977b6414fde8f36.jpg","text":"TemporaryFile(/tmp/multipartBody826551476426732935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411132384,"filename":"image_09012025_09_23_02_240998_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/19bd943530e3e2213ea65050959bc3a2.jpg","text":"TemporaryFile(/tmp/multipartBody4959350576251424526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411132384,"filename":"image_09012025_09_24_02_817968_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4b16ff7c95d4291ecb39213bf6d4553c.jpg","text":"TemporaryFile(/tmp/multipartBody9014670672119581903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411132384,"filename":"image_09012025_09_24_02_817968_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/abecaa18bd8b5f1d74c9bc6f81ebc0ff.jpg","text":"TemporaryFile(/tmp/multipartBody5299001069889680736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411132384,"filename":"image_09012025_09_24_02_817968_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327635431","file1":"1327635429","file0":"1327635426","file3":"1327635433"},"map_files_photo_id_array":[{"photo_id":"1327635431","filename":"file2"},{"photo_id":"1327635429","filename":"file1"},{"photo_id":"1327635426","filename":"file0"},{"photo_id":"1327635433","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327635426":["hashtag1","hashtag2"]},{"1327635429":["hashtag1","hashtag2"]},{"1327635431":["hashtag1","hashtag2"]},{"1327635433":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327635426, 1327635429, 1327635431, 1327635433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.95101618766785 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:25:03.245564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:25:22.601215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/24/image_09012025_09_24_02_817968_0003.jpg', '/home/pi/Desktop/images/09012025/09/25/image_09012025_09_25_02_448703_0000.jpg', '/home/pi/Desktop/images/09012025/09/25/image_09012025_09_25_02_448703_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/24/image_09012025_09_24_02_817968_0003.jpg
/home/pi/Desktop/images/09012025/09/25/image_09012025_09_25_02_448703_0000.jpg
/home/pi/Desktop/images/09012025/09/25/image_09012025_09_25_02_448703_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327635466","1327635460","1327635463"],"photo_ids_order":["1327635460","1327635463","1327635466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/641a11cebdd59c93af771da1db039323.jpg","text":"TemporaryFile(/tmp/multipartBody9040945367699914673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411190460,"filename":"image_09012025_09_25_02_448703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/758eeaabf8ddd98d9e55d64ca85dcf37.jpg","text":"TemporaryFile(/tmp/multipartBody6424018085668498375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411190460,"filename":"image_09012025_09_24_02_817968_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1b9a4280321f74d89e21e87e82079f05.jpg","text":"TemporaryFile(/tmp/multipartBody7217488520910851333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411190460,"filename":"image_09012025_09_25_02_448703_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327635466","file1":"1327635463","file0":"1327635460"},"map_files_photo_id_array":[{"photo_id":"1327635466","filename":"file2"},{"photo_id":"1327635463","filename":"file1"},{"photo_id":"1327635460","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327635466":["hashtag1","hashtag2"]},{"1327635460":["hashtag1","hashtag2"]},{"1327635463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327635466, 1327635460, 1327635463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.341219425201416 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:26:02.627540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:26:22.300887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/25/image_09012025_09_25_02_448703_0003.jpg', '/home/pi/Desktop/images/09012025/09/26/image_09012025_09_26_02_978837_0000.jpg', '/home/pi/Desktop/images/09012025/09/26/image_09012025_09_26_02_978837_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/25/image_09012025_09_25_02_448703_0003.jpg
/home/pi/Desktop/images/09012025/09/26/image_09012025_09_26_02_978837_0000.jpg
/home/pi/Desktop/images/09012025/09/26/image_09012025_09_26_02_978837_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327635491","1327635488","1327635517"],"photo_ids_order":["1327635488","1327635491","1327635517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bd92c677814056c95ac3b8e6599c67ef.jpg","text":"TemporaryFile(/tmp/multipartBody7318362051253144911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411250137,"filename":"image_09012025_09_26_02_978837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/05a0844b5b18428b72de9cb5d5d124d3.jpg","text":"TemporaryFile(/tmp/multipartBody1071409889824649676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411250137,"filename":"image_09012025_09_25_02_448703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/af2e1a5839fcaecd5a79095650cd3f04.jpg","text":"TemporaryFile(/tmp/multipartBody4180688005171254388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411250137,"filename":"image_09012025_09_26_02_978837_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327635517","file1":"1327635491","file0":"1327635488"},"map_files_photo_id_array":[{"photo_id":"1327635517","filename":"file2"},{"photo_id":"1327635491","filename":"file1"},{"photo_id":"1327635488","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327635491":["hashtag1","hashtag2"]},{"1327635488":["hashtag1","hashtag2"]},{"1327635517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327635491, 1327635488, 1327635517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.954383373260498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:27:02.396205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:27:21.803755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/26/image_09012025_09_26_02_978837_0003.jpg', '/home/pi/Desktop/images/09012025/09/27/image_09012025_09_27_02_686186_0000.jpg', '/home/pi/Desktop/images/09012025/09/27/image_09012025_09_27_02_686186_0001.jpg', '/home/pi/Desktop/images/09012025/09/27/image_09012025_09_27_02_686186_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/26/image_09012025_09_26_02_978837_0003.jpg
/home/pi/Desktop/images/09012025/09/27/image_09012025_09_27_02_686186_0000.jpg
/home/pi/Desktop/images/09012025/09/27/image_09012025_09_27_02_686186_0001.jpg
/home/pi/Desktop/images/09012025/09/27/image_09012025_09_27_02_686186_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327635581","1327635563","1327635605","1327635589"],"photo_ids_order":["1327635563","1327635581","1327635589","1327635605"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/360a9ba0cfaf4ac4c766f0369fee25c7.jpg","text":"TemporaryFile(/tmp/multipartBody7144162445541430330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411312036,"filename":"image_09012025_09_27_02_686186_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2289bbff27776db1ec46ddecf28014bd.jpg","text":"TemporaryFile(/tmp/multipartBody1266645993708283675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411312036,"filename":"image_09012025_09_26_02_978837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/31068bebba0642c616bba2f3082c4e76.jpg","text":"TemporaryFile(/tmp/multipartBody1582993245347743371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411312036,"filename":"image_09012025_09_27_02_686186_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4f1b54bf68d042c007aae6495d85c5c0.jpg","text":"TemporaryFile(/tmp/multipartBody2621738589350018036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411312036,"filename":"image_09012025_09_27_02_686186_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327635589","file1":"1327635581","file0":"1327635563","file3":"1327635605"},"map_files_photo_id_array":[{"photo_id":"1327635589","filename":"file2"},{"photo_id":"1327635581","filename":"file1"},{"photo_id":"1327635563","filename":"file0"},{"photo_id":"1327635605","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327635581":["hashtag1","hashtag2"]},{"1327635563":["hashtag1","hashtag2"]},{"1327635605":["hashtag1","hashtag2"]},{"1327635589":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327635581, 1327635563, 1327635605, 1327635589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.72063159942627 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:28:02.908267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:28:22.541397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/27/image_09012025_09_27_02_686186_0003.jpg', '/home/pi/Desktop/images/09012025/09/28/image_09012025_09_28_02_174313_0000.jpg', '/home/pi/Desktop/images/09012025/09/28/image_09012025_09_28_02_174313_0001.jpg', '/home/pi/Desktop/images/09012025/09/28/image_09012025_09_28_02_174313_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/27/image_09012025_09_27_02_686186_0003.jpg
/home/pi/Desktop/images/09012025/09/28/image_09012025_09_28_02_174313_0000.jpg
/home/pi/Desktop/images/09012025/09/28/image_09012025_09_28_02_174313_0001.jpg
/home/pi/Desktop/images/09012025/09/28/image_09012025_09_28_02_174313_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327635773","1327635730","1327635798","1327635792"],"photo_ids_order":["1327635730","1327635773","1327635792","1327635798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f915012b190ce004bc0aaf4b463cc45b.jpg","text":"TemporaryFile(/tmp/multipartBody2649937556882820542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411372743,"filename":"image_09012025_09_28_02_174313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c3d9fed27b7f3544f194b1a6a073baa2.jpg","text":"TemporaryFile(/tmp/multipartBody81418566434891690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411372743,"filename":"image_09012025_09_27_02_686186_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8dc63fd0f543540db1b8af01a7ca915e.jpg","text":"TemporaryFile(/tmp/multipartBody6760955404069941120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411372743,"filename":"image_09012025_09_28_02_174313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/da1acb0f0a0cf4ed61c0729cef870a7e.jpg","text":"TemporaryFile(/tmp/multipartBody5859338172163928095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411372743,"filename":"image_09012025_09_28_02_174313_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327635792","file1":"1327635773","file0":"1327635730","file3":"1327635798"},"map_files_photo_id_array":[{"photo_id":"1327635792","filename":"file2"},{"photo_id":"1327635773","filename":"file1"},{"photo_id":"1327635730","filename":"file0"},{"photo_id":"1327635798","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327635773":["hashtag1","hashtag2"]},{"1327635730":["hashtag1","hashtag2"]},{"1327635798":["hashtag1","hashtag2"]},{"1327635792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327635773, 1327635730, 1327635798, 1327635792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.68779921531677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:29:02.879105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:29:22.109682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/28/image_09012025_09_28_02_174313_0003.jpg', '/home/pi/Desktop/images/09012025/09/29/image_09012025_09_29_02_898856_0000.jpg', '/home/pi/Desktop/images/09012025/09/29/image_09012025_09_29_02_898856_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/28/image_09012025_09_28_02_174313_0003.jpg
/home/pi/Desktop/images/09012025/09/29/image_09012025_09_29_02_898856_0000.jpg
/home/pi/Desktop/images/09012025/09/29/image_09012025_09_29_02_898856_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327635826","1327635829","1327635823"],"photo_ids_order":["1327635823","1327635826","1327635829"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aa7bc73b1283bb365b6f4298d670b1f8.jpg","text":"TemporaryFile(/tmp/multipartBody6074558429240575842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411429792,"filename":"image_09012025_09_29_02_898856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/83172984715033752a54b9172ddd61a3.jpg","text":"TemporaryFile(/tmp/multipartBody3495834245754869260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411429792,"filename":"image_09012025_09_29_02_898856_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/632cfb6e885c51386399ca81726be6e5.jpg","text":"TemporaryFile(/tmp/multipartBody4157250157877748778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411429792,"filename":"image_09012025_09_28_02_174313_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327635829","file1":"1327635826","file0":"1327635823"},"map_files_photo_id_array":[{"photo_id":"1327635829","filename":"file2"},{"photo_id":"1327635826","filename":"file1"},{"photo_id":"1327635823","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327635826":["hashtag1","hashtag2"]},{"1327635829":["hashtag1","hashtag2"]},{"1327635823":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327635826, 1327635829, 1327635823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.806118726730347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:30:02.907003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:30:22.637281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/29/image_09012025_09_29_02_898856_0003.jpg', '/home/pi/Desktop/images/09012025/09/30/image_09012025_09_30_02_401573_0000.jpg', '/home/pi/Desktop/images/09012025/09/30/image_09012025_09_30_02_401573_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/29/image_09012025_09_29_02_898856_0003.jpg
/home/pi/Desktop/images/09012025/09/30/image_09012025_09_30_02_401573_0000.jpg
/home/pi/Desktop/images/09012025/09/30/image_09012025_09_30_02_401573_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.625410795211792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:31:02.913309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/29/image_09012025_09_29_02_898856_0003.jpg', '/home/pi/Desktop/images/09012025/09/30/image_09012025_09_30_02_401573_0000.jpg', '/home/pi/Desktop/images/09012025/09/30/image_09012025_09_30_02_401573_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/29/image_09012025_09_29_02_898856_0003.jpg
/home/pi/Desktop/images/09012025/09/30/image_09012025_09_30_02_401573_0000.jpg
/home/pi/Desktop/images/09012025/09/30/image_09012025_09_30_02_401573_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327635858","1327635859","1327635870"],"photo_ids_order":["1327635858","1327635859","1327635870"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f57313c4ce96a53282d2ebad056471b6.jpg","text":"TemporaryFile(/tmp/multipartBody380892485814447412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411530973,"filename":"image_09012025_09_29_02_898856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0d98efa4a7788db2ea0c59c29af2e220.jpg","text":"TemporaryFile(/tmp/multipartBody8591870280546222066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411530973,"filename":"image_09012025_09_30_02_401573_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/061bdf1a6ff40831bb1f585278bcca42.jpg","text":"TemporaryFile(/tmp/multipartBody6125995050264094992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411530973,"filename":"image_09012025_09_30_02_401573_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327635870","file1":"1327635859","file0":"1327635858"},"map_files_photo_id_array":[{"photo_id":"1327635870","filename":"file2"},{"photo_id":"1327635859","filename":"file1"},{"photo_id":"1327635858","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327635858":["hashtag1","hashtag2"]},{"1327635859":["hashtag1","hashtag2"]},{"1327635870":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327635858, 1327635859, 1327635870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.202452182769775 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:32:03.188650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/30/image_09012025_09_30_02_401573_0003.jpg', '/home/pi/Desktop/images/09012025/09/31/image_09012025_09_31_02_978759_0000.jpg', '/home/pi/Desktop/images/09012025/09/31/image_09012025_09_31_02_978759_0001.jpg', '/home/pi/Desktop/images/09012025/09/31/image_09012025_09_31_02_978759_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/30/image_09012025_09_30_02_401573_0003.jpg
/home/pi/Desktop/images/09012025/09/31/image_09012025_09_31_02_978759_0000.jpg
/home/pi/Desktop/images/09012025/09/31/image_09012025_09_31_02_978759_0001.jpg
/home/pi/Desktop/images/09012025/09/31/image_09012025_09_31_02_978759_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327636028","1327636001","1327636027","1327636015"],"photo_ids_order":["1327636001","1327636015","1327636027","1327636028"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d22b3dabba3a07a0c26f3c0a7d4c00dc.jpg","text":"TemporaryFile(/tmp/multipartBody5892103540530204107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411593649,"filename":"image_09012025_09_31_02_978759_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/82af7d805b9c721b813b335e1a17d196.jpg","text":"TemporaryFile(/tmp/multipartBody8275360066030383698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411593649,"filename":"image_09012025_09_30_02_401573_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6eeaaaf5430d3580b788b66a2bf627d3.jpg","text":"TemporaryFile(/tmp/multipartBody7160971312090899815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411593649,"filename":"image_09012025_09_31_02_978759_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2fe386e8b7e92fe1d475b8a4c7656e13.jpg","text":"TemporaryFile(/tmp/multipartBody3648052881226498103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411593649,"filename":"image_09012025_09_31_02_978759_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327636027","file1":"1327636015","file0":"1327636001","file3":"1327636028"},"map_files_photo_id_array":[{"photo_id":"1327636027","filename":"file2"},{"photo_id":"1327636015","filename":"file1"},{"photo_id":"1327636001","filename":"file0"},{"photo_id":"1327636028","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327636028":["hashtag1","hashtag2"]},{"1327636001":["hashtag1","hashtag2"]},{"1327636027":["hashtag1","hashtag2"]},{"1327636015":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327636028, 1327636001, 1327636027, 1327636015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.9307062625885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:33:02.664011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/31/image_09012025_09_31_02_978759_0003.jpg', '/home/pi/Desktop/images/09012025/09/32/image_09012025_09_32_02_486066_0000.jpg', '/home/pi/Desktop/images/09012025/09/32/image_09012025_09_32_02_486066_0001.jpg', '/home/pi/Desktop/images/09012025/09/32/image_09012025_09_32_02_486066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/31/image_09012025_09_31_02_978759_0003.jpg
/home/pi/Desktop/images/09012025/09/32/image_09012025_09_32_02_486066_0000.jpg
/home/pi/Desktop/images/09012025/09/32/image_09012025_09_32_02_486066_0001.jpg
/home/pi/Desktop/images/09012025/09/32/image_09012025_09_32_02_486066_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.991072416305542 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:33:22.228048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/31/image_09012025_09_31_02_978759_0003.jpg', '/home/pi/Desktop/images/09012025/09/32/image_09012025_09_32_02_486066_0000.jpg', '/home/pi/Desktop/images/09012025/09/32/image_09012025_09_32_02_486066_0001.jpg', '/home/pi/Desktop/images/09012025/09/32/image_09012025_09_32_02_486066_0002.jpg', '/home/pi/Desktop/images/09012025/09/32/image_09012025_09_32_02_486066_0003.jpg', '/home/pi/Desktop/images/09012025/09/33/image_09012025_09_33_03_055778_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/31/image_09012025_09_31_02_978759_0003.jpg
/home/pi/Desktop/images/09012025/09/32/image_09012025_09_32_02_486066_0000.jpg
/home/pi/Desktop/images/09012025/09/32/image_09012025_09_32_02_486066_0001.jpg
/home/pi/Desktop/images/09012025/09/32/image_09012025_09_32_02_486066_0002.jpg
/home/pi/Desktop/images/09012025/09/32/image_09012025_09_32_02_486066_0003.jpg
/home/pi/Desktop/images/09012025/09/33/image_09012025_09_33_03_055778_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327636172","1327636166","1327636174","1327636168","1327636170","1327636155"],"photo_ids_order":["1327636155","1327636166","1327636168","1327636170","1327636172","1327636174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9c3d1c4c11d3ae3774f0dbadd0187682.jpg","text":"TemporaryFile(/tmp/multipartBody8861581202441633003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411677367,"filename":"image_09012025_09_32_02_486066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b6511f76188d6fd5715ef2a34ccadeee.jpg","text":"TemporaryFile(/tmp/multipartBody2880721661203509426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411677367,"filename":"image_09012025_09_32_02_486066_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fb108a8e4b19ad91594c19ad3ed282c4.jpg","text":"TemporaryFile(/tmp/multipartBody2575947288750650159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411677367,"filename":"image_09012025_09_33_03_055778_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ed5c9f26b068bfb25e1d3df1cbc5bf34.jpg","text":"TemporaryFile(/tmp/multipartBody8676343380224228701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411677367,"filename":"image_09012025_09_32_02_486066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4dc37670806ed1ba4951551dc329715c.jpg","text":"TemporaryFile(/tmp/multipartBody3367764898679602198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411677367,"filename":"image_09012025_09_32_02_486066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cdb3ff316d4610df675e9db3860c8d98.jpg","text":"TemporaryFile(/tmp/multipartBody531811592399979478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411677367,"filename":"image_09012025_09_31_02_978759_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327636168","file1":"1327636166","file0":"1327636155","file4":"1327636172","file5":"1327636174","file3":"1327636170"},"map_files_photo_id_array":[{"photo_id":"1327636174","filename":"file5"},{"photo_id":"1327636168","filename":"file2"},{"photo_id":"1327636172","filename":"file4"},{"photo_id":"1327636166","filename":"file1"},{"photo_id":"1327636155","filename":"file0"},{"photo_id":"1327636170","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327636172":["hashtag1","hashtag2"]},{"1327636166":["hashtag1","hashtag2"]},{"1327636174":["hashtag1","hashtag2"]},{"1327636168":["hashtag1","hashtag2"]},{"1327636170":["hashtag1","hashtag2"]},{"1327636155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327636172, 1327636166, 1327636174, 1327636168, 1327636170, 1327636155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.59353017807007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:34:21.775800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/33/image_09012025_09_33_03_055778_0001.jpg', '/home/pi/Desktop/images/09012025/09/33/image_09012025_09_33_03_055778_0002.jpg', '/home/pi/Desktop/images/09012025/09/33/image_09012025_09_33_03_055778_0003.jpg', '/home/pi/Desktop/images/09012025/09/34/image_09012025_09_34_02_611973_0000.jpg', '/home/pi/Desktop/images/09012025/09/34/image_09012025_09_34_02_611973_0001.jpg', '/home/pi/Desktop/images/09012025/09/34/image_09012025_09_34_02_611973_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/33/image_09012025_09_33_03_055778_0001.jpg
/home/pi/Desktop/images/09012025/09/33/image_09012025_09_33_03_055778_0002.jpg
/home/pi/Desktop/images/09012025/09/33/image_09012025_09_33_03_055778_0003.jpg
/home/pi/Desktop/images/09012025/09/34/image_09012025_09_34_02_611973_0000.jpg
/home/pi/Desktop/images/09012025/09/34/image_09012025_09_34_02_611973_0001.jpg
/home/pi/Desktop/images/09012025/09/34/image_09012025_09_34_02_611973_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327636190","1327636203","1327636184","1327636211","1327636186","1327636180"],"photo_ids_order":["1327636180","1327636184","1327636186","1327636190","1327636203","1327636211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bd75b66276fad90b0a54634cc4033da2.jpg","text":"TemporaryFile(/tmp/multipartBody8736862122602283249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411736798,"filename":"image_09012025_09_34_02_611973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/57483f99fb66c32c01aed4a13b4cebb4.jpg","text":"TemporaryFile(/tmp/multipartBody4669334977175134592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411736798,"filename":"image_09012025_09_34_02_611973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cce0be8ca8303e669aa13d3545894706.jpg","text":"TemporaryFile(/tmp/multipartBody4977530332441951358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411736798,"filename":"image_09012025_09_33_03_055778_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a145437741d77a8969029e7fcfdde03b.jpg","text":"TemporaryFile(/tmp/multipartBody3680239028578266038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411736798,"filename":"image_09012025_09_34_02_611973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/333841e19d36d6aba067a640abebec3b.jpg","text":"TemporaryFile(/tmp/multipartBody5470444741962142177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411736798,"filename":"image_09012025_09_33_03_055778_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f1135cc12c9f9e65ddbb1052da7a92a7.jpg","text":"TemporaryFile(/tmp/multipartBody8887495454178855297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411736798,"filename":"image_09012025_09_33_03_055778_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327636186","file1":"1327636184","file0":"1327636180","file4":"1327636203","file5":"1327636211","file3":"1327636190"},"map_files_photo_id_array":[{"photo_id":"1327636211","filename":"file5"},{"photo_id":"1327636186","filename":"file2"},{"photo_id":"1327636203","filename":"file4"},{"photo_id":"1327636184","filename":"file1"},{"photo_id":"1327636180","filename":"file0"},{"photo_id":"1327636190","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327636190":["hashtag1","hashtag2"]},{"1327636203":["hashtag1","hashtag2"]},{"1327636184":["hashtag1","hashtag2"]},{"1327636211":["hashtag1","hashtag2"]},{"1327636186":["hashtag1","hashtag2"]},{"1327636180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327636190, 1327636203, 1327636184, 1327636211, 1327636186, 1327636180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.908278942108154 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:35:22.322800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/34/image_09012025_09_34_02_611973_0003.jpg', '/home/pi/Desktop/images/09012025/09/35/image_09012025_09_35_02_137246_0000.jpg', '/home/pi/Desktop/images/09012025/09/35/image_09012025_09_35_02_137246_0001.jpg', '/home/pi/Desktop/images/09012025/09/35/image_09012025_09_35_02_137246_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/34/image_09012025_09_34_02_611973_0003.jpg
/home/pi/Desktop/images/09012025/09/35/image_09012025_09_35_02_137246_0000.jpg
/home/pi/Desktop/images/09012025/09/35/image_09012025_09_35_02_137246_0001.jpg
/home/pi/Desktop/images/09012025/09/35/image_09012025_09_35_02_137246_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327636244","1327636220","1327636246","1327636222"],"photo_ids_order":["1327636220","1327636222","1327636244","1327636246"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/509950cdd56eabc85dddf694f4337030.jpg","text":"TemporaryFile(/tmp/multipartBody6216578213777679719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411792659,"filename":"image_09012025_09_35_02_137246_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/38679ce39c78bdcd8c4cea27d5cc5bd8.jpg","text":"TemporaryFile(/tmp/multipartBody5052049458097154967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411792659,"filename":"image_09012025_09_34_02_611973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/349a63b048ccd3f2a6c5979f9e2272a5.jpg","text":"TemporaryFile(/tmp/multipartBody6013065929298451439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411792659,"filename":"image_09012025_09_35_02_137246_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f78252eb58400c17f691490f7807db56.jpg","text":"TemporaryFile(/tmp/multipartBody2326765022675164656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411792659,"filename":"image_09012025_09_35_02_137246_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327636244","file1":"1327636222","file0":"1327636220","file3":"1327636246"},"map_files_photo_id_array":[{"photo_id":"1327636244","filename":"file2"},{"photo_id":"1327636222","filename":"file1"},{"photo_id":"1327636220","filename":"file0"},{"photo_id":"1327636246","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327636244":["hashtag1","hashtag2"]},{"1327636220":["hashtag1","hashtag2"]},{"1327636246":["hashtag1","hashtag2"]},{"1327636222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327636244, 1327636220, 1327636246, 1327636222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12961411476135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:36:21.836130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/35/image_09012025_09_35_02_137246_0003.jpg', '/home/pi/Desktop/images/09012025/09/36/image_09012025_09_36_02_662178_0000.jpg', '/home/pi/Desktop/images/09012025/09/36/image_09012025_09_36_02_662178_0001.jpg', '/home/pi/Desktop/images/09012025/09/36/image_09012025_09_36_02_662178_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/35/image_09012025_09_35_02_137246_0003.jpg
/home/pi/Desktop/images/09012025/09/36/image_09012025_09_36_02_662178_0000.jpg
/home/pi/Desktop/images/09012025/09/36/image_09012025_09_36_02_662178_0001.jpg
/home/pi/Desktop/images/09012025/09/36/image_09012025_09_36_02_662178_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327636280","1327636294","1327636273","1327636261"],"photo_ids_order":["1327636261","1327636273","1327636280","1327636294"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2b58d055336b7ee8347a1db1b9f1059f.jpg","text":"TemporaryFile(/tmp/multipartBody9164488254456498728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411852062,"filename":"image_09012025_09_36_02_662178_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b716bef295fb63580e4fe012e0eec170.jpg","text":"TemporaryFile(/tmp/multipartBody6052696276072433903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411852062,"filename":"image_09012025_09_36_02_662178_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3818a5a9b54f6312cef8fc81834fe4cc.jpg","text":"TemporaryFile(/tmp/multipartBody6112264422062929562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411852062,"filename":"image_09012025_09_36_02_662178_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1bbb3674852e6ad0c903c775c8e3cb3f.jpg","text":"TemporaryFile(/tmp/multipartBody4272965054256581727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411852062,"filename":"image_09012025_09_35_02_137246_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327636280","file1":"1327636273","file0":"1327636261","file3":"1327636294"},"map_files_photo_id_array":[{"photo_id":"1327636280","filename":"file2"},{"photo_id":"1327636273","filename":"file1"},{"photo_id":"1327636261","filename":"file0"},{"photo_id":"1327636294","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327636280":["hashtag1","hashtag2"]},{"1327636294":["hashtag1","hashtag2"]},{"1327636273":["hashtag1","hashtag2"]},{"1327636261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327636280, 1327636294, 1327636273, 1327636261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.22397589683533 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:37:02.830948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:37:22.206846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/36/image_09012025_09_36_02_662178_0003.jpg', '/home/pi/Desktop/images/09012025/09/37/image_09012025_09_37_02_108667_0000.jpg', '/home/pi/Desktop/images/09012025/09/37/image_09012025_09_37_02_108667_0001.jpg', '/home/pi/Desktop/images/09012025/09/37/image_09012025_09_37_02_108667_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/36/image_09012025_09_36_02_662178_0003.jpg
/home/pi/Desktop/images/09012025/09/37/image_09012025_09_37_02_108667_0000.jpg
/home/pi/Desktop/images/09012025/09/37/image_09012025_09_37_02_108667_0001.jpg
/home/pi/Desktop/images/09012025/09/37/image_09012025_09_37_02_108667_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327637327","1327637362","1327637338","1327637353"],"photo_ids_order":["1327637327","1327637338","1327637353","1327637362"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f2f81a1ae483065acbacecb0e71e298e.jpg","text":"TemporaryFile(/tmp/multipartBody7355757112871482604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411912654,"filename":"image_09012025_09_36_02_662178_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e686dbc0c88796e299bece69c4aae2b4.jpg","text":"TemporaryFile(/tmp/multipartBody2361624204655232896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411912654,"filename":"image_09012025_09_37_02_108667_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cc8fd5b467b44a47583e1f31c9337a7f.jpg","text":"TemporaryFile(/tmp/multipartBody7141426925714805563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411912654,"filename":"image_09012025_09_37_02_108667_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c5feb5243cb0174e44bb0439f9439303.jpg","text":"TemporaryFile(/tmp/multipartBody6098295470215582670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411912654,"filename":"image_09012025_09_37_02_108667_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327637353","file1":"1327637338","file0":"1327637327","file3":"1327637362"},"map_files_photo_id_array":[{"photo_id":"1327637353","filename":"file2"},{"photo_id":"1327637338","filename":"file1"},{"photo_id":"1327637327","filename":"file0"},{"photo_id":"1327637362","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327637327":["hashtag1","hashtag2"]},{"1327637362":["hashtag1","hashtag2"]},{"1327637338":["hashtag1","hashtag2"]},{"1327637353":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327637327, 1327637362, 1327637338, 1327637353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.40801978111267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:38:21.927789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/37/image_09012025_09_37_02_108667_0003.jpg', '/home/pi/Desktop/images/09012025/09/38/image_09012025_09_38_02_589736_0000.jpg', '/home/pi/Desktop/images/09012025/09/38/image_09012025_09_38_02_589736_0001.jpg', '/home/pi/Desktop/images/09012025/09/38/image_09012025_09_38_02_589736_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/37/image_09012025_09_37_02_108667_0003.jpg
/home/pi/Desktop/images/09012025/09/38/image_09012025_09_38_02_589736_0000.jpg
/home/pi/Desktop/images/09012025/09/38/image_09012025_09_38_02_589736_0001.jpg
/home/pi/Desktop/images/09012025/09/38/image_09012025_09_38_02_589736_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327637432","1327637405","1327637472","1327637456"],"photo_ids_order":["1327637405","1327637432","1327637456","1327637472"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2b2582c908ed5648c5cc0a0751d29670.jpg","text":"TemporaryFile(/tmp/multipartBody9087089805146043135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411972399,"filename":"image_09012025_09_38_02_589736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/430932be2bfbe40fde002e1d1ca5156e.jpg","text":"TemporaryFile(/tmp/multipartBody6933500404914720919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411972399,"filename":"image_09012025_09_37_02_108667_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/660d3b97b631b08c8c2b439188d84dcd.jpg","text":"TemporaryFile(/tmp/multipartBody6453778721212127068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411972399,"filename":"image_09012025_09_38_02_589736_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cf59f5439c3f5be4c6ad6e4dfdbe00ce.jpg","text":"TemporaryFile(/tmp/multipartBody8840937787250253358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736411972399,"filename":"image_09012025_09_38_02_589736_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327637456","file1":"1327637432","file0":"1327637405","file3":"1327637472"},"map_files_photo_id_array":[{"photo_id":"1327637456","filename":"file2"},{"photo_id":"1327637432","filename":"file1"},{"photo_id":"1327637405","filename":"file0"},{"photo_id":"1327637472","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327637432":["hashtag1","hashtag2"]},{"1327637405":["hashtag1","hashtag2"]},{"1327637472":["hashtag1","hashtag2"]},{"1327637456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327637432, 1327637405, 1327637472, 1327637456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.102527379989624 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:39:03.168998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:39:22.491028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/38/image_09012025_09_38_02_589736_0003.jpg', '/home/pi/Desktop/images/09012025/09/39/image_09012025_09_39_02_352199_0000.jpg', '/home/pi/Desktop/images/09012025/09/39/image_09012025_09_39_02_352199_0001.jpg', '/home/pi/Desktop/images/09012025/09/39/image_09012025_09_39_02_352199_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/38/image_09012025_09_38_02_589736_0003.jpg
/home/pi/Desktop/images/09012025/09/39/image_09012025_09_39_02_352199_0000.jpg
/home/pi/Desktop/images/09012025/09/39/image_09012025_09_39_02_352199_0001.jpg
/home/pi/Desktop/images/09012025/09/39/image_09012025_09_39_02_352199_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327638059","1327638074","1327638053","1327638056"],"photo_ids_order":["1327638053","1327638056","1327638059","1327638074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/138f35bff9449d46f0d9cd6506ab970f.jpg","text":"TemporaryFile(/tmp/multipartBody5060153808649768123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412032920,"filename":"image_09012025_09_39_02_352199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/52c3321b1af550ac9db90fc7a18f4954.jpg","text":"TemporaryFile(/tmp/multipartBody7669907647790035663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412032920,"filename":"image_09012025_09_39_02_352199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2d2060fe323261aabfc049c36f7629d7.jpg","text":"TemporaryFile(/tmp/multipartBody8436204353546146560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412032920,"filename":"image_09012025_09_38_02_589736_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2aab27f5867fe1e00cb238321032a965.jpg","text":"TemporaryFile(/tmp/multipartBody3250195812399519522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412032920,"filename":"image_09012025_09_39_02_352199_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327638059","file1":"1327638056","file0":"1327638053","file3":"1327638074"},"map_files_photo_id_array":[{"photo_id":"1327638059","filename":"file2"},{"photo_id":"1327638056","filename":"file1"},{"photo_id":"1327638053","filename":"file0"},{"photo_id":"1327638074","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327638059":["hashtag1","hashtag2"]},{"1327638074":["hashtag1","hashtag2"]},{"1327638053":["hashtag1","hashtag2"]},{"1327638056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327638059, 1327638074, 1327638053, 1327638056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.60647225379944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:40:22.031841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/39/image_09012025_09_39_02_352199_0003.jpg', '/home/pi/Desktop/images/09012025/09/40/image_09012025_09_40_02_792228_0000.jpg', '/home/pi/Desktop/images/09012025/09/40/image_09012025_09_40_02_792228_0001.jpg', '/home/pi/Desktop/images/09012025/09/40/image_09012025_09_40_02_792228_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/39/image_09012025_09_39_02_352199_0003.jpg
/home/pi/Desktop/images/09012025/09/40/image_09012025_09_40_02_792228_0000.jpg
/home/pi/Desktop/images/09012025/09/40/image_09012025_09_40_02_792228_0001.jpg
/home/pi/Desktop/images/09012025/09/40/image_09012025_09_40_02_792228_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327638136","1327638124","1327638141","1327638131"],"photo_ids_order":["1327638124","1327638131","1327638136","1327638141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c2eccef086394a995fb9b6914325f2e9.jpg","text":"TemporaryFile(/tmp/multipartBody1340294893200273318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412092245,"filename":"image_09012025_09_40_02_792228_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e1bcd500a240c631d0c529ece4c47302.jpg","text":"TemporaryFile(/tmp/multipartBody7210146479075953248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412092245,"filename":"image_09012025_09_39_02_352199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bfce61853b4e2484cb35e0f687d1fb4a.jpg","text":"TemporaryFile(/tmp/multipartBody1171791471398949297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412092245,"filename":"image_09012025_09_40_02_792228_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e46269e4e7171b75bef151126461a0bf.jpg","text":"TemporaryFile(/tmp/multipartBody6085966054624678939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412092245,"filename":"image_09012025_09_40_02_792228_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327638136","file1":"1327638131","file0":"1327638124","file3":"1327638141"},"map_files_photo_id_array":[{"photo_id":"1327638136","filename":"file2"},{"photo_id":"1327638131","filename":"file1"},{"photo_id":"1327638124","filename":"file0"},{"photo_id":"1327638141","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327638136":["hashtag1","hashtag2"]},{"1327638124":["hashtag1","hashtag2"]},{"1327638141":["hashtag1","hashtag2"]},{"1327638131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327638136, 1327638124, 1327638141, 1327638131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.67744183540344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:41:22.638189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/40/image_09012025_09_40_02_792228_0003.jpg', '/home/pi/Desktop/images/09012025/09/41/image_09012025_09_41_02_445558_0000.jpg', '/home/pi/Desktop/images/09012025/09/41/image_09012025_09_41_02_445558_0001.jpg', '/home/pi/Desktop/images/09012025/09/41/image_09012025_09_41_02_445558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/40/image_09012025_09_40_02_792228_0003.jpg
/home/pi/Desktop/images/09012025/09/41/image_09012025_09_41_02_445558_0000.jpg
/home/pi/Desktop/images/09012025/09/41/image_09012025_09_41_02_445558_0001.jpg
/home/pi/Desktop/images/09012025/09/41/image_09012025_09_41_02_445558_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327638169","1327638165","1327638174","1327638161"],"photo_ids_order":["1327638161","1327638165","1327638169","1327638174"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/40dc1b0c3b49d45e525e3fc1e2d663af.jpg","text":"TemporaryFile(/tmp/multipartBody2043800014473589744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412152969,"filename":"image_09012025_09_41_02_445558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ed4fddbd8fb48d603b31d36edeeab59b.jpg","text":"TemporaryFile(/tmp/multipartBody9115404347730679909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412152969,"filename":"image_09012025_09_41_02_445558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/707a0a382c78b29c96affaf7d7baa70b.jpg","text":"TemporaryFile(/tmp/multipartBody4349070175769210763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412152969,"filename":"image_09012025_09_41_02_445558_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e98d7a065eba7c2dcd83219e8dadf84d.jpg","text":"TemporaryFile(/tmp/multipartBody4080513351699131617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412152969,"filename":"image_09012025_09_40_02_792228_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327638169","file1":"1327638165","file0":"1327638161","file3":"1327638174"},"map_files_photo_id_array":[{"photo_id":"1327638169","filename":"file2"},{"photo_id":"1327638165","filename":"file1"},{"photo_id":"1327638161","filename":"file0"},{"photo_id":"1327638174","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327638169":["hashtag1","hashtag2"]},{"1327638165":["hashtag1","hashtag2"]},{"1327638174":["hashtag1","hashtag2"]},{"1327638161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327638169, 1327638165, 1327638174, 1327638161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.23200249671936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:42:02.630715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:42:22.143110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/41/image_09012025_09_41_02_445558_0003.jpg', '/home/pi/Desktop/images/09012025/09/42/image_09012025_09_42_03_020436_0000.jpg', '/home/pi/Desktop/images/09012025/09/42/image_09012025_09_42_03_020436_0001.jpg', '/home/pi/Desktop/images/09012025/09/42/image_09012025_09_42_03_020436_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/41/image_09012025_09_41_02_445558_0003.jpg
/home/pi/Desktop/images/09012025/09/42/image_09012025_09_42_03_020436_0000.jpg
/home/pi/Desktop/images/09012025/09/42/image_09012025_09_42_03_020436_0001.jpg
/home/pi/Desktop/images/09012025/09/42/image_09012025_09_42_03_020436_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327638209","1327638217","1327638213","1327638207"],"photo_ids_order":["1327638207","1327638209","1327638213","1327638217"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8db343c7d8be245b068860b66abe7325.jpg","text":"TemporaryFile(/tmp/multipartBody8461603025351694749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412212375,"filename":"image_09012025_09_42_03_020436_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ebd1f5df0da63079c5214a85c7ed7cb8.jpg","text":"TemporaryFile(/tmp/multipartBody3322462091836413243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412212375,"filename":"image_09012025_09_42_03_020436_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9e7878476dd6b724951e2fe7625a85d1.jpg","text":"TemporaryFile(/tmp/multipartBody6313923678469639425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412212375,"filename":"image_09012025_09_42_03_020436_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/43c569b0dd367733b45fa29212d61636.jpg","text":"TemporaryFile(/tmp/multipartBody3367661972217210990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412212375,"filename":"image_09012025_09_41_02_445558_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327638213","file1":"1327638209","file0":"1327638207","file3":"1327638217"},"map_files_photo_id_array":[{"photo_id":"1327638213","filename":"file2"},{"photo_id":"1327638209","filename":"file1"},{"photo_id":"1327638207","filename":"file0"},{"photo_id":"1327638217","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327638209":["hashtag1","hashtag2"]},{"1327638217":["hashtag1","hashtag2"]},{"1327638213":["hashtag1","hashtag2"]},{"1327638207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327638209, 1327638217, 1327638213, 1327638207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.51376485824585 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:43:22.658681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/42/image_09012025_09_42_03_020436_0003.jpg', '/home/pi/Desktop/images/09012025/09/43/image_09012025_09_43_02_558374_0000.jpg', '/home/pi/Desktop/images/09012025/09/43/image_09012025_09_43_02_558374_0001.jpg', '/home/pi/Desktop/images/09012025/09/43/image_09012025_09_43_02_558374_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/42/image_09012025_09_42_03_020436_0003.jpg
/home/pi/Desktop/images/09012025/09/43/image_09012025_09_43_02_558374_0000.jpg
/home/pi/Desktop/images/09012025/09/43/image_09012025_09_43_02_558374_0001.jpg
/home/pi/Desktop/images/09012025/09/43/image_09012025_09_43_02_558374_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327638340","1327638375","1327638360","1327638347"],"photo_ids_order":["1327638340","1327638347","1327638360","1327638375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fb0f980d8f1e13ce2a905203bb01db95.jpg","text":"TemporaryFile(/tmp/multipartBody847585459102940034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412272967,"filename":"image_09012025_09_42_03_020436_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1ae35ef4a6cd5d6881a8258b42cb7a5d.jpg","text":"TemporaryFile(/tmp/multipartBody4263791598483505276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412272967,"filename":"image_09012025_09_43_02_558374_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a51feb4570ea097eb458ca24aec11000.jpg","text":"TemporaryFile(/tmp/multipartBody6815244858567730972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412272967,"filename":"image_09012025_09_43_02_558374_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a90b442d80e6f3d14f80c74dce1664fe.jpg","text":"TemporaryFile(/tmp/multipartBody2006481040185002292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412272967,"filename":"image_09012025_09_43_02_558374_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327638360","file1":"1327638347","file0":"1327638340","file3":"1327638375"},"map_files_photo_id_array":[{"photo_id":"1327638360","filename":"file2"},{"photo_id":"1327638347","filename":"file1"},{"photo_id":"1327638340","filename":"file0"},{"photo_id":"1327638375","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327638340":["hashtag1","hashtag2"]},{"1327638375":["hashtag1","hashtag2"]},{"1327638360":["hashtag1","hashtag2"]},{"1327638347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327638340, 1327638375, 1327638360, 1327638347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.885010957717896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:44:02.518047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:44:22.169414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/43/image_09012025_09_43_02_558374_0003.jpg', '/home/pi/Desktop/images/09012025/09/44/image_09012025_09_44_03_050505_0000.jpg', '/home/pi/Desktop/images/09012025/09/44/image_09012025_09_44_03_050505_0001.jpg', '/home/pi/Desktop/images/09012025/09/44/image_09012025_09_44_03_050505_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/43/image_09012025_09_43_02_558374_0003.jpg
/home/pi/Desktop/images/09012025/09/44/image_09012025_09_44_03_050505_0000.jpg
/home/pi/Desktop/images/09012025/09/44/image_09012025_09_44_03_050505_0001.jpg
/home/pi/Desktop/images/09012025/09/44/image_09012025_09_44_03_050505_0002.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327638415","1327638399","1327638423","1327638392"],"photo_ids_order":["1327638392","1327638399","1327638415","1327638423"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bd17080842cd2e79f1b7057cea8b4729.jpg","text":"TemporaryFile(/tmp/multipartBody4390795495568455686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412332682,"filename":"image_09012025_09_44_03_050505_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3cc6b477ad609ca91f133cf5523e575d.jpg","text":"TemporaryFile(/tmp/multipartBody5985090357773578368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412332682,"filename":"image_09012025_09_44_03_050505_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c20848e9f4ff2d1060a71bd744f6e6e9.jpg","text":"TemporaryFile(/tmp/multipartBody5637338533595723334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412332682,"filename":"image_09012025_09_44_03_050505_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9b591075cf48590289effef0f07b5d8a.jpg","text":"TemporaryFile(/tmp/multipartBody171179035649399414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412332682,"filename":"image_09012025_09_43_02_558374_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327638415","file1":"1327638399","file0":"1327638392","file3":"1327638423"},"map_files_photo_id_array":[{"photo_id":"1327638415","filename":"file2"},{"photo_id":"1327638399","filename":"file1"},{"photo_id":"1327638392","filename":"file0"},{"photo_id":"1327638423","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327638415":["hashtag1","hashtag2"]},{"1327638399":["hashtag1","hashtag2"]},{"1327638423":["hashtag1","hashtag2"]},{"1327638392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327638415, 1327638399, 1327638423, 1327638392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.94996666908264 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:45:22.662077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/44/image_09012025_09_44_03_050505_0003.jpg', '/home/pi/Desktop/images/09012025/09/45/image_09012025_09_45_02_566056_0000.jpg', '/home/pi/Desktop/images/09012025/09/45/image_09012025_09_45_02_566056_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/44/image_09012025_09_44_03_050505_0003.jpg
/home/pi/Desktop/images/09012025/09/45/image_09012025_09_45_02_566056_0000.jpg
/home/pi/Desktop/images/09012025/09/45/image_09012025_09_45_02_566056_0001.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327638463","1327638451","1327638441"],"photo_ids_order":["1327638441","1327638451","1327638463"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b964d384ce3db6ea5ba5a4341b67f6d.jpg","text":"TemporaryFile(/tmp/multipartBody7614517712301473142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412390812,"filename":"image_09012025_09_45_02_566056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e9fbc51b07b138824fb629e4701dcfec.jpg","text":"TemporaryFile(/tmp/multipartBody9203108950887121976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412390812,"filename":"image_09012025_09_45_02_566056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1b196c8cf0f6b80411de728a6aa5699f.jpg","text":"TemporaryFile(/tmp/multipartBody654120997291850379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412390812,"filename":"image_09012025_09_44_03_050505_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327638463","file1":"1327638451","file0":"1327638441"},"map_files_photo_id_array":[{"photo_id":"1327638463","filename":"file2"},{"photo_id":"1327638451","filename":"file1"},{"photo_id":"1327638441","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327638463":["hashtag1","hashtag2"]},{"1327638451":["hashtag1","hashtag2"]},{"1327638441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327638463, 1327638451, 1327638441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.60206913948059 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:46:02.643260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:46:22.181984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/45/image_09012025_09_45_02_566056_0002.jpg', '/home/pi/Desktop/images/09012025/09/46/image_09012025_09_46_03_047540_0000.jpg', '/home/pi/Desktop/images/09012025/09/46/image_09012025_09_46_03_047540_0001.jpg', '/home/pi/Desktop/images/09012025/09/46/image_09012025_09_46_03_047540_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/45/image_09012025_09_45_02_566056_0002.jpg
/home/pi/Desktop/images/09012025/09/46/image_09012025_09_46_03_047540_0000.jpg
/home/pi/Desktop/images/09012025/09/46/image_09012025_09_46_03_047540_0001.jpg
/home/pi/Desktop/images/09012025/09/46/image_09012025_09_46_03_047540_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327638506","1327638535","1327638545","1327638518"],"photo_ids_order":["1327638506","1327638518","1327638535","1327638545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/32aba2c705c8b67b62d3e2d9aa56a67e.jpg","text":"TemporaryFile(/tmp/multipartBody7522645922360030640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412452636,"filename":"image_09012025_09_45_02_566056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/173f9da8e12e655759305cf6324cd737.jpg","text":"TemporaryFile(/tmp/multipartBody1323821032254655147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412452636,"filename":"image_09012025_09_46_03_047540_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3b5a98e0fce151cbd1b11faa4428c910.jpg","text":"TemporaryFile(/tmp/multipartBody5710865793860782412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412452636,"filename":"image_09012025_09_46_03_047540_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a700902ed224b40aa5a034104bbb4246.jpg","text":"TemporaryFile(/tmp/multipartBody5924821709108941133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412452636,"filename":"image_09012025_09_46_03_047540_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327638535","file1":"1327638518","file0":"1327638506","file3":"1327638545"},"map_files_photo_id_array":[{"photo_id":"1327638535","filename":"file2"},{"photo_id":"1327638518","filename":"file1"},{"photo_id":"1327638506","filename":"file0"},{"photo_id":"1327638545","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327638506":["hashtag1","hashtag2"]},{"1327638535":["hashtag1","hashtag2"]},{"1327638545":["hashtag1","hashtag2"]},{"1327638518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327638506, 1327638535, 1327638545, 1327638518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.22057867050171 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:47:22.722034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/46/image_09012025_09_46_03_047540_0003.jpg', '/home/pi/Desktop/images/09012025/09/47/image_09012025_09_47_02_560943_0000.jpg', '/home/pi/Desktop/images/09012025/09/47/image_09012025_09_47_02_560943_0001.jpg', '/home/pi/Desktop/images/09012025/09/47/image_09012025_09_47_02_560943_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/46/image_09012025_09_46_03_047540_0003.jpg
/home/pi/Desktop/images/09012025/09/47/image_09012025_09_47_02_560943_0000.jpg
/home/pi/Desktop/images/09012025/09/47/image_09012025_09_47_02_560943_0001.jpg
/home/pi/Desktop/images/09012025/09/47/image_09012025_09_47_02_560943_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.899882793426514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:48:02.609032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/46/image_09012025_09_46_03_047540_0003.jpg', '/home/pi/Desktop/images/09012025/09/47/image_09012025_09_47_02_560943_0000.jpg', '/home/pi/Desktop/images/09012025/09/47/image_09012025_09_47_02_560943_0001.jpg', '/home/pi/Desktop/images/09012025/09/47/image_09012025_09_47_02_560943_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/46/image_09012025_09_46_03_047540_0003.jpg
/home/pi/Desktop/images/09012025/09/47/image_09012025_09_47_02_560943_0000.jpg
/home/pi/Desktop/images/09012025/09/47/image_09012025_09_47_02_560943_0001.jpg
/home/pi/Desktop/images/09012025/09/47/image_09012025_09_47_02_560943_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327638760","1327638762","1327638764","1327638767"],"photo_ids_order":["1327638760","1327638762","1327638764","1327638767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8422cef8c1e02e5afd3d63fc4e1506da.jpg","text":"TemporaryFile(/tmp/multipartBody2199868626378299034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412552957,"filename":"image_09012025_09_46_03_047540_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f4caa74a0fa2f094697460d063c1fe34.jpg","text":"TemporaryFile(/tmp/multipartBody5528296413978153406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412552957,"filename":"image_09012025_09_47_02_560943_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/14919aeaa70d2c5dcf89e6a8183710fc.jpg","text":"TemporaryFile(/tmp/multipartBody2336746572024346282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412552957,"filename":"image_09012025_09_47_02_560943_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1ea1b0009f273b27f8cf26c527cd63b3.jpg","text":"TemporaryFile(/tmp/multipartBody8426448091244864751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412552957,"filename":"image_09012025_09_47_02_560943_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327638764","file1":"1327638762","file0":"1327638760","file3":"1327638767"},"map_files_photo_id_array":[{"photo_id":"1327638764","filename":"file2"},{"photo_id":"1327638762","filename":"file1"},{"photo_id":"1327638760","filename":"file0"},{"photo_id":"1327638767","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327638760":["hashtag1","hashtag2"]},{"1327638762":["hashtag1","hashtag2"]},{"1327638764":["hashtag1","hashtag2"]},{"1327638767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327638760, 1327638762, 1327638764, 1327638767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.64772272109985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:49:03.209259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/47/image_09012025_09_47_02_560943_0003.jpg', '/home/pi/Desktop/images/09012025/09/48/image_09012025_09_48_03_093678_0000.jpg', '/home/pi/Desktop/images/09012025/09/48/image_09012025_09_48_03_093678_0001.jpg', '/home/pi/Desktop/images/09012025/09/48/image_09012025_09_48_03_093678_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/47/image_09012025_09_47_02_560943_0003.jpg
/home/pi/Desktop/images/09012025/09/48/image_09012025_09_48_03_093678_0000.jpg
/home/pi/Desktop/images/09012025/09/48/image_09012025_09_48_03_093678_0001.jpg
/home/pi/Desktop/images/09012025/09/48/image_09012025_09_48_03_093678_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327638796","1327638798","1327638783","1327638782"],"photo_ids_order":["1327638782","1327638783","1327638796","1327638798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d7f0052219dce74f170d3892c212b3bd.jpg","text":"TemporaryFile(/tmp/multipartBody1121650295236426613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412613682,"filename":"image_09012025_09_48_03_093678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ca239d95f13d0a8c8172679c47d5e8b0.jpg","text":"TemporaryFile(/tmp/multipartBody768767184247749969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412613682,"filename":"image_09012025_09_48_03_093678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/514315e31fd73a6650f25134ea14c72a.jpg","text":"TemporaryFile(/tmp/multipartBody463622573530472983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412613682,"filename":"image_09012025_09_48_03_093678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8ca1b37a6ad8981d008d4eb401ec4b11.jpg","text":"TemporaryFile(/tmp/multipartBody2880155487690471819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412613682,"filename":"image_09012025_09_47_02_560943_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327638796","file1":"1327638783","file0":"1327638782","file3":"1327638798"},"map_files_photo_id_array":[{"photo_id":"1327638796","filename":"file2"},{"photo_id":"1327638783","filename":"file1"},{"photo_id":"1327638782","filename":"file0"},{"photo_id":"1327638798","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327638796":["hashtag1","hashtag2"]},{"1327638798":["hashtag1","hashtag2"]},{"1327638783":["hashtag1","hashtag2"]},{"1327638782":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327638796, 1327638798, 1327638783, 1327638782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.18702554702759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:50:02.690553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/48/image_09012025_09_48_03_093678_0003.jpg', '/home/pi/Desktop/images/09012025/09/49/image_09012025_09_49_02_562762_0000.jpg', '/home/pi/Desktop/images/09012025/09/49/image_09012025_09_49_02_562762_0001.jpg', '/home/pi/Desktop/images/09012025/09/49/image_09012025_09_49_02_562762_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/48/image_09012025_09_48_03_093678_0003.jpg
/home/pi/Desktop/images/09012025/09/49/image_09012025_09_49_02_562762_0000.jpg
/home/pi/Desktop/images/09012025/09/49/image_09012025_09_49_02_562762_0001.jpg
/home/pi/Desktop/images/09012025/09/49/image_09012025_09_49_02_562762_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327638806","1327638811","1327638807","1327638809"],"photo_ids_order":["1327638806","1327638807","1327638809","1327638811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3f90fbad29569acdffe54f7b12863c5d.jpg","text":"TemporaryFile(/tmp/multipartBody1288811546549300290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412673080,"filename":"image_09012025_09_48_03_093678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/09b73d681b58524b2405a3486fb4bb77.jpg","text":"TemporaryFile(/tmp/multipartBody6868667517169973985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412673080,"filename":"image_09012025_09_49_02_562762_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c4235349719d9ef87347d67446a9756c.jpg","text":"TemporaryFile(/tmp/multipartBody3324385815097553528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412673080,"filename":"image_09012025_09_49_02_562762_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e859918957317ef218e48ed83953d6cc.jpg","text":"TemporaryFile(/tmp/multipartBody5403391380713103830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412673080,"filename":"image_09012025_09_49_02_562762_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327638809","file1":"1327638807","file0":"1327638806","file3":"1327638811"},"map_files_photo_id_array":[{"photo_id":"1327638809","filename":"file2"},{"photo_id":"1327638807","filename":"file1"},{"photo_id":"1327638806","filename":"file0"},{"photo_id":"1327638811","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327638806":["hashtag1","hashtag2"]},{"1327638811":["hashtag1","hashtag2"]},{"1327638807":["hashtag1","hashtag2"]},{"1327638809":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327638806, 1327638811, 1327638807, 1327638809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.10558533668518 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:51:02.343550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/49/image_09012025_09_49_02_562762_0003.jpg', '/home/pi/Desktop/images/09012025/09/50/image_09012025_09_50_03_143921_0000.jpg', '/home/pi/Desktop/images/09012025/09/50/image_09012025_09_50_03_143921_0001.jpg', '/home/pi/Desktop/images/09012025/09/50/image_09012025_09_50_03_143921_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/49/image_09012025_09_49_02_562762_0003.jpg
/home/pi/Desktop/images/09012025/09/50/image_09012025_09_50_03_143921_0000.jpg
/home/pi/Desktop/images/09012025/09/50/image_09012025_09_50_03_143921_0001.jpg
/home/pi/Desktop/images/09012025/09/50/image_09012025_09_50_03_143921_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327638832","1327638828","1327638830","1327638827"],"photo_ids_order":["1327638827","1327638828","1327638830","1327638832"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4a2309292773b5a4c407978e74d4e6c0.jpg","text":"TemporaryFile(/tmp/multipartBody5842349952879860417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412732664,"filename":"image_09012025_09_50_03_143921_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dcfec764f9b438f5fa49da35b0377cf0.jpg","text":"TemporaryFile(/tmp/multipartBody7724028584135991923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412732664,"filename":"image_09012025_09_50_03_143921_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e94b44e7a2a99d633ca75e0685b4dbdc.jpg","text":"TemporaryFile(/tmp/multipartBody3567563547518862800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412732664,"filename":"image_09012025_09_50_03_143921_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/755e6196104ac4b0b7270543bfc3bc55.jpg","text":"TemporaryFile(/tmp/multipartBody2350495445014506266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412732664,"filename":"image_09012025_09_49_02_562762_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327638830","file1":"1327638828","file0":"1327638827","file3":"1327638832"},"map_files_photo_id_array":[{"photo_id":"1327638830","filename":"file2"},{"photo_id":"1327638828","filename":"file1"},{"photo_id":"1327638827","filename":"file0"},{"photo_id":"1327638832","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327638832":["hashtag1","hashtag2"]},{"1327638828":["hashtag1","hashtag2"]},{"1327638830":["hashtag1","hashtag2"]},{"1327638827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327638832, 1327638828, 1327638830, 1327638827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.78354787826538 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:52:02.898531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/50/image_09012025_09_50_03_143921_0003.jpg', '/home/pi/Desktop/images/09012025/09/51/image_09012025_09_51_02_648427_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/50/image_09012025_09_50_03_143921_0003.jpg
/home/pi/Desktop/images/09012025/09/51/image_09012025_09_51_02_648427_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327638847","1327638848"],"photo_ids_order":["1327638847","1327638848"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/81b8b934c7f999b7a74dd5ad5c24383a.jpg","text":"TemporaryFile(/tmp/multipartBody4427783346445129667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412788340,"filename":"image_09012025_09_50_03_143921_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/579c52887adb9d94a2c920e8288bc84b.jpg","text":"TemporaryFile(/tmp/multipartBody7309866527745427332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412788340,"filename":"image_09012025_09_51_02_648427_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327638848","file0":"1327638847"},"map_files_photo_id_array":[{"photo_id":"1327638848","filename":"file1"},{"photo_id":"1327638847","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327638847":["hashtag1","hashtag2"]},{"1327638848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327638847, 1327638848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.585402727127075 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:53:02.490404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/51/image_09012025_09_51_02_648427_0003.jpg', '/home/pi/Desktop/images/09012025/09/52/image_09012025_09_52_02_143978_0000.jpg', '/home/pi/Desktop/images/09012025/09/52/image_09012025_09_52_02_143978_0001.jpg', '/home/pi/Desktop/images/09012025/09/52/image_09012025_09_52_02_143978_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/51/image_09012025_09_51_02_648427_0003.jpg
/home/pi/Desktop/images/09012025/09/52/image_09012025_09_52_02_143978_0000.jpg
/home/pi/Desktop/images/09012025/09/52/image_09012025_09_52_02_143978_0001.jpg
/home/pi/Desktop/images/09012025/09/52/image_09012025_09_52_02_143978_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327638859","1327638858","1327638857","1327638860"],"photo_ids_order":["1327638857","1327638858","1327638859","1327638860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6a9a1abaedc069854e552e834b2f72c8.jpg","text":"TemporaryFile(/tmp/multipartBody3257885498931572905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412852823,"filename":"image_09012025_09_52_02_143978_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9e45cfeb12c95243e82c6b52549b7ab9.jpg","text":"TemporaryFile(/tmp/multipartBody3808034867604725578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412852823,"filename":"image_09012025_09_52_02_143978_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7368371650aeecda5e4c580943e5aa90.jpg","text":"TemporaryFile(/tmp/multipartBody1240163674040424595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412852823,"filename":"image_09012025_09_51_02_648427_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ec0bf9bc21bcd35568d8a4de51b91787.jpg","text":"TemporaryFile(/tmp/multipartBody8705840827734507187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412852823,"filename":"image_09012025_09_52_02_143978_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327638859","file1":"1327638858","file0":"1327638857","file3":"1327638860"},"map_files_photo_id_array":[{"photo_id":"1327638859","filename":"file2"},{"photo_id":"1327638858","filename":"file1"},{"photo_id":"1327638857","filename":"file0"},{"photo_id":"1327638860","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327638859":["hashtag1","hashtag2"]},{"1327638858":["hashtag1","hashtag2"]},{"1327638857":["hashtag1","hashtag2"]},{"1327638860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327638859, 1327638858, 1327638857, 1327638860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.82251191139221 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:54:02.938485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/52/image_09012025_09_52_02_143978_0003.jpg', '/home/pi/Desktop/images/09012025/09/53/image_09012025_09_53_02_777854_0000.jpg', '/home/pi/Desktop/images/09012025/09/53/image_09012025_09_53_02_777854_0001.jpg', '/home/pi/Desktop/images/09012025/09/53/image_09012025_09_53_02_777854_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/52/image_09012025_09_52_02_143978_0003.jpg
/home/pi/Desktop/images/09012025/09/53/image_09012025_09_53_02_777854_0000.jpg
/home/pi/Desktop/images/09012025/09/53/image_09012025_09_53_02_777854_0001.jpg
/home/pi/Desktop/images/09012025/09/53/image_09012025_09_53_02_777854_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327638868","1327638871","1327638870","1327638869"],"photo_ids_order":["1327638868","1327638869","1327638870","1327638871"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2534a5f51607298a836db8c00f1a2b11.jpg","text":"TemporaryFile(/tmp/multipartBody4818502799929678645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412913200,"filename":"image_09012025_09_52_02_143978_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5b4588d043ca1ac5c0970f7ad9e99c12.jpg","text":"TemporaryFile(/tmp/multipartBody4411496296208815311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412913200,"filename":"image_09012025_09_53_02_777854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ec022badaba59db3d62b3c1a534759b5.jpg","text":"TemporaryFile(/tmp/multipartBody2271582068102666736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412913200,"filename":"image_09012025_09_53_02_777854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2e98c59f55daaafaf9013e8c55bce80d.jpg","text":"TemporaryFile(/tmp/multipartBody8917895471848756365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412913200,"filename":"image_09012025_09_53_02_777854_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327638870","file1":"1327638869","file0":"1327638868","file3":"1327638871"},"map_files_photo_id_array":[{"photo_id":"1327638870","filename":"file2"},{"photo_id":"1327638869","filename":"file1"},{"photo_id":"1327638868","filename":"file0"},{"photo_id":"1327638871","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327638868":["hashtag1","hashtag2"]},{"1327638871":["hashtag1","hashtag2"]},{"1327638870":["hashtag1","hashtag2"]},{"1327638869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327638868, 1327638871, 1327638870, 1327638869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.751208782196045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:55:02.471630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/53/image_09012025_09_53_02_777854_0003.jpg', '/home/pi/Desktop/images/09012025/09/54/image_09012025_09_54_02_273658_0000.jpg', '/home/pi/Desktop/images/09012025/09/54/image_09012025_09_54_02_273658_0001.jpg', '/home/pi/Desktop/images/09012025/09/54/image_09012025_09_54_02_273658_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/53/image_09012025_09_53_02_777854_0003.jpg
/home/pi/Desktop/images/09012025/09/54/image_09012025_09_54_02_273658_0000.jpg
/home/pi/Desktop/images/09012025/09/54/image_09012025_09_54_02_273658_0001.jpg
/home/pi/Desktop/images/09012025/09/54/image_09012025_09_54_02_273658_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.958519220352173 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:55:22.065980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/53/image_09012025_09_53_02_777854_0003.jpg', '/home/pi/Desktop/images/09012025/09/54/image_09012025_09_54_02_273658_0000.jpg', '/home/pi/Desktop/images/09012025/09/54/image_09012025_09_54_02_273658_0001.jpg', '/home/pi/Desktop/images/09012025/09/54/image_09012025_09_54_02_273658_0002.jpg', '/home/pi/Desktop/images/09012025/09/54/image_09012025_09_54_02_273658_0003.jpg', '/home/pi/Desktop/images/09012025/09/55/image_09012025_09_55_02_932822_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/53/image_09012025_09_53_02_777854_0003.jpg
/home/pi/Desktop/images/09012025/09/54/image_09012025_09_54_02_273658_0000.jpg
/home/pi/Desktop/images/09012025/09/54/image_09012025_09_54_02_273658_0001.jpg
/home/pi/Desktop/images/09012025/09/54/image_09012025_09_54_02_273658_0002.jpg
/home/pi/Desktop/images/09012025/09/54/image_09012025_09_54_02_273658_0003.jpg
/home/pi/Desktop/images/09012025/09/55/image_09012025_09_55_02_932822_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327639009","1327639020","1327639014","1327639017","1327639011","1327639022"],"photo_ids_order":["1327639009","1327639011","1327639014","1327639017","1327639020","1327639022"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/542a83a3d7f59eed79c2b25d84a09f2f.jpg","text":"TemporaryFile(/tmp/multipartBody6906575995812235058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412997146,"filename":"image_09012025_09_53_02_777854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/22ab5a7ff7ba1527a48b7d94490395fc.jpg","text":"TemporaryFile(/tmp/multipartBody4226398190471492503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412997146,"filename":"image_09012025_09_54_02_273658_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/72232859ca4e1d4fa3126b092d264f54.jpg","text":"TemporaryFile(/tmp/multipartBody367876842244412767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412997146,"filename":"image_09012025_09_54_02_273658_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/42bde1783f8e104bae2ad506bebbcb04.jpg","text":"TemporaryFile(/tmp/multipartBody7795252846951515336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412997146,"filename":"image_09012025_09_54_02_273658_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a9506e45296579ce0fda69049663983b.jpg","text":"TemporaryFile(/tmp/multipartBody6565000870316238216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412997146,"filename":"image_09012025_09_54_02_273658_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1b233b9a67406c9fb26704b2e779af1c.jpg","text":"TemporaryFile(/tmp/multipartBody4946439805874655765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736412997146,"filename":"image_09012025_09_55_02_932822_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327639014","file1":"1327639011","file0":"1327639009","file4":"1327639020","file5":"1327639022","file3":"1327639017"},"map_files_photo_id_array":[{"photo_id":"1327639022","filename":"file5"},{"photo_id":"1327639014","filename":"file2"},{"photo_id":"1327639020","filename":"file4"},{"photo_id":"1327639011","filename":"file1"},{"photo_id":"1327639009","filename":"file0"},{"photo_id":"1327639017","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327639009":["hashtag1","hashtag2"]},{"1327639020":["hashtag1","hashtag2"]},{"1327639014":["hashtag1","hashtag2"]},{"1327639017":["hashtag1","hashtag2"]},{"1327639011":["hashtag1","hashtag2"]},{"1327639022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327639009, 1327639020, 1327639014, 1327639017, 1327639011, 1327639022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.720030546188354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 09:56:22.791456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/55/image_09012025_09_55_02_932822_0001.jpg', '/home/pi/Desktop/images/09012025/09/55/image_09012025_09_55_02_932822_0002.jpg', '/home/pi/Desktop/images/09012025/09/55/image_09012025_09_55_02_932822_0003.jpg', '/home/pi/Desktop/images/09012025/09/56/image_09012025_09_56_02_475013_0000.jpg', '/home/pi/Desktop/images/09012025/09/56/image_09012025_09_56_02_475013_0001.jpg', '/home/pi/Desktop/images/09012025/09/56/image_09012025_09_56_02_475013_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/55/image_09012025_09_55_02_932822_0001.jpg
/home/pi/Desktop/images/09012025/09/55/image_09012025_09_55_02_932822_0002.jpg
/home/pi/Desktop/images/09012025/09/55/image_09012025_09_55_02_932822_0003.jpg
/home/pi/Desktop/images/09012025/09/56/image_09012025_09_56_02_475013_0000.jpg
/home/pi/Desktop/images/09012025/09/56/image_09012025_09_56_02_475013_0001.jpg
/home/pi/Desktop/images/09012025/09/56/image_09012025_09_56_02_475013_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327639032","1327639026","1327639035","1327639029","1327639038","1327639040"],"photo_ids_order":["1327639026","1327639029","1327639032","1327639035","1327639038","1327639040"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3ebd3a9a7300c5df7ffa6bf41711b26d.jpg","text":"TemporaryFile(/tmp/multipartBody8619716153568964564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413057780,"filename":"image_09012025_09_55_02_932822_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/43b8838e1df58343e7293949f25d492c.jpg","text":"TemporaryFile(/tmp/multipartBody4158925286762415085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413057780,"filename":"image_09012025_09_55_02_932822_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f61db1f1b35094c0413f33f718beeffa.jpg","text":"TemporaryFile(/tmp/multipartBody4414677658453349030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413057780,"filename":"image_09012025_09_56_02_475013_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/089a5a98525494e5ff66b928088fcff1.jpg","text":"TemporaryFile(/tmp/multipartBody2980440201760483842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413057780,"filename":"image_09012025_09_55_02_932822_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8c2a7ee436f7ccae1c19128b17fe96e2.jpg","text":"TemporaryFile(/tmp/multipartBody4988064544720774355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413057780,"filename":"image_09012025_09_56_02_475013_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1125f1398a48314b0a55fa7e42500a2d.jpg","text":"TemporaryFile(/tmp/multipartBody1240123818910851650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413057780,"filename":"image_09012025_09_56_02_475013_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327639032","file1":"1327639029","file0":"1327639026","file4":"1327639038","file5":"1327639040","file3":"1327639035"},"map_files_photo_id_array":[{"photo_id":"1327639040","filename":"file5"},{"photo_id":"1327639032","filename":"file2"},{"photo_id":"1327639038","filename":"file4"},{"photo_id":"1327639029","filename":"file1"},{"photo_id":"1327639026","filename":"file0"},{"photo_id":"1327639035","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327639032":["hashtag1","hashtag2"]},{"1327639026":["hashtag1","hashtag2"]},{"1327639035":["hashtag1","hashtag2"]},{"1327639029":["hashtag1","hashtag2"]},{"1327639038":["hashtag1","hashtag2"]},{"1327639040":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327639032, 1327639026, 1327639035, 1327639029, 1327639038, 1327639040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.31507968902588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 09:59:02.576245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/56/image_09012025_09_56_02_475013_0003.jpg', '/home/pi/Desktop/images/09012025/09/57/image_09012025_09_57_03_111777_0000.jpg', '/home/pi/Desktop/images/09012025/09/57/image_09012025_09_57_03_111777_0001.jpg', '/home/pi/Desktop/images/09012025/09/57/image_09012025_09_57_03_111777_0002.jpg', '/home/pi/Desktop/images/09012025/09/57/image_09012025_09_57_03_111777_0003.jpg', '/home/pi/Desktop/images/09012025/09/58/image_09012025_09_58_02_672073_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/56/image_09012025_09_56_02_475013_0003.jpg
/home/pi/Desktop/images/09012025/09/57/image_09012025_09_57_03_111777_0000.jpg
/home/pi/Desktop/images/09012025/09/57/image_09012025_09_57_03_111777_0001.jpg
/home/pi/Desktop/images/09012025/09/57/image_09012025_09_57_03_111777_0002.jpg
/home/pi/Desktop/images/09012025/09/57/image_09012025_09_57_03_111777_0003.jpg
/home/pi/Desktop/images/09012025/09/58/image_09012025_09_58_02_672073_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327639089","1327639092","1327639097","1327639084","1327639078","1327639072"],"photo_ids_order":["1327639072","1327639078","1327639084","1327639089","1327639092","1327639097"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7e3ec7ef2e77885b03150e2b577f1d38.jpg","text":"TemporaryFile(/tmp/multipartBody379803425584721289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413217826,"filename":"image_09012025_09_57_03_111777_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/030bd1081b7910a223abacd1f2768a76.jpg","text":"TemporaryFile(/tmp/multipartBody1780514574611847466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413217826,"filename":"image_09012025_09_57_03_111777_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7989c44bae701b222771666637ea62d7.jpg","text":"TemporaryFile(/tmp/multipartBody6203034590795160361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413217826,"filename":"image_09012025_09_58_02_672073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f4193b7be9d354cd3374ea70cad8f834.jpg","text":"TemporaryFile(/tmp/multipartBody6079305095010054075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413217826,"filename":"image_09012025_09_57_03_111777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/53034b06f2f61a255d0b486dbbacb52d.jpg","text":"TemporaryFile(/tmp/multipartBody5638223385690363486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413217826,"filename":"image_09012025_09_57_03_111777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b1fdb6d91b5e1629eda9bdd0659e8690.jpg","text":"TemporaryFile(/tmp/multipartBody7192152512287896628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413217826,"filename":"image_09012025_09_56_02_475013_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327639084","file1":"1327639078","file0":"1327639072","file4":"1327639092","file5":"1327639097","file3":"1327639089"},"map_files_photo_id_array":[{"photo_id":"1327639097","filename":"file5"},{"photo_id":"1327639084","filename":"file2"},{"photo_id":"1327639092","filename":"file4"},{"photo_id":"1327639078","filename":"file1"},{"photo_id":"1327639072","filename":"file0"},{"photo_id":"1327639089","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327639089":["hashtag1","hashtag2"]},{"1327639092":["hashtag1","hashtag2"]},{"1327639097":["hashtag1","hashtag2"]},{"1327639084":["hashtag1","hashtag2"]},{"1327639078":["hashtag1","hashtag2"]},{"1327639072":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327639089, 1327639092, 1327639097, 1327639084, 1327639078, 1327639072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.465012073516846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:00:02.564211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/58/image_09012025_09_58_02_672073_0001.jpg', '/home/pi/Desktop/images/09012025/09/58/image_09012025_09_58_02_672073_0002.jpg', '/home/pi/Desktop/images/09012025/09/58/image_09012025_09_58_02_672073_0003.jpg', '/home/pi/Desktop/images/09012025/09/59/image_09012025_09_59_02_165274_0000.jpg', '/home/pi/Desktop/images/09012025/09/59/image_09012025_09_59_02_165274_0001.jpg', '/home/pi/Desktop/images/09012025/09/59/image_09012025_09_59_02_165274_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/58/image_09012025_09_58_02_672073_0001.jpg
/home/pi/Desktop/images/09012025/09/58/image_09012025_09_58_02_672073_0002.jpg
/home/pi/Desktop/images/09012025/09/58/image_09012025_09_58_02_672073_0003.jpg
/home/pi/Desktop/images/09012025/09/59/image_09012025_09_59_02_165274_0000.jpg
/home/pi/Desktop/images/09012025/09/59/image_09012025_09_59_02_165274_0001.jpg
/home/pi/Desktop/images/09012025/09/59/image_09012025_09_59_02_165274_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327639143","1327639146","1327639149","1327639154","1327639139","1327639133"],"photo_ids_order":["1327639133","1327639139","1327639143","1327639146","1327639149","1327639154"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8c61c2b5c05b7b56ef2b8908bde48641.jpg","text":"TemporaryFile(/tmp/multipartBody2424816641377928108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413277691,"filename":"image_09012025_09_58_02_672073_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/09a233c777a51d082cf22f528ef51b8d.jpg","text":"TemporaryFile(/tmp/multipartBody7694170856753670271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413277691,"filename":"image_09012025_09_59_02_165274_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8f9d36c6f04a964e5f32ce8518c14ae6.jpg","text":"TemporaryFile(/tmp/multipartBody7738308526959924433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413277691,"filename":"image_09012025_09_59_02_165274_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/772988a306c6886830ab61ebf3266acd.jpg","text":"TemporaryFile(/tmp/multipartBody6507744375973896362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413277691,"filename":"image_09012025_09_59_02_165274_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/24e809782b70fa4d1b56932ab9e65be6.jpg","text":"TemporaryFile(/tmp/multipartBody1328993639599197476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413277691,"filename":"image_09012025_09_58_02_672073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e17c8d836a54da765feaa81e77cca476.jpg","text":"TemporaryFile(/tmp/multipartBody3577519340325730732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413277691,"filename":"image_09012025_09_58_02_672073_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327639143","file1":"1327639139","file0":"1327639133","file4":"1327639149","file5":"1327639154","file3":"1327639146"},"map_files_photo_id_array":[{"photo_id":"1327639154","filename":"file5"},{"photo_id":"1327639143","filename":"file2"},{"photo_id":"1327639149","filename":"file4"},{"photo_id":"1327639139","filename":"file1"},{"photo_id":"1327639133","filename":"file0"},{"photo_id":"1327639146","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327639143":["hashtag1","hashtag2"]},{"1327639146":["hashtag1","hashtag2"]},{"1327639149":["hashtag1","hashtag2"]},{"1327639154":["hashtag1","hashtag2"]},{"1327639139":["hashtag1","hashtag2"]},{"1327639133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327639143, 1327639146, 1327639149, 1327639154, 1327639139, 1327639133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.365901947021484 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:01:02.855382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/09/59/image_09012025_09_59_02_165274_0003.jpg', '/home/pi/Desktop/images/09012025/10/00/image_09012025_10_00_02_405584_0001.jpg', '/home/pi/Desktop/images/09012025/10/00/image_09012025_10_00_02_405584_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/09/59/image_09012025_09_59_02_165274_0003.jpg
/home/pi/Desktop/images/09012025/10/00/image_09012025_10_00_02_405584_0001.jpg
/home/pi/Desktop/images/09012025/10/00/image_09012025_10_00_02_405584_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327639180","1327639177","1327639171"],"photo_ids_order":["1327639171","1327639177","1327639180"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0c9d60449a6ace6e233099d9cbd1f58b.jpg","text":"TemporaryFile(/tmp/multipartBody5995844537036580576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413330768,"filename":"image_09012025_10_00_02_405584_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d62716f0729da5683df40a038f8f5882.jpg","text":"TemporaryFile(/tmp/multipartBody3531707408649877462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413330768,"filename":"image_09012025_10_00_02_405584_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d1c798a60fcfbfcfb85ca3e0dada3379.jpg","text":"TemporaryFile(/tmp/multipartBody433173438231745577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413330768,"filename":"image_09012025_09_59_02_165274_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327639180","file1":"1327639177","file0":"1327639171"},"map_files_photo_id_array":[{"photo_id":"1327639180","filename":"file2"},{"photo_id":"1327639177","filename":"file1"},{"photo_id":"1327639171","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327639180":["hashtag1","hashtag2"]},{"1327639177":["hashtag1","hashtag2"]},{"1327639171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327639180, 1327639177, 1327639171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.099963665008545 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 10:01:42.343128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/00/image_09012025_10_00_02_405584_0003.jpg', '/home/pi/Desktop/images/09012025/10/01/image_09012025_10_01_02_447962_0000.jpg', '/home/pi/Desktop/images/09012025/10/01/image_09012025_10_01_02_447962_0001.jpg', '/home/pi/Desktop/images/09012025/10/01/image_09012025_10_01_02_447962_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/00/image_09012025_10_00_02_405584_0003.jpg
/home/pi/Desktop/images/09012025/10/01/image_09012025_10_01_02_447962_0000.jpg
/home/pi/Desktop/images/09012025/10/01/image_09012025_10_01_02_447962_0001.jpg
/home/pi/Desktop/images/09012025/10/01/image_09012025_10_01_02_447962_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327639207","1327639196","1327639211","1327639202"],"photo_ids_order":["1327639196","1327639202","1327639207","1327639211"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dd0f61ba7965f346449c82f20cdd0d7a.jpg","text":"TemporaryFile(/tmp/multipartBody5307166705719355698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413372642,"filename":"image_09012025_10_01_02_447962_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/47d08bdf11e456fbd9205cb9fdef65a6.jpg","text":"TemporaryFile(/tmp/multipartBody1421472471994620085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413372642,"filename":"image_09012025_10_00_02_405584_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b822efedaaf30c521716e60cd7103e8f.jpg","text":"TemporaryFile(/tmp/multipartBody2424804010647299925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413372642,"filename":"image_09012025_10_01_02_447962_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bbfa5f40ce06f152239c797995dca24b.jpg","text":"TemporaryFile(/tmp/multipartBody8555338289322387161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413372642,"filename":"image_09012025_10_01_02_447962_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327639207","file1":"1327639202","file0":"1327639196","file3":"1327639211"},"map_files_photo_id_array":[{"photo_id":"1327639207","filename":"file2"},{"photo_id":"1327639202","filename":"file1"},{"photo_id":"1327639196","filename":"file0"},{"photo_id":"1327639211","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327639207":["hashtag1","hashtag2"]},{"1327639196":["hashtag1","hashtag2"]},{"1327639211":["hashtag1","hashtag2"]},{"1327639202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327639207, 1327639196, 1327639211, 1327639202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.94895124435425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 10:02:32.438596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/01/image_09012025_10_01_02_447962_0003.jpg', '/home/pi/Desktop/images/09012025/10/02/image_09012025_10_02_02_694112_0000.jpg', '/home/pi/Desktop/images/09012025/10/02/image_09012025_10_02_02_694112_0001.jpg', '/home/pi/Desktop/images/09012025/10/02/image_09012025_10_02_02_694112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/01/image_09012025_10_01_02_447962_0003.jpg
/home/pi/Desktop/images/09012025/10/02/image_09012025_10_02_02_694112_0000.jpg
/home/pi/Desktop/images/09012025/10/02/image_09012025_10_02_02_694112_0001.jpg
/home/pi/Desktop/images/09012025/10/02/image_09012025_10_02_02_694112_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327639288","1327639268","1327639316","1327639244"],"photo_ids_order":["1327639244","1327639268","1327639288","1327639316"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f3e6733d1370c5a7039931af2fabf47c.jpg","text":"TemporaryFile(/tmp/multipartBody4593694936238588839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413422723,"filename":"image_09012025_10_02_02_694112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7c8640f01a6db6f52643424967fa6192.jpg","text":"TemporaryFile(/tmp/multipartBody1839863660893463423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413422723,"filename":"image_09012025_10_02_02_694112_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/09325235cd1c55854a5ffe25ce6237d6.jpg","text":"TemporaryFile(/tmp/multipartBody4843657661057062617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413422723,"filename":"image_09012025_10_02_02_694112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4fac8775ce8ce93284fa5e149f7f5d1a.jpg","text":"TemporaryFile(/tmp/multipartBody2181512410882274998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413422723,"filename":"image_09012025_10_01_02_447962_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327639288","file1":"1327639268","file0":"1327639244","file3":"1327639316"},"map_files_photo_id_array":[{"photo_id":"1327639288","filename":"file2"},{"photo_id":"1327639268","filename":"file1"},{"photo_id":"1327639244","filename":"file0"},{"photo_id":"1327639316","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327639288":["hashtag1","hashtag2"]},{"1327639268":["hashtag1","hashtag2"]},{"1327639316":["hashtag1","hashtag2"]},{"1327639244":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327639288, 1327639268, 1327639316, 1327639244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.587061643600464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:03:22.718065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/02/image_09012025_10_02_02_694112_0003.jpg', '/home/pi/Desktop/images/09012025/10/03/image_09012025_10_03_02_866218_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/02/image_09012025_10_02_02_694112_0003.jpg
/home/pi/Desktop/images/09012025/10/03/image_09012025_10_03_02_866218_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327639354","1327639358"],"photo_ids_order":["1327639354","1327639358"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3d53b6192406acf374e688231e136c85.jpg","text":"TemporaryFile(/tmp/multipartBody7657404467895063466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413468185,"filename":"image_09012025_10_02_02_694112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/79cbeb6cd17e5d1af636f3366d0eaf75.jpg","text":"TemporaryFile(/tmp/multipartBody3423624467630296503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413468185,"filename":"image_09012025_10_03_02_866218_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327639358","file0":"1327639354"},"map_files_photo_id_array":[{"photo_id":"1327639358","filename":"file1"},{"photo_id":"1327639354","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327639354":["hashtag1","hashtag2"]},{"1327639358":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327639354, 1327639358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.051288604736328 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 10:03:52.610585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:04:02.296132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:04:21.830247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/03/image_09012025_10_03_02_866218_0003.jpg', '/home/pi/Desktop/images/09012025/10/04/image_09012025_10_04_03_005794_0000.jpg', '/home/pi/Desktop/images/09012025/10/04/image_09012025_10_04_03_005794_0001.jpg', '/home/pi/Desktop/images/09012025/10/04/image_09012025_10_04_03_005794_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/03/image_09012025_10_03_02_866218_0003.jpg
/home/pi/Desktop/images/09012025/10/04/image_09012025_10_04_03_005794_0000.jpg
/home/pi/Desktop/images/09012025/10/04/image_09012025_10_04_03_005794_0001.jpg
/home/pi/Desktop/images/09012025/10/04/image_09012025_10_04_03_005794_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.891733169555664 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 10:04:41.784722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/03/image_09012025_10_03_02_866218_0003.jpg', '/home/pi/Desktop/images/09012025/10/04/image_09012025_10_04_03_005794_0000.jpg', '/home/pi/Desktop/images/09012025/10/04/image_09012025_10_04_03_005794_0001.jpg', '/home/pi/Desktop/images/09012025/10/04/image_09012025_10_04_03_005794_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/03/image_09012025_10_03_02_866218_0003.jpg
/home/pi/Desktop/images/09012025/10/04/image_09012025_10_04_03_005794_0000.jpg
/home/pi/Desktop/images/09012025/10/04/image_09012025_10_04_03_005794_0001.jpg
/home/pi/Desktop/images/09012025/10/04/image_09012025_10_04_03_005794_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327639395","1327639388","1327639393","1327639390"],"photo_ids_order":["1327639388","1327639390","1327639393","1327639395"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f0396be4d09087db42961b699299e87b.jpg","text":"TemporaryFile(/tmp/multipartBody7337068769221215618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413552102,"filename":"image_09012025_10_04_03_005794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7661b7e534e03d3ff3c6f30001977c87.jpg","text":"TemporaryFile(/tmp/multipartBody1443502749701845162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413552102,"filename":"image_09012025_10_03_02_866218_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8f09bed699113301857f7b00b696d822.jpg","text":"TemporaryFile(/tmp/multipartBody3038369257298868256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413552102,"filename":"image_09012025_10_04_03_005794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8968a369790e1bb59cc9f3cd87451c1a.jpg","text":"TemporaryFile(/tmp/multipartBody1072504679922334123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413552102,"filename":"image_09012025_10_04_03_005794_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327639393","file1":"1327639390","file0":"1327639388","file3":"1327639395"},"map_files_photo_id_array":[{"photo_id":"1327639393","filename":"file2"},{"photo_id":"1327639390","filename":"file1"},{"photo_id":"1327639388","filename":"file0"},{"photo_id":"1327639395","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327639395":["hashtag1","hashtag2"]},{"1327639388":["hashtag1","hashtag2"]},{"1327639393":["hashtag1","hashtag2"]},{"1327639390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327639395, 1327639388, 1327639393, 1327639390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.60370063781738 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 10:05:32.061152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/04/image_09012025_10_04_03_005794_0003.jpg', '/home/pi/Desktop/images/09012025/10/05/image_09012025_10_05_02_179410_0000.jpg', '/home/pi/Desktop/images/09012025/10/05/image_09012025_10_05_02_179410_0001.jpg', '/home/pi/Desktop/images/09012025/10/05/image_09012025_10_05_02_179410_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/04/image_09012025_10_04_03_005794_0003.jpg
/home/pi/Desktop/images/09012025/10/05/image_09012025_10_05_02_179410_0000.jpg
/home/pi/Desktop/images/09012025/10/05/image_09012025_10_05_02_179410_0001.jpg
/home/pi/Desktop/images/09012025/10/05/image_09012025_10_05_02_179410_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327639420","1327639414","1327639422","1327639406"],"photo_ids_order":["1327639406","1327639414","1327639420","1327639422"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7fb5228cb8974ee3101103966ad67ebe.jpg","text":"TemporaryFile(/tmp/multipartBody4400695906707072169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413602376,"filename":"image_09012025_10_05_02_179410_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aa6cc71276ba082afbefc93344307716.jpg","text":"TemporaryFile(/tmp/multipartBody7846895501150829938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413602376,"filename":"image_09012025_10_05_02_179410_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/35b9caf9a32efcc61b8c5d3a837e096f.jpg","text":"TemporaryFile(/tmp/multipartBody4625152919211204212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413602376,"filename":"image_09012025_10_05_02_179410_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/188bd94e6b26ed46aa1e2bcce76b1629.jpg","text":"TemporaryFile(/tmp/multipartBody3714315869087073323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413602376,"filename":"image_09012025_10_04_03_005794_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327639420","file1":"1327639414","file0":"1327639406","file3":"1327639422"},"map_files_photo_id_array":[{"photo_id":"1327639420","filename":"file2"},{"photo_id":"1327639414","filename":"file1"},{"photo_id":"1327639406","filename":"file0"},{"photo_id":"1327639422","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327639420":["hashtag1","hashtag2"]},{"1327639414":["hashtag1","hashtag2"]},{"1327639422":["hashtag1","hashtag2"]},{"1327639406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327639420, 1327639414, 1327639422, 1327639406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.63388395309448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:06:22.323540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/05/image_09012025_10_05_02_179410_0003.jpg', '/home/pi/Desktop/images/09012025/10/06/image_09012025_10_06_02_418671_0000.jpg', '/home/pi/Desktop/images/09012025/10/06/image_09012025_10_06_02_418671_0001.jpg', '/home/pi/Desktop/images/09012025/10/06/image_09012025_10_06_02_418671_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/05/image_09012025_10_05_02_179410_0003.jpg
/home/pi/Desktop/images/09012025/10/06/image_09012025_10_06_02_418671_0000.jpg
/home/pi/Desktop/images/09012025/10/06/image_09012025_10_06_02_418671_0001.jpg
/home/pi/Desktop/images/09012025/10/06/image_09012025_10_06_02_418671_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327639444","1327639441","1327639435","1327639439"],"photo_ids_order":["1327639435","1327639439","1327639441","1327639444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/640be27c7ca4b057d050826a0130bc3c.jpg","text":"TemporaryFile(/tmp/multipartBody7680908788513222173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413652701,"filename":"image_09012025_10_06_02_418671_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c40ac545942ce19c54087de59bea1437.jpg","text":"TemporaryFile(/tmp/multipartBody833364377124860658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413652701,"filename":"image_09012025_10_06_02_418671_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e882f128ba7e361d4481a45bad051350.jpg","text":"TemporaryFile(/tmp/multipartBody1834348120964014565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413652701,"filename":"image_09012025_10_05_02_179410_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0a86982efe3ee67e4c4cdaea1f47b76c.jpg","text":"TemporaryFile(/tmp/multipartBody4595906250196932612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413652701,"filename":"image_09012025_10_06_02_418671_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327639441","file1":"1327639439","file0":"1327639435","file3":"1327639444"},"map_files_photo_id_array":[{"photo_id":"1327639441","filename":"file2"},{"photo_id":"1327639439","filename":"file1"},{"photo_id":"1327639435","filename":"file0"},{"photo_id":"1327639444","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327639444":["hashtag1","hashtag2"]},{"1327639441":["hashtag1","hashtag2"]},{"1327639435":["hashtag1","hashtag2"]},{"1327639439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327639444, 1327639441, 1327639435, 1327639439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.439831495285034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:07:22.512689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/06/image_09012025_10_06_02_418671_0003.jpg', '/home/pi/Desktop/images/09012025/10/07/image_09012025_10_07_02_696154_0000.jpg', '/home/pi/Desktop/images/09012025/10/07/image_09012025_10_07_02_696154_0001.jpg', '/home/pi/Desktop/images/09012025/10/07/image_09012025_10_07_02_696154_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/06/image_09012025_10_06_02_418671_0003.jpg
/home/pi/Desktop/images/09012025/10/07/image_09012025_10_07_02_696154_0000.jpg
/home/pi/Desktop/images/09012025/10/07/image_09012025_10_07_02_696154_0001.jpg
/home/pi/Desktop/images/09012025/10/07/image_09012025_10_07_02_696154_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327639465","1327639461","1327639455","1327639463"],"photo_ids_order":["1327639455","1327639461","1327639463","1327639465"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d6af0f7f48cfc633ec76a8fb2417f8bd.jpg","text":"TemporaryFile(/tmp/multipartBody172800041146067282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413712915,"filename":"image_09012025_10_07_02_696154_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ed8bfa0b9cb2218d33c21f06f4026b30.jpg","text":"TemporaryFile(/tmp/multipartBody698343113321877308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413712915,"filename":"image_09012025_10_07_02_696154_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9ae0265a9fd54c139a23dcb773726875.jpg","text":"TemporaryFile(/tmp/multipartBody4024954929400973434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413712915,"filename":"image_09012025_10_06_02_418671_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eb05dd68936a24a1a789902e7a94c633.jpg","text":"TemporaryFile(/tmp/multipartBody7009424192392133688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413712915,"filename":"image_09012025_10_07_02_696154_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327639463","file1":"1327639461","file0":"1327639455","file3":"1327639465"},"map_files_photo_id_array":[{"photo_id":"1327639463","filename":"file2"},{"photo_id":"1327639461","filename":"file1"},{"photo_id":"1327639455","filename":"file0"},{"photo_id":"1327639465","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327639465":["hashtag1","hashtag2"]},{"1327639461":["hashtag1","hashtag2"]},{"1327639455":["hashtag1","hashtag2"]},{"1327639463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327639465, 1327639461, 1327639455, 1327639463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.535292625427246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:08:22.682917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/07/image_09012025_10_07_02_696154_0003.jpg', '/home/pi/Desktop/images/09012025/10/08/image_09012025_10_08_02_822989_0000.jpg', '/home/pi/Desktop/images/09012025/10/08/image_09012025_10_08_02_822989_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/07/image_09012025_10_07_02_696154_0003.jpg
/home/pi/Desktop/images/09012025/10/08/image_09012025_10_08_02_822989_0000.jpg
/home/pi/Desktop/images/09012025/10/08/image_09012025_10_08_02_822989_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327639510","1327639490","1327639505"],"photo_ids_order":["1327639490","1327639505","1327639510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4acefea3b9a9224cb3a215c5404dca19.jpg","text":"TemporaryFile(/tmp/multipartBody2478962496655444579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413770665,"filename":"image_09012025_10_08_02_822989_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b850915c42197f93d74c69d6f27859c2.jpg","text":"TemporaryFile(/tmp/multipartBody2661624755148009425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413770665,"filename":"image_09012025_10_07_02_696154_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/642cf24cca1bc1f1f00886834cc5d6c1.jpg","text":"TemporaryFile(/tmp/multipartBody7597241109362103594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413770665,"filename":"image_09012025_10_08_02_822989_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327639510","file1":"1327639505","file0":"1327639490"},"map_files_photo_id_array":[{"photo_id":"1327639510","filename":"file2"},{"photo_id":"1327639505","filename":"file1"},{"photo_id":"1327639490","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327639510":["hashtag1","hashtag2"]},{"1327639490":["hashtag1","hashtag2"]},{"1327639505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327639510, 1327639490, 1327639505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.588650941848755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:09:02.212415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:09:21.804268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/08/image_09012025_10_08_02_822989_0003.jpg', '/home/pi/Desktop/images/09012025/10/09/image_09012025_10_09_03_027112_0000.jpg', '/home/pi/Desktop/images/09012025/10/09/image_09012025_10_09_03_027112_0001.jpg', '/home/pi/Desktop/images/09012025/10/09/image_09012025_10_09_03_027112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/08/image_09012025_10_08_02_822989_0003.jpg
/home/pi/Desktop/images/09012025/10/09/image_09012025_10_09_03_027112_0000.jpg
/home/pi/Desktop/images/09012025/10/09/image_09012025_10_09_03_027112_0001.jpg
/home/pi/Desktop/images/09012025/10/09/image_09012025_10_09_03_027112_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327639585","1327639535","1327639588","1327639573"],"photo_ids_order":["1327639535","1327639573","1327639585","1327639588"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/30796a07e59ab32ff558e86db18e413c.jpg","text":"TemporaryFile(/tmp/multipartBody8508828525554633369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413832426,"filename":"image_09012025_10_09_03_027112_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3ded4ae0beaff175ca2a125a4ec1fead.jpg","text":"TemporaryFile(/tmp/multipartBody5469523905561290956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413832426,"filename":"image_09012025_10_08_02_822989_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a013853ea345c70403e3dc8f23eb6336.jpg","text":"TemporaryFile(/tmp/multipartBody2953143132623069368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413832426,"filename":"image_09012025_10_09_03_027112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f8f11594d0d9c3cb941dbc95d5232150.jpg","text":"TemporaryFile(/tmp/multipartBody1170922049274040448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413832426,"filename":"image_09012025_10_09_03_027112_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327639585","file1":"1327639573","file0":"1327639535","file3":"1327639588"},"map_files_photo_id_array":[{"photo_id":"1327639585","filename":"file2"},{"photo_id":"1327639573","filename":"file1"},{"photo_id":"1327639535","filename":"file0"},{"photo_id":"1327639588","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327639585":["hashtag1","hashtag2"]},{"1327639535":["hashtag1","hashtag2"]},{"1327639588":["hashtag1","hashtag2"]},{"1327639573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327639585, 1327639535, 1327639588, 1327639573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.898388147354126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:10:02.362125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:10:22.102435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/09/image_09012025_10_09_03_027112_0003.jpg', '/home/pi/Desktop/images/09012025/10/10/image_09012025_10_10_02_219558_0000.jpg', '/home/pi/Desktop/images/09012025/10/10/image_09012025_10_10_02_219558_0001.jpg', '/home/pi/Desktop/images/09012025/10/10/image_09012025_10_10_02_219558_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/09/image_09012025_10_09_03_027112_0003.jpg
/home/pi/Desktop/images/09012025/10/10/image_09012025_10_10_02_219558_0000.jpg
/home/pi/Desktop/images/09012025/10/10/image_09012025_10_10_02_219558_0001.jpg
/home/pi/Desktop/images/09012025/10/10/image_09012025_10_10_02_219558_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327639615","1327639611","1327639607","1327639619"],"photo_ids_order":["1327639607","1327639611","1327639615","1327639619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b8fa10ce41b1f276104b2ed85aee272.jpg","text":"TemporaryFile(/tmp/multipartBody6543901486363815441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413892495,"filename":"image_09012025_10_10_02_219558_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/554921cd7f138d66af48ad4f888fb117.jpg","text":"TemporaryFile(/tmp/multipartBody740108016954279354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413892495,"filename":"image_09012025_10_10_02_219558_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4bea96584fa7665a820c0223d6facc43.jpg","text":"TemporaryFile(/tmp/multipartBody3539966033908574078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413892495,"filename":"image_09012025_10_09_03_027112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/568f291188458755f2192910c70bd068.jpg","text":"TemporaryFile(/tmp/multipartBody2191023141937741964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413892495,"filename":"image_09012025_10_10_02_219558_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327639615","file1":"1327639611","file0":"1327639607","file3":"1327639619"},"map_files_photo_id_array":[{"photo_id":"1327639615","filename":"file2"},{"photo_id":"1327639611","filename":"file1"},{"photo_id":"1327639607","filename":"file0"},{"photo_id":"1327639619","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327639615":["hashtag1","hashtag2"]},{"1327639611":["hashtag1","hashtag2"]},{"1327639607":["hashtag1","hashtag2"]},{"1327639619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327639615, 1327639611, 1327639607, 1327639619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.938865423202515 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:11:02.622284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:11:22.030404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/10/image_09012025_10_10_02_219558_0003.jpg', '/home/pi/Desktop/images/09012025/10/11/image_09012025_10_11_02_332331_0000.jpg', '/home/pi/Desktop/images/09012025/10/11/image_09012025_10_11_02_332331_0001.jpg', '/home/pi/Desktop/images/09012025/10/11/image_09012025_10_11_02_332331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/10/image_09012025_10_10_02_219558_0003.jpg
/home/pi/Desktop/images/09012025/10/11/image_09012025_10_11_02_332331_0000.jpg
/home/pi/Desktop/images/09012025/10/11/image_09012025_10_11_02_332331_0001.jpg
/home/pi/Desktop/images/09012025/10/11/image_09012025_10_11_02_332331_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327639641","1327639635","1327639644","1327639638"],"photo_ids_order":["1327639635","1327639638","1327639641","1327639644"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6da72445991d621d8e581b12ec22cd7f.jpg","text":"TemporaryFile(/tmp/multipartBody3348713809147861140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413952332,"filename":"image_09012025_10_11_02_332331_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/40d080c79c697a690c09fa2badb1290e.jpg","text":"TemporaryFile(/tmp/multipartBody5077726738149286620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413952332,"filename":"image_09012025_10_10_02_219558_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d18ac7b38caba962572ab29fff0b09ea.jpg","text":"TemporaryFile(/tmp/multipartBody6671623590877672045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413952332,"filename":"image_09012025_10_11_02_332331_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7ffe0996a288fb62b9cfe2ad19eae0a2.jpg","text":"TemporaryFile(/tmp/multipartBody7300191512451037561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736413952332,"filename":"image_09012025_10_11_02_332331_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327639641","file1":"1327639638","file0":"1327639635","file3":"1327639644"},"map_files_photo_id_array":[{"photo_id":"1327639641","filename":"file2"},{"photo_id":"1327639638","filename":"file1"},{"photo_id":"1327639635","filename":"file0"},{"photo_id":"1327639644","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327639641":["hashtag1","hashtag2"]},{"1327639635":["hashtag1","hashtag2"]},{"1327639644":["hashtag1","hashtag2"]},{"1327639638":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327639641, 1327639635, 1327639644, 1327639638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.211082458496094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:12:02.779161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:12:22.445074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/11/image_09012025_10_11_02_332331_0003.jpg', '/home/pi/Desktop/images/09012025/10/12/image_09012025_10_12_02_505393_0000.jpg', '/home/pi/Desktop/images/09012025/10/12/image_09012025_10_12_02_505393_0001.jpg', '/home/pi/Desktop/images/09012025/10/12/image_09012025_10_12_02_505393_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/11/image_09012025_10_11_02_332331_0003.jpg
/home/pi/Desktop/images/09012025/10/12/image_09012025_10_12_02_505393_0000.jpg
/home/pi/Desktop/images/09012025/10/12/image_09012025_10_12_02_505393_0001.jpg
/home/pi/Desktop/images/09012025/10/12/image_09012025_10_12_02_505393_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327639683","1327639677","1327639680","1327639662"],"photo_ids_order":["1327639662","1327639677","1327639680","1327639683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/24e6829cd647a8943913a046bf880a66.jpg","text":"TemporaryFile(/tmp/multipartBody8538634257290441235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414012742,"filename":"image_09012025_10_12_02_505393_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e85578574a1a53013c02dafbbb69e7fc.jpg","text":"TemporaryFile(/tmp/multipartBody8341468076200755315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414012742,"filename":"image_09012025_10_12_02_505393_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2380cb6922930969e8d6e54c5d76ff10.jpg","text":"TemporaryFile(/tmp/multipartBody8147597822203427244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414012742,"filename":"image_09012025_10_12_02_505393_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/687c5dcf0f38ed608fdf233be10494f0.jpg","text":"TemporaryFile(/tmp/multipartBody5494049845911423964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414012742,"filename":"image_09012025_10_11_02_332331_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327639680","file1":"1327639677","file0":"1327639662","file3":"1327639683"},"map_files_photo_id_array":[{"photo_id":"1327639680","filename":"file2"},{"photo_id":"1327639677","filename":"file1"},{"photo_id":"1327639662","filename":"file0"},{"photo_id":"1327639683","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327639683":["hashtag1","hashtag2"]},{"1327639677":["hashtag1","hashtag2"]},{"1327639680":["hashtag1","hashtag2"]},{"1327639662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327639683, 1327639677, 1327639680, 1327639662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.41994786262512 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:13:22.539756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/12/image_09012025_10_12_02_505393_0003.jpg', '/home/pi/Desktop/images/09012025/10/13/image_09012025_10_13_02_756708_0000.jpg', '/home/pi/Desktop/images/09012025/10/13/image_09012025_10_13_02_756708_0001.jpg', '/home/pi/Desktop/images/09012025/10/13/image_09012025_10_13_02_756708_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/12/image_09012025_10_12_02_505393_0003.jpg
/home/pi/Desktop/images/09012025/10/13/image_09012025_10_13_02_756708_0000.jpg
/home/pi/Desktop/images/09012025/10/13/image_09012025_10_13_02_756708_0001.jpg
/home/pi/Desktop/images/09012025/10/13/image_09012025_10_13_02_756708_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327641037","1327640881","1327641024","1327641011"],"photo_ids_order":["1327640881","1327641011","1327641024","1327641037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1da015f9fad3e811f79419c1107c38fd.jpg","text":"TemporaryFile(/tmp/multipartBody4992958338805206306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414072791,"filename":"image_09012025_10_13_02_756708_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/120c676efb43908d056d26006634dd0f.jpg","text":"TemporaryFile(/tmp/multipartBody1319698312240291891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414072791,"filename":"image_09012025_10_12_02_505393_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/00b10d0cb6db7a3dff706cb2aa008d71.jpg","text":"TemporaryFile(/tmp/multipartBody7073981150898526284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414072791,"filename":"image_09012025_10_13_02_756708_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b484daaa76a6bc7350a4184d1cdc59c.jpg","text":"TemporaryFile(/tmp/multipartBody7920852926225557377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414072791,"filename":"image_09012025_10_13_02_756708_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327641024","file1":"1327641011","file0":"1327640881","file3":"1327641037"},"map_files_photo_id_array":[{"photo_id":"1327641024","filename":"file2"},{"photo_id":"1327641011","filename":"file1"},{"photo_id":"1327640881","filename":"file0"},{"photo_id":"1327641037","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327641037":["hashtag1","hashtag2"]},{"1327640881":["hashtag1","hashtag2"]},{"1327641024":["hashtag1","hashtag2"]},{"1327641011":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327641037, 1327640881, 1327641024, 1327641011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.22848320007324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:14:02.226211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:14:21.796461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/13/image_09012025_10_13_02_756708_0003.jpg', '/home/pi/Desktop/images/09012025/10/14/image_09012025_10_14_03_018521_0000.jpg', '/home/pi/Desktop/images/09012025/10/14/image_09012025_10_14_03_018521_0001.jpg', '/home/pi/Desktop/images/09012025/10/14/image_09012025_10_14_03_018521_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/13/image_09012025_10_13_02_756708_0003.jpg
/home/pi/Desktop/images/09012025/10/14/image_09012025_10_14_03_018521_0000.jpg
/home/pi/Desktop/images/09012025/10/14/image_09012025_10_14_03_018521_0001.jpg
/home/pi/Desktop/images/09012025/10/14/image_09012025_10_14_03_018521_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327641283","1327641300","1327641271","1327641280"],"photo_ids_order":["1327641271","1327641280","1327641283","1327641300"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0fcc734052450d717a023428182a38e0.jpg","text":"TemporaryFile(/tmp/multipartBody7019360341512526986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414132151,"filename":"image_09012025_10_14_03_018521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f228b1c165644cf493f69f6d00db7e69.jpg","text":"TemporaryFile(/tmp/multipartBody5399962417946965234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414132151,"filename":"image_09012025_10_14_03_018521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8ce43cdd933f91fa23edaf2eb7733bb8.jpg","text":"TemporaryFile(/tmp/multipartBody8984974799923196553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414132151,"filename":"image_09012025_10_13_02_756708_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d6284f5f71bdf00d70726822dad8cd96.jpg","text":"TemporaryFile(/tmp/multipartBody8564821721348313504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414132151,"filename":"image_09012025_10_14_03_018521_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327641283","file1":"1327641280","file0":"1327641271","file3":"1327641300"},"map_files_photo_id_array":[{"photo_id":"1327641283","filename":"file2"},{"photo_id":"1327641280","filename":"file1"},{"photo_id":"1327641271","filename":"file0"},{"photo_id":"1327641300","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327641283":["hashtag1","hashtag2"]},{"1327641300":["hashtag1","hashtag2"]},{"1327641271":["hashtag1","hashtag2"]},{"1327641280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327641283, 1327641300, 1327641271, 1327641280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.114694356918335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:15:02.468198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:15:21.921918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/14/image_09012025_10_14_03_018521_0003.jpg', '/home/pi/Desktop/images/09012025/10/15/image_09012025_10_15_02_142020_0000.jpg', '/home/pi/Desktop/images/09012025/10/15/image_09012025_10_15_02_142020_0001.jpg', '/home/pi/Desktop/images/09012025/10/15/image_09012025_10_15_02_142020_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/14/image_09012025_10_14_03_018521_0003.jpg
/home/pi/Desktop/images/09012025/10/15/image_09012025_10_15_02_142020_0000.jpg
/home/pi/Desktop/images/09012025/10/15/image_09012025_10_15_02_142020_0001.jpg
/home/pi/Desktop/images/09012025/10/15/image_09012025_10_15_02_142020_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327641481","1327641492","1327641484","1327641478"],"photo_ids_order":["1327641478","1327641481","1327641484","1327641492"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1d28f04dae52a0f2f122339313cbdf95.jpg","text":"TemporaryFile(/tmp/multipartBody6283971363440390490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414192040,"filename":"image_09012025_10_15_02_142020_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b2089f2993cb2cb8242ad9e1079d8086.jpg","text":"TemporaryFile(/tmp/multipartBody2112366637905077105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414192040,"filename":"image_09012025_10_15_02_142020_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0d7b52b81015ede72c14e91e35bdc3ed.jpg","text":"TemporaryFile(/tmp/multipartBody514509611346472017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414192040,"filename":"image_09012025_10_15_02_142020_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/60bcd32d2b261d0eba1630da5b1de2df.jpg","text":"TemporaryFile(/tmp/multipartBody7967319400451703561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414192040,"filename":"image_09012025_10_14_03_018521_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327641484","file1":"1327641481","file0":"1327641478","file3":"1327641492"},"map_files_photo_id_array":[{"photo_id":"1327641484","filename":"file2"},{"photo_id":"1327641481","filename":"file1"},{"photo_id":"1327641478","filename":"file0"},{"photo_id":"1327641492","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327641481":["hashtag1","hashtag2"]},{"1327641492":["hashtag1","hashtag2"]},{"1327641484":["hashtag1","hashtag2"]},{"1327641478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327641481, 1327641492, 1327641484, 1327641478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.09334063529968 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:16:02.453852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:16:22.194441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/15/image_09012025_10_15_02_142020_0003.jpg', '/home/pi/Desktop/images/09012025/10/16/image_09012025_10_16_02_279306_0000.jpg', '/home/pi/Desktop/images/09012025/10/16/image_09012025_10_16_02_279306_0001.jpg', '/home/pi/Desktop/images/09012025/10/16/image_09012025_10_16_02_279306_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/15/image_09012025_10_15_02_142020_0003.jpg
/home/pi/Desktop/images/09012025/10/16/image_09012025_10_16_02_279306_0000.jpg
/home/pi/Desktop/images/09012025/10/16/image_09012025_10_16_02_279306_0001.jpg
/home/pi/Desktop/images/09012025/10/16/image_09012025_10_16_02_279306_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327641572","1327641575","1327641578","1327641551"],"photo_ids_order":["1327641551","1327641572","1327641575","1327641578"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/54c99bc5575738d1a5211a8c159f3203.jpg","text":"TemporaryFile(/tmp/multipartBody13530071851035486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414252482,"filename":"image_09012025_10_16_02_279306_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7312c04205299a76017c9a923097352a.jpg","text":"TemporaryFile(/tmp/multipartBody4540882515948383295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414252482,"filename":"image_09012025_10_16_02_279306_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c384b4e6bb44c600f4240b4c22f97ae5.jpg","text":"TemporaryFile(/tmp/multipartBody5437489590718445932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414252482,"filename":"image_09012025_10_16_02_279306_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c9d5a63ea5255480356ef672b8fcd58a.jpg","text":"TemporaryFile(/tmp/multipartBody5183284172881097367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414252482,"filename":"image_09012025_10_15_02_142020_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327641575","file1":"1327641572","file0":"1327641551","file3":"1327641578"},"map_files_photo_id_array":[{"photo_id":"1327641575","filename":"file2"},{"photo_id":"1327641572","filename":"file1"},{"photo_id":"1327641551","filename":"file0"},{"photo_id":"1327641578","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327641572":["hashtag1","hashtag2"]},{"1327641575":["hashtag1","hashtag2"]},{"1327641578":["hashtag1","hashtag2"]},{"1327641551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327641572, 1327641575, 1327641578, 1327641551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.74439287185669 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:17:22.262292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/16/image_09012025_10_16_02_279306_0003.jpg', '/home/pi/Desktop/images/09012025/10/17/image_09012025_10_17_02_436621_0000.jpg', '/home/pi/Desktop/images/09012025/10/17/image_09012025_10_17_02_436621_0001.jpg', '/home/pi/Desktop/images/09012025/10/17/image_09012025_10_17_02_436621_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/16/image_09012025_10_16_02_279306_0003.jpg
/home/pi/Desktop/images/09012025/10/17/image_09012025_10_17_02_436621_0000.jpg
/home/pi/Desktop/images/09012025/10/17/image_09012025_10_17_02_436621_0001.jpg
/home/pi/Desktop/images/09012025/10/17/image_09012025_10_17_02_436621_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327641603","1327641596","1327641608","1327641598"],"photo_ids_order":["1327641596","1327641598","1327641603","1327641608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b3ec2a13d7d6e6700780d1125572a7b1.jpg","text":"TemporaryFile(/tmp/multipartBody4467607791280778718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414312422,"filename":"image_09012025_10_17_02_436621_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a3eca1c4ebb851aef740d136eb9cd606.jpg","text":"TemporaryFile(/tmp/multipartBody790797847890875980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414312422,"filename":"image_09012025_10_16_02_279306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/742cd3140fa0ab46e66d7361ffa9f784.jpg","text":"TemporaryFile(/tmp/multipartBody2415663137807984684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414312422,"filename":"image_09012025_10_17_02_436621_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8bf6db96fbfc2041916cc69b8475254a.jpg","text":"TemporaryFile(/tmp/multipartBody8598209212519913035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414312422,"filename":"image_09012025_10_17_02_436621_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327641603","file1":"1327641598","file0":"1327641596","file3":"1327641608"},"map_files_photo_id_array":[{"photo_id":"1327641603","filename":"file2"},{"photo_id":"1327641598","filename":"file1"},{"photo_id":"1327641596","filename":"file0"},{"photo_id":"1327641608","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327641603":["hashtag1","hashtag2"]},{"1327641596":["hashtag1","hashtag2"]},{"1327641608":["hashtag1","hashtag2"]},{"1327641598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327641603, 1327641596, 1327641608, 1327641598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.195573806762695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:18:22.554421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/17/image_09012025_10_17_02_436621_0003.jpg', '/home/pi/Desktop/images/09012025/10/18/image_09012025_10_18_02_704883_0000.jpg', '/home/pi/Desktop/images/09012025/10/18/image_09012025_10_18_02_704883_0001.jpg', '/home/pi/Desktop/images/09012025/10/18/image_09012025_10_18_02_704883_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/17/image_09012025_10_17_02_436621_0003.jpg
/home/pi/Desktop/images/09012025/10/18/image_09012025_10_18_02_704883_0000.jpg
/home/pi/Desktop/images/09012025/10/18/image_09012025_10_18_02_704883_0001.jpg
/home/pi/Desktop/images/09012025/10/18/image_09012025_10_18_02_704883_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327641776","1327642084","1327642081","1327642039"],"photo_ids_order":["1327641776","1327642039","1327642081","1327642084"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/68b4a1237497f4b225a83953a5d81d9a.jpg","text":"TemporaryFile(/tmp/multipartBody7590366347942949550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414373064,"filename":"image_09012025_10_17_02_436621_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ca49ff55c19ec686c2df1926ae5dda9a.jpg","text":"TemporaryFile(/tmp/multipartBody4096233431113225567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414373064,"filename":"image_09012025_10_18_02_704883_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a717ec53fbe5ab0e64fdbd21b1afed42.jpg","text":"TemporaryFile(/tmp/multipartBody2471475924863803862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414373064,"filename":"image_09012025_10_18_02_704883_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7913870c18deb13c58e28d85a60610a5.jpg","text":"TemporaryFile(/tmp/multipartBody8782978645380185178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414373064,"filename":"image_09012025_10_18_02_704883_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327642081","file1":"1327642039","file0":"1327641776","file3":"1327642084"},"map_files_photo_id_array":[{"photo_id":"1327642081","filename":"file2"},{"photo_id":"1327642039","filename":"file1"},{"photo_id":"1327641776","filename":"file0"},{"photo_id":"1327642084","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327641776":["hashtag1","hashtag2"]},{"1327642084":["hashtag1","hashtag2"]},{"1327642081":["hashtag1","hashtag2"]},{"1327642039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327641776, 1327642084, 1327642081, 1327642039)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.77260947227478 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:19:22.717343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/18/image_09012025_10_18_02_704883_0003.jpg', '/home/pi/Desktop/images/09012025/10/19/image_09012025_10_19_02_833763_0000.jpg', '/home/pi/Desktop/images/09012025/10/19/image_09012025_10_19_02_833763_0001.jpg', '/home/pi/Desktop/images/09012025/10/19/image_09012025_10_19_02_833763_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/18/image_09012025_10_18_02_704883_0003.jpg
/home/pi/Desktop/images/09012025/10/19/image_09012025_10_19_02_833763_0000.jpg
/home/pi/Desktop/images/09012025/10/19/image_09012025_10_19_02_833763_0001.jpg
/home/pi/Desktop/images/09012025/10/19/image_09012025_10_19_02_833763_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327642101","1327642104","1327642168","1327642360"],"photo_ids_order":["1327642101","1327642104","1327642168","1327642360"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/615d8c99b3a43a5cb0ae0ec4b4b1d34f.jpg","text":"TemporaryFile(/tmp/multipartBody3730749558286780001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414432969,"filename":"image_09012025_10_18_02_704883_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/402902cc395c3b7b9c818feaf88d6806.jpg","text":"TemporaryFile(/tmp/multipartBody6333395254699773141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414432969,"filename":"image_09012025_10_19_02_833763_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/56f1c9f8e24984aff703c19e2cc178f9.jpg","text":"TemporaryFile(/tmp/multipartBody2412275717556163300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414432969,"filename":"image_09012025_10_19_02_833763_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6e43b50d2ebca2036b23a00647fccb1d.jpg","text":"TemporaryFile(/tmp/multipartBody7201150719520099435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414432969,"filename":"image_09012025_10_19_02_833763_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327642168","file1":"1327642104","file0":"1327642101","file3":"1327642360"},"map_files_photo_id_array":[{"photo_id":"1327642168","filename":"file2"},{"photo_id":"1327642104","filename":"file1"},{"photo_id":"1327642101","filename":"file0"},{"photo_id":"1327642360","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327642101":["hashtag1","hashtag2"]},{"1327642104":["hashtag1","hashtag2"]},{"1327642168":["hashtag1","hashtag2"]},{"1327642360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327642101, 1327642104, 1327642168, 1327642360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.323463916778564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:20:21.865612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/19/image_09012025_10_19_02_833763_0003.jpg', '/home/pi/Desktop/images/09012025/10/20/image_09012025_10_20_03_050459_0000.jpg', '/home/pi/Desktop/images/09012025/10/20/image_09012025_10_20_03_050459_0001.jpg', '/home/pi/Desktop/images/09012025/10/20/image_09012025_10_20_03_050459_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/19/image_09012025_10_19_02_833763_0003.jpg
/home/pi/Desktop/images/09012025/10/20/image_09012025_10_20_03_050459_0000.jpg
/home/pi/Desktop/images/09012025/10/20/image_09012025_10_20_03_050459_0001.jpg
/home/pi/Desktop/images/09012025/10/20/image_09012025_10_20_03_050459_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327642434","1327642456","1327642438","1327642447"],"photo_ids_order":["1327642434","1327642438","1327642447","1327642456"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/56f699386b4365aacb3f7b2bbd33b3c9.jpg","text":"TemporaryFile(/tmp/multipartBody8076341452012927862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414492071,"filename":"image_09012025_10_19_02_833763_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4d16825750cf882d18f0c026617b288d.jpg","text":"TemporaryFile(/tmp/multipartBody8660360258160063341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414492071,"filename":"image_09012025_10_20_03_050459_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/71357bc8361164a92b67292df6bb59e7.jpg","text":"TemporaryFile(/tmp/multipartBody2473546074672033599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414492071,"filename":"image_09012025_10_20_03_050459_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/be59356a98776a6366974ecb9cf9c538.jpg","text":"TemporaryFile(/tmp/multipartBody8353511619996296499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414492071,"filename":"image_09012025_10_20_03_050459_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327642447","file1":"1327642438","file0":"1327642434","file3":"1327642456"},"map_files_photo_id_array":[{"photo_id":"1327642447","filename":"file2"},{"photo_id":"1327642438","filename":"file1"},{"photo_id":"1327642434","filename":"file0"},{"photo_id":"1327642456","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327642434":["hashtag1","hashtag2"]},{"1327642456":["hashtag1","hashtag2"]},{"1327642438":["hashtag1","hashtag2"]},{"1327642447":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327642434, 1327642456, 1327642438, 1327642447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.93434238433838 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:21:22.054450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/20/image_09012025_10_20_03_050459_0003.jpg', '/home/pi/Desktop/images/09012025/10/21/image_09012025_10_21_02_185056_0000.jpg', '/home/pi/Desktop/images/09012025/10/21/image_09012025_10_21_02_185056_0001.jpg', '/home/pi/Desktop/images/09012025/10/21/image_09012025_10_21_02_185056_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/20/image_09012025_10_20_03_050459_0003.jpg
/home/pi/Desktop/images/09012025/10/21/image_09012025_10_21_02_185056_0000.jpg
/home/pi/Desktop/images/09012025/10/21/image_09012025_10_21_02_185056_0001.jpg
/home/pi/Desktop/images/09012025/10/21/image_09012025_10_21_02_185056_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327642504","1327642509","1327642517","1327642513"],"photo_ids_order":["1327642504","1327642509","1327642513","1327642517"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8331feefe3ecbd4ac59573ac7a46beb8.jpg","text":"TemporaryFile(/tmp/multipartBody6940738963436832074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414552276,"filename":"image_09012025_10_20_03_050459_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/deb49bb7c5d1b1d43f3d1fb52e60724a.jpg","text":"TemporaryFile(/tmp/multipartBody6624344457191100173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414552276,"filename":"image_09012025_10_21_02_185056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b566facd0fe713c5ebe2e1ec5d12fb1c.jpg","text":"TemporaryFile(/tmp/multipartBody8278651140069566202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414552276,"filename":"image_09012025_10_21_02_185056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7148777d9af1be9e6507f4ba623214df.jpg","text":"TemporaryFile(/tmp/multipartBody8400280735058307131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414552276,"filename":"image_09012025_10_21_02_185056_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327642513","file1":"1327642509","file0":"1327642504","file3":"1327642517"},"map_files_photo_id_array":[{"photo_id":"1327642513","filename":"file2"},{"photo_id":"1327642509","filename":"file1"},{"photo_id":"1327642504","filename":"file0"},{"photo_id":"1327642517","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327642504":["hashtag1","hashtag2"]},{"1327642509":["hashtag1","hashtag2"]},{"1327642517":["hashtag1","hashtag2"]},{"1327642513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327642504, 1327642509, 1327642517, 1327642513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.013449907302856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:22:02.651232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:22:22.254801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/21/image_09012025_10_21_02_185056_0003.jpg', '/home/pi/Desktop/images/09012025/10/22/image_09012025_10_22_02_397019_0000.jpg', '/home/pi/Desktop/images/09012025/10/22/image_09012025_10_22_02_397019_0001.jpg', '/home/pi/Desktop/images/09012025/10/22/image_09012025_10_22_02_397019_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/21/image_09012025_10_21_02_185056_0003.jpg
/home/pi/Desktop/images/09012025/10/22/image_09012025_10_22_02_397019_0000.jpg
/home/pi/Desktop/images/09012025/10/22/image_09012025_10_22_02_397019_0001.jpg
/home/pi/Desktop/images/09012025/10/22/image_09012025_10_22_02_397019_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327642600","1327642597","1327642585","1327642549"],"photo_ids_order":["1327642549","1327642585","1327642597","1327642600"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1f1d93b587572baa3341f4049b953236.jpg","text":"TemporaryFile(/tmp/multipartBody3176634895184238610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414612525,"filename":"image_09012025_10_22_02_397019_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e762a56c58e85c0444a5d5c83d60c48e.jpg","text":"TemporaryFile(/tmp/multipartBody2753506844321174464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414612525,"filename":"image_09012025_10_22_02_397019_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/316adfd3cb805e01e69b0504eca1c558.jpg","text":"TemporaryFile(/tmp/multipartBody2507582959127396507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414612525,"filename":"image_09012025_10_22_02_397019_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/863c1c27f9945912ccc7a98451e55e1c.jpg","text":"TemporaryFile(/tmp/multipartBody632406826078828634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414612525,"filename":"image_09012025_10_21_02_185056_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327642597","file1":"1327642585","file0":"1327642549","file3":"1327642600"},"map_files_photo_id_array":[{"photo_id":"1327642597","filename":"file2"},{"photo_id":"1327642585","filename":"file1"},{"photo_id":"1327642549","filename":"file0"},{"photo_id":"1327642600","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327642600":["hashtag1","hashtag2"]},{"1327642597":["hashtag1","hashtag2"]},{"1327642585":["hashtag1","hashtag2"]},{"1327642549":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327642600, 1327642597, 1327642585, 1327642549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20741009712219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:23:02.767768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:23:22.344398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/22/image_09012025_10_22_02_397019_0003.jpg', '/home/pi/Desktop/images/09012025/10/23/image_09012025_10_23_02_628824_0000.jpg', '/home/pi/Desktop/images/09012025/10/23/image_09012025_10_23_02_628824_0001.jpg', '/home/pi/Desktop/images/09012025/10/23/image_09012025_10_23_02_628824_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/22/image_09012025_10_22_02_397019_0003.jpg
/home/pi/Desktop/images/09012025/10/23/image_09012025_10_23_02_628824_0000.jpg
/home/pi/Desktop/images/09012025/10/23/image_09012025_10_23_02_628824_0001.jpg
/home/pi/Desktop/images/09012025/10/23/image_09012025_10_23_02_628824_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327642626","1327642613","1327642622","1327642616"],"photo_ids_order":["1327642613","1327642616","1327642622","1327642626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c381c845d314d5b46d49b9d0e002245e.jpg","text":"TemporaryFile(/tmp/multipartBody69057111728710943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414672802,"filename":"image_09012025_10_23_02_628824_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ce8520a807635afe1328f07de513c8c7.jpg","text":"TemporaryFile(/tmp/multipartBody9176390575086689377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414672802,"filename":"image_09012025_10_22_02_397019_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6022750b93bec473967e7ff9ee0e4ab6.jpg","text":"TemporaryFile(/tmp/multipartBody7460708043234036672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414672802,"filename":"image_09012025_10_23_02_628824_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3cd61df603cc3182a73f15f689b2b997.jpg","text":"TemporaryFile(/tmp/multipartBody3261051841072708272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414672802,"filename":"image_09012025_10_23_02_628824_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327642622","file1":"1327642616","file0":"1327642613","file3":"1327642626"},"map_files_photo_id_array":[{"photo_id":"1327642622","filename":"file2"},{"photo_id":"1327642616","filename":"file1"},{"photo_id":"1327642613","filename":"file0"},{"photo_id":"1327642626","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327642626":["hashtag1","hashtag2"]},{"1327642613":["hashtag1","hashtag2"]},{"1327642622":["hashtag1","hashtag2"]},{"1327642616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327642626, 1327642613, 1327642622, 1327642616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.773250102996826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:24:02.917298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:24:22.517225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/23/image_09012025_10_23_02_628824_0003.jpg', '/home/pi/Desktop/images/09012025/10/24/image_09012025_10_24_02_697140_0000.jpg', '/home/pi/Desktop/images/09012025/10/24/image_09012025_10_24_02_697140_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/23/image_09012025_10_23_02_628824_0003.jpg
/home/pi/Desktop/images/09012025/10/24/image_09012025_10_24_02_697140_0000.jpg
/home/pi/Desktop/images/09012025/10/24/image_09012025_10_24_02_697140_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327642665","1327642659","1327642662"],"photo_ids_order":["1327642659","1327642662","1327642665"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e176dafb93a60b6a041b709d8f8e62aa.jpg","text":"TemporaryFile(/tmp/multipartBody2199652274009254919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414730313,"filename":"image_09012025_10_24_02_697140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f364c0e2a7a999cbe6b1300d7955812a.jpg","text":"TemporaryFile(/tmp/multipartBody5303296720685268870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414730313,"filename":"image_09012025_10_23_02_628824_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a2ea1b71b0f233caaf0bd7dd20233fae.jpg","text":"TemporaryFile(/tmp/multipartBody2121061294343583136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414730313,"filename":"image_09012025_10_24_02_697140_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327642665","file1":"1327642662","file0":"1327642659"},"map_files_photo_id_array":[{"photo_id":"1327642665","filename":"file2"},{"photo_id":"1327642662","filename":"file1"},{"photo_id":"1327642659","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327642665":["hashtag1","hashtag2"]},{"1327642659":["hashtag1","hashtag2"]},{"1327642662":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327642665, 1327642659, 1327642662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.35520887374878 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:25:03.379365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:25:22.668458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/24/image_09012025_10_24_02_697140_0003.jpg', '/home/pi/Desktop/images/09012025/10/25/image_09012025_10_25_02_819185_0000.jpg', '/home/pi/Desktop/images/09012025/10/25/image_09012025_10_25_02_819185_0001.jpg', '/home/pi/Desktop/images/09012025/10/25/image_09012025_10_25_02_819185_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/24/image_09012025_10_24_02_697140_0003.jpg
/home/pi/Desktop/images/09012025/10/25/image_09012025_10_25_02_819185_0000.jpg
/home/pi/Desktop/images/09012025/10/25/image_09012025_10_25_02_819185_0001.jpg
/home/pi/Desktop/images/09012025/10/25/image_09012025_10_25_02_819185_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327642782","1327642752","1327642763","1327642766"],"photo_ids_order":["1327642752","1327642763","1327642766","1327642782"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/82eb1d99c309e4c5f7794e281539ab07.jpg","text":"TemporaryFile(/tmp/multipartBody8460951688062534514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414792870,"filename":"image_09012025_10_25_02_819185_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d2bc49e01a6b298152b8784f0a778710.jpg","text":"TemporaryFile(/tmp/multipartBody399189495430854168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414792870,"filename":"image_09012025_10_24_02_697140_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d19d511bc4800c9c4b0f966a4a1e3795.jpg","text":"TemporaryFile(/tmp/multipartBody6021583891114183438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414792870,"filename":"image_09012025_10_25_02_819185_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f7cbfe38a03a5097ba1a9c079ce4a198.jpg","text":"TemporaryFile(/tmp/multipartBody2438407593432767519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414792870,"filename":"image_09012025_10_25_02_819185_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327642766","file1":"1327642763","file0":"1327642752","file3":"1327642782"},"map_files_photo_id_array":[{"photo_id":"1327642766","filename":"file2"},{"photo_id":"1327642763","filename":"file1"},{"photo_id":"1327642752","filename":"file0"},{"photo_id":"1327642782","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327642782":["hashtag1","hashtag2"]},{"1327642752":["hashtag1","hashtag2"]},{"1327642763":["hashtag1","hashtag2"]},{"1327642766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327642782, 1327642752, 1327642763, 1327642766)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 38.7699773311615 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:26:21.832435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/25/image_09012025_10_25_02_819185_0003.jpg', '/home/pi/Desktop/images/09012025/10/26/image_09012025_10_26_03_032799_0000.jpg', '/home/pi/Desktop/images/09012025/10/26/image_09012025_10_26_03_032799_0001.jpg', '/home/pi/Desktop/images/09012025/10/26/image_09012025_10_26_03_032799_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/25/image_09012025_10_25_02_819185_0003.jpg
/home/pi/Desktop/images/09012025/10/26/image_09012025_10_26_03_032799_0000.jpg
/home/pi/Desktop/images/09012025/10/26/image_09012025_10_26_03_032799_0001.jpg
/home/pi/Desktop/images/09012025/10/26/image_09012025_10_26_03_032799_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327642801","1327642811","1327642805","1327642808"],"photo_ids_order":["1327642801","1327642805","1327642808","1327642811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d32be89e15ad28dbbc75cf6a66fb3a74.jpg","text":"TemporaryFile(/tmp/multipartBody4078101012547580656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414852232,"filename":"image_09012025_10_25_02_819185_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c11819e280db21b83d1671e5eaa4d0d9.jpg","text":"TemporaryFile(/tmp/multipartBody4122658692946229255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414852232,"filename":"image_09012025_10_26_03_032799_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0260271c645c716039e1ecf91980425f.jpg","text":"TemporaryFile(/tmp/multipartBody249748288657686599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414852232,"filename":"image_09012025_10_26_03_032799_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a81cf832779dbe2fe21a26dfaa5ef48c.jpg","text":"TemporaryFile(/tmp/multipartBody3631964922414206136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414852232,"filename":"image_09012025_10_26_03_032799_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327642808","file1":"1327642805","file0":"1327642801","file3":"1327642811"},"map_files_photo_id_array":[{"photo_id":"1327642808","filename":"file2"},{"photo_id":"1327642805","filename":"file1"},{"photo_id":"1327642801","filename":"file0"},{"photo_id":"1327642811","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327642801":["hashtag1","hashtag2"]},{"1327642811":["hashtag1","hashtag2"]},{"1327642805":["hashtag1","hashtag2"]},{"1327642808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327642801, 1327642811, 1327642805, 1327642808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.143693923950195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:27:02.624108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:27:22.005002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/26/image_09012025_10_26_03_032799_0003.jpg', '/home/pi/Desktop/images/09012025/10/27/image_09012025_10_27_02_177378_0000.jpg', '/home/pi/Desktop/images/09012025/10/27/image_09012025_10_27_02_177378_0001.jpg', '/home/pi/Desktop/images/09012025/10/27/image_09012025_10_27_02_177378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/26/image_09012025_10_26_03_032799_0003.jpg
/home/pi/Desktop/images/09012025/10/27/image_09012025_10_27_02_177378_0000.jpg
/home/pi/Desktop/images/09012025/10/27/image_09012025_10_27_02_177378_0001.jpg
/home/pi/Desktop/images/09012025/10/27/image_09012025_10_27_02_177378_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327642841","1327643569","1327643935","1327643212"],"photo_ids_order":["1327642841","1327643212","1327643569","1327643935"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/267a14f9b770ef432ebdabd13827b6e0.jpg","text":"TemporaryFile(/tmp/multipartBody92660169101295410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414912257,"filename":"image_09012025_10_26_03_032799_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0c7baa8ccba6cdaa3ae68b259a43fa0e.jpg","text":"TemporaryFile(/tmp/multipartBody494592757811413172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414912257,"filename":"image_09012025_10_27_02_177378_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d679b82e70ba3434fb6c3e4fb1340796.jpg","text":"TemporaryFile(/tmp/multipartBody617645807028833554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414912257,"filename":"image_09012025_10_27_02_177378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cf4acf332a7583aa596e323300b6cbf4.jpg","text":"TemporaryFile(/tmp/multipartBody7496612412878096397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414912257,"filename":"image_09012025_10_27_02_177378_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327643569","file1":"1327643212","file0":"1327642841","file3":"1327643935"},"map_files_photo_id_array":[{"photo_id":"1327643569","filename":"file2"},{"photo_id":"1327643212","filename":"file1"},{"photo_id":"1327642841","filename":"file0"},{"photo_id":"1327643935","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327642841":["hashtag1","hashtag2"]},{"1327643569":["hashtag1","hashtag2"]},{"1327643935":["hashtag1","hashtag2"]},{"1327643212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327642841, 1327643569, 1327643935, 1327643212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43402910232544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:28:02.638219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:28:22.297349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/27/image_09012025_10_27_02_177378_0003.jpg', '/home/pi/Desktop/images/09012025/10/28/image_09012025_10_28_02_330789_0000.jpg', '/home/pi/Desktop/images/09012025/10/28/image_09012025_10_28_02_330789_0001.jpg', '/home/pi/Desktop/images/09012025/10/28/image_09012025_10_28_02_330789_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/27/image_09012025_10_27_02_177378_0003.jpg
/home/pi/Desktop/images/09012025/10/28/image_09012025_10_28_02_330789_0000.jpg
/home/pi/Desktop/images/09012025/10/28/image_09012025_10_28_02_330789_0001.jpg
/home/pi/Desktop/images/09012025/10/28/image_09012025_10_28_02_330789_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327644461","1327644455","1327644458","1327644465"],"photo_ids_order":["1327644455","1327644458","1327644461","1327644465"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1f62d123e7378b0682358f0a22404fa3.jpg","text":"TemporaryFile(/tmp/multipartBody1911142311983731221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414972526,"filename":"image_09012025_10_28_02_330789_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a4e91a81a88080b59521e33e3e44e38d.jpg","text":"TemporaryFile(/tmp/multipartBody2682504255195579434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414972526,"filename":"image_09012025_10_27_02_177378_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9679373be32731d44f1450c0765cb609.jpg","text":"TemporaryFile(/tmp/multipartBody8962654275420957018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414972526,"filename":"image_09012025_10_28_02_330789_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eb9193e7744ee691a10b12dc18f89089.jpg","text":"TemporaryFile(/tmp/multipartBody8453060616221027226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736414972526,"filename":"image_09012025_10_28_02_330789_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327644461","file1":"1327644458","file0":"1327644455","file3":"1327644465"},"map_files_photo_id_array":[{"photo_id":"1327644461","filename":"file2"},{"photo_id":"1327644458","filename":"file1"},{"photo_id":"1327644455","filename":"file0"},{"photo_id":"1327644465","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327644461":["hashtag1","hashtag2"]},{"1327644455":["hashtag1","hashtag2"]},{"1327644458":["hashtag1","hashtag2"]},{"1327644465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327644461, 1327644455, 1327644458, 1327644465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.703389167785645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:29:03.056013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:29:22.497560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/28/image_09012025_10_28_02_330789_0003.jpg', '/home/pi/Desktop/images/09012025/10/29/image_09012025_10_29_02_716278_0000.jpg', '/home/pi/Desktop/images/09012025/10/29/image_09012025_10_29_02_716278_0001.jpg', '/home/pi/Desktop/images/09012025/10/29/image_09012025_10_29_02_716278_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/28/image_09012025_10_28_02_330789_0003.jpg
/home/pi/Desktop/images/09012025/10/29/image_09012025_10_29_02_716278_0000.jpg
/home/pi/Desktop/images/09012025/10/29/image_09012025_10_29_02_716278_0001.jpg
/home/pi/Desktop/images/09012025/10/29/image_09012025_10_29_02_716278_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327644496","1327644493","1327644489","1327644561"],"photo_ids_order":["1327644489","1327644493","1327644496","1327644561"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ac325e4089d4bca58bbf36bb80bc3db7.jpg","text":"TemporaryFile(/tmp/multipartBody5201376052439909907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415032730,"filename":"image_09012025_10_29_02_716278_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d1269b781781a7b2ce22ac19b126bc5d.jpg","text":"TemporaryFile(/tmp/multipartBody914951879099274646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415032730,"filename":"image_09012025_10_29_02_716278_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fc6562613dbcd7aa081fab2fcdce0779.jpg","text":"TemporaryFile(/tmp/multipartBody5901199378819402171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415032730,"filename":"image_09012025_10_28_02_330789_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/db2631792fef6b70ac68813c17a95241.jpg","text":"TemporaryFile(/tmp/multipartBody7717995508549506034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415032730,"filename":"image_09012025_10_29_02_716278_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327644496","file1":"1327644493","file0":"1327644489","file3":"1327644561"},"map_files_photo_id_array":[{"photo_id":"1327644496","filename":"file2"},{"photo_id":"1327644493","filename":"file1"},{"photo_id":"1327644489","filename":"file0"},{"photo_id":"1327644561","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327644496":["hashtag1","hashtag2"]},{"1327644493":["hashtag1","hashtag2"]},{"1327644489":["hashtag1","hashtag2"]},{"1327644561":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327644496, 1327644493, 1327644489, 1327644561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.31444597244263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:30:02.958291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:30:22.633451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/29/image_09012025_10_29_02_716278_0003.jpg', '/home/pi/Desktop/images/09012025/10/30/image_09012025_10_30_02_936729_0000.jpg', '/home/pi/Desktop/images/09012025/10/30/image_09012025_10_30_02_936729_0001.jpg', '/home/pi/Desktop/images/09012025/10/30/image_09012025_10_30_02_936729_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/29/image_09012025_10_29_02_716278_0003.jpg
/home/pi/Desktop/images/09012025/10/30/image_09012025_10_30_02_936729_0000.jpg
/home/pi/Desktop/images/09012025/10/30/image_09012025_10_30_02_936729_0001.jpg
/home/pi/Desktop/images/09012025/10/30/image_09012025_10_30_02_936729_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327645198","1327645255","1327645243","1327645265"],"photo_ids_order":["1327645198","1327645243","1327645255","1327645265"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/86cc6c8c66b0406ce00786301084d6db.jpg","text":"TemporaryFile(/tmp/multipartBody4200771422380065603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415092769,"filename":"image_09012025_10_29_02_716278_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/16be0ff079a78bfa00e3a4b12b5b8cd8.jpg","text":"TemporaryFile(/tmp/multipartBody435828860054340823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415092769,"filename":"image_09012025_10_30_02_936729_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f6495420ae873400ddd7ffa4f787487c.jpg","text":"TemporaryFile(/tmp/multipartBody167784717921728089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415092769,"filename":"image_09012025_10_30_02_936729_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0f4ce65030f5f2b9394c9fd47e494bcc.jpg","text":"TemporaryFile(/tmp/multipartBody283804148028768860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415092769,"filename":"image_09012025_10_30_02_936729_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327645255","file1":"1327645243","file0":"1327645198","file3":"1327645265"},"map_files_photo_id_array":[{"photo_id":"1327645255","filename":"file2"},{"photo_id":"1327645243","filename":"file1"},{"photo_id":"1327645198","filename":"file0"},{"photo_id":"1327645265","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327645198":["hashtag1","hashtag2"]},{"1327645255":["hashtag1","hashtag2"]},{"1327645243":["hashtag1","hashtag2"]},{"1327645265":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327645198, 1327645255, 1327645243, 1327645265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.216525077819824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:31:03.319980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:31:22.717444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/30/image_09012025_10_30_02_936729_0003.jpg', '/home/pi/Desktop/images/09012025/10/31/image_09012025_10_31_02_920793_0000.jpg', '/home/pi/Desktop/images/09012025/10/31/image_09012025_10_31_02_920793_0001.jpg', '/home/pi/Desktop/images/09012025/10/31/image_09012025_10_31_02_920793_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/30/image_09012025_10_30_02_936729_0003.jpg
/home/pi/Desktop/images/09012025/10/31/image_09012025_10_31_02_920793_0000.jpg
/home/pi/Desktop/images/09012025/10/31/image_09012025_10_31_02_920793_0001.jpg
/home/pi/Desktop/images/09012025/10/31/image_09012025_10_31_02_920793_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327645309","1327645300","1327645305","1327645295"],"photo_ids_order":["1327645295","1327645300","1327645305","1327645309"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/27233b1231e1c81e492bee8c509f3f89.jpg","text":"TemporaryFile(/tmp/multipartBody9135490531949552419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415152937,"filename":"image_09012025_10_31_02_920793_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/25ef857f6c70684f0d1da86f0f168d1b.jpg","text":"TemporaryFile(/tmp/multipartBody9009647298574429941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415152937,"filename":"image_09012025_10_31_02_920793_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9655d2ec5488024bda9da4e3540aeb9b.jpg","text":"TemporaryFile(/tmp/multipartBody4312120726252096270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415152937,"filename":"image_09012025_10_31_02_920793_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6ee84a7c5df85a2af6f3d8f651b544d8.jpg","text":"TemporaryFile(/tmp/multipartBody3600500515499777866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415152937,"filename":"image_09012025_10_30_02_936729_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327645305","file1":"1327645300","file0":"1327645295","file3":"1327645309"},"map_files_photo_id_array":[{"photo_id":"1327645305","filename":"file2"},{"photo_id":"1327645300","filename":"file1"},{"photo_id":"1327645295","filename":"file0"},{"photo_id":"1327645309","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327645309":["hashtag1","hashtag2"]},{"1327645300":["hashtag1","hashtag2"]},{"1327645305":["hashtag1","hashtag2"]},{"1327645295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327645309, 1327645300, 1327645305, 1327645295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.440969944000244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:32:21.926037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/31/image_09012025_10_31_02_920793_0003.jpg', '/home/pi/Desktop/images/09012025/10/32/image_09012025_10_32_03_167628_0000.jpg', '/home/pi/Desktop/images/09012025/10/32/image_09012025_10_32_03_167628_0001.jpg', '/home/pi/Desktop/images/09012025/10/32/image_09012025_10_32_03_167628_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/31/image_09012025_10_31_02_920793_0003.jpg
/home/pi/Desktop/images/09012025/10/32/image_09012025_10_32_03_167628_0000.jpg
/home/pi/Desktop/images/09012025/10/32/image_09012025_10_32_03_167628_0001.jpg
/home/pi/Desktop/images/09012025/10/32/image_09012025_10_32_03_167628_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327645334","1327645322","1327645330","1327645326"],"photo_ids_order":["1327645322","1327645326","1327645330","1327645334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/04f15b1a4e209810316afddf53a96b19.jpg","text":"TemporaryFile(/tmp/multipartBody7450436847999676902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415212185,"filename":"image_09012025_10_32_03_167628_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/11b8c179b823186524423c8035e8b014.jpg","text":"TemporaryFile(/tmp/multipartBody8753588534320024276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415212185,"filename":"image_09012025_10_31_02_920793_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3fc5838f973bf29a3ef4a75aabd1c1d7.jpg","text":"TemporaryFile(/tmp/multipartBody7167746975844619272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415212185,"filename":"image_09012025_10_32_03_167628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ca518ec2df010ec43b8c0cb2c72ec030.jpg","text":"TemporaryFile(/tmp/multipartBody4854461284603723906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415212185,"filename":"image_09012025_10_32_03_167628_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327645330","file1":"1327645326","file0":"1327645322","file3":"1327645334"},"map_files_photo_id_array":[{"photo_id":"1327645330","filename":"file2"},{"photo_id":"1327645326","filename":"file1"},{"photo_id":"1327645322","filename":"file0"},{"photo_id":"1327645334","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327645334":["hashtag1","hashtag2"]},{"1327645322":["hashtag1","hashtag2"]},{"1327645330":["hashtag1","hashtag2"]},{"1327645326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327645334, 1327645322, 1327645330, 1327645326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.60025668144226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:33:02.666132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:33:22.171480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/32/image_09012025_10_32_03_167628_0003.jpg', '/home/pi/Desktop/images/09012025/10/33/image_09012025_10_33_02_295421_0000.jpg', '/home/pi/Desktop/images/09012025/10/33/image_09012025_10_33_02_295421_0001.jpg', '/home/pi/Desktop/images/09012025/10/33/image_09012025_10_33_02_295421_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/32/image_09012025_10_32_03_167628_0003.jpg
/home/pi/Desktop/images/09012025/10/33/image_09012025_10_33_02_295421_0000.jpg
/home/pi/Desktop/images/09012025/10/33/image_09012025_10_33_02_295421_0001.jpg
/home/pi/Desktop/images/09012025/10/33/image_09012025_10_33_02_295421_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327645405","1327645408","1327645683","1327645401"],"photo_ids_order":["1327645401","1327645405","1327645408","1327645683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b62b63a6c525c27ec2b33c04dbd1e0ad.jpg","text":"TemporaryFile(/tmp/multipartBody4186340189927387052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415272513,"filename":"image_09012025_10_33_02_295421_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8a5a907bf5cadbc8861b043bbeb097c1.jpg","text":"TemporaryFile(/tmp/multipartBody1609481302608896754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415272513,"filename":"image_09012025_10_33_02_295421_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1fe9fa1bb5adcc94e4e72e9d34aa62b0.jpg","text":"TemporaryFile(/tmp/multipartBody1878233033730847737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415272513,"filename":"image_09012025_10_33_02_295421_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3f6470b8ddbe4a7fc5537f6b9394a5ab.jpg","text":"TemporaryFile(/tmp/multipartBody7887529834321975721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415272513,"filename":"image_09012025_10_32_03_167628_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327645408","file1":"1327645405","file0":"1327645401","file3":"1327645683"},"map_files_photo_id_array":[{"photo_id":"1327645408","filename":"file2"},{"photo_id":"1327645405","filename":"file1"},{"photo_id":"1327645401","filename":"file0"},{"photo_id":"1327645683","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327645405":["hashtag1","hashtag2"]},{"1327645408":["hashtag1","hashtag2"]},{"1327645683":["hashtag1","hashtag2"]},{"1327645401":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327645405, 1327645408, 1327645683, 1327645401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.29513669013977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:34:22.286598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/33/image_09012025_10_33_02_295421_0003.jpg', '/home/pi/Desktop/images/09012025/10/34/image_09012025_10_34_02_490905_0000.jpg', '/home/pi/Desktop/images/09012025/10/34/image_09012025_10_34_02_490905_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/33/image_09012025_10_33_02_295421_0003.jpg
/home/pi/Desktop/images/09012025/10/34/image_09012025_10_34_02_490905_0000.jpg
/home/pi/Desktop/images/09012025/10/34/image_09012025_10_34_02_490905_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327646143","1327646151","1327646147"],"photo_ids_order":["1327646143","1327646147","1327646151"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ddb4b2a2335f603e02613d71b966f6a6.jpg","text":"TemporaryFile(/tmp/multipartBody5270516348535010474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415330224,"filename":"image_09012025_10_33_02_295421_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9b5c4ed5e54d62ae42f68b0b7e270b08.jpg","text":"TemporaryFile(/tmp/multipartBody1704736846168738737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415330224,"filename":"image_09012025_10_34_02_490905_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/338000cfb575cb58a79be6ed23b49060.jpg","text":"TemporaryFile(/tmp/multipartBody2771688695373070926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415330224,"filename":"image_09012025_10_34_02_490905_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327646151","file1":"1327646147","file0":"1327646143"},"map_files_photo_id_array":[{"photo_id":"1327646151","filename":"file2"},{"photo_id":"1327646147","filename":"file1"},{"photo_id":"1327646143","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327646143":["hashtag1","hashtag2"]},{"1327646151":["hashtag1","hashtag2"]},{"1327646147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327646143, 1327646151, 1327646147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.341156721115112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:35:02.934038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:35:22.478732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/34/image_09012025_10_34_02_490905_0003.jpg', '/home/pi/Desktop/images/09012025/10/35/image_09012025_10_35_02_652497_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/34/image_09012025_10_34_02_490905_0003.jpg
/home/pi/Desktop/images/09012025/10/35/image_09012025_10_35_02_652497_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327646482","1327646484"],"photo_ids_order":["1327646482","1327646484"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9bde6d004245f002454b98674a4e5050.jpg","text":"TemporaryFile(/tmp/multipartBody7320302962717173034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415387924,"filename":"image_09012025_10_34_02_490905_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b8baae402a28f60271fbce49cfbc73ca.jpg","text":"TemporaryFile(/tmp/multipartBody9020317376240423507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415387924,"filename":"image_09012025_10_35_02_652497_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327646484","file0":"1327646482"},"map_files_photo_id_array":[{"photo_id":"1327646484","filename":"file1"},{"photo_id":"1327646482","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327646482":["hashtag1","hashtag2"]},{"1327646484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327646482, 1327646484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.527353286743164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 10:35:52.396142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:36:03.117570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:36:22.627958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/35/image_09012025_10_35_02_652497_0003.jpg', '/home/pi/Desktop/images/09012025/10/36/image_09012025_10_36_02_814900_0000.jpg', '/home/pi/Desktop/images/09012025/10/36/image_09012025_10_36_02_814900_0001.jpg', '/home/pi/Desktop/images/09012025/10/36/image_09012025_10_36_02_814900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/35/image_09012025_10_35_02_652497_0003.jpg
/home/pi/Desktop/images/09012025/10/36/image_09012025_10_36_02_814900_0000.jpg
/home/pi/Desktop/images/09012025/10/36/image_09012025_10_36_02_814900_0001.jpg
/home/pi/Desktop/images/09012025/10/36/image_09012025_10_36_02_814900_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327646566","1327646554","1327646557","1327646562"],"photo_ids_order":["1327646554","1327646557","1327646562","1327646566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f602ed20a4ea0657638b12944e102e36.jpg","text":"TemporaryFile(/tmp/multipartBody4762335491914487602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415453027,"filename":"image_09012025_10_36_02_814900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/17bf19131b7541b24a6670f840d1c75b.jpg","text":"TemporaryFile(/tmp/multipartBody5515285154236501281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415453027,"filename":"image_09012025_10_35_02_652497_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8dbeee3570dfe28ca4bc657fcea1fa80.jpg","text":"TemporaryFile(/tmp/multipartBody5579370363429172792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415453027,"filename":"image_09012025_10_36_02_814900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6a3ef3a2886a78d3c7d792f46d60fb89.jpg","text":"TemporaryFile(/tmp/multipartBody157451056085667293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415453027,"filename":"image_09012025_10_36_02_814900_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327646562","file1":"1327646557","file0":"1327646554","file3":"1327646566"},"map_files_photo_id_array":[{"photo_id":"1327646562","filename":"file2"},{"photo_id":"1327646557","filename":"file1"},{"photo_id":"1327646554","filename":"file0"},{"photo_id":"1327646566","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327646566":["hashtag1","hashtag2"]},{"1327646554":["hashtag1","hashtag2"]},{"1327646557":["hashtag1","hashtag2"]},{"1327646562":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327646566, 1327646554, 1327646557, 1327646562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.06259059906006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:37:21.867995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/36/image_09012025_10_36_02_814900_0003.jpg', '/home/pi/Desktop/images/09012025/10/37/image_09012025_10_37_02_946677_0000.jpg', '/home/pi/Desktop/images/09012025/10/37/image_09012025_10_37_02_946677_0001.jpg', '/home/pi/Desktop/images/09012025/10/37/image_09012025_10_37_02_946677_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/36/image_09012025_10_36_02_814900_0003.jpg
/home/pi/Desktop/images/09012025/10/37/image_09012025_10_37_02_946677_0000.jpg
/home/pi/Desktop/images/09012025/10/37/image_09012025_10_37_02_946677_0001.jpg
/home/pi/Desktop/images/09012025/10/37/image_09012025_10_37_02_946677_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327646736","1327646619","1327646712","1327646675"],"photo_ids_order":["1327646619","1327646675","1327646712","1327646736"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/543100224addb4fe318762b63ae04c20.jpg","text":"TemporaryFile(/tmp/multipartBody4337972951788535193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415512300,"filename":"image_09012025_10_37_02_946677_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a88d886ce13e2b7909b36b07eee4e585.jpg","text":"TemporaryFile(/tmp/multipartBody7683691217226378774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415512300,"filename":"image_09012025_10_36_02_814900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5c6dee143146c4e711171945b10faec5.jpg","text":"TemporaryFile(/tmp/multipartBody5496568494866014377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415512300,"filename":"image_09012025_10_37_02_946677_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e24036b5775a477bf5ba74e55965c2b.jpg","text":"TemporaryFile(/tmp/multipartBody3102379402133637002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415512300,"filename":"image_09012025_10_37_02_946677_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327646712","file1":"1327646675","file0":"1327646619","file3":"1327646736"},"map_files_photo_id_array":[{"photo_id":"1327646712","filename":"file2"},{"photo_id":"1327646675","filename":"file1"},{"photo_id":"1327646619","filename":"file0"},{"photo_id":"1327646736","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327646736":["hashtag1","hashtag2"]},{"1327646619":["hashtag1","hashtag2"]},{"1327646712":["hashtag1","hashtag2"]},{"1327646675":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327646736, 1327646619, 1327646712, 1327646675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.945470571517944 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:38:02.620832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:38:22.059276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/37/image_09012025_10_37_02_946677_0003.jpg', '/home/pi/Desktop/images/09012025/10/38/image_09012025_10_38_02_279304_0000.jpg', '/home/pi/Desktop/images/09012025/10/38/image_09012025_10_38_02_279304_0001.jpg', '/home/pi/Desktop/images/09012025/10/38/image_09012025_10_38_02_279304_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/37/image_09012025_10_37_02_946677_0003.jpg
/home/pi/Desktop/images/09012025/10/38/image_09012025_10_38_02_279304_0000.jpg
/home/pi/Desktop/images/09012025/10/38/image_09012025_10_38_02_279304_0001.jpg
/home/pi/Desktop/images/09012025/10/38/image_09012025_10_38_02_279304_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327646878","1327646914","1327646901","1327646893"],"photo_ids_order":["1327646878","1327646893","1327646901","1327646914"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8760e153322b62cd727b127aa3a22905.jpg","text":"TemporaryFile(/tmp/multipartBody4491777337355463966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415572386,"filename":"image_09012025_10_37_02_946677_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/134d348060617f18eaedfdde7d5fe64b.jpg","text":"TemporaryFile(/tmp/multipartBody3339352964892085875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415572386,"filename":"image_09012025_10_38_02_279304_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/725f9328167eea7c712502de2bd8153b.jpg","text":"TemporaryFile(/tmp/multipartBody2219041466619238713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415572386,"filename":"image_09012025_10_38_02_279304_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c8be6da3000e14c9013d7561b08069ef.jpg","text":"TemporaryFile(/tmp/multipartBody5237567664553505992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415572386,"filename":"image_09012025_10_38_02_279304_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327646901","file1":"1327646893","file0":"1327646878","file3":"1327646914"},"map_files_photo_id_array":[{"photo_id":"1327646901","filename":"file2"},{"photo_id":"1327646893","filename":"file1"},{"photo_id":"1327646878","filename":"file0"},{"photo_id":"1327646914","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327646878":["hashtag1","hashtag2"]},{"1327646914":["hashtag1","hashtag2"]},{"1327646901":["hashtag1","hashtag2"]},{"1327646893":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327646878, 1327646914, 1327646901, 1327646893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.847283601760864 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:39:02.910975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:39:22.416810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/38/image_09012025_10_38_02_279304_0003.jpg', '/home/pi/Desktop/images/09012025/10/39/image_09012025_10_39_02_491397_0000.jpg', '/home/pi/Desktop/images/09012025/10/39/image_09012025_10_39_02_491397_0001.jpg', '/home/pi/Desktop/images/09012025/10/39/image_09012025_10_39_02_491397_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/38/image_09012025_10_38_02_279304_0003.jpg
/home/pi/Desktop/images/09012025/10/39/image_09012025_10_39_02_491397_0000.jpg
/home/pi/Desktop/images/09012025/10/39/image_09012025_10_39_02_491397_0001.jpg
/home/pi/Desktop/images/09012025/10/39/image_09012025_10_39_02_491397_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327646938","1327646934","1327646931","1327646927"],"photo_ids_order":["1327646927","1327646931","1327646934","1327646938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2e85f2b8d394f00475b6590019f07c4b.jpg","text":"TemporaryFile(/tmp/multipartBody7585417032366647333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415632666,"filename":"image_09012025_10_39_02_491397_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0e7e44a3e1925788b424501aa62ecd78.jpg","text":"TemporaryFile(/tmp/multipartBody9144605945117348453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415632666,"filename":"image_09012025_10_39_02_491397_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/72a215d887d15561c95dae747db00f1d.jpg","text":"TemporaryFile(/tmp/multipartBody850627609635084517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415632666,"filename":"image_09012025_10_39_02_491397_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/530745fa751bf53eb6cccca1f191e4db.jpg","text":"TemporaryFile(/tmp/multipartBody2575282358527268740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415632666,"filename":"image_09012025_10_38_02_279304_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327646934","file1":"1327646931","file0":"1327646927","file3":"1327646938"},"map_files_photo_id_array":[{"photo_id":"1327646934","filename":"file2"},{"photo_id":"1327646931","filename":"file1"},{"photo_id":"1327646927","filename":"file0"},{"photo_id":"1327646938","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327646938":["hashtag1","hashtag2"]},{"1327646934":["hashtag1","hashtag2"]},{"1327646931":["hashtag1","hashtag2"]},{"1327646927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327646938, 1327646934, 1327646931, 1327646927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.80482769012451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:40:22.479407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/39/image_09012025_10_39_02_491397_0003.jpg', '/home/pi/Desktop/images/09012025/10/40/image_09012025_10_40_02_635195_0000.jpg', '/home/pi/Desktop/images/09012025/10/40/image_09012025_10_40_02_635195_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/39/image_09012025_10_39_02_491397_0003.jpg
/home/pi/Desktop/images/09012025/10/40/image_09012025_10_40_02_635195_0000.jpg
/home/pi/Desktop/images/09012025/10/40/image_09012025_10_40_02_635195_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327646953","1327646957","1327646948"],"photo_ids_order":["1327646948","1327646953","1327646957"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c7ab0395034d6630b572f667fecea9bf.jpg","text":"TemporaryFile(/tmp/multipartBody8546442178034540489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415690473,"filename":"image_09012025_10_40_02_635195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5a9611a1063df09a4baf674ded7f9c20.jpg","text":"TemporaryFile(/tmp/multipartBody5527190392410781626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415690473,"filename":"image_09012025_10_40_02_635195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8d2f1636bffcbc3f676b9232b9f3c4b1.jpg","text":"TemporaryFile(/tmp/multipartBody379830896554553394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415690473,"filename":"image_09012025_10_39_02_491397_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327646957","file1":"1327646953","file0":"1327646948"},"map_files_photo_id_array":[{"photo_id":"1327646957","filename":"file2"},{"photo_id":"1327646953","filename":"file1"},{"photo_id":"1327646948","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327646953":["hashtag1","hashtag2"]},{"1327646957":["hashtag1","hashtag2"]},{"1327646948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327646953, 1327646957, 1327646948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.242448568344116 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:41:03.238264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:41:22.702360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/40/image_09012025_10_40_02_635195_0002.jpg', '/home/pi/Desktop/images/09012025/10/41/image_09012025_10_41_02_837987_0000.jpg', '/home/pi/Desktop/images/09012025/10/41/image_09012025_10_41_02_837987_0001.jpg', '/home/pi/Desktop/images/09012025/10/41/image_09012025_10_41_02_837987_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/40/image_09012025_10_40_02_635195_0002.jpg
/home/pi/Desktop/images/09012025/10/41/image_09012025_10_41_02_837987_0000.jpg
/home/pi/Desktop/images/09012025/10/41/image_09012025_10_41_02_837987_0001.jpg
/home/pi/Desktop/images/09012025/10/41/image_09012025_10_41_02_837987_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327647150","1327647156","1327647129","1327647160"],"photo_ids_order":["1327647129","1327647150","1327647156","1327647160"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c15294d60df3bf4c1c236c46bab756e8.jpg","text":"TemporaryFile(/tmp/multipartBody3082944439744197225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415753080,"filename":"image_09012025_10_41_02_837987_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7c0744a7b0893a30485cf9cd9b5f99c1.jpg","text":"TemporaryFile(/tmp/multipartBody5587516709017562393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415753080,"filename":"image_09012025_10_41_02_837987_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b5f2b3fe1f32db3b835366b090434afd.jpg","text":"TemporaryFile(/tmp/multipartBody1721340654298877032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415753080,"filename":"image_09012025_10_40_02_635195_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/88210d1bafe283ec022fdb436c1432c7.jpg","text":"TemporaryFile(/tmp/multipartBody2265550619679061420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415753080,"filename":"image_09012025_10_41_02_837987_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327647156","file1":"1327647150","file0":"1327647129","file3":"1327647160"},"map_files_photo_id_array":[{"photo_id":"1327647156","filename":"file2"},{"photo_id":"1327647150","filename":"file1"},{"photo_id":"1327647129","filename":"file0"},{"photo_id":"1327647160","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327647150":["hashtag1","hashtag2"]},{"1327647156":["hashtag1","hashtag2"]},{"1327647129":["hashtag1","hashtag2"]},{"1327647160":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327647150, 1327647156, 1327647129, 1327647160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.705235958099365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:42:21.892715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/41/image_09012025_10_41_02_837987_0003.jpg', '/home/pi/Desktop/images/09012025/10/42/image_09012025_10_42_03_010995_0000.jpg', '/home/pi/Desktop/images/09012025/10/42/image_09012025_10_42_03_010995_0001.jpg', '/home/pi/Desktop/images/09012025/10/42/image_09012025_10_42_03_010995_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/41/image_09012025_10_41_02_837987_0003.jpg
/home/pi/Desktop/images/09012025/10/42/image_09012025_10_42_03_010995_0000.jpg
/home/pi/Desktop/images/09012025/10/42/image_09012025_10_42_03_010995_0001.jpg
/home/pi/Desktop/images/09012025/10/42/image_09012025_10_42_03_010995_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327647304","1327647243","1327647293","1327647274"],"photo_ids_order":["1327647243","1327647274","1327647293","1327647304"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/33478d3f957543b99f5bbae95c3eb522.jpg","text":"TemporaryFile(/tmp/multipartBody3472482077222851787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415812185,"filename":"image_09012025_10_42_03_010995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c06fc827a26df81245952083a84e0ca4.jpg","text":"TemporaryFile(/tmp/multipartBody74471814442284548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415812185,"filename":"image_09012025_10_41_02_837987_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/97363671f67c5f6816c60176656d0dfe.jpg","text":"TemporaryFile(/tmp/multipartBody6282138372846842034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415812185,"filename":"image_09012025_10_42_03_010995_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a3cf07ddda4e425d0ab595dc2943b968.jpg","text":"TemporaryFile(/tmp/multipartBody2764962557071153245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415812185,"filename":"image_09012025_10_42_03_010995_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327647293","file1":"1327647274","file0":"1327647243","file3":"1327647304"},"map_files_photo_id_array":[{"photo_id":"1327647293","filename":"file2"},{"photo_id":"1327647274","filename":"file1"},{"photo_id":"1327647243","filename":"file0"},{"photo_id":"1327647304","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327647304":["hashtag1","hashtag2"]},{"1327647243":["hashtag1","hashtag2"]},{"1327647293":["hashtag1","hashtag2"]},{"1327647274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327647304, 1327647243, 1327647293, 1327647274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.94245004653931 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:43:22.037947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/42/image_09012025_10_42_03_010995_0003.jpg', '/home/pi/Desktop/images/09012025/10/43/image_09012025_10_43_02_197014_0000.jpg', '/home/pi/Desktop/images/09012025/10/43/image_09012025_10_43_02_197014_0001.jpg', '/home/pi/Desktop/images/09012025/10/43/image_09012025_10_43_02_197014_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/42/image_09012025_10_42_03_010995_0003.jpg
/home/pi/Desktop/images/09012025/10/43/image_09012025_10_43_02_197014_0000.jpg
/home/pi/Desktop/images/09012025/10/43/image_09012025_10_43_02_197014_0001.jpg
/home/pi/Desktop/images/09012025/10/43/image_09012025_10_43_02_197014_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327647339","1327647330","1327647324","1327647335"],"photo_ids_order":["1327647324","1327647330","1327647335","1327647339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7e5814cfa28de0f72e8d6ef9c90c95eb.jpg","text":"TemporaryFile(/tmp/multipartBody7312231941677041532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415872440,"filename":"image_09012025_10_43_02_197014_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/763bd773009a186cc5e0ecb0ae45b7b2.jpg","text":"TemporaryFile(/tmp/multipartBody880314427427747815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415872440,"filename":"image_09012025_10_43_02_197014_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/453f440c1755cf5b882e813f236e98b3.jpg","text":"TemporaryFile(/tmp/multipartBody4734909380717188584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415872440,"filename":"image_09012025_10_42_03_010995_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f5fc0e5ac85426158c6f39ea9a071a7d.jpg","text":"TemporaryFile(/tmp/multipartBody8056239256510032433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415872440,"filename":"image_09012025_10_43_02_197014_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327647335","file1":"1327647330","file0":"1327647324","file3":"1327647339"},"map_files_photo_id_array":[{"photo_id":"1327647335","filename":"file2"},{"photo_id":"1327647330","filename":"file1"},{"photo_id":"1327647324","filename":"file0"},{"photo_id":"1327647339","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327647339":["hashtag1","hashtag2"]},{"1327647330":["hashtag1","hashtag2"]},{"1327647324":["hashtag1","hashtag2"]},{"1327647335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327647339, 1327647330, 1327647324, 1327647335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.3265585899353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:44:22.142209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/43/image_09012025_10_43_02_197014_0003.jpg', '/home/pi/Desktop/images/09012025/10/44/image_09012025_10_44_02_331287_0000.jpg', '/home/pi/Desktop/images/09012025/10/44/image_09012025_10_44_02_331287_0001.jpg', '/home/pi/Desktop/images/09012025/10/44/image_09012025_10_44_02_331287_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/43/image_09012025_10_43_02_197014_0003.jpg
/home/pi/Desktop/images/09012025/10/44/image_09012025_10_44_02_331287_0000.jpg
/home/pi/Desktop/images/09012025/10/44/image_09012025_10_44_02_331287_0001.jpg
/home/pi/Desktop/images/09012025/10/44/image_09012025_10_44_02_331287_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327647360","1327647372","1327647366","1327647370"],"photo_ids_order":["1327647360","1327647366","1327647370","1327647372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2d9a0a0b4513ea48b6929fe5905f05ca.jpg","text":"TemporaryFile(/tmp/multipartBody4508813125961138130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415932395,"filename":"image_09012025_10_43_02_197014_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/31df7f78473cf93ce5743775e31c3a3c.jpg","text":"TemporaryFile(/tmp/multipartBody2265540749248768745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415932395,"filename":"image_09012025_10_44_02_331287_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/39265d85cac4a80e703fea511621526d.jpg","text":"TemporaryFile(/tmp/multipartBody6419739679077820924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415932395,"filename":"image_09012025_10_44_02_331287_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f00563e582afb86f65ce4ba366d18ab0.jpg","text":"TemporaryFile(/tmp/multipartBody3262524296854060400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415932395,"filename":"image_09012025_10_44_02_331287_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327647370","file1":"1327647366","file0":"1327647360","file3":"1327647372"},"map_files_photo_id_array":[{"photo_id":"1327647370","filename":"file2"},{"photo_id":"1327647366","filename":"file1"},{"photo_id":"1327647360","filename":"file0"},{"photo_id":"1327647372","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327647360":["hashtag1","hashtag2"]},{"1327647372":["hashtag1","hashtag2"]},{"1327647366":["hashtag1","hashtag2"]},{"1327647370":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327647360, 1327647372, 1327647366, 1327647370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.00105929374695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:45:22.365050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/44/image_09012025_10_44_02_331287_0003.jpg', '/home/pi/Desktop/images/09012025/10/45/image_09012025_10_45_02_493797_0000.jpg', '/home/pi/Desktop/images/09012025/10/45/image_09012025_10_45_02_493797_0001.jpg', '/home/pi/Desktop/images/09012025/10/45/image_09012025_10_45_02_493797_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/44/image_09012025_10_44_02_331287_0003.jpg
/home/pi/Desktop/images/09012025/10/45/image_09012025_10_45_02_493797_0000.jpg
/home/pi/Desktop/images/09012025/10/45/image_09012025_10_45_02_493797_0001.jpg
/home/pi/Desktop/images/09012025/10/45/image_09012025_10_45_02_493797_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327647442","1327647459","1327647434","1327647425"],"photo_ids_order":["1327647425","1327647434","1327647442","1327647459"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f953d9af542442c382122ed4ffb1749b.jpg","text":"TemporaryFile(/tmp/multipartBody1781095220206965506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415992565,"filename":"image_09012025_10_45_02_493797_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/99a2aff488367150c3ac823849f2d518.jpg","text":"TemporaryFile(/tmp/multipartBody657214052837289406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415992565,"filename":"image_09012025_10_45_02_493797_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/09d1c1717212aebcf809c15777d2b913.jpg","text":"TemporaryFile(/tmp/multipartBody437555668671939019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415992565,"filename":"image_09012025_10_45_02_493797_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1798f90f844be675497cc5cc166048f4.jpg","text":"TemporaryFile(/tmp/multipartBody5766541646255352036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736415992565,"filename":"image_09012025_10_44_02_331287_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327647442","file1":"1327647434","file0":"1327647425","file3":"1327647459"},"map_files_photo_id_array":[{"photo_id":"1327647442","filename":"file2"},{"photo_id":"1327647434","filename":"file1"},{"photo_id":"1327647425","filename":"file0"},{"photo_id":"1327647459","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327647442":["hashtag1","hashtag2"]},{"1327647459":["hashtag1","hashtag2"]},{"1327647434":["hashtag1","hashtag2"]},{"1327647425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327647442, 1327647459, 1327647434, 1327647425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.440988302230835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:46:02.982932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:46:22.513508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/45/image_09012025_10_45_02_493797_0003.jpg', '/home/pi/Desktop/images/09012025/10/46/image_09012025_10_46_02_774457_0000.jpg', '/home/pi/Desktop/images/09012025/10/46/image_09012025_10_46_02_774457_0001.jpg', '/home/pi/Desktop/images/09012025/10/46/image_09012025_10_46_02_774457_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/45/image_09012025_10_45_02_493797_0003.jpg
/home/pi/Desktop/images/09012025/10/46/image_09012025_10_46_02_774457_0000.jpg
/home/pi/Desktop/images/09012025/10/46/image_09012025_10_46_02_774457_0001.jpg
/home/pi/Desktop/images/09012025/10/46/image_09012025_10_46_02_774457_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327647519","1327647513","1327647516","1327647509"],"photo_ids_order":["1327647509","1327647513","1327647516","1327647519"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1d14d1b7d7e41f5263be0e5c2ee45a57.jpg","text":"TemporaryFile(/tmp/multipartBody8471427820070686234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416052776,"filename":"image_09012025_10_46_02_774457_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/437e9c0771c9f39955a64f5ffcb537e9.jpg","text":"TemporaryFile(/tmp/multipartBody3735194445246006489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416052776,"filename":"image_09012025_10_46_02_774457_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/316a6ea35c0e0a87370bd1eb7e462f10.jpg","text":"TemporaryFile(/tmp/multipartBody4119865422284097838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416052776,"filename":"image_09012025_10_46_02_774457_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0fdddb8f187a2ae7ff3912b9962911d8.jpg","text":"TemporaryFile(/tmp/multipartBody1222067263092825979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416052776,"filename":"image_09012025_10_45_02_493797_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327647516","file1":"1327647513","file0":"1327647509","file3":"1327647519"},"map_files_photo_id_array":[{"photo_id":"1327647516","filename":"file2"},{"photo_id":"1327647513","filename":"file1"},{"photo_id":"1327647509","filename":"file0"},{"photo_id":"1327647519","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327647519":["hashtag1","hashtag2"]},{"1327647513":["hashtag1","hashtag2"]},{"1327647516":["hashtag1","hashtag2"]},{"1327647509":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327647519, 1327647513, 1327647516, 1327647509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0904483795166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:47:03.430882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:47:22.853162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/46/image_09012025_10_46_02_774457_0003.jpg', '/home/pi/Desktop/images/09012025/10/47/image_09012025_10_47_02_841559_0000.jpg', '/home/pi/Desktop/images/09012025/10/47/image_09012025_10_47_02_841559_0001.jpg', '/home/pi/Desktop/images/09012025/10/47/image_09012025_10_47_02_841559_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/46/image_09012025_10_46_02_774457_0003.jpg
/home/pi/Desktop/images/09012025/10/47/image_09012025_10_47_02_841559_0000.jpg
/home/pi/Desktop/images/09012025/10/47/image_09012025_10_47_02_841559_0001.jpg
/home/pi/Desktop/images/09012025/10/47/image_09012025_10_47_02_841559_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327648236","1327648215","1327648225","1327648234"],"photo_ids_order":["1327648215","1327648225","1327648234","1327648236"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/14ab5dfbe7704b0d967eaf8403ae0100.jpg","text":"TemporaryFile(/tmp/multipartBody8803247413439909217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416113068,"filename":"image_09012025_10_47_02_841559_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/30e3321c028e452332342badae23e1ce.jpg","text":"TemporaryFile(/tmp/multipartBody1326956455565241897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416113068,"filename":"image_09012025_10_46_02_774457_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b64b6a53ffe8181a9486179fab2384ce.jpg","text":"TemporaryFile(/tmp/multipartBody3673161375252483167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416113068,"filename":"image_09012025_10_47_02_841559_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1af9984ef8b7c9a43763d7dad9f00da8.jpg","text":"TemporaryFile(/tmp/multipartBody6585808798868822992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416113068,"filename":"image_09012025_10_47_02_841559_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327648234","file1":"1327648225","file0":"1327648215","file3":"1327648236"},"map_files_photo_id_array":[{"photo_id":"1327648234","filename":"file2"},{"photo_id":"1327648225","filename":"file1"},{"photo_id":"1327648215","filename":"file0"},{"photo_id":"1327648236","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327648236":["hashtag1","hashtag2"]},{"1327648215":["hashtag1","hashtag2"]},{"1327648225":["hashtag1","hashtag2"]},{"1327648234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327648236, 1327648215, 1327648225, 1327648234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.60245633125305 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:48:21.864161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/47/image_09012025_10_47_02_841559_0003.jpg', '/home/pi/Desktop/images/09012025/10/48/image_09012025_10_48_03_156293_0000.jpg', '/home/pi/Desktop/images/09012025/10/48/image_09012025_10_48_03_156293_0001.jpg', '/home/pi/Desktop/images/09012025/10/48/image_09012025_10_48_03_156293_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/47/image_09012025_10_47_02_841559_0003.jpg
/home/pi/Desktop/images/09012025/10/48/image_09012025_10_48_03_156293_0000.jpg
/home/pi/Desktop/images/09012025/10/48/image_09012025_10_48_03_156293_0001.jpg
/home/pi/Desktop/images/09012025/10/48/image_09012025_10_48_03_156293_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327648318","1327648356","1327648346","1327648339"],"photo_ids_order":["1327648318","1327648339","1327648346","1327648356"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4a7c24cb6f7e133323971fc3c537501a.jpg","text":"TemporaryFile(/tmp/multipartBody4183456934200486856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416172348,"filename":"image_09012025_10_47_02_841559_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2b6adabba3ba316d526a9e9a78935605.jpg","text":"TemporaryFile(/tmp/multipartBody294320364907835106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416172348,"filename":"image_09012025_10_48_03_156293_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/97713931b9f2ac5ad23dec5fcea62eb2.jpg","text":"TemporaryFile(/tmp/multipartBody6780105310750985009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416172348,"filename":"image_09012025_10_48_03_156293_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/02775fefbeb3fe68a54b12430f84a828.jpg","text":"TemporaryFile(/tmp/multipartBody1465302371079365277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416172348,"filename":"image_09012025_10_48_03_156293_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327648346","file1":"1327648339","file0":"1327648318","file3":"1327648356"},"map_files_photo_id_array":[{"photo_id":"1327648346","filename":"file2"},{"photo_id":"1327648339","filename":"file1"},{"photo_id":"1327648318","filename":"file0"},{"photo_id":"1327648356","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327648318":["hashtag1","hashtag2"]},{"1327648356":["hashtag1","hashtag2"]},{"1327648346":["hashtag1","hashtag2"]},{"1327648339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327648318, 1327648356, 1327648346, 1327648339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.8323700428009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:49:02.612969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:49:22.128657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/48/image_09012025_10_48_03_156293_0003.jpg', '/home/pi/Desktop/images/09012025/10/49/image_09012025_10_49_02_289897_0000.jpg', '/home/pi/Desktop/images/09012025/10/49/image_09012025_10_49_02_289897_0001.jpg', '/home/pi/Desktop/images/09012025/10/49/image_09012025_10_49_02_289897_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/48/image_09012025_10_48_03_156293_0003.jpg
/home/pi/Desktop/images/09012025/10/49/image_09012025_10_49_02_289897_0000.jpg
/home/pi/Desktop/images/09012025/10/49/image_09012025_10_49_02_289897_0001.jpg
/home/pi/Desktop/images/09012025/10/49/image_09012025_10_49_02_289897_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327648371","1327648373","1327648375","1327648369"],"photo_ids_order":["1327648369","1327648371","1327648373","1327648375"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7ea3a9c8771c0d8f9d988784b6800959.jpg","text":"TemporaryFile(/tmp/multipartBody2308004391640992508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416232397,"filename":"image_09012025_10_49_02_289897_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b733341969ad421a12a632afea7498e0.jpg","text":"TemporaryFile(/tmp/multipartBody7375433231045992686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416232397,"filename":"image_09012025_10_49_02_289897_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1228b33eabf64eda7103c5d9d1354cb7.jpg","text":"TemporaryFile(/tmp/multipartBody2591566831008368458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416232397,"filename":"image_09012025_10_49_02_289897_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/60a2328f7a553a070ecea9bc454aa60f.jpg","text":"TemporaryFile(/tmp/multipartBody6187161565444840685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416232397,"filename":"image_09012025_10_48_03_156293_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327648373","file1":"1327648371","file0":"1327648369","file3":"1327648375"},"map_files_photo_id_array":[{"photo_id":"1327648373","filename":"file2"},{"photo_id":"1327648371","filename":"file1"},{"photo_id":"1327648369","filename":"file0"},{"photo_id":"1327648375","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327648371":["hashtag1","hashtag2"]},{"1327648373":["hashtag1","hashtag2"]},{"1327648375":["hashtag1","hashtag2"]},{"1327648369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327648371, 1327648373, 1327648375, 1327648369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.94582462310791 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:50:02.528387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:50:22.144063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/49/image_09012025_10_49_02_289897_0003.jpg', '/home/pi/Desktop/images/09012025/10/50/image_09012025_10_50_02_359869_0001.jpg', '/home/pi/Desktop/images/09012025/10/50/image_09012025_10_50_02_359869_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/49/image_09012025_10_49_02_289897_0003.jpg
/home/pi/Desktop/images/09012025/10/50/image_09012025_10_50_02_359869_0001.jpg
/home/pi/Desktop/images/09012025/10/50/image_09012025_10_50_02_359869_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327648694","1327648697","1327648689"],"photo_ids_order":["1327648689","1327648694","1327648697"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f86876519a6b3cf37853a808321d187c.jpg","text":"TemporaryFile(/tmp/multipartBody5057779515470245830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416290190,"filename":"image_09012025_10_50_02_359869_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/98092fd1f87d56ef6aa55631c639f023.jpg","text":"TemporaryFile(/tmp/multipartBody5783819187760864755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416290190,"filename":"image_09012025_10_50_02_359869_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/846c77295c2943d4bd9d5bcaaedcf53d.jpg","text":"TemporaryFile(/tmp/multipartBody5934338394946327241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416290190,"filename":"image_09012025_10_49_02_289897_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327648697","file1":"1327648694","file0":"1327648689"},"map_files_photo_id_array":[{"photo_id":"1327648697","filename":"file2"},{"photo_id":"1327648694","filename":"file1"},{"photo_id":"1327648689","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327648694":["hashtag1","hashtag2"]},{"1327648697":["hashtag1","hashtag2"]},{"1327648689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327648694, 1327648697, 1327648689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.476898431777954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:51:02.997148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:51:22.423085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/50/image_09012025_10_50_02_359869_0003.jpg', '/home/pi/Desktop/images/09012025/10/51/image_09012025_10_51_02_457812_0000.jpg', '/home/pi/Desktop/images/09012025/10/51/image_09012025_10_51_02_457812_0001.jpg', '/home/pi/Desktop/images/09012025/10/51/image_09012025_10_51_02_457812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/50/image_09012025_10_50_02_359869_0003.jpg
/home/pi/Desktop/images/09012025/10/51/image_09012025_10_51_02_457812_0000.jpg
/home/pi/Desktop/images/09012025/10/51/image_09012025_10_51_02_457812_0001.jpg
/home/pi/Desktop/images/09012025/10/51/image_09012025_10_51_02_457812_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327648791","1327648785","1327648798","1327648794"],"photo_ids_order":["1327648785","1327648791","1327648794","1327648798"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8f5727f9155254e42c429c8572dc5287.jpg","text":"TemporaryFile(/tmp/multipartBody7046955661265401019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416352843,"filename":"image_09012025_10_51_02_457812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8fd0f8e5a546560aa59f71ea7893853d.jpg","text":"TemporaryFile(/tmp/multipartBody7901993265118804025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416352843,"filename":"image_09012025_10_50_02_359869_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/448b2ad99d9e630ce0b33181a2594a0f.jpg","text":"TemporaryFile(/tmp/multipartBody6059464509006701271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416352843,"filename":"image_09012025_10_51_02_457812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1d86ac817a37e0e48440d6164cf12702.jpg","text":"TemporaryFile(/tmp/multipartBody4740566255337229070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416352843,"filename":"image_09012025_10_51_02_457812_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327648794","file1":"1327648791","file0":"1327648785","file3":"1327648798"},"map_files_photo_id_array":[{"photo_id":"1327648794","filename":"file2"},{"photo_id":"1327648791","filename":"file1"},{"photo_id":"1327648785","filename":"file0"},{"photo_id":"1327648798","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327648791":["hashtag1","hashtag2"]},{"1327648785":["hashtag1","hashtag2"]},{"1327648798":["hashtag1","hashtag2"]},{"1327648794":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327648791, 1327648785, 1327648798, 1327648794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.39054012298584 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:52:22.532427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/51/image_09012025_10_51_02_457812_0003.jpg', '/home/pi/Desktop/images/09012025/10/52/image_09012025_10_52_02_784622_0000.jpg', '/home/pi/Desktop/images/09012025/10/52/image_09012025_10_52_02_784622_0001.jpg', '/home/pi/Desktop/images/09012025/10/52/image_09012025_10_52_02_784622_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/51/image_09012025_10_51_02_457812_0003.jpg
/home/pi/Desktop/images/09012025/10/52/image_09012025_10_52_02_784622_0000.jpg
/home/pi/Desktop/images/09012025/10/52/image_09012025_10_52_02_784622_0001.jpg
/home/pi/Desktop/images/09012025/10/52/image_09012025_10_52_02_784622_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327649628","1327649621","1327649630","1327649624"],"photo_ids_order":["1327649621","1327649624","1327649628","1327649630"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8be97ae31a741769168746990aa7366c.jpg","text":"TemporaryFile(/tmp/multipartBody2347843722380667899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416412779,"filename":"image_09012025_10_52_02_784622_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6f1af97d131c8fc2fa23e26d6a341d09.jpg","text":"TemporaryFile(/tmp/multipartBody8689912780259881773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416412779,"filename":"image_09012025_10_51_02_457812_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b02b80270578f259eb64ce57adb3ca42.jpg","text":"TemporaryFile(/tmp/multipartBody5219380068518278354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416412779,"filename":"image_09012025_10_52_02_784622_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cda80d69077c27384ffeac6251416365.jpg","text":"TemporaryFile(/tmp/multipartBody583699740645096852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416412779,"filename":"image_09012025_10_52_02_784622_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327649628","file1":"1327649624","file0":"1327649621","file3":"1327649630"},"map_files_photo_id_array":[{"photo_id":"1327649628","filename":"file2"},{"photo_id":"1327649624","filename":"file1"},{"photo_id":"1327649621","filename":"file0"},{"photo_id":"1327649630","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327649628":["hashtag1","hashtag2"]},{"1327649621":["hashtag1","hashtag2"]},{"1327649630":["hashtag1","hashtag2"]},{"1327649624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327649628, 1327649621, 1327649630, 1327649624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.54041314125061 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:53:03.360162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:53:22.697580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/52/image_09012025_10_52_02_784622_0003.jpg', '/home/pi/Desktop/images/09012025/10/53/image_09012025_10_53_02_916360_0000.jpg', '/home/pi/Desktop/images/09012025/10/53/image_09012025_10_53_02_916360_0001.jpg', '/home/pi/Desktop/images/09012025/10/53/image_09012025_10_53_02_916360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/52/image_09012025_10_52_02_784622_0003.jpg
/home/pi/Desktop/images/09012025/10/53/image_09012025_10_53_02_916360_0000.jpg
/home/pi/Desktop/images/09012025/10/53/image_09012025_10_53_02_916360_0001.jpg
/home/pi/Desktop/images/09012025/10/53/image_09012025_10_53_02_916360_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327649678","1327649669","1327649692","1327649656"],"photo_ids_order":["1327649656","1327649669","1327649678","1327649692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4c1be3634bdeebe5943860fef75d4a18.jpg","text":"TemporaryFile(/tmp/multipartBody6230248232321472952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416473013,"filename":"image_09012025_10_53_02_916360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8ce0b247bb969e95c62111092539134b.jpg","text":"TemporaryFile(/tmp/multipartBody683064970590602158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416473013,"filename":"image_09012025_10_53_02_916360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a1e81390519ebd40192c77c931a486c9.jpg","text":"TemporaryFile(/tmp/multipartBody3228295044314516370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416473013,"filename":"image_09012025_10_53_02_916360_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0fd00ea31716adc40f8764bb36f59284.jpg","text":"TemporaryFile(/tmp/multipartBody2958733006548540280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416473013,"filename":"image_09012025_10_52_02_784622_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327649678","file1":"1327649669","file0":"1327649656","file3":"1327649692"},"map_files_photo_id_array":[{"photo_id":"1327649678","filename":"file2"},{"photo_id":"1327649669","filename":"file1"},{"photo_id":"1327649656","filename":"file0"},{"photo_id":"1327649692","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327649678":["hashtag1","hashtag2"]},{"1327649669":["hashtag1","hashtag2"]},{"1327649692":["hashtag1","hashtag2"]},{"1327649656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327649678, 1327649669, 1327649692, 1327649656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.48503494262695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:54:21.870157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/53/image_09012025_10_53_02_916360_0003.jpg', '/home/pi/Desktop/images/09012025/10/54/image_09012025_10_54_03_050531_0000.jpg', '/home/pi/Desktop/images/09012025/10/54/image_09012025_10_54_03_050531_0001.jpg', '/home/pi/Desktop/images/09012025/10/54/image_09012025_10_54_03_050531_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/53/image_09012025_10_53_02_916360_0003.jpg
/home/pi/Desktop/images/09012025/10/54/image_09012025_10_54_03_050531_0000.jpg
/home/pi/Desktop/images/09012025/10/54/image_09012025_10_54_03_050531_0001.jpg
/home/pi/Desktop/images/09012025/10/54/image_09012025_10_54_03_050531_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327649795","1327649797","1327649800","1327649803"],"photo_ids_order":["1327649795","1327649797","1327649800","1327649803"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8e97202a2a8a9cf665c90fecb82cd48a.jpg","text":"TemporaryFile(/tmp/multipartBody3153210398409764631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416532148,"filename":"image_09012025_10_53_02_916360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2399c7a080541373face501d0414f60d.jpg","text":"TemporaryFile(/tmp/multipartBody7572816801621392415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416532148,"filename":"image_09012025_10_54_03_050531_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f33044f8db438dc0463b1c8fa2ace345.jpg","text":"TemporaryFile(/tmp/multipartBody1934529101180627819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416532148,"filename":"image_09012025_10_54_03_050531_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0d92626be9312bd2c22f08be485984e3.jpg","text":"TemporaryFile(/tmp/multipartBody4071490588036595944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416532148,"filename":"image_09012025_10_54_03_050531_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327649800","file1":"1327649797","file0":"1327649795","file3":"1327649803"},"map_files_photo_id_array":[{"photo_id":"1327649800","filename":"file2"},{"photo_id":"1327649797","filename":"file1"},{"photo_id":"1327649795","filename":"file0"},{"photo_id":"1327649803","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327649795":["hashtag1","hashtag2"]},{"1327649797":["hashtag1","hashtag2"]},{"1327649800":["hashtag1","hashtag2"]},{"1327649803":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327649795, 1327649797, 1327649800, 1327649803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.19148850440979 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:55:22.086940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/54/image_09012025_10_54_03_050531_0003.jpg', '/home/pi/Desktop/images/09012025/10/55/image_09012025_10_55_02_205929_0000.jpg', '/home/pi/Desktop/images/09012025/10/55/image_09012025_10_55_02_205929_0001.jpg', '/home/pi/Desktop/images/09012025/10/55/image_09012025_10_55_02_205929_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/54/image_09012025_10_54_03_050531_0003.jpg
/home/pi/Desktop/images/09012025/10/55/image_09012025_10_55_02_205929_0000.jpg
/home/pi/Desktop/images/09012025/10/55/image_09012025_10_55_02_205929_0001.jpg
/home/pi/Desktop/images/09012025/10/55/image_09012025_10_55_02_205929_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327650458","1327650323","1327650410","1327650427"],"photo_ids_order":["1327650323","1327650410","1327650427","1327650458"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5f1298b1053e9bfc493a217ce3a29710.jpg","text":"TemporaryFile(/tmp/multipartBody1130850180974364579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416592310,"filename":"image_09012025_10_55_02_205929_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8585592a979619341abbb745d0718265.jpg","text":"TemporaryFile(/tmp/multipartBody4709544423827945373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416592310,"filename":"image_09012025_10_54_03_050531_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f9e4ffa8566efd8f8e138476b4338b1d.jpg","text":"TemporaryFile(/tmp/multipartBody6390355134008488471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416592310,"filename":"image_09012025_10_55_02_205929_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eac6144dd5f2536c01c9e2403fe304b4.jpg","text":"TemporaryFile(/tmp/multipartBody386153294192827762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416592310,"filename":"image_09012025_10_55_02_205929_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327650427","file1":"1327650410","file0":"1327650323","file3":"1327650458"},"map_files_photo_id_array":[{"photo_id":"1327650427","filename":"file2"},{"photo_id":"1327650410","filename":"file1"},{"photo_id":"1327650323","filename":"file0"},{"photo_id":"1327650458","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327650458":["hashtag1","hashtag2"]},{"1327650323":["hashtag1","hashtag2"]},{"1327650410":["hashtag1","hashtag2"]},{"1327650427":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327650458, 1327650323, 1327650410, 1327650427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.008442878723145 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 10:56:22.344714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/55/image_09012025_10_55_02_205929_0003.jpg', '/home/pi/Desktop/images/09012025/10/56/image_09012025_10_56_02_426445_0000.jpg', '/home/pi/Desktop/images/09012025/10/56/image_09012025_10_56_02_426445_0001.jpg', '/home/pi/Desktop/images/09012025/10/56/image_09012025_10_56_02_426445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/55/image_09012025_10_55_02_205929_0003.jpg
/home/pi/Desktop/images/09012025/10/56/image_09012025_10_56_02_426445_0000.jpg
/home/pi/Desktop/images/09012025/10/56/image_09012025_10_56_02_426445_0001.jpg
/home/pi/Desktop/images/09012025/10/56/image_09012025_10_56_02_426445_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.914133071899414 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 10:56:42.230483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/55/image_09012025_10_55_02_205929_0003.jpg', '/home/pi/Desktop/images/09012025/10/56/image_09012025_10_56_02_426445_0000.jpg', '/home/pi/Desktop/images/09012025/10/56/image_09012025_10_56_02_426445_0001.jpg', '/home/pi/Desktop/images/09012025/10/56/image_09012025_10_56_02_426445_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/55/image_09012025_10_55_02_205929_0003.jpg
/home/pi/Desktop/images/09012025/10/56/image_09012025_10_56_02_426445_0000.jpg
/home/pi/Desktop/images/09012025/10/56/image_09012025_10_56_02_426445_0001.jpg
/home/pi/Desktop/images/09012025/10/56/image_09012025_10_56_02_426445_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327650705","1327650691","1327650688","1327650699"],"photo_ids_order":["1327650688","1327650691","1327650699","1327650705"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5ea475694557eeb2c9bfd7e6baaba11e.jpg","text":"TemporaryFile(/tmp/multipartBody7908534809664849831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416672581,"filename":"image_09012025_10_56_02_426445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ecd42c776b1a85ba0d8d1bf61b2a7d64.jpg","text":"TemporaryFile(/tmp/multipartBody3627623117975006256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416672581,"filename":"image_09012025_10_56_02_426445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a0a187dfba687d3462da7ddb1ef3e110.jpg","text":"TemporaryFile(/tmp/multipartBody4954180101617263818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416672581,"filename":"image_09012025_10_55_02_205929_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b98cce2bb2c4f575763d4043d4bf9ee5.jpg","text":"TemporaryFile(/tmp/multipartBody5571423880894255326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416672581,"filename":"image_09012025_10_56_02_426445_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327650699","file1":"1327650691","file0":"1327650688","file3":"1327650705"},"map_files_photo_id_array":[{"photo_id":"1327650699","filename":"file2"},{"photo_id":"1327650691","filename":"file1"},{"photo_id":"1327650688","filename":"file0"},{"photo_id":"1327650705","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327650705":["hashtag1","hashtag2"]},{"1327650691":["hashtag1","hashtag2"]},{"1327650688":["hashtag1","hashtag2"]},{"1327650699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327650705, 1327650691, 1327650688, 1327650699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.26744341850281 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 10:57:32.394588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/56/image_09012025_10_56_02_426445_0003.jpg', '/home/pi/Desktop/images/09012025/10/57/image_09012025_10_57_02_586322_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/56/image_09012025_10_56_02_426445_0003.jpg
/home/pi/Desktop/images/09012025/10/57/image_09012025_10_57_02_586322_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327650728","1327650721"],"photo_ids_order":["1327650721","1327650728"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/20b9046e65a20a6f46ce8327147c0c11.jpg","text":"TemporaryFile(/tmp/multipartBody857516814110053298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416717876,"filename":"image_09012025_10_57_02_586322_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a6815d9df397b3e2828950e2316e6945.jpg","text":"TemporaryFile(/tmp/multipartBody126833728149472330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416717876,"filename":"image_09012025_10_56_02_426445_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327650728","file0":"1327650721"},"map_files_photo_id_array":[{"photo_id":"1327650728","filename":"file1"},{"photo_id":"1327650721","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327650728":["hashtag1","hashtag2"]},{"1327650721":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327650728, 1327650721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.64125919342041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 10:59:03.505341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/57/image_09012025_10_57_02_586322_0001.jpg', '/home/pi/Desktop/images/09012025/10/58/image_09012025_10_58_02_787948_0000.jpg', '/home/pi/Desktop/images/09012025/10/58/image_09012025_10_58_02_787948_0001.jpg', '/home/pi/Desktop/images/09012025/10/58/image_09012025_10_58_02_787948_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/57/image_09012025_10_57_02_586322_0001.jpg
/home/pi/Desktop/images/09012025/10/58/image_09012025_10_58_02_787948_0000.jpg
/home/pi/Desktop/images/09012025/10/58/image_09012025_10_58_02_787948_0001.jpg
/home/pi/Desktop/images/09012025/10/58/image_09012025_10_58_02_787948_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327650786","1327650774","1327650763","1327650795"],"photo_ids_order":["1327650763","1327650774","1327650786","1327650795"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/69abc2df7995baa2112a022fa0d19d1a.jpg","text":"TemporaryFile(/tmp/multipartBody5633269825301029962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416813790,"filename":"image_09012025_10_58_02_787948_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3b3e23c81b378ac7b2b11633801b22a4.jpg","text":"TemporaryFile(/tmp/multipartBody3436497848481554388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416813790,"filename":"image_09012025_10_58_02_787948_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a42553c945f5b2d504b1a0afb49414a2.jpg","text":"TemporaryFile(/tmp/multipartBody2923560921527316135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416813790,"filename":"image_09012025_10_57_02_586322_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2480ead2dd6a96d52b84a0c2672efe83.jpg","text":"TemporaryFile(/tmp/multipartBody791630990773697480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416813790,"filename":"image_09012025_10_58_02_787948_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327650786","file1":"1327650774","file0":"1327650763","file3":"1327650795"},"map_files_photo_id_array":[{"photo_id":"1327650786","filename":"file2"},{"photo_id":"1327650774","filename":"file1"},{"photo_id":"1327650763","filename":"file0"},{"photo_id":"1327650795","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327650786":["hashtag1","hashtag2"]},{"1327650774":["hashtag1","hashtag2"]},{"1327650763":["hashtag1","hashtag2"]},{"1327650795":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327650786, 1327650774, 1327650763, 1327650795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.87204313278198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 10:59:52.708837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/58/image_09012025_10_58_02_787948_0003.jpg', '/home/pi/Desktop/images/09012025/10/59/image_09012025_10_59_02_994693_0000.jpg', '/home/pi/Desktop/images/09012025/10/59/image_09012025_10_59_02_994693_0001.jpg', '/home/pi/Desktop/images/09012025/10/59/image_09012025_10_59_02_994693_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/58/image_09012025_10_58_02_787948_0003.jpg
/home/pi/Desktop/images/09012025/10/59/image_09012025_10_59_02_994693_0000.jpg
/home/pi/Desktop/images/09012025/10/59/image_09012025_10_59_02_994693_0001.jpg
/home/pi/Desktop/images/09012025/10/59/image_09012025_10_59_02_994693_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327650831","1327650825","1327650812","1327650818"],"photo_ids_order":["1327650812","1327650818","1327650825","1327650831"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/074e4c3816b9c5e087db5eb5b38fb327.jpg","text":"TemporaryFile(/tmp/multipartBody6276927669716404428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416863357,"filename":"image_09012025_10_59_02_994693_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5eacced85429b8ab0efc1de1026ddf0d.jpg","text":"TemporaryFile(/tmp/multipartBody2336013581364457068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416863357,"filename":"image_09012025_10_59_02_994693_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1d99ad986d246cf1d63706f592f155e1.jpg","text":"TemporaryFile(/tmp/multipartBody6001331596401330998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416863357,"filename":"image_09012025_10_58_02_787948_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fd3975181b0f88507e38dea088e56966.jpg","text":"TemporaryFile(/tmp/multipartBody8121387587585897039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416863357,"filename":"image_09012025_10_59_02_994693_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327650825","file1":"1327650818","file0":"1327650812","file3":"1327650831"},"map_files_photo_id_array":[{"photo_id":"1327650825","filename":"file2"},{"photo_id":"1327650818","filename":"file1"},{"photo_id":"1327650812","filename":"file0"},{"photo_id":"1327650831","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327650831":["hashtag1","hashtag2"]},{"1327650825":["hashtag1","hashtag2"]},{"1327650812":["hashtag1","hashtag2"]},{"1327650818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327650831, 1327650825, 1327650812, 1327650818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.32583141326904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 11:00:41.925943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/10/59/image_09012025_10_59_02_994693_0003.jpg', '/home/pi/Desktop/images/09012025/11/00/image_09012025_11_00_03_168912_0000.jpg', '/home/pi/Desktop/images/09012025/11/00/image_09012025_11_00_03_168912_0001.jpg', '/home/pi/Desktop/images/09012025/11/00/image_09012025_11_00_03_168912_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/10/59/image_09012025_10_59_02_994693_0003.jpg
/home/pi/Desktop/images/09012025/11/00/image_09012025_11_00_03_168912_0000.jpg
/home/pi/Desktop/images/09012025/11/00/image_09012025_11_00_03_168912_0001.jpg
/home/pi/Desktop/images/09012025/11/00/image_09012025_11_00_03_168912_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327650867","1327650854","1327650871","1327650877"],"photo_ids_order":["1327650854","1327650867","1327650871","1327650877"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/15a45f041601c4300a7abaa739d42c58.jpg","text":"TemporaryFile(/tmp/multipartBody4584497423150041165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416912234,"filename":"image_09012025_11_00_03_168912_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f98d6af352d6a20a62a17612d1a1edbf.jpg","text":"TemporaryFile(/tmp/multipartBody6681215192791635030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416912234,"filename":"image_09012025_10_59_02_994693_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8c39923ed5b401f08c274e436358c7e9.jpg","text":"TemporaryFile(/tmp/multipartBody4585423671030419063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416912234,"filename":"image_09012025_11_00_03_168912_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ccf48d777e6646763283706df3b4a202.jpg","text":"TemporaryFile(/tmp/multipartBody5195971311932718367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416912234,"filename":"image_09012025_11_00_03_168912_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327650871","file1":"1327650867","file0":"1327650854","file3":"1327650877"},"map_files_photo_id_array":[{"photo_id":"1327650871","filename":"file2"},{"photo_id":"1327650867","filename":"file1"},{"photo_id":"1327650854","filename":"file0"},{"photo_id":"1327650877","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327650867":["hashtag1","hashtag2"]},{"1327650854":["hashtag1","hashtag2"]},{"1327650871":["hashtag1","hashtag2"]},{"1327650877":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327650867, 1327650854, 1327650871, 1327650877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.3256402015686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 11:01:32.200221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/00/image_09012025_11_00_03_168912_0003.jpg', '/home/pi/Desktop/images/09012025/11/01/image_09012025_11_01_02_259418_0000.jpg', '/home/pi/Desktop/images/09012025/11/01/image_09012025_11_01_02_259418_0001.jpg', '/home/pi/Desktop/images/09012025/11/01/image_09012025_11_01_02_259418_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/00/image_09012025_11_00_03_168912_0003.jpg
/home/pi/Desktop/images/09012025/11/01/image_09012025_11_01_02_259418_0000.jpg
/home/pi/Desktop/images/09012025/11/01/image_09012025_11_01_02_259418_0001.jpg
/home/pi/Desktop/images/09012025/11/01/image_09012025_11_01_02_259418_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327650909","1327650908","1327650904","1327650907"],"photo_ids_order":["1327650904","1327650907","1327650908","1327650909"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0307ea5f747f5816a1490daf1cebe6bf.jpg","text":"TemporaryFile(/tmp/multipartBody4739530502979809136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416962601,"filename":"image_09012025_11_01_02_259418_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/93e7e52b89fa94a522ea47748d7c4cce.jpg","text":"TemporaryFile(/tmp/multipartBody8569815738488516060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416962601,"filename":"image_09012025_11_01_02_259418_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7253054ef66cc6581bd1a38e84f4d846.jpg","text":"TemporaryFile(/tmp/multipartBody6746472513341476592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416962601,"filename":"image_09012025_11_00_03_168912_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/61f19b48d35c9713be5ce5abfc247cde.jpg","text":"TemporaryFile(/tmp/multipartBody748516478760562715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736416962601,"filename":"image_09012025_11_01_02_259418_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327650908","file1":"1327650907","file0":"1327650904","file3":"1327650909"},"map_files_photo_id_array":[{"photo_id":"1327650908","filename":"file2"},{"photo_id":"1327650907","filename":"file1"},{"photo_id":"1327650904","filename":"file0"},{"photo_id":"1327650909","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327650909":["hashtag1","hashtag2"]},{"1327650908":["hashtag1","hashtag2"]},{"1327650904":["hashtag1","hashtag2"]},{"1327650907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327650909, 1327650908, 1327650904, 1327650907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.29106688499451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:02:22.299317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/01/image_09012025_11_01_02_259418_0003.jpg', '/home/pi/Desktop/images/09012025/11/02/image_09012025_11_02_02_515286_0000.jpg', '/home/pi/Desktop/images/09012025/11/02/image_09012025_11_02_02_515286_0001.jpg', '/home/pi/Desktop/images/09012025/11/02/image_09012025_11_02_02_515286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/01/image_09012025_11_01_02_259418_0003.jpg
/home/pi/Desktop/images/09012025/11/02/image_09012025_11_02_02_515286_0000.jpg
/home/pi/Desktop/images/09012025/11/02/image_09012025_11_02_02_515286_0001.jpg
/home/pi/Desktop/images/09012025/11/02/image_09012025_11_02_02_515286_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327651008","1327651031","1327650991","1327651039"],"photo_ids_order":["1327650991","1327651008","1327651031","1327651039"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/57e5a2994f24f06b109b1c54e49064cc.jpg","text":"TemporaryFile(/tmp/multipartBody1270265806422680423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417012648,"filename":"image_09012025_11_02_02_515286_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/767cb3288db215b481185f97aec4e79c.jpg","text":"TemporaryFile(/tmp/multipartBody55358937462623079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417012648,"filename":"image_09012025_11_02_02_515286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/070c6fcafc595876d265205509a1332a.jpg","text":"TemporaryFile(/tmp/multipartBody7441455771288576640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417012648,"filename":"image_09012025_11_01_02_259418_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3094e745d204e0c819ff2cdd0777d0d0.jpg","text":"TemporaryFile(/tmp/multipartBody209694223686999285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417012648,"filename":"image_09012025_11_02_02_515286_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327651031","file1":"1327651008","file0":"1327650991","file3":"1327651039"},"map_files_photo_id_array":[{"photo_id":"1327651031","filename":"file2"},{"photo_id":"1327651008","filename":"file1"},{"photo_id":"1327650991","filename":"file0"},{"photo_id":"1327651039","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327651008":["hashtag1","hashtag2"]},{"1327651031":["hashtag1","hashtag2"]},{"1327650991":["hashtag1","hashtag2"]},{"1327651039":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327651008, 1327651031, 1327650991, 1327651039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.59170436859131 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:03:03.006632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:03:22.381607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/02/image_09012025_11_02_02_515286_0003.jpg', '/home/pi/Desktop/images/09012025/11/03/image_09012025_11_03_02_742043_0000.jpg', '/home/pi/Desktop/images/09012025/11/03/image_09012025_11_03_02_742043_0001.jpg', '/home/pi/Desktop/images/09012025/11/03/image_09012025_11_03_02_742043_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/02/image_09012025_11_02_02_515286_0003.jpg
/home/pi/Desktop/images/09012025/11/03/image_09012025_11_03_02_742043_0000.jpg
/home/pi/Desktop/images/09012025/11/03/image_09012025_11_03_02_742043_0001.jpg
/home/pi/Desktop/images/09012025/11/03/image_09012025_11_03_02_742043_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327651113","1327651104","1327651126","1327651123"],"photo_ids_order":["1327651104","1327651113","1327651123","1327651126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d35b68af162cd88eefa1b189e4a5bb5f.jpg","text":"TemporaryFile(/tmp/multipartBody5260166286162238152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417072880,"filename":"image_09012025_11_03_02_742043_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2feec0b72e7a28405e49904abd421f74.jpg","text":"TemporaryFile(/tmp/multipartBody5953817990492371777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417072880,"filename":"image_09012025_11_02_02_515286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/074acd70edc5b426d3b05d8f921bd589.jpg","text":"TemporaryFile(/tmp/multipartBody1733764258899598228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417072880,"filename":"image_09012025_11_03_02_742043_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3ed5aaacd64c7a9ee49bb5cfd87bdf6f.jpg","text":"TemporaryFile(/tmp/multipartBody4839204635670157743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417072880,"filename":"image_09012025_11_03_02_742043_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327651123","file1":"1327651113","file0":"1327651104","file3":"1327651126"},"map_files_photo_id_array":[{"photo_id":"1327651123","filename":"file2"},{"photo_id":"1327651113","filename":"file1"},{"photo_id":"1327651104","filename":"file0"},{"photo_id":"1327651126","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327651113":["hashtag1","hashtag2"]},{"1327651104":["hashtag1","hashtag2"]},{"1327651126":["hashtag1","hashtag2"]},{"1327651123":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327651113, 1327651104, 1327651126, 1327651123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.66650104522705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:04:03.157105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:04:22.750233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/03/image_09012025_11_03_02_742043_0003.jpg', '/home/pi/Desktop/images/09012025/11/04/image_09012025_11_04_02_755541_0000.jpg', '/home/pi/Desktop/images/09012025/11/04/image_09012025_11_04_02_755541_0001.jpg', '/home/pi/Desktop/images/09012025/11/04/image_09012025_11_04_02_755541_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/03/image_09012025_11_03_02_742043_0003.jpg
/home/pi/Desktop/images/09012025/11/04/image_09012025_11_04_02_755541_0000.jpg
/home/pi/Desktop/images/09012025/11/04/image_09012025_11_04_02_755541_0001.jpg
/home/pi/Desktop/images/09012025/11/04/image_09012025_11_04_02_755541_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327651184","1327651180","1327651177","1327651174"],"photo_ids_order":["1327651174","1327651177","1327651180","1327651184"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/84185a3adee0702bc758e6af6283e237.jpg","text":"TemporaryFile(/tmp/multipartBody1037991490823732236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417133112,"filename":"image_09012025_11_04_02_755541_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9b1c0221dec388929c3286f1f403a18f.jpg","text":"TemporaryFile(/tmp/multipartBody291344902565232962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417133112,"filename":"image_09012025_11_04_02_755541_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8d75bf66349b53e6001420028e3f6b9f.jpg","text":"TemporaryFile(/tmp/multipartBody5474021963974754223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417133112,"filename":"image_09012025_11_04_02_755541_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/34e548f38e69e55da750c38121d55b86.jpg","text":"TemporaryFile(/tmp/multipartBody7766899670494778767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417133112,"filename":"image_09012025_11_03_02_742043_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327651180","file1":"1327651177","file0":"1327651174","file3":"1327651184"},"map_files_photo_id_array":[{"photo_id":"1327651180","filename":"file2"},{"photo_id":"1327651177","filename":"file1"},{"photo_id":"1327651174","filename":"file0"},{"photo_id":"1327651184","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327651184":["hashtag1","hashtag2"]},{"1327651180":["hashtag1","hashtag2"]},{"1327651177":["hashtag1","hashtag2"]},{"1327651174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327651184, 1327651180, 1327651177, 1327651174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.93795466423035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:05:22.016491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/04/image_09012025_11_04_02_755541_0003.jpg', '/home/pi/Desktop/images/09012025/11/05/image_09012025_11_05_03_119212_0000.jpg', '/home/pi/Desktop/images/09012025/11/05/image_09012025_11_05_03_119212_0001.jpg', '/home/pi/Desktop/images/09012025/11/05/image_09012025_11_05_03_119212_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/04/image_09012025_11_04_02_755541_0003.jpg
/home/pi/Desktop/images/09012025/11/05/image_09012025_11_05_03_119212_0000.jpg
/home/pi/Desktop/images/09012025/11/05/image_09012025_11_05_03_119212_0001.jpg
/home/pi/Desktop/images/09012025/11/05/image_09012025_11_05_03_119212_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327651277","1327651264","1327651273","1327651260"],"photo_ids_order":["1327651260","1327651264","1327651273","1327651277"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d6e52da0b432ddf599de99709c798967.jpg","text":"TemporaryFile(/tmp/multipartBody8478505236456140922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417192496,"filename":"image_09012025_11_05_03_119212_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/df09e22785c18fb1d9639588437bf30a.jpg","text":"TemporaryFile(/tmp/multipartBody5500155400482631340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417192496,"filename":"image_09012025_11_05_03_119212_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c9bffd7b75ca50b698bed87d1d903bc6.jpg","text":"TemporaryFile(/tmp/multipartBody2101409997655985443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417192496,"filename":"image_09012025_11_05_03_119212_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/af6ebf120ce22c7580a8285bec5da747.jpg","text":"TemporaryFile(/tmp/multipartBody7699953137457422275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417192496,"filename":"image_09012025_11_04_02_755541_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327651273","file1":"1327651264","file0":"1327651260","file3":"1327651277"},"map_files_photo_id_array":[{"photo_id":"1327651273","filename":"file2"},{"photo_id":"1327651264","filename":"file1"},{"photo_id":"1327651260","filename":"file0"},{"photo_id":"1327651277","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327651277":["hashtag1","hashtag2"]},{"1327651264":["hashtag1","hashtag2"]},{"1327651273":["hashtag1","hashtag2"]},{"1327651260":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327651277, 1327651264, 1327651273, 1327651260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.13602805137634 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:06:02.435469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:06:22.064190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/05/image_09012025_11_05_03_119212_0003.jpg', '/home/pi/Desktop/images/09012025/11/06/image_09012025_11_06_02_266463_0000.jpg', '/home/pi/Desktop/images/09012025/11/06/image_09012025_11_06_02_266463_0001.jpg', '/home/pi/Desktop/images/09012025/11/06/image_09012025_11_06_02_266463_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/05/image_09012025_11_05_03_119212_0003.jpg
/home/pi/Desktop/images/09012025/11/06/image_09012025_11_06_02_266463_0000.jpg
/home/pi/Desktop/images/09012025/11/06/image_09012025_11_06_02_266463_0001.jpg
/home/pi/Desktop/images/09012025/11/06/image_09012025_11_06_02_266463_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327651332","1327651334","1327651337","1327651330"],"photo_ids_order":["1327651330","1327651332","1327651334","1327651337"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ef3956a0436e94dc0ef5f5b6fba4d193.jpg","text":"TemporaryFile(/tmp/multipartBody3369412377654791754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417252416,"filename":"image_09012025_11_06_02_266463_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/929060b3d69cee35dc49cfd9c40a0025.jpg","text":"TemporaryFile(/tmp/multipartBody882237867960241512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417252416,"filename":"image_09012025_11_06_02_266463_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fa861ceb6d7b743949f5f3e79b0be979.jpg","text":"TemporaryFile(/tmp/multipartBody7938515460460963054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417252416,"filename":"image_09012025_11_06_02_266463_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3cd3f1b6401d0908698f5c7c867b1087.jpg","text":"TemporaryFile(/tmp/multipartBody7209666882643955581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417252416,"filename":"image_09012025_11_05_03_119212_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327651334","file1":"1327651332","file0":"1327651330","file3":"1327651337"},"map_files_photo_id_array":[{"photo_id":"1327651334","filename":"file2"},{"photo_id":"1327651332","filename":"file1"},{"photo_id":"1327651330","filename":"file0"},{"photo_id":"1327651337","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327651332":["hashtag1","hashtag2"]},{"1327651334":["hashtag1","hashtag2"]},{"1327651337":["hashtag1","hashtag2"]},{"1327651330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327651332, 1327651334, 1327651337, 1327651330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.52702236175537 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:07:22.242511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/06/image_09012025_11_06_02_266463_0003.jpg', '/home/pi/Desktop/images/09012025/11/07/image_09012025_11_07_02_314983_0001.jpg', '/home/pi/Desktop/images/09012025/11/07/image_09012025_11_07_02_314983_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/06/image_09012025_11_06_02_266463_0003.jpg
/home/pi/Desktop/images/09012025/11/07/image_09012025_11_07_02_314983_0001.jpg
/home/pi/Desktop/images/09012025/11/07/image_09012025_11_07_02_314983_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327651350","1327651352","1327651347"],"photo_ids_order":["1327651347","1327651350","1327651352"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/46e119a755a09b892e588b3b391cfd83.jpg","text":"TemporaryFile(/tmp/multipartBody3682745187350167412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417310159,"filename":"image_09012025_11_07_02_314983_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4db28ad7fb83716f9847b2bbf3037ad4.jpg","text":"TemporaryFile(/tmp/multipartBody7497633317625639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417310159,"filename":"image_09012025_11_07_02_314983_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/53c8519b170b2cdd2d2fed21decb902d.jpg","text":"TemporaryFile(/tmp/multipartBody4852790722397740765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417310159,"filename":"image_09012025_11_06_02_266463_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327651352","file1":"1327651350","file0":"1327651347"},"map_files_photo_id_array":[{"photo_id":"1327651352","filename":"file2"},{"photo_id":"1327651350","filename":"file1"},{"photo_id":"1327651347","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327651350":["hashtag1","hashtag2"]},{"1327651352":["hashtag1","hashtag2"]},{"1327651347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327651350, 1327651352, 1327651347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.391963720321655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:08:02.969161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:08:22.429779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/07/image_09012025_11_07_02_314983_0003.jpg', '/home/pi/Desktop/images/09012025/11/08/image_09012025_11_08_02_563405_0000.jpg', '/home/pi/Desktop/images/09012025/11/08/image_09012025_11_08_02_563405_0001.jpg', '/home/pi/Desktop/images/09012025/11/08/image_09012025_11_08_02_563405_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/07/image_09012025_11_07_02_314983_0003.jpg
/home/pi/Desktop/images/09012025/11/08/image_09012025_11_08_02_563405_0000.jpg
/home/pi/Desktop/images/09012025/11/08/image_09012025_11_08_02_563405_0001.jpg
/home/pi/Desktop/images/09012025/11/08/image_09012025_11_08_02_563405_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327651367","1327651361","1327651369","1327651365"],"photo_ids_order":["1327651361","1327651365","1327651367","1327651369"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5625a3f7e0c94049e2dd9f8d1528bd39.jpg","text":"TemporaryFile(/tmp/multipartBody1392100221789928600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417372791,"filename":"image_09012025_11_08_02_563405_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/755c02443d46c3700e294057b50f3c95.jpg","text":"TemporaryFile(/tmp/multipartBody2299581847497024295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417372791,"filename":"image_09012025_11_07_02_314983_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cfb73bf4b302341b90ed5d2a6ae5bac5.jpg","text":"TemporaryFile(/tmp/multipartBody8880737937305627053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417372791,"filename":"image_09012025_11_08_02_563405_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f81976affb6aed487d53ef09646762b7.jpg","text":"TemporaryFile(/tmp/multipartBody3627252566115918092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417372791,"filename":"image_09012025_11_08_02_563405_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327651367","file1":"1327651365","file0":"1327651361","file3":"1327651369"},"map_files_photo_id_array":[{"photo_id":"1327651367","filename":"file2"},{"photo_id":"1327651365","filename":"file1"},{"photo_id":"1327651361","filename":"file0"},{"photo_id":"1327651369","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327651367":["hashtag1","hashtag2"]},{"1327651361":["hashtag1","hashtag2"]},{"1327651369":["hashtag1","hashtag2"]},{"1327651365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327651367, 1327651361, 1327651369, 1327651365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.111493825912476 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:09:03.270209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:09:22.567358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/08/image_09012025_11_08_02_563405_0003.jpg', '/home/pi/Desktop/images/09012025/11/09/image_09012025_11_09_02_747294_0000.jpg', '/home/pi/Desktop/images/09012025/11/09/image_09012025_11_09_02_747294_0001.jpg', '/home/pi/Desktop/images/09012025/11/09/image_09012025_11_09_02_747294_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/08/image_09012025_11_08_02_563405_0003.jpg
/home/pi/Desktop/images/09012025/11/09/image_09012025_11_09_02_747294_0000.jpg
/home/pi/Desktop/images/09012025/11/09/image_09012025_11_09_02_747294_0001.jpg
/home/pi/Desktop/images/09012025/11/09/image_09012025_11_09_02_747294_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327651539","1327651484","1327651563","1327651516"],"photo_ids_order":["1327651484","1327651516","1327651539","1327651563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/62fcf23de3cfdcb8825a08caeccf604f.jpg","text":"TemporaryFile(/tmp/multipartBody2051231708195887610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417432973,"filename":"image_09012025_11_09_02_747294_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bff42f631552c353d6d769f1a3768458.jpg","text":"TemporaryFile(/tmp/multipartBody4612353529669157855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417432973,"filename":"image_09012025_11_08_02_563405_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d5b29e509e67b3fd74da58111d5758a0.jpg","text":"TemporaryFile(/tmp/multipartBody9222520813126342199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417432973,"filename":"image_09012025_11_09_02_747294_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5ff87e979f7109b8de1d6528848fdff2.jpg","text":"TemporaryFile(/tmp/multipartBody7725310983118962622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417432973,"filename":"image_09012025_11_09_02_747294_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327651539","file1":"1327651516","file0":"1327651484","file3":"1327651563"},"map_files_photo_id_array":[{"photo_id":"1327651539","filename":"file2"},{"photo_id":"1327651516","filename":"file1"},{"photo_id":"1327651484","filename":"file0"},{"photo_id":"1327651563","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327651539":["hashtag1","hashtag2"]},{"1327651484":["hashtag1","hashtag2"]},{"1327651563":["hashtag1","hashtag2"]},{"1327651516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327651539, 1327651484, 1327651563, 1327651516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.546485900878906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:10:03.215083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:10:22.823313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/09/image_09012025_11_09_02_747294_0003.jpg', '/home/pi/Desktop/images/09012025/11/10/image_09012025_11_10_02_868378_0000.jpg', '/home/pi/Desktop/images/09012025/11/10/image_09012025_11_10_02_868378_0001.jpg', '/home/pi/Desktop/images/09012025/11/10/image_09012025_11_10_02_868378_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/09/image_09012025_11_09_02_747294_0003.jpg
/home/pi/Desktop/images/09012025/11/10/image_09012025_11_10_02_868378_0000.jpg
/home/pi/Desktop/images/09012025/11/10/image_09012025_11_10_02_868378_0001.jpg
/home/pi/Desktop/images/09012025/11/10/image_09012025_11_10_02_868378_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327652890","1327652896","1327652959","1327652926"],"photo_ids_order":["1327652890","1327652896","1327652926","1327652959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f3e71f7764c7e188a8322037e3c7b37d.jpg","text":"TemporaryFile(/tmp/multipartBody5841835296265352895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417493211,"filename":"image_09012025_11_09_02_747294_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eef544a537185d99286b2640105b6ca3.jpg","text":"TemporaryFile(/tmp/multipartBody5564437076732585653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417493211,"filename":"image_09012025_11_10_02_868378_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/57efed5b71978470325fd7001bd79bf1.jpg","text":"TemporaryFile(/tmp/multipartBody7347803926935835215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417493211,"filename":"image_09012025_11_10_02_868378_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1c97b9ff0e13f71283d49b1bf9d06987.jpg","text":"TemporaryFile(/tmp/multipartBody5274076387958329389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417493211,"filename":"image_09012025_11_10_02_868378_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327652926","file1":"1327652896","file0":"1327652890","file3":"1327652959"},"map_files_photo_id_array":[{"photo_id":"1327652926","filename":"file2"},{"photo_id":"1327652896","filename":"file1"},{"photo_id":"1327652890","filename":"file0"},{"photo_id":"1327652959","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327652890":["hashtag1","hashtag2"]},{"1327652896":["hashtag1","hashtag2"]},{"1327652959":["hashtag1","hashtag2"]},{"1327652926":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327652890, 1327652896, 1327652959, 1327652926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.44931411743164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:11:22.005918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/10/image_09012025_11_10_02_868378_0003.jpg', '/home/pi/Desktop/images/09012025/11/11/image_09012025_11_11_03_120122_0000.jpg', '/home/pi/Desktop/images/09012025/11/11/image_09012025_11_11_03_120122_0001.jpg', '/home/pi/Desktop/images/09012025/11/11/image_09012025_11_11_03_120122_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/10/image_09012025_11_10_02_868378_0003.jpg
/home/pi/Desktop/images/09012025/11/11/image_09012025_11_11_03_120122_0000.jpg
/home/pi/Desktop/images/09012025/11/11/image_09012025_11_11_03_120122_0001.jpg
/home/pi/Desktop/images/09012025/11/11/image_09012025_11_11_03_120122_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327653416","1327653388","1327653438","1327653267"],"photo_ids_order":["1327653267","1327653388","1327653416","1327653438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/68e33521dc1d99def56d1332de6fd0dd.jpg","text":"TemporaryFile(/tmp/multipartBody7195383990487630839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417552328,"filename":"image_09012025_11_11_03_120122_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c2277b56fd0c8b395a3f870bd57de6d4.jpg","text":"TemporaryFile(/tmp/multipartBody3464218482486711029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417552328,"filename":"image_09012025_11_11_03_120122_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6883fb02d05b766dfa31993b19c97782.jpg","text":"TemporaryFile(/tmp/multipartBody5080958003785445345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417552328,"filename":"image_09012025_11_11_03_120122_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/738b117a2f75a31ac82bd5152b5d9851.jpg","text":"TemporaryFile(/tmp/multipartBody5335227779887144914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417552328,"filename":"image_09012025_11_10_02_868378_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327653416","file1":"1327653388","file0":"1327653267","file3":"1327653438"},"map_files_photo_id_array":[{"photo_id":"1327653416","filename":"file2"},{"photo_id":"1327653388","filename":"file1"},{"photo_id":"1327653267","filename":"file0"},{"photo_id":"1327653438","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327653416":["hashtag1","hashtag2"]},{"1327653388":["hashtag1","hashtag2"]},{"1327653438":["hashtag1","hashtag2"]},{"1327653267":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327653416, 1327653388, 1327653438, 1327653267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.112708568573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:12:22.329849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/11/image_09012025_11_11_03_120122_0003.jpg', '/home/pi/Desktop/images/09012025/11/12/image_09012025_11_12_02_418345_0000.jpg', '/home/pi/Desktop/images/09012025/11/12/image_09012025_11_12_02_418345_0001.jpg', '/home/pi/Desktop/images/09012025/11/12/image_09012025_11_12_02_418345_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/11/image_09012025_11_11_03_120122_0003.jpg
/home/pi/Desktop/images/09012025/11/12/image_09012025_11_12_02_418345_0000.jpg
/home/pi/Desktop/images/09012025/11/12/image_09012025_11_12_02_418345_0001.jpg
/home/pi/Desktop/images/09012025/11/12/image_09012025_11_12_02_418345_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327653707","1327653696","1327653735","1327653719"],"photo_ids_order":["1327653696","1327653707","1327653719","1327653735"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b667b9804bb92c64344de9d57a24c6f3.jpg","text":"TemporaryFile(/tmp/multipartBody8263513562002370825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417612818,"filename":"image_09012025_11_12_02_418345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/60ca78214ce4de6ae548efd2b1190d3a.jpg","text":"TemporaryFile(/tmp/multipartBody5146928054145984428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417612818,"filename":"image_09012025_11_11_03_120122_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/26c828798aafd823d07dab78935bc27f.jpg","text":"TemporaryFile(/tmp/multipartBody8741716969277183603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417612818,"filename":"image_09012025_11_12_02_418345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/404471d9ac47633426d20505043a443a.jpg","text":"TemporaryFile(/tmp/multipartBody4167300022951198222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417612818,"filename":"image_09012025_11_12_02_418345_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327653719","file1":"1327653707","file0":"1327653696","file3":"1327653735"},"map_files_photo_id_array":[{"photo_id":"1327653719","filename":"file2"},{"photo_id":"1327653707","filename":"file1"},{"photo_id":"1327653696","filename":"file0"},{"photo_id":"1327653735","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327653707":["hashtag1","hashtag2"]},{"1327653696":["hashtag1","hashtag2"]},{"1327653735":["hashtag1","hashtag2"]},{"1327653719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327653707, 1327653696, 1327653735, 1327653719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.70237708091736 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:13:22.457797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/12/image_09012025_11_12_02_418345_0003.jpg', '/home/pi/Desktop/images/09012025/11/13/image_09012025_11_13_02_670132_0000.jpg', '/home/pi/Desktop/images/09012025/11/13/image_09012025_11_13_02_670132_0001.jpg', '/home/pi/Desktop/images/09012025/11/13/image_09012025_11_13_02_670132_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/12/image_09012025_11_12_02_418345_0003.jpg
/home/pi/Desktop/images/09012025/11/13/image_09012025_11_13_02_670132_0000.jpg
/home/pi/Desktop/images/09012025/11/13/image_09012025_11_13_02_670132_0001.jpg
/home/pi/Desktop/images/09012025/11/13/image_09012025_11_13_02_670132_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327653864","1327653867","1327653855","1327653866"],"photo_ids_order":["1327653855","1327653864","1327653866","1327653867"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f138f97ce1ef7c5f89c666bc19c7f99d.jpg","text":"TemporaryFile(/tmp/multipartBody8473866387499856395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417672756,"filename":"image_09012025_11_13_02_670132_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/19f56dc5728c0b51d32d6d346b677970.jpg","text":"TemporaryFile(/tmp/multipartBody1252918503990015745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417672756,"filename":"image_09012025_11_13_02_670132_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0f17822931f7fff32904183720c857b1.jpg","text":"TemporaryFile(/tmp/multipartBody5745609814402017939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417672756,"filename":"image_09012025_11_12_02_418345_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aa5331a09f94f8e86d1f09ad1004a834.jpg","text":"TemporaryFile(/tmp/multipartBody3228960095629079768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417672756,"filename":"image_09012025_11_13_02_670132_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327653866","file1":"1327653864","file0":"1327653855","file3":"1327653867"},"map_files_photo_id_array":[{"photo_id":"1327653866","filename":"file2"},{"photo_id":"1327653864","filename":"file1"},{"photo_id":"1327653855","filename":"file0"},{"photo_id":"1327653867","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327653864":["hashtag1","hashtag2"]},{"1327653867":["hashtag1","hashtag2"]},{"1327653855":["hashtag1","hashtag2"]},{"1327653866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327653864, 1327653867, 1327653855, 1327653866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.866567611694336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:14:22.693928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/13/image_09012025_11_13_02_670132_0003.jpg', '/home/pi/Desktop/images/09012025/11/14/image_09012025_11_14_02_782853_0000.jpg', '/home/pi/Desktop/images/09012025/11/14/image_09012025_11_14_02_782853_0001.jpg', '/home/pi/Desktop/images/09012025/11/14/image_09012025_11_14_02_782853_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/13/image_09012025_11_13_02_670132_0003.jpg
/home/pi/Desktop/images/09012025/11/14/image_09012025_11_14_02_782853_0000.jpg
/home/pi/Desktop/images/09012025/11/14/image_09012025_11_14_02_782853_0001.jpg
/home/pi/Desktop/images/09012025/11/14/image_09012025_11_14_02_782853_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327653898","1327653895","1327653901","1327653899"],"photo_ids_order":["1327653895","1327653898","1327653899","1327653901"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d07fa2bc06bac2ac8aba7dc546e2f4ad.jpg","text":"TemporaryFile(/tmp/multipartBody2816687121019518542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417732985,"filename":"image_09012025_11_14_02_782853_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1193b4a50afa7f64dda209c0ae1e1692.jpg","text":"TemporaryFile(/tmp/multipartBody4647844748106195427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417732985,"filename":"image_09012025_11_13_02_670132_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1522b494a939a0c2e8ce5175e57abc0a.jpg","text":"TemporaryFile(/tmp/multipartBody5464288107453153396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417732985,"filename":"image_09012025_11_14_02_782853_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/23f22213a048f8507672af8a99cfe5d8.jpg","text":"TemporaryFile(/tmp/multipartBody3663576805102116407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417732985,"filename":"image_09012025_11_14_02_782853_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327653899","file1":"1327653898","file0":"1327653895","file3":"1327653901"},"map_files_photo_id_array":[{"photo_id":"1327653899","filename":"file2"},{"photo_id":"1327653898","filename":"file1"},{"photo_id":"1327653895","filename":"file0"},{"photo_id":"1327653901","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327653898":["hashtag1","hashtag2"]},{"1327653895":["hashtag1","hashtag2"]},{"1327653901":["hashtag1","hashtag2"]},{"1327653899":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327653898, 1327653895, 1327653901, 1327653899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.31354284286499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:15:21.769444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/14/image_09012025_11_14_02_782853_0003.jpg', '/home/pi/Desktop/images/09012025/11/15/image_09012025_11_15_02_977042_0001.jpg', '/home/pi/Desktop/images/09012025/11/15/image_09012025_11_15_02_977042_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/14/image_09012025_11_14_02_782853_0003.jpg
/home/pi/Desktop/images/09012025/11/15/image_09012025_11_15_02_977042_0001.jpg
/home/pi/Desktop/images/09012025/11/15/image_09012025_11_15_02_977042_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327653920","1327653921","1327653918"],"photo_ids_order":["1327653918","1327653920","1327653921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1f5a07b89abd02a8fbe88d7db339d203.jpg","text":"TemporaryFile(/tmp/multipartBody2743376567224366561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417789585,"filename":"image_09012025_11_15_02_977042_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bed6592ec8841ec89d0f140fb6bee3c1.jpg","text":"TemporaryFile(/tmp/multipartBody5720430692002708140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417789585,"filename":"image_09012025_11_15_02_977042_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b61f070b16eb2201897fb362e7bb0cf7.jpg","text":"TemporaryFile(/tmp/multipartBody8588096673969156905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417789585,"filename":"image_09012025_11_14_02_782853_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327653921","file1":"1327653920","file0":"1327653918"},"map_files_photo_id_array":[{"photo_id":"1327653921","filename":"file2"},{"photo_id":"1327653920","filename":"file1"},{"photo_id":"1327653918","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327653920":["hashtag1","hashtag2"]},{"1327653921":["hashtag1","hashtag2"]},{"1327653918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327653920, 1327653921, 1327653918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.621569395065308 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:16:02.555112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:16:21.974342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/15/image_09012025_11_15_02_977042_0003.jpg', '/home/pi/Desktop/images/09012025/11/16/image_09012025_11_16_02_231903_0000.jpg', '/home/pi/Desktop/images/09012025/11/16/image_09012025_11_16_02_231903_0001.jpg', '/home/pi/Desktop/images/09012025/11/16/image_09012025_11_16_02_231903_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/15/image_09012025_11_15_02_977042_0003.jpg
/home/pi/Desktop/images/09012025/11/16/image_09012025_11_16_02_231903_0000.jpg
/home/pi/Desktop/images/09012025/11/16/image_09012025_11_16_02_231903_0001.jpg
/home/pi/Desktop/images/09012025/11/16/image_09012025_11_16_02_231903_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327653947","1327653949","1327653951","1327653950"],"photo_ids_order":["1327653947","1327653949","1327653950","1327653951"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/297fb58fbc8cbfc49dcdc3814773d867.jpg","text":"TemporaryFile(/tmp/multipartBody3452539873309592243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417852415,"filename":"image_09012025_11_15_02_977042_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3cb0e563af7d4a04879c95df1b9c35ca.jpg","text":"TemporaryFile(/tmp/multipartBody4131731359650052842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417852415,"filename":"image_09012025_11_16_02_231903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3013c3af1bbbcddb55116c07073fe39e.jpg","text":"TemporaryFile(/tmp/multipartBody5173011298361428805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417852415,"filename":"image_09012025_11_16_02_231903_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6791a6b71df7d2beb5a3d93768b9c15f.jpg","text":"TemporaryFile(/tmp/multipartBody5286670759252831740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417852415,"filename":"image_09012025_11_16_02_231903_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327653950","file1":"1327653949","file0":"1327653947","file3":"1327653951"},"map_files_photo_id_array":[{"photo_id":"1327653950","filename":"file2"},{"photo_id":"1327653949","filename":"file1"},{"photo_id":"1327653947","filename":"file0"},{"photo_id":"1327653951","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327653947":["hashtag1","hashtag2"]},{"1327653949":["hashtag1","hashtag2"]},{"1327653951":["hashtag1","hashtag2"]},{"1327653950":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327653947, 1327653949, 1327653951, 1327653950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.150806188583374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:17:22.188761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/16/image_09012025_11_16_02_231903_0003.jpg', '/home/pi/Desktop/images/09012025/11/17/image_09012025_11_17_02_307310_0000.jpg', '/home/pi/Desktop/images/09012025/11/17/image_09012025_11_17_02_307310_0001.jpg', '/home/pi/Desktop/images/09012025/11/17/image_09012025_11_17_02_307310_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/16/image_09012025_11_16_02_231903_0003.jpg
/home/pi/Desktop/images/09012025/11/17/image_09012025_11_17_02_307310_0000.jpg
/home/pi/Desktop/images/09012025/11/17/image_09012025_11_17_02_307310_0001.jpg
/home/pi/Desktop/images/09012025/11/17/image_09012025_11_17_02_307310_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327653994","1327653991","1327653993","1327653989"],"photo_ids_order":["1327653989","1327653991","1327653993","1327653994"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/652b49c57f0af3859a3c9873677b4f09.jpg","text":"TemporaryFile(/tmp/multipartBody1809194308240446710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417912413,"filename":"image_09012025_11_17_02_307310_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/07ef8749de5ce1329a7bc6f948a04f5c.jpg","text":"TemporaryFile(/tmp/multipartBody6085745176087363633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417912413,"filename":"image_09012025_11_17_02_307310_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d5d5a7b9f5a98bc3a2f8b12c2bdd62e4.jpg","text":"TemporaryFile(/tmp/multipartBody5538506971652456845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417912413,"filename":"image_09012025_11_17_02_307310_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/67ca3ab8308cd7735500b9e043e4e450.jpg","text":"TemporaryFile(/tmp/multipartBody7470875112274296189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417912413,"filename":"image_09012025_11_16_02_231903_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327653993","file1":"1327653991","file0":"1327653989","file3":"1327653994"},"map_files_photo_id_array":[{"photo_id":"1327653993","filename":"file2"},{"photo_id":"1327653991","filename":"file1"},{"photo_id":"1327653989","filename":"file0"},{"photo_id":"1327653994","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327653994":["hashtag1","hashtag2"]},{"1327653991":["hashtag1","hashtag2"]},{"1327653993":["hashtag1","hashtag2"]},{"1327653989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327653994, 1327653991, 1327653993, 1327653989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 47.91016221046448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:18:22.361796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/17/image_09012025_11_17_02_307310_0003.jpg', '/home/pi/Desktop/images/09012025/11/18/image_09012025_11_18_02_507431_0000.jpg', '/home/pi/Desktop/images/09012025/11/18/image_09012025_11_18_02_507431_0001.jpg', '/home/pi/Desktop/images/09012025/11/18/image_09012025_11_18_02_507431_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/17/image_09012025_11_17_02_307310_0003.jpg
/home/pi/Desktop/images/09012025/11/18/image_09012025_11_18_02_507431_0000.jpg
/home/pi/Desktop/images/09012025/11/18/image_09012025_11_18_02_507431_0001.jpg
/home/pi/Desktop/images/09012025/11/18/image_09012025_11_18_02_507431_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327654090","1327654102","1327654105","1327654076"],"photo_ids_order":["1327654076","1327654090","1327654102","1327654105"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3e6a1d137864b2964d189484a74470b8.jpg","text":"TemporaryFile(/tmp/multipartBody5781636340301820352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417972650,"filename":"image_09012025_11_18_02_507431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/73d79f551aa883683ba0c55ac8281b22.jpg","text":"TemporaryFile(/tmp/multipartBody7651325974551771476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417972650,"filename":"image_09012025_11_18_02_507431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5f28ef43c14f443f15204b3e84b73ec1.jpg","text":"TemporaryFile(/tmp/multipartBody5632359239119135546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417972650,"filename":"image_09012025_11_18_02_507431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f675fde166eb44cb887138aabca34e6c.jpg","text":"TemporaryFile(/tmp/multipartBody2259964470715739431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736417972650,"filename":"image_09012025_11_17_02_307310_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327654102","file1":"1327654090","file0":"1327654076","file3":"1327654105"},"map_files_photo_id_array":[{"photo_id":"1327654102","filename":"file2"},{"photo_id":"1327654090","filename":"file1"},{"photo_id":"1327654076","filename":"file0"},{"photo_id":"1327654105","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327654090":["hashtag1","hashtag2"]},{"1327654102":["hashtag1","hashtag2"]},{"1327654105":["hashtag1","hashtag2"]},{"1327654076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327654090, 1327654102, 1327654105, 1327654076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.20896792411804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:19:22.611438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/18/image_09012025_11_18_02_507431_0003.jpg', '/home/pi/Desktop/images/09012025/11/19/image_09012025_11_19_02_723295_0000.jpg', '/home/pi/Desktop/images/09012025/11/19/image_09012025_11_19_02_723295_0001.jpg', '/home/pi/Desktop/images/09012025/11/19/image_09012025_11_19_02_723295_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/18/image_09012025_11_18_02_507431_0003.jpg
/home/pi/Desktop/images/09012025/11/19/image_09012025_11_19_02_723295_0000.jpg
/home/pi/Desktop/images/09012025/11/19/image_09012025_11_19_02_723295_0001.jpg
/home/pi/Desktop/images/09012025/11/19/image_09012025_11_19_02_723295_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327654177","1327654135","1327654119","1327654163"],"photo_ids_order":["1327654119","1327654135","1327654163","1327654177"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/96270d30253f7615021cabab7d1bf694.jpg","text":"TemporaryFile(/tmp/multipartBody7131855040703835996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418032791,"filename":"image_09012025_11_19_02_723295_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4e91c23ebd0db860318d73a9582e54a6.jpg","text":"TemporaryFile(/tmp/multipartBody7387637088515182481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418032791,"filename":"image_09012025_11_19_02_723295_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3f2720277b03eecc9acc60214e08fb11.jpg","text":"TemporaryFile(/tmp/multipartBody3864674623864612315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418032791,"filename":"image_09012025_11_18_02_507431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8665fdcfc18739f70d8eb461ca4cc6f6.jpg","text":"TemporaryFile(/tmp/multipartBody8988099529504129618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418032791,"filename":"image_09012025_11_19_02_723295_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327654163","file1":"1327654135","file0":"1327654119","file3":"1327654177"},"map_files_photo_id_array":[{"photo_id":"1327654163","filename":"file2"},{"photo_id":"1327654135","filename":"file1"},{"photo_id":"1327654119","filename":"file0"},{"photo_id":"1327654177","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327654177":["hashtag1","hashtag2"]},{"1327654135":["hashtag1","hashtag2"]},{"1327654119":["hashtag1","hashtag2"]},{"1327654163":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327654177, 1327654135, 1327654119, 1327654163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.63681769371033 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:20:22.796736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/19/image_09012025_11_19_02_723295_0003.jpg', '/home/pi/Desktop/images/09012025/11/20/image_09012025_11_20_02_926219_0001.jpg', '/home/pi/Desktop/images/09012025/11/20/image_09012025_11_20_02_926219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/19/image_09012025_11_19_02_723295_0003.jpg
/home/pi/Desktop/images/09012025/11/20/image_09012025_11_20_02_926219_0001.jpg
/home/pi/Desktop/images/09012025/11/20/image_09012025_11_20_02_926219_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.496206283569336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 11:20:32.755026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/19/image_09012025_11_19_02_723295_0003.jpg', '/home/pi/Desktop/images/09012025/11/20/image_09012025_11_20_02_926219_0001.jpg', '/home/pi/Desktop/images/09012025/11/20/image_09012025_11_20_02_926219_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/19/image_09012025_11_19_02_723295_0003.jpg
/home/pi/Desktop/images/09012025/11/20/image_09012025_11_20_02_926219_0001.jpg
/home/pi/Desktop/images/09012025/11/20/image_09012025_11_20_02_926219_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327654627","1327654283","1327654463"],"photo_ids_order":["1327654283","1327654463","1327654627"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2e354b9b45b3cd6ad6009e6a972dfc1e.jpg","text":"TemporaryFile(/tmp/multipartBody4119837700059613611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418100628,"filename":"image_09012025_11_20_02_926219_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/59797d134651314e331ad48867bce0d7.jpg","text":"TemporaryFile(/tmp/multipartBody357782641091711031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418100628,"filename":"image_09012025_11_19_02_723295_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f026620055b6a8415d60e8b9206e393e.jpg","text":"TemporaryFile(/tmp/multipartBody9012200915983644721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418100628,"filename":"image_09012025_11_20_02_926219_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327654627","file1":"1327654463","file0":"1327654283"},"map_files_photo_id_array":[{"photo_id":"1327654627","filename":"file2"},{"photo_id":"1327654463","filename":"file1"},{"photo_id":"1327654283","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327654627":["hashtag1","hashtag2"]},{"1327654283":["hashtag1","hashtag2"]},{"1327654463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327654627, 1327654283, 1327654463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.810089111328125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:21:21.982073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/20/image_09012025_11_20_02_926219_0003.jpg', '/home/pi/Desktop/images/09012025/11/21/image_09012025_11_21_03_104735_0000.jpg', '/home/pi/Desktop/images/09012025/11/21/image_09012025_11_21_03_104735_0001.jpg', '/home/pi/Desktop/images/09012025/11/21/image_09012025_11_21_03_104735_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/20/image_09012025_11_20_02_926219_0003.jpg
/home/pi/Desktop/images/09012025/11/21/image_09012025_11_21_03_104735_0000.jpg
/home/pi/Desktop/images/09012025/11/21/image_09012025_11_21_03_104735_0001.jpg
/home/pi/Desktop/images/09012025/11/21/image_09012025_11_21_03_104735_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327654939","1327654934","1327654943","1327654931"],"photo_ids_order":["1327654931","1327654934","1327654939","1327654943"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c70d22aa5b5f85614f47eedaf7e917f3.jpg","text":"TemporaryFile(/tmp/multipartBody7845249922749890818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418152362,"filename":"image_09012025_11_21_03_104735_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e53ad72fcb6a064995d403436e272d10.jpg","text":"TemporaryFile(/tmp/multipartBody3363189452592804312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418152362,"filename":"image_09012025_11_21_03_104735_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/478cf2ce2363afc9209ca2af7acb8fe2.jpg","text":"TemporaryFile(/tmp/multipartBody2845583833586037162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418152362,"filename":"image_09012025_11_21_03_104735_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1235b45d86fefdc2c426afa75ccf5ef6.jpg","text":"TemporaryFile(/tmp/multipartBody3085767177693984899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418152362,"filename":"image_09012025_11_20_02_926219_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327654939","file1":"1327654934","file0":"1327654931","file3":"1327654943"},"map_files_photo_id_array":[{"photo_id":"1327654939","filename":"file2"},{"photo_id":"1327654934","filename":"file1"},{"photo_id":"1327654931","filename":"file0"},{"photo_id":"1327654943","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327654939":["hashtag1","hashtag2"]},{"1327654934":["hashtag1","hashtag2"]},{"1327654943":["hashtag1","hashtag2"]},{"1327654931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327654939, 1327654934, 1327654943, 1327654931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.24708962440491 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:22:22.268763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/21/image_09012025_11_21_03_104735_0003.jpg', '/home/pi/Desktop/images/09012025/11/22/image_09012025_11_22_02_340865_0000.jpg', '/home/pi/Desktop/images/09012025/11/22/image_09012025_11_22_02_340865_0001.jpg', '/home/pi/Desktop/images/09012025/11/22/image_09012025_11_22_02_340865_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/21/image_09012025_11_21_03_104735_0003.jpg
/home/pi/Desktop/images/09012025/11/22/image_09012025_11_22_02_340865_0000.jpg
/home/pi/Desktop/images/09012025/11/22/image_09012025_11_22_02_340865_0001.jpg
/home/pi/Desktop/images/09012025/11/22/image_09012025_11_22_02_340865_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327655451","1327655436","1327655502","1327655269"],"photo_ids_order":["1327655269","1327655436","1327655451","1327655502"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e3b3ab2c24181652319f45df19db61c.jpg","text":"TemporaryFile(/tmp/multipartBody5612041730374514886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418212546,"filename":"image_09012025_11_22_02_340865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a1fa1bc654ebe3063f540959244d87f9.jpg","text":"TemporaryFile(/tmp/multipartBody3829267334720341333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418212546,"filename":"image_09012025_11_22_02_340865_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/156bbeb92417e26f57015ef0f86914fa.jpg","text":"TemporaryFile(/tmp/multipartBody3225650023194734178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418212546,"filename":"image_09012025_11_22_02_340865_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e2a29fb7f7fc6addc1e2f27ebff9c0ef.jpg","text":"TemporaryFile(/tmp/multipartBody3487690683509502204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418212546,"filename":"image_09012025_11_21_03_104735_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327655451","file1":"1327655436","file0":"1327655269","file3":"1327655502"},"map_files_photo_id_array":[{"photo_id":"1327655451","filename":"file2"},{"photo_id":"1327655436","filename":"file1"},{"photo_id":"1327655269","filename":"file0"},{"photo_id":"1327655502","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327655451":["hashtag1","hashtag2"]},{"1327655436":["hashtag1","hashtag2"]},{"1327655502":["hashtag1","hashtag2"]},{"1327655269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327655451, 1327655436, 1327655502, 1327655269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.28650736808777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:23:22.391102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/22/image_09012025_11_22_02_340865_0003.jpg', '/home/pi/Desktop/images/09012025/11/23/image_09012025_11_23_02_548137_0000.jpg', '/home/pi/Desktop/images/09012025/11/23/image_09012025_11_23_02_548137_0001.jpg', '/home/pi/Desktop/images/09012025/11/23/image_09012025_11_23_02_548137_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/22/image_09012025_11_22_02_340865_0003.jpg
/home/pi/Desktop/images/09012025/11/23/image_09012025_11_23_02_548137_0000.jpg
/home/pi/Desktop/images/09012025/11/23/image_09012025_11_23_02_548137_0001.jpg
/home/pi/Desktop/images/09012025/11/23/image_09012025_11_23_02_548137_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327655589","1327655598","1327655579","1327655578"],"photo_ids_order":["1327655578","1327655579","1327655589","1327655598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c5b0dd5f82dc6117634ff29d57937ffd.jpg","text":"TemporaryFile(/tmp/multipartBody5948432915414482608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418272622,"filename":"image_09012025_11_23_02_548137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cc6cca4fd566828ced971c328c9762e2.jpg","text":"TemporaryFile(/tmp/multipartBody1859792849486091026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418272622,"filename":"image_09012025_11_23_02_548137_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/717af2c47389872937e1fd8001ac75ad.jpg","text":"TemporaryFile(/tmp/multipartBody642061318338660487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418272622,"filename":"image_09012025_11_23_02_548137_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/99a2a9e05888da3209770a142746ce0c.jpg","text":"TemporaryFile(/tmp/multipartBody9025948289211925215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418272622,"filename":"image_09012025_11_22_02_340865_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327655589","file1":"1327655579","file0":"1327655578","file3":"1327655598"},"map_files_photo_id_array":[{"photo_id":"1327655589","filename":"file2"},{"photo_id":"1327655579","filename":"file1"},{"photo_id":"1327655578","filename":"file0"},{"photo_id":"1327655598","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327655589":["hashtag1","hashtag2"]},{"1327655598":["hashtag1","hashtag2"]},{"1327655579":["hashtag1","hashtag2"]},{"1327655578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327655589, 1327655598, 1327655579, 1327655578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.36562728881836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:24:02.956975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:24:22.587809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/23/image_09012025_11_23_02_548137_0003.jpg', '/home/pi/Desktop/images/09012025/11/24/image_09012025_11_24_02_700454_0000.jpg', '/home/pi/Desktop/images/09012025/11/24/image_09012025_11_24_02_700454_0001.jpg', '/home/pi/Desktop/images/09012025/11/24/image_09012025_11_24_02_700454_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/23/image_09012025_11_23_02_548137_0003.jpg
/home/pi/Desktop/images/09012025/11/24/image_09012025_11_24_02_700454_0000.jpg
/home/pi/Desktop/images/09012025/11/24/image_09012025_11_24_02_700454_0001.jpg
/home/pi/Desktop/images/09012025/11/24/image_09012025_11_24_02_700454_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327655614","1327655616","1327655615","1327655618"],"photo_ids_order":["1327655614","1327655615","1327655616","1327655618"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/082a3d1db330ead532d1e1b0f720ccf1.jpg","text":"TemporaryFile(/tmp/multipartBody8354859957744198710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418332854,"filename":"image_09012025_11_23_02_548137_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/620ded32f4beca699a538a74552627c1.jpg","text":"TemporaryFile(/tmp/multipartBody4895871398526544934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418332854,"filename":"image_09012025_11_24_02_700454_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ceac3f1308456e8fcb4e7de765211469.jpg","text":"TemporaryFile(/tmp/multipartBody3227576316434833609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418332854,"filename":"image_09012025_11_24_02_700454_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cdfa53edf37f54f458cc0c062a3aaf1b.jpg","text":"TemporaryFile(/tmp/multipartBody2248775390891598466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418332854,"filename":"image_09012025_11_24_02_700454_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327655616","file1":"1327655615","file0":"1327655614","file3":"1327655618"},"map_files_photo_id_array":[{"photo_id":"1327655616","filename":"file2"},{"photo_id":"1327655615","filename":"file1"},{"photo_id":"1327655614","filename":"file0"},{"photo_id":"1327655618","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327655614":["hashtag1","hashtag2"]},{"1327655616":["hashtag1","hashtag2"]},{"1327655615":["hashtag1","hashtag2"]},{"1327655618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327655614, 1327655616, 1327655615, 1327655618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77275085449219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:25:03.290124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:25:22.736260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/24/image_09012025_11_24_02_700454_0003.jpg', '/home/pi/Desktop/images/09012025/11/25/image_09012025_11_25_02_992485_0000.jpg', '/home/pi/Desktop/images/09012025/11/25/image_09012025_11_25_02_992485_0001.jpg', '/home/pi/Desktop/images/09012025/11/25/image_09012025_11_25_02_992485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/24/image_09012025_11_24_02_700454_0003.jpg
/home/pi/Desktop/images/09012025/11/25/image_09012025_11_25_02_992485_0000.jpg
/home/pi/Desktop/images/09012025/11/25/image_09012025_11_25_02_992485_0001.jpg
/home/pi/Desktop/images/09012025/11/25/image_09012025_11_25_02_992485_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327655641","1327655642","1327655639","1327655650"],"photo_ids_order":["1327655639","1327655641","1327655642","1327655650"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e79314d4b9f8f15425b29c09dce3f2d3.jpg","text":"TemporaryFile(/tmp/multipartBody2863656236937335193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418393135,"filename":"image_09012025_11_25_02_992485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/818fa6d00ecab089dcc4b31c0ab4c9bc.jpg","text":"TemporaryFile(/tmp/multipartBody6817833793190524985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418393135,"filename":"image_09012025_11_25_02_992485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ba7911bb428b3c9df7022d06c33e5e2c.jpg","text":"TemporaryFile(/tmp/multipartBody3551581084428915892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418393135,"filename":"image_09012025_11_24_02_700454_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8516cea5bb953f966b4da23e8f92be18.jpg","text":"TemporaryFile(/tmp/multipartBody344537898297832023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418393135,"filename":"image_09012025_11_25_02_992485_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327655642","file1":"1327655641","file0":"1327655639","file3":"1327655650"},"map_files_photo_id_array":[{"photo_id":"1327655642","filename":"file2"},{"photo_id":"1327655641","filename":"file1"},{"photo_id":"1327655639","filename":"file0"},{"photo_id":"1327655650","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327655641":["hashtag1","hashtag2"]},{"1327655642":["hashtag1","hashtag2"]},{"1327655639":["hashtag1","hashtag2"]},{"1327655650":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327655641, 1327655642, 1327655639, 1327655650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.139716148376465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:26:21.941399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/25/image_09012025_11_25_02_992485_0003.jpg', '/home/pi/Desktop/images/09012025/11/26/image_09012025_11_26_03_101846_0000.jpg', '/home/pi/Desktop/images/09012025/11/26/image_09012025_11_26_03_101846_0001.jpg', '/home/pi/Desktop/images/09012025/11/26/image_09012025_11_26_03_101846_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/25/image_09012025_11_25_02_992485_0003.jpg
/home/pi/Desktop/images/09012025/11/26/image_09012025_11_26_03_101846_0000.jpg
/home/pi/Desktop/images/09012025/11/26/image_09012025_11_26_03_101846_0001.jpg
/home/pi/Desktop/images/09012025/11/26/image_09012025_11_26_03_101846_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327655806","1327655753","1327655794","1327655767"],"photo_ids_order":["1327655753","1327655767","1327655794","1327655806"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d928470843d136ccd9cf62427a03d004.jpg","text":"TemporaryFile(/tmp/multipartBody4777373776135415389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418452282,"filename":"image_09012025_11_26_03_101846_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2f77e79eda957e99bcd5c2ad14970723.jpg","text":"TemporaryFile(/tmp/multipartBody9162129970574822356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418452282,"filename":"image_09012025_11_25_02_992485_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0d3419d0d2e579a08f86350d4fd49ab3.jpg","text":"TemporaryFile(/tmp/multipartBody57374446099974514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418452282,"filename":"image_09012025_11_26_03_101846_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/603e3b0511fcd293c55318a5d6eacdf3.jpg","text":"TemporaryFile(/tmp/multipartBody5810151409881397975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418452282,"filename":"image_09012025_11_26_03_101846_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327655794","file1":"1327655767","file0":"1327655753","file3":"1327655806"},"map_files_photo_id_array":[{"photo_id":"1327655794","filename":"file2"},{"photo_id":"1327655767","filename":"file1"},{"photo_id":"1327655753","filename":"file0"},{"photo_id":"1327655806","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327655806":["hashtag1","hashtag2"]},{"1327655753":["hashtag1","hashtag2"]},{"1327655794":["hashtag1","hashtag2"]},{"1327655767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327655806, 1327655753, 1327655794, 1327655767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.11503338813782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:27:02.644101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:27:22.109891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/26/image_09012025_11_26_03_101846_0003.jpg', '/home/pi/Desktop/images/09012025/11/27/image_09012025_11_27_02_286556_0000.jpg', '/home/pi/Desktop/images/09012025/11/27/image_09012025_11_27_02_286556_0001.jpg', '/home/pi/Desktop/images/09012025/11/27/image_09012025_11_27_02_286556_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/26/image_09012025_11_26_03_101846_0003.jpg
/home/pi/Desktop/images/09012025/11/27/image_09012025_11_27_02_286556_0000.jpg
/home/pi/Desktop/images/09012025/11/27/image_09012025_11_27_02_286556_0001.jpg
/home/pi/Desktop/images/09012025/11/27/image_09012025_11_27_02_286556_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327655916","1327655897","1327655876","1327655879"],"photo_ids_order":["1327655876","1327655879","1327655897","1327655916"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c496d776c3bf4fe9cf896ba3c0e8d36e.jpg","text":"TemporaryFile(/tmp/multipartBody2187982381169220510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418512372,"filename":"image_09012025_11_27_02_286556_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8cb0f4303f07e44b36fc31d3bf8bf217.jpg","text":"TemporaryFile(/tmp/multipartBody2388848813509325876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418512372,"filename":"image_09012025_11_27_02_286556_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3f7496ea9884fa4918dd3be30ff50536.jpg","text":"TemporaryFile(/tmp/multipartBody5893152389811415133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418512372,"filename":"image_09012025_11_26_03_101846_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/608e701060d4f3b77ef4750fdca12863.jpg","text":"TemporaryFile(/tmp/multipartBody940172437155826708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418512372,"filename":"image_09012025_11_27_02_286556_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327655897","file1":"1327655879","file0":"1327655876","file3":"1327655916"},"map_files_photo_id_array":[{"photo_id":"1327655897","filename":"file2"},{"photo_id":"1327655879","filename":"file1"},{"photo_id":"1327655876","filename":"file0"},{"photo_id":"1327655916","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327655916":["hashtag1","hashtag2"]},{"1327655897":["hashtag1","hashtag2"]},{"1327655876":["hashtag1","hashtag2"]},{"1327655879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327655916, 1327655897, 1327655876, 1327655879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.70221972465515 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:28:22.273256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/27/image_09012025_11_27_02_286556_0003.jpg', '/home/pi/Desktop/images/09012025/11/28/image_09012025_11_28_02_496343_0000.jpg', '/home/pi/Desktop/images/09012025/11/28/image_09012025_11_28_02_496343_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/27/image_09012025_11_27_02_286556_0003.jpg
/home/pi/Desktop/images/09012025/11/28/image_09012025_11_28_02_496343_0000.jpg
/home/pi/Desktop/images/09012025/11/28/image_09012025_11_28_02_496343_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327655976","1327655973","1327655977"],"photo_ids_order":["1327655973","1327655976","1327655977"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/585aee51610575cc94d06e2198b8463c.jpg","text":"TemporaryFile(/tmp/multipartBody8386014492135934409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418570019,"filename":"image_09012025_11_28_02_496343_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d0983bb8e30df06d047ea2501bc25e77.jpg","text":"TemporaryFile(/tmp/multipartBody6918927635834435726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418570019,"filename":"image_09012025_11_27_02_286556_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6667aac70e83c20f3f8cd148f2242f14.jpg","text":"TemporaryFile(/tmp/multipartBody6153893499974130759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418570019,"filename":"image_09012025_11_28_02_496343_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327655977","file1":"1327655976","file0":"1327655973"},"map_files_photo_id_array":[{"photo_id":"1327655977","filename":"file2"},{"photo_id":"1327655976","filename":"file1"},{"photo_id":"1327655973","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327655976":["hashtag1","hashtag2"]},{"1327655973":["hashtag1","hashtag2"]},{"1327655977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327655976, 1327655973, 1327655977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.147149324417114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:29:03.148491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:29:22.503427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/28/image_09012025_11_28_02_496343_0003.jpg', '/home/pi/Desktop/images/09012025/11/29/image_09012025_11_29_02_635595_0000.jpg', '/home/pi/Desktop/images/09012025/11/29/image_09012025_11_29_02_635595_0001.jpg', '/home/pi/Desktop/images/09012025/11/29/image_09012025_11_29_02_635595_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/28/image_09012025_11_28_02_496343_0003.jpg
/home/pi/Desktop/images/09012025/11/29/image_09012025_11_29_02_635595_0000.jpg
/home/pi/Desktop/images/09012025/11/29/image_09012025_11_29_02_635595_0001.jpg
/home/pi/Desktop/images/09012025/11/29/image_09012025_11_29_02_635595_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656003","1327656005","1327656010","1327656007"],"photo_ids_order":["1327656003","1327656005","1327656007","1327656010"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/029079d085b092f6cb58954a04b6782a.jpg","text":"TemporaryFile(/tmp/multipartBody305789953901310943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418632708,"filename":"image_09012025_11_28_02_496343_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d0ec6d8286d1520dd3dde89b806f12a1.jpg","text":"TemporaryFile(/tmp/multipartBody4985197059448844830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418632708,"filename":"image_09012025_11_29_02_635595_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0302b17b35dff533bf5409c15cb77f6e.jpg","text":"TemporaryFile(/tmp/multipartBody3608350988963908042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418632708,"filename":"image_09012025_11_29_02_635595_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/21d7f9ee430fa21fd663d0855b818095.jpg","text":"TemporaryFile(/tmp/multipartBody7586233752985538861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418632708,"filename":"image_09012025_11_29_02_635595_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656007","file1":"1327656005","file0":"1327656003","file3":"1327656010"},"map_files_photo_id_array":[{"photo_id":"1327656007","filename":"file2"},{"photo_id":"1327656005","filename":"file1"},{"photo_id":"1327656003","filename":"file0"},{"photo_id":"1327656010","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656003":["hashtag1","hashtag2"]},{"1327656005":["hashtag1","hashtag2"]},{"1327656010":["hashtag1","hashtag2"]},{"1327656007":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656003, 1327656005, 1327656010, 1327656007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.326332092285156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:30:03.107801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:30:22.641660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/29/image_09012025_11_29_02_635595_0003.jpg', '/home/pi/Desktop/images/09012025/11/30/image_09012025_11_30_02_786808_0000.jpg', '/home/pi/Desktop/images/09012025/11/30/image_09012025_11_30_02_786808_0001.jpg', '/home/pi/Desktop/images/09012025/11/30/image_09012025_11_30_02_786808_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/29/image_09012025_11_29_02_635595_0003.jpg
/home/pi/Desktop/images/09012025/11/30/image_09012025_11_30_02_786808_0000.jpg
/home/pi/Desktop/images/09012025/11/30/image_09012025_11_30_02_786808_0001.jpg
/home/pi/Desktop/images/09012025/11/30/image_09012025_11_30_02_786808_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656024","1327656026","1327656020","1327656022"],"photo_ids_order":["1327656020","1327656022","1327656024","1327656026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/63d81a977f76f833f3fd1052b8f4250c.jpg","text":"TemporaryFile(/tmp/multipartBody7017478356799277527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418692925,"filename":"image_09012025_11_30_02_786808_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0b85450326475f1a4971084927633436.jpg","text":"TemporaryFile(/tmp/multipartBody1725605500868980761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418692925,"filename":"image_09012025_11_30_02_786808_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/75969fc029cb57b71b208975e23c986c.jpg","text":"TemporaryFile(/tmp/multipartBody1613325737630579696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418692925,"filename":"image_09012025_11_29_02_635595_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fce77a075dc84dfaeaaf62a43e3f208b.jpg","text":"TemporaryFile(/tmp/multipartBody2331726630029542986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418692925,"filename":"image_09012025_11_30_02_786808_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656024","file1":"1327656022","file0":"1327656020","file3":"1327656026"},"map_files_photo_id_array":[{"photo_id":"1327656024","filename":"file2"},{"photo_id":"1327656022","filename":"file1"},{"photo_id":"1327656020","filename":"file0"},{"photo_id":"1327656026","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656024":["hashtag1","hashtag2"]},{"1327656026":["hashtag1","hashtag2"]},{"1327656020":["hashtag1","hashtag2"]},{"1327656022":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656024, 1327656026, 1327656020, 1327656022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.21548819541931 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:31:21.966540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/30/image_09012025_11_30_02_786808_0003.jpg', '/home/pi/Desktop/images/09012025/11/31/image_09012025_11_31_03_024409_0000.jpg', '/home/pi/Desktop/images/09012025/11/31/image_09012025_11_31_03_024409_0001.jpg', '/home/pi/Desktop/images/09012025/11/31/image_09012025_11_31_03_024409_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/30/image_09012025_11_30_02_786808_0003.jpg
/home/pi/Desktop/images/09012025/11/31/image_09012025_11_31_03_024409_0000.jpg
/home/pi/Desktop/images/09012025/11/31/image_09012025_11_31_03_024409_0001.jpg
/home/pi/Desktop/images/09012025/11/31/image_09012025_11_31_03_024409_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656045","1327656048","1327656050","1327656052"],"photo_ids_order":["1327656045","1327656048","1327656050","1327656052"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f5dd52864083abb341a9af561fa87b27.jpg","text":"TemporaryFile(/tmp/multipartBody1726642938234289305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418752327,"filename":"image_09012025_11_30_02_786808_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b9ea9106df89ca48a653d713140276c0.jpg","text":"TemporaryFile(/tmp/multipartBody4937571481035303176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418752327,"filename":"image_09012025_11_31_03_024409_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f5e90405cdcaaca624ed91fcc085b169.jpg","text":"TemporaryFile(/tmp/multipartBody7418555278470357279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418752327,"filename":"image_09012025_11_31_03_024409_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/800b68e6e01163633f35c2f9bb60d92d.jpg","text":"TemporaryFile(/tmp/multipartBody6687402845434271219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418752327,"filename":"image_09012025_11_31_03_024409_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656050","file1":"1327656048","file0":"1327656045","file3":"1327656052"},"map_files_photo_id_array":[{"photo_id":"1327656050","filename":"file2"},{"photo_id":"1327656048","filename":"file1"},{"photo_id":"1327656045","filename":"file0"},{"photo_id":"1327656052","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656045":["hashtag1","hashtag2"]},{"1327656048":["hashtag1","hashtag2"]},{"1327656050":["hashtag1","hashtag2"]},{"1327656052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656045, 1327656048, 1327656050, 1327656052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.41700196266174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:32:02.438899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:32:22.070844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/31/image_09012025_11_31_03_024409_0003.jpg', '/home/pi/Desktop/images/09012025/11/32/image_09012025_11_32_02_300733_0000.jpg', '/home/pi/Desktop/images/09012025/11/32/image_09012025_11_32_02_300733_0001.jpg', '/home/pi/Desktop/images/09012025/11/32/image_09012025_11_32_02_300733_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/31/image_09012025_11_31_03_024409_0003.jpg
/home/pi/Desktop/images/09012025/11/32/image_09012025_11_32_02_300733_0000.jpg
/home/pi/Desktop/images/09012025/11/32/image_09012025_11_32_02_300733_0001.jpg
/home/pi/Desktop/images/09012025/11/32/image_09012025_11_32_02_300733_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656072","1327656079","1327656070","1327656093"],"photo_ids_order":["1327656070","1327656072","1327656079","1327656093"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/813754e7ddbc68e8a6bd01309d698d9b.jpg","text":"TemporaryFile(/tmp/multipartBody1316245002161536739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418812500,"filename":"image_09012025_11_32_02_300733_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ea591a7fb2b3dee79cbe645cf8d421e3.jpg","text":"TemporaryFile(/tmp/multipartBody418863435897984812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418812500,"filename":"image_09012025_11_32_02_300733_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bf750a0abebe409627b89e1957b1cc71.jpg","text":"TemporaryFile(/tmp/multipartBody4547884871149827596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418812500,"filename":"image_09012025_11_31_03_024409_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/865e42e7e8dc7fa113adbaba1ebd483a.jpg","text":"TemporaryFile(/tmp/multipartBody6170090649047317374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418812500,"filename":"image_09012025_11_32_02_300733_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656079","file1":"1327656072","file0":"1327656070","file3":"1327656093"},"map_files_photo_id_array":[{"photo_id":"1327656079","filename":"file2"},{"photo_id":"1327656072","filename":"file1"},{"photo_id":"1327656070","filename":"file0"},{"photo_id":"1327656093","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656072":["hashtag1","hashtag2"]},{"1327656079":["hashtag1","hashtag2"]},{"1327656070":["hashtag1","hashtag2"]},{"1327656093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656072, 1327656079, 1327656070, 1327656093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.736510276794434 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:33:22.230844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/32/image_09012025_11_32_02_300733_0003.jpg', '/home/pi/Desktop/images/09012025/11/33/image_09012025_11_33_02_386850_0000.jpg', '/home/pi/Desktop/images/09012025/11/33/image_09012025_11_33_02_386850_0001.jpg', '/home/pi/Desktop/images/09012025/11/33/image_09012025_11_33_02_386850_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/32/image_09012025_11_32_02_300733_0003.jpg
/home/pi/Desktop/images/09012025/11/33/image_09012025_11_33_02_386850_0000.jpg
/home/pi/Desktop/images/09012025/11/33/image_09012025_11_33_02_386850_0001.jpg
/home/pi/Desktop/images/09012025/11/33/image_09012025_11_33_02_386850_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656183","1327656210","1327656185","1327656212"],"photo_ids_order":["1327656183","1327656185","1327656210","1327656212"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f2c9d543eda437d438a60332c6e4aab5.jpg","text":"TemporaryFile(/tmp/multipartBody8868129128364709753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418872549,"filename":"image_09012025_11_32_02_300733_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5ba614084db5820e3ea05f492b2df93b.jpg","text":"TemporaryFile(/tmp/multipartBody405471903720558197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418872549,"filename":"image_09012025_11_33_02_386850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/070f27e5b158347aaf57574380aa69f3.jpg","text":"TemporaryFile(/tmp/multipartBody1654545893526876957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418872549,"filename":"image_09012025_11_33_02_386850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/da80b03f71d2c8be9bbf507a40d61cdd.jpg","text":"TemporaryFile(/tmp/multipartBody7529439066868752718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418872549,"filename":"image_09012025_11_33_02_386850_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656210","file1":"1327656185","file0":"1327656183","file3":"1327656212"},"map_files_photo_id_array":[{"photo_id":"1327656210","filename":"file2"},{"photo_id":"1327656185","filename":"file1"},{"photo_id":"1327656183","filename":"file0"},{"photo_id":"1327656212","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656183":["hashtag1","hashtag2"]},{"1327656210":["hashtag1","hashtag2"]},{"1327656185":["hashtag1","hashtag2"]},{"1327656212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656183, 1327656210, 1327656185, 1327656212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.85289144515991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:34:22.414390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/33/image_09012025_11_33_02_386850_0003.jpg', '/home/pi/Desktop/images/09012025/11/34/image_09012025_11_34_02_558384_0000.jpg', '/home/pi/Desktop/images/09012025/11/34/image_09012025_11_34_02_558384_0001.jpg', '/home/pi/Desktop/images/09012025/11/34/image_09012025_11_34_02_558384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/33/image_09012025_11_33_02_386850_0003.jpg
/home/pi/Desktop/images/09012025/11/34/image_09012025_11_34_02_558384_0000.jpg
/home/pi/Desktop/images/09012025/11/34/image_09012025_11_34_02_558384_0001.jpg
/home/pi/Desktop/images/09012025/11/34/image_09012025_11_34_02_558384_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656360","1327656366","1327656362","1327656364"],"photo_ids_order":["1327656360","1327656362","1327656364","1327656366"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2a1c1bddce1d3d08c4eb467828383c58.jpg","text":"TemporaryFile(/tmp/multipartBody162239662407276648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418932735,"filename":"image_09012025_11_33_02_386850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ed1e04d5d161661aa81b1ea6420f5867.jpg","text":"TemporaryFile(/tmp/multipartBody8515047559596461146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418932735,"filename":"image_09012025_11_34_02_558384_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/04c2cba370bf710fa4beafcfbad7cd21.jpg","text":"TemporaryFile(/tmp/multipartBody548509047605440284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418932735,"filename":"image_09012025_11_34_02_558384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ae1e75f590dd0146844899c3889f64ad.jpg","text":"TemporaryFile(/tmp/multipartBody4749411073146525862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418932735,"filename":"image_09012025_11_34_02_558384_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656364","file1":"1327656362","file0":"1327656360","file3":"1327656366"},"map_files_photo_id_array":[{"photo_id":"1327656364","filename":"file2"},{"photo_id":"1327656362","filename":"file1"},{"photo_id":"1327656360","filename":"file0"},{"photo_id":"1327656366","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656360":["hashtag1","hashtag2"]},{"1327656366":["hashtag1","hashtag2"]},{"1327656362":["hashtag1","hashtag2"]},{"1327656364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656360, 1327656366, 1327656362, 1327656364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.455812215805054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:35:03.240930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:35:22.520774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/34/image_09012025_11_34_02_558384_0003.jpg', '/home/pi/Desktop/images/09012025/11/35/image_09012025_11_35_02_786056_0000.jpg', '/home/pi/Desktop/images/09012025/11/35/image_09012025_11_35_02_786056_0001.jpg', '/home/pi/Desktop/images/09012025/11/35/image_09012025_11_35_02_786056_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/34/image_09012025_11_34_02_558384_0003.jpg
/home/pi/Desktop/images/09012025/11/35/image_09012025_11_35_02_786056_0000.jpg
/home/pi/Desktop/images/09012025/11/35/image_09012025_11_35_02_786056_0001.jpg
/home/pi/Desktop/images/09012025/11/35/image_09012025_11_35_02_786056_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656381","1327656383","1327656377","1327656379"],"photo_ids_order":["1327656377","1327656379","1327656381","1327656383"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/097902ef1aba9ae2d4b2a72888e9507e.jpg","text":"TemporaryFile(/tmp/multipartBody7492612780866775977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418992839,"filename":"image_09012025_11_35_02_786056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e7a40482d14936d4c46f665c12784d47.jpg","text":"TemporaryFile(/tmp/multipartBody1389203786611140417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418992839,"filename":"image_09012025_11_35_02_786056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/07edecdd9dbfc82abed3989357937703.jpg","text":"TemporaryFile(/tmp/multipartBody3261718909866667941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418992839,"filename":"image_09012025_11_34_02_558384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f960ad3d998ce273494ccb492fc0eabb.jpg","text":"TemporaryFile(/tmp/multipartBody2557252588637703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736418992839,"filename":"image_09012025_11_35_02_786056_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656381","file1":"1327656379","file0":"1327656377","file3":"1327656383"},"map_files_photo_id_array":[{"photo_id":"1327656381","filename":"file2"},{"photo_id":"1327656379","filename":"file1"},{"photo_id":"1327656377","filename":"file0"},{"photo_id":"1327656383","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656381":["hashtag1","hashtag2"]},{"1327656383":["hashtag1","hashtag2"]},{"1327656377":["hashtag1","hashtag2"]},{"1327656379":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656381, 1327656383, 1327656377, 1327656379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.590381145477295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:36:22.812279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/35/image_09012025_11_35_02_786056_0003.jpg', '/home/pi/Desktop/images/09012025/11/36/image_09012025_11_36_02_873901_0000.jpg', '/home/pi/Desktop/images/09012025/11/36/image_09012025_11_36_02_873901_0001.jpg', '/home/pi/Desktop/images/09012025/11/36/image_09012025_11_36_02_873901_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/35/image_09012025_11_35_02_786056_0003.jpg
/home/pi/Desktop/images/09012025/11/36/image_09012025_11_36_02_873901_0000.jpg
/home/pi/Desktop/images/09012025/11/36/image_09012025_11_36_02_873901_0001.jpg
/home/pi/Desktop/images/09012025/11/36/image_09012025_11_36_02_873901_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656534","1327656485","1327656536","1327656514"],"photo_ids_order":["1327656485","1327656514","1327656534","1327656536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/73a9bc9f81091b5bcd4f6c6d11e32e73.jpg","text":"TemporaryFile(/tmp/multipartBody782570499460945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419053211,"filename":"image_09012025_11_36_02_873901_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/71a3f530a4af80946ddeeee4a6449652.jpg","text":"TemporaryFile(/tmp/multipartBody924360458502211156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419053211,"filename":"image_09012025_11_35_02_786056_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8c5172524d321dc085df9bae8a198ab2.jpg","text":"TemporaryFile(/tmp/multipartBody4057610330995553128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419053211,"filename":"image_09012025_11_36_02_873901_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/79c84209d85afbc6a531687b2728d5f6.jpg","text":"TemporaryFile(/tmp/multipartBody7041418030043034451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419053211,"filename":"image_09012025_11_36_02_873901_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656534","file1":"1327656514","file0":"1327656485","file3":"1327656536"},"map_files_photo_id_array":[{"photo_id":"1327656534","filename":"file2"},{"photo_id":"1327656514","filename":"file1"},{"photo_id":"1327656485","filename":"file0"},{"photo_id":"1327656536","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656534":["hashtag1","hashtag2"]},{"1327656485":["hashtag1","hashtag2"]},{"1327656536":["hashtag1","hashtag2"]},{"1327656514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656534, 1327656485, 1327656536, 1327656514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.46693992614746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:37:02.557829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:37:21.950879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/36/image_09012025_11_36_02_873901_0003.jpg', '/home/pi/Desktop/images/09012025/11/37/image_09012025_11_37_03_076472_0000.jpg', '/home/pi/Desktop/images/09012025/11/37/image_09012025_11_37_03_076472_0001.jpg', '/home/pi/Desktop/images/09012025/11/37/image_09012025_11_37_03_076472_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/36/image_09012025_11_36_02_873901_0003.jpg
/home/pi/Desktop/images/09012025/11/37/image_09012025_11_37_03_076472_0000.jpg
/home/pi/Desktop/images/09012025/11/37/image_09012025_11_37_03_076472_0001.jpg
/home/pi/Desktop/images/09012025/11/37/image_09012025_11_37_03_076472_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656558","1327656563","1327656566","1327656560"],"photo_ids_order":["1327656558","1327656560","1327656563","1327656566"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/62ea324ddc1e0e8b114b9ebccacff783.jpg","text":"TemporaryFile(/tmp/multipartBody7606095769198406545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419112198,"filename":"image_09012025_11_36_02_873901_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5bbf6593bafc0ec8017e69cb7f858f68.jpg","text":"TemporaryFile(/tmp/multipartBody4691929439876555310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419112198,"filename":"image_09012025_11_37_03_076472_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5ef8a48abf7a236f10724ba0e3a1c7fd.jpg","text":"TemporaryFile(/tmp/multipartBody6317617372004069665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419112198,"filename":"image_09012025_11_37_03_076472_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/84ff94248dcecb6cb1b841cbd368a8fe.jpg","text":"TemporaryFile(/tmp/multipartBody6204236994762607344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419112198,"filename":"image_09012025_11_37_03_076472_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656563","file1":"1327656560","file0":"1327656558","file3":"1327656566"},"map_files_photo_id_array":[{"photo_id":"1327656563","filename":"file2"},{"photo_id":"1327656560","filename":"file1"},{"photo_id":"1327656558","filename":"file0"},{"photo_id":"1327656566","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656558":["hashtag1","hashtag2"]},{"1327656563":["hashtag1","hashtag2"]},{"1327656566":["hashtag1","hashtag2"]},{"1327656560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656558, 1327656563, 1327656566, 1327656560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.226136207580566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:38:22.256748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/37/image_09012025_11_37_03_076472_0003.jpg', '/home/pi/Desktop/images/09012025/11/38/image_09012025_11_38_02_278330_0000.jpg', '/home/pi/Desktop/images/09012025/11/38/image_09012025_11_38_02_278330_0001.jpg', '/home/pi/Desktop/images/09012025/11/38/image_09012025_11_38_02_278330_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/37/image_09012025_11_37_03_076472_0003.jpg
/home/pi/Desktop/images/09012025/11/38/image_09012025_11_38_02_278330_0000.jpg
/home/pi/Desktop/images/09012025/11/38/image_09012025_11_38_02_278330_0001.jpg
/home/pi/Desktop/images/09012025/11/38/image_09012025_11_38_02_278330_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656575","1327656577","1327656582","1327656585"],"photo_ids_order":["1327656575","1327656577","1327656582","1327656585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/339b0904375d96891bfc73098efe139c.jpg","text":"TemporaryFile(/tmp/multipartBody237536372340966235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419172449,"filename":"image_09012025_11_37_03_076472_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/428f75d84bbf3fba74a8883cd607c243.jpg","text":"TemporaryFile(/tmp/multipartBody9010141836208000605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419172449,"filename":"image_09012025_11_38_02_278330_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b556ffbcd537b24ac92722629c8d860b.jpg","text":"TemporaryFile(/tmp/multipartBody3080708866435888856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419172449,"filename":"image_09012025_11_38_02_278330_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e7076df8c3dcd08c2b889ce2f404585b.jpg","text":"TemporaryFile(/tmp/multipartBody8679325920875538287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419172449,"filename":"image_09012025_11_38_02_278330_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656582","file1":"1327656577","file0":"1327656575","file3":"1327656585"},"map_files_photo_id_array":[{"photo_id":"1327656582","filename":"file2"},{"photo_id":"1327656577","filename":"file1"},{"photo_id":"1327656575","filename":"file0"},{"photo_id":"1327656585","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656575":["hashtag1","hashtag2"]},{"1327656577":["hashtag1","hashtag2"]},{"1327656582":["hashtag1","hashtag2"]},{"1327656585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656575, 1327656577, 1327656582, 1327656585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.48621702194214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:39:03.068448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:39:22.364368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/38/image_09012025_11_38_02_278330_0003.jpg', '/home/pi/Desktop/images/09012025/11/39/image_09012025_11_39_02_603555_0000.jpg', '/home/pi/Desktop/images/09012025/11/39/image_09012025_11_39_02_603555_0001.jpg', '/home/pi/Desktop/images/09012025/11/39/image_09012025_11_39_02_603555_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/38/image_09012025_11_38_02_278330_0003.jpg
/home/pi/Desktop/images/09012025/11/39/image_09012025_11_39_02_603555_0000.jpg
/home/pi/Desktop/images/09012025/11/39/image_09012025_11_39_02_603555_0001.jpg
/home/pi/Desktop/images/09012025/11/39/image_09012025_11_39_02_603555_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656600","1327656603","1327656606","1327656598"],"photo_ids_order":["1327656598","1327656600","1327656603","1327656606"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8fc5114237858684f75cbf45c0df060b.jpg","text":"TemporaryFile(/tmp/multipartBody5121119329820270949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419232655,"filename":"image_09012025_11_39_02_603555_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ecd835ec6d0fef52fbf564e3356e2eba.jpg","text":"TemporaryFile(/tmp/multipartBody7606234901139350678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419232655,"filename":"image_09012025_11_39_02_603555_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/db12f95a655739a1506fbc2205b77caa.jpg","text":"TemporaryFile(/tmp/multipartBody7364809076986760523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419232655,"filename":"image_09012025_11_39_02_603555_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b17bff792f6d105e9e9ecfb541d96865.jpg","text":"TemporaryFile(/tmp/multipartBody6830521831811007600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419232655,"filename":"image_09012025_11_38_02_278330_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656603","file1":"1327656600","file0":"1327656598","file3":"1327656606"},"map_files_photo_id_array":[{"photo_id":"1327656603","filename":"file2"},{"photo_id":"1327656600","filename":"file1"},{"photo_id":"1327656598","filename":"file0"},{"photo_id":"1327656606","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656600":["hashtag1","hashtag2"]},{"1327656603":["hashtag1","hashtag2"]},{"1327656606":["hashtag1","hashtag2"]},{"1327656598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656600, 1327656603, 1327656606, 1327656598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.10471844673157 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:40:02.958377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:40:22.475199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/39/image_09012025_11_39_02_603555_0003.jpg', '/home/pi/Desktop/images/09012025/11/40/image_09012025_11_40_02_785576_0000.jpg', '/home/pi/Desktop/images/09012025/11/40/image_09012025_11_40_02_785576_0001.jpg', '/home/pi/Desktop/images/09012025/11/40/image_09012025_11_40_02_785576_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/39/image_09012025_11_39_02_603555_0003.jpg
/home/pi/Desktop/images/09012025/11/40/image_09012025_11_40_02_785576_0000.jpg
/home/pi/Desktop/images/09012025/11/40/image_09012025_11_40_02_785576_0001.jpg
/home/pi/Desktop/images/09012025/11/40/image_09012025_11_40_02_785576_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656621","1327656618","1327656634","1327656616"],"photo_ids_order":["1327656616","1327656618","1327656621","1327656634"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e2beece6b07f80e23562b9f5bd30ae9f.jpg","text":"TemporaryFile(/tmp/multipartBody469407258229307224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419292740,"filename":"image_09012025_11_40_02_785576_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c74c13190c9353a29ef5869694f37ca1.jpg","text":"TemporaryFile(/tmp/multipartBody8062397205898254129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419292740,"filename":"image_09012025_11_40_02_785576_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/90243fdb6e3c2bdcdc46c7acfef38d1c.jpg","text":"TemporaryFile(/tmp/multipartBody7016506394071771901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419292740,"filename":"image_09012025_11_40_02_785576_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cc35f88430165e534c9ece34271ab903.jpg","text":"TemporaryFile(/tmp/multipartBody6093273275971426129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419292740,"filename":"image_09012025_11_39_02_603555_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656621","file1":"1327656618","file0":"1327656616","file3":"1327656634"},"map_files_photo_id_array":[{"photo_id":"1327656621","filename":"file2"},{"photo_id":"1327656618","filename":"file1"},{"photo_id":"1327656616","filename":"file0"},{"photo_id":"1327656634","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656621":["hashtag1","hashtag2"]},{"1327656618":["hashtag1","hashtag2"]},{"1327656634":["hashtag1","hashtag2"]},{"1327656616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656621, 1327656618, 1327656634, 1327656616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.71114420890808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:41:22.698084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/40/image_09012025_11_40_02_785576_0003.jpg', '/home/pi/Desktop/images/09012025/11/41/image_09012025_11_41_02_849732_0000.jpg', '/home/pi/Desktop/images/09012025/11/41/image_09012025_11_41_02_849732_0001.jpg', '/home/pi/Desktop/images/09012025/11/41/image_09012025_11_41_02_849732_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/40/image_09012025_11_40_02_785576_0003.jpg
/home/pi/Desktop/images/09012025/11/41/image_09012025_11_41_02_849732_0000.jpg
/home/pi/Desktop/images/09012025/11/41/image_09012025_11_41_02_849732_0001.jpg
/home/pi/Desktop/images/09012025/11/41/image_09012025_11_41_02_849732_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656685","1327656682","1327656676","1327656678"],"photo_ids_order":["1327656676","1327656678","1327656682","1327656685"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/285d8a736d339bcf3b1384cc92f5b696.jpg","text":"TemporaryFile(/tmp/multipartBody8097439911350295472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419353086,"filename":"image_09012025_11_41_02_849732_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e88e60a3dd6257eb9b63c8d5eadb0b61.jpg","text":"TemporaryFile(/tmp/multipartBody3018203988564827134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419353086,"filename":"image_09012025_11_41_02_849732_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/043da61eb86ffbea21b288be2e71336a.jpg","text":"TemporaryFile(/tmp/multipartBody4975218875378257833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419353086,"filename":"image_09012025_11_40_02_785576_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5ffc62d0efad435349d3307dfdebbaa8.jpg","text":"TemporaryFile(/tmp/multipartBody7313897745840044543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419353086,"filename":"image_09012025_11_41_02_849732_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656682","file1":"1327656678","file0":"1327656676","file3":"1327656685"},"map_files_photo_id_array":[{"photo_id":"1327656682","filename":"file2"},{"photo_id":"1327656678","filename":"file1"},{"photo_id":"1327656676","filename":"file0"},{"photo_id":"1327656685","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656685":["hashtag1","hashtag2"]},{"1327656682":["hashtag1","hashtag2"]},{"1327656676":["hashtag1","hashtag2"]},{"1327656678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656685, 1327656682, 1327656676, 1327656678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.40491819381714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:42:02.331247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:42:21.927347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/41/image_09012025_11_41_02_849732_0003.jpg', '/home/pi/Desktop/images/09012025/11/42/image_09012025_11_42_03_049900_0000.jpg', '/home/pi/Desktop/images/09012025/11/42/image_09012025_11_42_03_049900_0001.jpg', '/home/pi/Desktop/images/09012025/11/42/image_09012025_11_42_03_049900_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/41/image_09012025_11_41_02_849732_0003.jpg
/home/pi/Desktop/images/09012025/11/42/image_09012025_11_42_03_049900_0000.jpg
/home/pi/Desktop/images/09012025/11/42/image_09012025_11_42_03_049900_0001.jpg
/home/pi/Desktop/images/09012025/11/42/image_09012025_11_42_03_049900_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656698","1327656701","1327656704","1327656696"],"photo_ids_order":["1327656696","1327656698","1327656701","1327656704"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/19da89f5f77e88d378214e6d103e045d.jpg","text":"TemporaryFile(/tmp/multipartBody3516581814017469870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419412383,"filename":"image_09012025_11_42_03_049900_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/91ad9c37100425d790ef36d268e130a8.jpg","text":"TemporaryFile(/tmp/multipartBody6440116927017212826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419412383,"filename":"image_09012025_11_42_03_049900_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/51461edb9fd9947ef35d950e80840186.jpg","text":"TemporaryFile(/tmp/multipartBody4175022911445805396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419412383,"filename":"image_09012025_11_42_03_049900_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/199f3d4453c9537ddc9265bfd7e27a36.jpg","text":"TemporaryFile(/tmp/multipartBody5168106542753822391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419412383,"filename":"image_09012025_11_41_02_849732_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656701","file1":"1327656698","file0":"1327656696","file3":"1327656704"},"map_files_photo_id_array":[{"photo_id":"1327656701","filename":"file2"},{"photo_id":"1327656698","filename":"file1"},{"photo_id":"1327656696","filename":"file0"},{"photo_id":"1327656704","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656698":["hashtag1","hashtag2"]},{"1327656701":["hashtag1","hashtag2"]},{"1327656704":["hashtag1","hashtag2"]},{"1327656696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656698, 1327656701, 1327656704, 1327656696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.02869391441345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:43:22.118389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/42/image_09012025_11_42_03_049900_0003.jpg', '/home/pi/Desktop/images/09012025/11/43/image_09012025_11_43_02_246835_0000.jpg', '/home/pi/Desktop/images/09012025/11/43/image_09012025_11_43_02_246835_0001.jpg', '/home/pi/Desktop/images/09012025/11/43/image_09012025_11_43_02_246835_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/42/image_09012025_11_42_03_049900_0003.jpg
/home/pi/Desktop/images/09012025/11/43/image_09012025_11_43_02_246835_0000.jpg
/home/pi/Desktop/images/09012025/11/43/image_09012025_11_43_02_246835_0001.jpg
/home/pi/Desktop/images/09012025/11/43/image_09012025_11_43_02_246835_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656723","1327656719","1327656716","1327656727"],"photo_ids_order":["1327656716","1327656719","1327656723","1327656727"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ca65625f1553aab7924fe54994354f59.jpg","text":"TemporaryFile(/tmp/multipartBody1728129439287407249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419472340,"filename":"image_09012025_11_43_02_246835_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/501c333e97aed6745da3dc0582229401.jpg","text":"TemporaryFile(/tmp/multipartBody7845799220787673556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419472340,"filename":"image_09012025_11_43_02_246835_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8f9317ea4b8ac557d4f6740838598036.jpg","text":"TemporaryFile(/tmp/multipartBody3283745840186235990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419472340,"filename":"image_09012025_11_42_03_049900_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/286151e9fb72d51d3125c21fc92a7fe1.jpg","text":"TemporaryFile(/tmp/multipartBody3559811236779988642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419472340,"filename":"image_09012025_11_43_02_246835_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656723","file1":"1327656719","file0":"1327656716","file3":"1327656727"},"map_files_photo_id_array":[{"photo_id":"1327656723","filename":"file2"},{"photo_id":"1327656719","filename":"file1"},{"photo_id":"1327656716","filename":"file0"},{"photo_id":"1327656727","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656723":["hashtag1","hashtag2"]},{"1327656719":["hashtag1","hashtag2"]},{"1327656716":["hashtag1","hashtag2"]},{"1327656727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656723, 1327656719, 1327656716, 1327656727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.53825330734253 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:44:22.284001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/43/image_09012025_11_43_02_246835_0003.jpg', '/home/pi/Desktop/images/09012025/11/44/image_09012025_11_44_02_453587_0000.jpg', '/home/pi/Desktop/images/09012025/11/44/image_09012025_11_44_02_453587_0001.jpg', '/home/pi/Desktop/images/09012025/11/44/image_09012025_11_44_02_453587_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/43/image_09012025_11_43_02_246835_0003.jpg
/home/pi/Desktop/images/09012025/11/44/image_09012025_11_44_02_453587_0000.jpg
/home/pi/Desktop/images/09012025/11/44/image_09012025_11_44_02_453587_0001.jpg
/home/pi/Desktop/images/09012025/11/44/image_09012025_11_44_02_453587_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.848929166793823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 11:44:42.281906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/43/image_09012025_11_43_02_246835_0003.jpg', '/home/pi/Desktop/images/09012025/11/44/image_09012025_11_44_02_453587_0000.jpg', '/home/pi/Desktop/images/09012025/11/44/image_09012025_11_44_02_453587_0001.jpg', '/home/pi/Desktop/images/09012025/11/44/image_09012025_11_44_02_453587_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/43/image_09012025_11_43_02_246835_0003.jpg
/home/pi/Desktop/images/09012025/11/44/image_09012025_11_44_02_453587_0000.jpg
/home/pi/Desktop/images/09012025/11/44/image_09012025_11_44_02_453587_0001.jpg
/home/pi/Desktop/images/09012025/11/44/image_09012025_11_44_02_453587_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656774","1327656766","1327656769","1327656762"],"photo_ids_order":["1327656762","1327656766","1327656769","1327656774"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/80210ec24398068df8f9189ed9167efb.jpg","text":"TemporaryFile(/tmp/multipartBody4253084284474538809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419552555,"filename":"image_09012025_11_44_02_453587_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/87c653f20445ffdf69a9150a7b184182.jpg","text":"TemporaryFile(/tmp/multipartBody3284293301046552535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419552555,"filename":"image_09012025_11_44_02_453587_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7744ede2777503a72da89ecb255d075f.jpg","text":"TemporaryFile(/tmp/multipartBody733558682880421176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419552555,"filename":"image_09012025_11_44_02_453587_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/21d16f48452e070c6225b32e3598f24c.jpg","text":"TemporaryFile(/tmp/multipartBody3761295948950230479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419552555,"filename":"image_09012025_11_43_02_246835_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656769","file1":"1327656766","file0":"1327656762","file3":"1327656774"},"map_files_photo_id_array":[{"photo_id":"1327656769","filename":"file2"},{"photo_id":"1327656766","filename":"file1"},{"photo_id":"1327656762","filename":"file0"},{"photo_id":"1327656774","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656774":["hashtag1","hashtag2"]},{"1327656766":["hashtag1","hashtag2"]},{"1327656769":["hashtag1","hashtag2"]},{"1327656762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656774, 1327656766, 1327656769, 1327656762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.6059730052948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 11:45:32.509345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/44/image_09012025_11_44_02_453587_0003.jpg', '/home/pi/Desktop/images/09012025/11/45/image_09012025_11_45_02_660211_0000.jpg', '/home/pi/Desktop/images/09012025/11/45/image_09012025_11_45_02_660211_0001.jpg', '/home/pi/Desktop/images/09012025/11/45/image_09012025_11_45_02_660211_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/44/image_09012025_11_44_02_453587_0003.jpg
/home/pi/Desktop/images/09012025/11/45/image_09012025_11_45_02_660211_0000.jpg
/home/pi/Desktop/images/09012025/11/45/image_09012025_11_45_02_660211_0001.jpg
/home/pi/Desktop/images/09012025/11/45/image_09012025_11_45_02_660211_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656786","1327656794","1327656796","1327656790"],"photo_ids_order":["1327656786","1327656790","1327656794","1327656796"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f9f49607529b3444cf072bc38bba17f4.jpg","text":"TemporaryFile(/tmp/multipartBody2559312788507040591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419602943,"filename":"image_09012025_11_44_02_453587_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1723071fffcdeb10c3a6db334f63f5fe.jpg","text":"TemporaryFile(/tmp/multipartBody8525920925234571558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419602943,"filename":"image_09012025_11_45_02_660211_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7fe083836e5eb602c700b1d05e1222d8.jpg","text":"TemporaryFile(/tmp/multipartBody5141588578718302892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419602943,"filename":"image_09012025_11_45_02_660211_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b85e999f447eecb095efda8553344ed2.jpg","text":"TemporaryFile(/tmp/multipartBody1659778103118676176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419602943,"filename":"image_09012025_11_45_02_660211_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656794","file1":"1327656790","file0":"1327656786","file3":"1327656796"},"map_files_photo_id_array":[{"photo_id":"1327656794","filename":"file2"},{"photo_id":"1327656790","filename":"file1"},{"photo_id":"1327656786","filename":"file0"},{"photo_id":"1327656796","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656786":["hashtag1","hashtag2"]},{"1327656794":["hashtag1","hashtag2"]},{"1327656796":["hashtag1","hashtag2"]},{"1327656790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656786, 1327656794, 1327656796, 1327656790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.719247341156006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:46:22.761954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/45/image_09012025_11_45_02_660211_0003.jpg', '/home/pi/Desktop/images/09012025/11/46/image_09012025_11_46_02_890586_0000.jpg', '/home/pi/Desktop/images/09012025/11/46/image_09012025_11_46_02_890586_0001.jpg', '/home/pi/Desktop/images/09012025/11/46/image_09012025_11_46_02_890586_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/45/image_09012025_11_45_02_660211_0003.jpg
/home/pi/Desktop/images/09012025/11/46/image_09012025_11_46_02_890586_0000.jpg
/home/pi/Desktop/images/09012025/11/46/image_09012025_11_46_02_890586_0001.jpg
/home/pi/Desktop/images/09012025/11/46/image_09012025_11_46_02_890586_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656810","1327656812","1327656806","1327656814"],"photo_ids_order":["1327656806","1327656810","1327656812","1327656814"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7d7144f27e1589ac639c63ab22bba256.jpg","text":"TemporaryFile(/tmp/multipartBody2483470372075279485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419653235,"filename":"image_09012025_11_46_02_890586_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7be608bb63ae81b8ada8b6699f028703.jpg","text":"TemporaryFile(/tmp/multipartBody6706648813385010437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419653235,"filename":"image_09012025_11_46_02_890586_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4e23fe3bf9ffc9aaf98d13a15e4e3400.jpg","text":"TemporaryFile(/tmp/multipartBody5723634963969457839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419653235,"filename":"image_09012025_11_45_02_660211_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/037c34dd3911a7cdd4cae2a36758a4a6.jpg","text":"TemporaryFile(/tmp/multipartBody3604562087045184624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419653235,"filename":"image_09012025_11_46_02_890586_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656812","file1":"1327656810","file0":"1327656806","file3":"1327656814"},"map_files_photo_id_array":[{"photo_id":"1327656812","filename":"file2"},{"photo_id":"1327656810","filename":"file1"},{"photo_id":"1327656806","filename":"file0"},{"photo_id":"1327656814","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656810":["hashtag1","hashtag2"]},{"1327656812":["hashtag1","hashtag2"]},{"1327656806":["hashtag1","hashtag2"]},{"1327656814":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656810, 1327656812, 1327656806, 1327656814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 48.95781588554382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:47:21.872502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/46/image_09012025_11_46_02_890586_0003.jpg', '/home/pi/Desktop/images/09012025/11/47/image_09012025_11_47_03_082596_0000.jpg', '/home/pi/Desktop/images/09012025/11/47/image_09012025_11_47_03_082596_0001.jpg', '/home/pi/Desktop/images/09012025/11/47/image_09012025_11_47_03_082596_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/46/image_09012025_11_46_02_890586_0003.jpg
/home/pi/Desktop/images/09012025/11/47/image_09012025_11_47_03_082596_0000.jpg
/home/pi/Desktop/images/09012025/11/47/image_09012025_11_47_03_082596_0001.jpg
/home/pi/Desktop/images/09012025/11/47/image_09012025_11_47_03_082596_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656831","1327656833","1327656827","1327656835"],"photo_ids_order":["1327656827","1327656831","1327656833","1327656835"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c1f82accdcc354153e40c626f8b2e9c8.jpg","text":"TemporaryFile(/tmp/multipartBody432912334370834351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419712248,"filename":"image_09012025_11_47_03_082596_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cab2f3ff36f2ed56aa80b0410bbc2e52.jpg","text":"TemporaryFile(/tmp/multipartBody7381344866594225936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419712248,"filename":"image_09012025_11_47_03_082596_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/011d366a320736cf33d5835b41888b2a.jpg","text":"TemporaryFile(/tmp/multipartBody1461558985785489590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419712248,"filename":"image_09012025_11_46_02_890586_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1d3f68117a592337dcc6cecb840134d9.jpg","text":"TemporaryFile(/tmp/multipartBody2052757387772874537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419712248,"filename":"image_09012025_11_47_03_082596_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656833","file1":"1327656831","file0":"1327656827","file3":"1327656835"},"map_files_photo_id_array":[{"photo_id":"1327656833","filename":"file2"},{"photo_id":"1327656831","filename":"file1"},{"photo_id":"1327656827","filename":"file0"},{"photo_id":"1327656835","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656831":["hashtag1","hashtag2"]},{"1327656833":["hashtag1","hashtag2"]},{"1327656827":["hashtag1","hashtag2"]},{"1327656835":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656831, 1327656833, 1327656827, 1327656835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.9717435836792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:48:22.052901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/47/image_09012025_11_47_03_082596_0003.jpg', '/home/pi/Desktop/images/09012025/11/48/image_09012025_11_48_02_236881_0000.jpg', '/home/pi/Desktop/images/09012025/11/48/image_09012025_11_48_02_236881_0001.jpg', '/home/pi/Desktop/images/09012025/11/48/image_09012025_11_48_02_236881_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/47/image_09012025_11_47_03_082596_0003.jpg
/home/pi/Desktop/images/09012025/11/48/image_09012025_11_48_02_236881_0000.jpg
/home/pi/Desktop/images/09012025/11/48/image_09012025_11_48_02_236881_0001.jpg
/home/pi/Desktop/images/09012025/11/48/image_09012025_11_48_02_236881_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656858","1327656855","1327656851","1327656845"],"photo_ids_order":["1327656845","1327656851","1327656855","1327656858"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/49f5f73783acbec7e6cb4d59e8ccbfcf.jpg","text":"TemporaryFile(/tmp/multipartBody7513072474266400085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419772261,"filename":"image_09012025_11_48_02_236881_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9659a8c6af31ff7dc399a5147da69559.jpg","text":"TemporaryFile(/tmp/multipartBody4167325844026399725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419772261,"filename":"image_09012025_11_48_02_236881_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/da7c073617a083e46f555018ac08f7d5.jpg","text":"TemporaryFile(/tmp/multipartBody8679887615716795349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419772261,"filename":"image_09012025_11_48_02_236881_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6530a811f96c9bfc9773330f94a633b2.jpg","text":"TemporaryFile(/tmp/multipartBody1076187437185336593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419772261,"filename":"image_09012025_11_47_03_082596_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656855","file1":"1327656851","file0":"1327656845","file3":"1327656858"},"map_files_photo_id_array":[{"photo_id":"1327656855","filename":"file2"},{"photo_id":"1327656851","filename":"file1"},{"photo_id":"1327656845","filename":"file0"},{"photo_id":"1327656858","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656858":["hashtag1","hashtag2"]},{"1327656855":["hashtag1","hashtag2"]},{"1327656851":["hashtag1","hashtag2"]},{"1327656845":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656858, 1327656855, 1327656851, 1327656845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.586803674697876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:49:03.040650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:49:22.263206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/48/image_09012025_11_48_02_236881_0003.jpg', '/home/pi/Desktop/images/09012025/11/49/image_09012025_11_49_02_398818_0000.jpg', '/home/pi/Desktop/images/09012025/11/49/image_09012025_11_49_02_398818_0001.jpg', '/home/pi/Desktop/images/09012025/11/49/image_09012025_11_49_02_398818_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/48/image_09012025_11_48_02_236881_0003.jpg
/home/pi/Desktop/images/09012025/11/49/image_09012025_11_49_02_398818_0000.jpg
/home/pi/Desktop/images/09012025/11/49/image_09012025_11_49_02_398818_0001.jpg
/home/pi/Desktop/images/09012025/11/49/image_09012025_11_49_02_398818_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656881","1327656878","1327656883","1327656874"],"photo_ids_order":["1327656874","1327656878","1327656881","1327656883"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dae89b7df709e0b8fe8158dff7221183.jpg","text":"TemporaryFile(/tmp/multipartBody2291878490272379067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419832552,"filename":"image_09012025_11_49_02_398818_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/01ac5cac1952ac099b1e4554f3206358.jpg","text":"TemporaryFile(/tmp/multipartBody1154488114397354571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419832552,"filename":"image_09012025_11_49_02_398818_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/87ff7949875a94431dc1d0121a2d985c.jpg","text":"TemporaryFile(/tmp/multipartBody5876358600517233916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419832552,"filename":"image_09012025_11_49_02_398818_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/daa1c80eed9a69dd0e7f9766becfdcd3.jpg","text":"TemporaryFile(/tmp/multipartBody6379025377793748347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419832552,"filename":"image_09012025_11_48_02_236881_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656881","file1":"1327656878","file0":"1327656874","file3":"1327656883"},"map_files_photo_id_array":[{"photo_id":"1327656881","filename":"file2"},{"photo_id":"1327656878","filename":"file1"},{"photo_id":"1327656874","filename":"file0"},{"photo_id":"1327656883","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656881":["hashtag1","hashtag2"]},{"1327656878":["hashtag1","hashtag2"]},{"1327656883":["hashtag1","hashtag2"]},{"1327656874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656881, 1327656878, 1327656883, 1327656874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.505497455596924 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:50:02.933232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:50:22.514860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/49/image_09012025_11_49_02_398818_0003.jpg', '/home/pi/Desktop/images/09012025/11/50/image_09012025_11_50_02_601950_0000.jpg', '/home/pi/Desktop/images/09012025/11/50/image_09012025_11_50_02_601950_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/49/image_09012025_11_49_02_398818_0003.jpg
/home/pi/Desktop/images/09012025/11/50/image_09012025_11_50_02_601950_0000.jpg
/home/pi/Desktop/images/09012025/11/50/image_09012025_11_50_02_601950_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656895","1327656901","1327656907"],"photo_ids_order":["1327656895","1327656901","1327656907"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e5262945494aa7a943a1c1ede41c512f.jpg","text":"TemporaryFile(/tmp/multipartBody6646697013469663453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419890400,"filename":"image_09012025_11_49_02_398818_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0cd1ee3b5270b9fc2db2cf405de4f961.jpg","text":"TemporaryFile(/tmp/multipartBody4059938277248583292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419890400,"filename":"image_09012025_11_50_02_601950_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3e4e1677bf85a9b9adb22b3deebbddfe.jpg","text":"TemporaryFile(/tmp/multipartBody981361496432428003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419890400,"filename":"image_09012025_11_50_02_601950_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656907","file1":"1327656901","file0":"1327656895"},"map_files_photo_id_array":[{"photo_id":"1327656907","filename":"file2"},{"photo_id":"1327656901","filename":"file1"},{"photo_id":"1327656895","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656895":["hashtag1","hashtag2"]},{"1327656901":["hashtag1","hashtag2"]},{"1327656907":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656895, 1327656901, 1327656907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.50776243209839 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:51:03.261371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:51:22.695616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/50/image_09012025_11_50_02_601950_0002.jpg', '/home/pi/Desktop/images/09012025/11/51/image_09012025_11_51_02_868951_0000.jpg', '/home/pi/Desktop/images/09012025/11/51/image_09012025_11_51_02_868951_0001.jpg', '/home/pi/Desktop/images/09012025/11/51/image_09012025_11_51_02_868951_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/50/image_09012025_11_50_02_601950_0002.jpg
/home/pi/Desktop/images/09012025/11/51/image_09012025_11_51_02_868951_0000.jpg
/home/pi/Desktop/images/09012025/11/51/image_09012025_11_51_02_868951_0001.jpg
/home/pi/Desktop/images/09012025/11/51/image_09012025_11_51_02_868951_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656942","1327656933","1327656938","1327656926"],"photo_ids_order":["1327656926","1327656933","1327656938","1327656942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0dc0b20b7a453d01d82e4b8e82b40454.jpg","text":"TemporaryFile(/tmp/multipartBody8002557948123588835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419953014,"filename":"image_09012025_11_51_02_868951_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e6361c7035411b5fc2d64a6de005e6d1.jpg","text":"TemporaryFile(/tmp/multipartBody3394337962175111113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419953014,"filename":"image_09012025_11_51_02_868951_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bcf6a6e2b964bad3c23806829c1d0a01.jpg","text":"TemporaryFile(/tmp/multipartBody1820743916224497613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419953014,"filename":"image_09012025_11_51_02_868951_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8d79e34ed1a8584b7fda98cee2abb70c.jpg","text":"TemporaryFile(/tmp/multipartBody3007394941171052769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736419953014,"filename":"image_09012025_11_50_02_601950_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656938","file1":"1327656933","file0":"1327656926","file3":"1327656942"},"map_files_photo_id_array":[{"photo_id":"1327656938","filename":"file2"},{"photo_id":"1327656933","filename":"file1"},{"photo_id":"1327656926","filename":"file0"},{"photo_id":"1327656942","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656942":["hashtag1","hashtag2"]},{"1327656933":["hashtag1","hashtag2"]},{"1327656938":["hashtag1","hashtag2"]},{"1327656926":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656942, 1327656933, 1327656938, 1327656926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.23404836654663 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:52:21.790734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/51/image_09012025_11_51_02_868951_0003.jpg', '/home/pi/Desktop/images/09012025/11/52/image_09012025_11_52_02_969956_0000.jpg', '/home/pi/Desktop/images/09012025/11/52/image_09012025_11_52_02_969956_0001.jpg', '/home/pi/Desktop/images/09012025/11/52/image_09012025_11_52_02_969956_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/51/image_09012025_11_51_02_868951_0003.jpg
/home/pi/Desktop/images/09012025/11/52/image_09012025_11_52_02_969956_0000.jpg
/home/pi/Desktop/images/09012025/11/52/image_09012025_11_52_02_969956_0001.jpg
/home/pi/Desktop/images/09012025/11/52/image_09012025_11_52_02_969956_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656963","1327656968","1327656956","1327656973"],"photo_ids_order":["1327656956","1327656963","1327656968","1327656973"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fd29bba542665f946cdfdd49eba5d210.jpg","text":"TemporaryFile(/tmp/multipartBody6418672812263891015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420012103,"filename":"image_09012025_11_52_02_969956_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7307c75b4ab637d9e511fc7f230c5887.jpg","text":"TemporaryFile(/tmp/multipartBody7463912911370201587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420012103,"filename":"image_09012025_11_52_02_969956_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/14e9e0a476ca8efc21b5ff7a4b867fee.jpg","text":"TemporaryFile(/tmp/multipartBody3681517993443883772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420012103,"filename":"image_09012025_11_51_02_868951_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d9ddb9ad1510499146814744eb7a4202.jpg","text":"TemporaryFile(/tmp/multipartBody1048146124603211007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420012103,"filename":"image_09012025_11_52_02_969956_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327656968","file1":"1327656963","file0":"1327656956","file3":"1327656973"},"map_files_photo_id_array":[{"photo_id":"1327656968","filename":"file2"},{"photo_id":"1327656963","filename":"file1"},{"photo_id":"1327656956","filename":"file0"},{"photo_id":"1327656973","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656963":["hashtag1","hashtag2"]},{"1327656968":["hashtag1","hashtag2"]},{"1327656956":["hashtag1","hashtag2"]},{"1327656973":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656963, 1327656968, 1327656956, 1327656973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.79429769515991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:53:02.699046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:53:22.003758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/52/image_09012025_11_52_02_969956_0003.jpg', '/home/pi/Desktop/images/09012025/11/53/image_09012025_11_53_02_105817_0000.jpg', '/home/pi/Desktop/images/09012025/11/53/image_09012025_11_53_02_105817_0001.jpg', '/home/pi/Desktop/images/09012025/11/53/image_09012025_11_53_02_105817_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/52/image_09012025_11_52_02_969956_0003.jpg
/home/pi/Desktop/images/09012025/11/53/image_09012025_11_53_02_105817_0000.jpg
/home/pi/Desktop/images/09012025/11/53/image_09012025_11_53_02_105817_0001.jpg
/home/pi/Desktop/images/09012025/11/53/image_09012025_11_53_02_105817_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327656992","1327657007","1327657012","1327657000"],"photo_ids_order":["1327656992","1327657000","1327657007","1327657012"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5c2466356f1b8737d7792c61bd0c7bce.jpg","text":"TemporaryFile(/tmp/multipartBody5533711868765498695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420072210,"filename":"image_09012025_11_52_02_969956_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2426da5c2fa80816b6eb59227d4da66f.jpg","text":"TemporaryFile(/tmp/multipartBody6565562518521259481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420072210,"filename":"image_09012025_11_53_02_105817_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1dcd031839c412d3a1dfdb20da3fe678.jpg","text":"TemporaryFile(/tmp/multipartBody4891785570921257568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420072210,"filename":"image_09012025_11_53_02_105817_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/17f43d9e50512d906ef9a3c3b6d24382.jpg","text":"TemporaryFile(/tmp/multipartBody8259154400966969621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420072210,"filename":"image_09012025_11_53_02_105817_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327657007","file1":"1327657000","file0":"1327656992","file3":"1327657012"},"map_files_photo_id_array":[{"photo_id":"1327657007","filename":"file2"},{"photo_id":"1327657000","filename":"file1"},{"photo_id":"1327656992","filename":"file0"},{"photo_id":"1327657012","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327656992":["hashtag1","hashtag2"]},{"1327657007":["hashtag1","hashtag2"]},{"1327657012":["hashtag1","hashtag2"]},{"1327657000":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327656992, 1327657007, 1327657012, 1327657000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.819056034088135 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:54:02.400507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:54:22.062776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/53/image_09012025_11_53_02_105817_0003.jpg', '/home/pi/Desktop/images/09012025/11/54/image_09012025_11_54_02_219499_0000.jpg', '/home/pi/Desktop/images/09012025/11/54/image_09012025_11_54_02_219499_0001.jpg', '/home/pi/Desktop/images/09012025/11/54/image_09012025_11_54_02_219499_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/53/image_09012025_11_53_02_105817_0003.jpg
/home/pi/Desktop/images/09012025/11/54/image_09012025_11_54_02_219499_0000.jpg
/home/pi/Desktop/images/09012025/11/54/image_09012025_11_54_02_219499_0001.jpg
/home/pi/Desktop/images/09012025/11/54/image_09012025_11_54_02_219499_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327657046","1327657040","1327657042","1327657036"],"photo_ids_order":["1327657036","1327657040","1327657042","1327657046"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a70eee387cc601bb2ba6e111ea2c302b.jpg","text":"TemporaryFile(/tmp/multipartBody3862183016916600740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420132258,"filename":"image_09012025_11_54_02_219499_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/66c7e966e601442922d5a586c5a49275.jpg","text":"TemporaryFile(/tmp/multipartBody9059755671276964473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420132258,"filename":"image_09012025_11_54_02_219499_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8b7b6d4a3f93db8b804cff585d26b924.jpg","text":"TemporaryFile(/tmp/multipartBody7854792519787153579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420132258,"filename":"image_09012025_11_54_02_219499_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8d83d685a5c2622ee43cd008cfdaae8d.jpg","text":"TemporaryFile(/tmp/multipartBody8709428550487975404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420132258,"filename":"image_09012025_11_53_02_105817_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327657042","file1":"1327657040","file0":"1327657036","file3":"1327657046"},"map_files_photo_id_array":[{"photo_id":"1327657042","filename":"file2"},{"photo_id":"1327657040","filename":"file1"},{"photo_id":"1327657036","filename":"file0"},{"photo_id":"1327657046","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327657046":["hashtag1","hashtag2"]},{"1327657040":["hashtag1","hashtag2"]},{"1327657042":["hashtag1","hashtag2"]},{"1327657036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327657046, 1327657040, 1327657042, 1327657036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.84942293167114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:55:02.755703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:55:22.238685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/54/image_09012025_11_54_02_219499_0003.jpg', '/home/pi/Desktop/images/09012025/11/55/image_09012025_11_55_02_488287_0000.jpg', '/home/pi/Desktop/images/09012025/11/55/image_09012025_11_55_02_488287_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/54/image_09012025_11_54_02_219499_0003.jpg
/home/pi/Desktop/images/09012025/11/55/image_09012025_11_55_02_488287_0000.jpg
/home/pi/Desktop/images/09012025/11/55/image_09012025_11_55_02_488287_0001.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.34310245513916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 11:55:32.210070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/54/image_09012025_11_54_02_219499_0003.jpg', '/home/pi/Desktop/images/09012025/11/55/image_09012025_11_55_02_488287_0000.jpg', '/home/pi/Desktop/images/09012025/11/55/image_09012025_11_55_02_488287_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/54/image_09012025_11_54_02_219499_0003.jpg
/home/pi/Desktop/images/09012025/11/55/image_09012025_11_55_02_488287_0000.jpg
/home/pi/Desktop/images/09012025/11/55/image_09012025_11_55_02_488287_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327657070","1327657063","1327657066"],"photo_ids_order":["1327657063","1327657066","1327657070"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/58404eb472405b1e25552193aa4aa9fa.jpg","text":"TemporaryFile(/tmp/multipartBody7840151943466963006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420199957,"filename":"image_09012025_11_55_02_488287_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f2f21ca840b94a4413775b7c4add60e7.jpg","text":"TemporaryFile(/tmp/multipartBody5445521002702198721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420199957,"filename":"image_09012025_11_54_02_219499_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6df527bd71f29b18d179f0b40e426896.jpg","text":"TemporaryFile(/tmp/multipartBody5969868958750531853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420199957,"filename":"image_09012025_11_55_02_488287_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327657070","file1":"1327657066","file0":"1327657063"},"map_files_photo_id_array":[{"photo_id":"1327657070","filename":"file2"},{"photo_id":"1327657066","filename":"file1"},{"photo_id":"1327657063","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327657070":["hashtag1","hashtag2"]},{"1327657063":["hashtag1","hashtag2"]},{"1327657066":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327657070, 1327657063, 1327657066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.63472032546997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 11:56:22.360034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/55/image_09012025_11_55_02_488287_0003.jpg', '/home/pi/Desktop/images/09012025/11/56/image_09012025_11_56_02_562367_0000.jpg', '/home/pi/Desktop/images/09012025/11/56/image_09012025_11_56_02_562367_0001.jpg', '/home/pi/Desktop/images/09012025/11/56/image_09012025_11_56_02_562367_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/55/image_09012025_11_55_02_488287_0003.jpg
/home/pi/Desktop/images/09012025/11/56/image_09012025_11_56_02_562367_0000.jpg
/home/pi/Desktop/images/09012025/11/56/image_09012025_11_56_02_562367_0001.jpg
/home/pi/Desktop/images/09012025/11/56/image_09012025_11_56_02_562367_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.786494970321655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 11:56:42.402072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/55/image_09012025_11_55_02_488287_0003.jpg', '/home/pi/Desktop/images/09012025/11/56/image_09012025_11_56_02_562367_0000.jpg', '/home/pi/Desktop/images/09012025/11/56/image_09012025_11_56_02_562367_0001.jpg', '/home/pi/Desktop/images/09012025/11/56/image_09012025_11_56_02_562367_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/55/image_09012025_11_55_02_488287_0003.jpg
/home/pi/Desktop/images/09012025/11/56/image_09012025_11_56_02_562367_0000.jpg
/home/pi/Desktop/images/09012025/11/56/image_09012025_11_56_02_562367_0001.jpg
/home/pi/Desktop/images/09012025/11/56/image_09012025_11_56_02_562367_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327657094","1327657096","1327657092","1327657089"],"photo_ids_order":["1327657089","1327657092","1327657094","1327657096"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/64dd7edeac76aed4bb29ab495061eb23.jpg","text":"TemporaryFile(/tmp/multipartBody1449162205256633863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420272601,"filename":"image_09012025_11_56_02_562367_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d802508377b5b4a168399f3398aaeb5b.jpg","text":"TemporaryFile(/tmp/multipartBody5092376819947142160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420272601,"filename":"image_09012025_11_56_02_562367_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d27fc5b04730f27227dd36e55a743f9d.jpg","text":"TemporaryFile(/tmp/multipartBody5874176718922845630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420272601,"filename":"image_09012025_11_56_02_562367_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7556fc845b97083cea347bf84b6f55e7.jpg","text":"TemporaryFile(/tmp/multipartBody1321050053266191966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420272601,"filename":"image_09012025_11_55_02_488287_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327657094","file1":"1327657092","file0":"1327657089","file3":"1327657096"},"map_files_photo_id_array":[{"photo_id":"1327657094","filename":"file2"},{"photo_id":"1327657092","filename":"file1"},{"photo_id":"1327657089","filename":"file0"},{"photo_id":"1327657096","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327657094":["hashtag1","hashtag2"]},{"1327657096":["hashtag1","hashtag2"]},{"1327657092":["hashtag1","hashtag2"]},{"1327657089":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327657094, 1327657096, 1327657092, 1327657089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.335773229599 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 11:57:32.570192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/56/image_09012025_11_56_02_562367_0003.jpg', '/home/pi/Desktop/images/09012025/11/57/image_09012025_11_57_02_743812_0000.jpg', '/home/pi/Desktop/images/09012025/11/57/image_09012025_11_57_02_743812_0001.jpg', '/home/pi/Desktop/images/09012025/11/57/image_09012025_11_57_02_743812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/56/image_09012025_11_56_02_562367_0003.jpg
/home/pi/Desktop/images/09012025/11/57/image_09012025_11_57_02_743812_0000.jpg
/home/pi/Desktop/images/09012025/11/57/image_09012025_11_57_02_743812_0001.jpg
/home/pi/Desktop/images/09012025/11/57/image_09012025_11_57_02_743812_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 11:59:02.369156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/56/image_09012025_11_56_02_562367_0003.jpg', '/home/pi/Desktop/images/09012025/11/57/image_09012025_11_57_02_743812_0000.jpg', '/home/pi/Desktop/images/09012025/11/57/image_09012025_11_57_02_743812_0001.jpg', '/home/pi/Desktop/images/09012025/11/57/image_09012025_11_57_02_743812_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/56/image_09012025_11_56_02_562367_0003.jpg
/home/pi/Desktop/images/09012025/11/57/image_09012025_11_57_02_743812_0000.jpg
/home/pi/Desktop/images/09012025/11/57/image_09012025_11_57_02_743812_0001.jpg
/home/pi/Desktop/images/09012025/11/57/image_09012025_11_57_02_743812_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327658692","1327658689","1327658683","1327658677"],"photo_ids_order":["1327658677","1327658683","1327658689","1327658692"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/03c7078c4fbf8a00c72fce183d960521.jpg","text":"TemporaryFile(/tmp/multipartBody3649482733921016292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420412640,"filename":"image_09012025_11_57_02_743812_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a09bbe7a9555e56ee20466dd0d59498a.jpg","text":"TemporaryFile(/tmp/multipartBody2251371027456299185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420412640,"filename":"image_09012025_11_57_02_743812_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aea1e36d3ed5377856aebd12315e69dc.jpg","text":"TemporaryFile(/tmp/multipartBody9190640587783912800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420412640,"filename":"image_09012025_11_57_02_743812_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/07b718412a08cb2a3f352abada5bee91.jpg","text":"TemporaryFile(/tmp/multipartBody4059608014811539106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420412640,"filename":"image_09012025_11_56_02_562367_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327658689","file1":"1327658683","file0":"1327658677","file3":"1327658692"},"map_files_photo_id_array":[{"photo_id":"1327658689","filename":"file2"},{"photo_id":"1327658683","filename":"file1"},{"photo_id":"1327658677","filename":"file0"},{"photo_id":"1327658692","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327658692":["hashtag1","hashtag2"]},{"1327658689":["hashtag1","hashtag2"]},{"1327658683":["hashtag1","hashtag2"]},{"1327658677":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327658692, 1327658689, 1327658683, 1327658677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.726529598236084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 11:59:41.924863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/57/image_09012025_11_57_02_743812_0003.jpg', '/home/pi/Desktop/images/09012025/11/58/image_09012025_11_58_02_916216_0000.jpg', '/home/pi/Desktop/images/09012025/11/58/image_09012025_11_58_02_916216_0001.jpg', '/home/pi/Desktop/images/09012025/11/58/image_09012025_11_58_02_916216_0002.jpg', '/home/pi/Desktop/images/09012025/11/58/image_09012025_11_58_02_916216_0003.jpg', '/home/pi/Desktop/images/09012025/11/59/image_09012025_11_59_03_072628_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/57/image_09012025_11_57_02_743812_0003.jpg
/home/pi/Desktop/images/09012025/11/58/image_09012025_11_58_02_916216_0000.jpg
/home/pi/Desktop/images/09012025/11/58/image_09012025_11_58_02_916216_0001.jpg
/home/pi/Desktop/images/09012025/11/58/image_09012025_11_58_02_916216_0002.jpg
/home/pi/Desktop/images/09012025/11/58/image_09012025_11_58_02_916216_0003.jpg
/home/pi/Desktop/images/09012025/11/59/image_09012025_11_59_03_072628_0000.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:01:20.659922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/57/image_09012025_11_57_02_743812_0003.jpg', '/home/pi/Desktop/images/09012025/11/58/image_09012025_11_58_02_916216_0000.jpg', '/home/pi/Desktop/images/09012025/11/58/image_09012025_11_58_02_916216_0001.jpg', '/home/pi/Desktop/images/09012025/11/58/image_09012025_11_58_02_916216_0002.jpg', '/home/pi/Desktop/images/09012025/11/58/image_09012025_11_58_02_916216_0003.jpg', '/home/pi/Desktop/images/09012025/11/59/image_09012025_11_59_03_072628_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/57/image_09012025_11_57_02_743812_0003.jpg
/home/pi/Desktop/images/09012025/11/58/image_09012025_11_58_02_916216_0000.jpg
/home/pi/Desktop/images/09012025/11/58/image_09012025_11_58_02_916216_0001.jpg
/home/pi/Desktop/images/09012025/11/58/image_09012025_11_58_02_916216_0002.jpg
/home/pi/Desktop/images/09012025/11/58/image_09012025_11_58_02_916216_0003.jpg
/home/pi/Desktop/images/09012025/11/59/image_09012025_11_59_03_072628_0000.jpg
 val : 1 : upload photos 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":["1327659325","1327659313","1327659322","1327659316","1327659318","1327659320"],"photo_ids_order":["1327659313","1327659316","1327659318","1327659320","1327659322","1327659325"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d370a5f216c3bd7965d72de08641d0db.jpg","text":"TemporaryFile(/tmp/multipartBody6061438407522800259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420556749,"filename":"image_09012025_11_59_03_072628_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/389723079817a120fbe9b41c7a155869.jpg","text":"TemporaryFile(/tmp/multipartBody3367285718650245787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420556749,"filename":"image_09012025_11_57_02_743812_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3f75ef7f32b9d62c00ca63173d58b84f.jpg","text":"TemporaryFile(/tmp/multipartBody3539464125694990325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420556749,"filename":"image_09012025_11_58_02_916216_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d32fc336752efcaad68f8a53af1c5ff2.jpg","text":"TemporaryFile(/tmp/multipartBody7305931654902777169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420556749,"filename":"image_09012025_11_58_02_916216_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0ba8c5c7e9e40a3b5e837df88f4fca76.jpg","text":"TemporaryFile(/tmp/multipartBody5536886457278347061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420556749,"filename":"image_09012025_11_58_02_916216_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/227cf1483e0070aeac9f2e2a879618c7.jpg","text":"TemporaryFile(/tmp/multipartBody5247940962525870823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420556749,"filename":"image_09012025_11_58_02_916216_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659318","file1":"1327659316","file0":"1327659313","file4":"1327659322","file5":"1327659325","file3":"1327659320"},"map_files_photo_id_array":[{"photo_id":"1327659325","filename":"file5"},{"photo_id":"1327659318","filename":"file2"},{"photo_id":"1327659322","filename":"file4"},{"photo_id":"1327659316","filename":"file1"},{"photo_id":"1327659313","filename":"file0"},{"photo_id":"1327659320","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659325":["hashtag1","hashtag2"]},{"1327659313":["hashtag1","hashtag2"]},{"1327659322":["hashtag1","hashtag2"]},{"1327659316":["hashtag1","hashtag2"]},{"1327659318":["hashtag1","hashtag2"]},{"1327659320":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659325, 1327659313, 1327659322, 1327659316, 1327659318, 1327659320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.86060333251953 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:02:21.832838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/11/59/image_09012025_11_59_03_072628_0001.jpg', '/home/pi/Desktop/images/09012025/11/59/image_09012025_11_59_03_072628_0002.jpg', '/home/pi/Desktop/images/09012025/11/59/image_09012025_11_59_03_072628_0003.jpg', '/home/pi/Desktop/images/09012025/12/00/image_09012025_12_00_02_371992_0000.jpg', '/home/pi/Desktop/images/09012025/12/00/image_09012025_12_00_02_371992_0001.jpg', '/home/pi/Desktop/images/09012025/12/00/image_09012025_12_00_02_371992_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/11/59/image_09012025_11_59_03_072628_0001.jpg
/home/pi/Desktop/images/09012025/11/59/image_09012025_11_59_03_072628_0002.jpg
/home/pi/Desktop/images/09012025/11/59/image_09012025_11_59_03_072628_0003.jpg
/home/pi/Desktop/images/09012025/12/00/image_09012025_12_00_02_371992_0000.jpg
/home/pi/Desktop/images/09012025/12/00/image_09012025_12_00_02_371992_0001.jpg
/home/pi/Desktop/images/09012025/12/00/image_09012025_12_00_02_371992_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327659344","1327659355","1327659360","1327659348","1327659363","1327659365"],"photo_ids_order":["1327659344","1327659348","1327659355","1327659360","1327659363","1327659365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fe8416b4cd7c8eccad63cbdb440da655.jpg","text":"TemporaryFile(/tmp/multipartBody1141564895820203446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420616959,"filename":"image_09012025_11_59_03_072628_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0c32fcc0f4ccbfc18a09cbc6def44d76.jpg","text":"TemporaryFile(/tmp/multipartBody1496338603598729557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420616959,"filename":"image_09012025_11_59_03_072628_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/174c11f6ad0ce1e41915d772a2dab32a.jpg","text":"TemporaryFile(/tmp/multipartBody3380865629152561059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420616959,"filename":"image_09012025_12_00_02_371992_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f05823c4c8ce32fe5771cbde3958cb67.jpg","text":"TemporaryFile(/tmp/multipartBody9010294269299628827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420616959,"filename":"image_09012025_11_59_03_072628_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b07891993ad2a28cc483e24cc11da045.jpg","text":"TemporaryFile(/tmp/multipartBody1223053345419500073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420616959,"filename":"image_09012025_12_00_02_371992_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9244bf5cfbeb4a5d9591090e538529b6.jpg","text":"TemporaryFile(/tmp/multipartBody6561296800508809207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420616959,"filename":"image_09012025_12_00_02_371992_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659355","file1":"1327659348","file0":"1327659344","file4":"1327659363","file5":"1327659365","file3":"1327659360"},"map_files_photo_id_array":[{"photo_id":"1327659365","filename":"file5"},{"photo_id":"1327659355","filename":"file2"},{"photo_id":"1327659363","filename":"file4"},{"photo_id":"1327659348","filename":"file1"},{"photo_id":"1327659344","filename":"file0"},{"photo_id":"1327659360","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659344":["hashtag1","hashtag2"]},{"1327659355":["hashtag1","hashtag2"]},{"1327659360":["hashtag1","hashtag2"]},{"1327659348":["hashtag1","hashtag2"]},{"1327659363":["hashtag1","hashtag2"]},{"1327659365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659344, 1327659355, 1327659360, 1327659348, 1327659363, 1327659365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.75793647766113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:03:22.082987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/00/image_09012025_12_00_02_371992_0003.jpg', '/home/pi/Desktop/images/09012025/12/02/image_09012025_12_02_19_043198_0000.jpg', '/home/pi/Desktop/images/09012025/12/02/image_09012025_12_02_19_043198_0001.jpg', '/home/pi/Desktop/images/09012025/12/02/image_09012025_12_02_19_043198_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/00/image_09012025_12_00_02_371992_0003.jpg
/home/pi/Desktop/images/09012025/12/02/image_09012025_12_02_19_043198_0000.jpg
/home/pi/Desktop/images/09012025/12/02/image_09012025_12_02_19_043198_0001.jpg
/home/pi/Desktop/images/09012025/12/02/image_09012025_12_02_19_043198_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327659376","1327659390","1327659381","1327659386"],"photo_ids_order":["1327659376","1327659381","1327659386","1327659390"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3e5449bb09592b750f88ed3848f57293.jpg","text":"TemporaryFile(/tmp/multipartBody5849419221555032209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420672270,"filename":"image_09012025_12_00_02_371992_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6e46e50899b7ce4d7dbef7912de84621.jpg","text":"TemporaryFile(/tmp/multipartBody4776792023094154318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420672270,"filename":"image_09012025_12_02_19_043198_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/333a911726885d82336c58e361580e2e.jpg","text":"TemporaryFile(/tmp/multipartBody1429105006398933145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420672270,"filename":"image_09012025_12_02_19_043198_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f7b044dfbd505899519bfafacc5e3a4c.jpg","text":"TemporaryFile(/tmp/multipartBody6534772381419850857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420672270,"filename":"image_09012025_12_02_19_043198_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659386","file1":"1327659381","file0":"1327659376","file3":"1327659390"},"map_files_photo_id_array":[{"photo_id":"1327659386","filename":"file2"},{"photo_id":"1327659381","filename":"file1"},{"photo_id":"1327659376","filename":"file0"},{"photo_id":"1327659390","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659376":["hashtag1","hashtag2"]},{"1327659390":["hashtag1","hashtag2"]},{"1327659381":["hashtag1","hashtag2"]},{"1327659386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659376, 1327659390, 1327659381, 1327659386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.57993936538696 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:04:22.294885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/02/image_09012025_12_02_19_043198_0003.jpg', '/home/pi/Desktop/images/09012025/12/04/image_09012025_12_04_02_438959_0000.jpg', '/home/pi/Desktop/images/09012025/12/04/image_09012025_12_04_02_438959_0001.jpg', '/home/pi/Desktop/images/09012025/12/04/image_09012025_12_04_02_438959_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/02/image_09012025_12_02_19_043198_0003.jpg
/home/pi/Desktop/images/09012025/12/04/image_09012025_12_04_02_438959_0000.jpg
/home/pi/Desktop/images/09012025/12/04/image_09012025_12_04_02_438959_0001.jpg
/home/pi/Desktop/images/09012025/12/04/image_09012025_12_04_02_438959_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.93762755393982 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 12:04:42.217841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/02/image_09012025_12_02_19_043198_0003.jpg', '/home/pi/Desktop/images/09012025/12/04/image_09012025_12_04_02_438959_0000.jpg', '/home/pi/Desktop/images/09012025/12/04/image_09012025_12_04_02_438959_0001.jpg', '/home/pi/Desktop/images/09012025/12/04/image_09012025_12_04_02_438959_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/02/image_09012025_12_02_19_043198_0003.jpg
/home/pi/Desktop/images/09012025/12/04/image_09012025_12_04_02_438959_0000.jpg
/home/pi/Desktop/images/09012025/12/04/image_09012025_12_04_02_438959_0001.jpg
/home/pi/Desktop/images/09012025/12/04/image_09012025_12_04_02_438959_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327659419","1327659421","1327659423","1327659425"],"photo_ids_order":["1327659419","1327659421","1327659423","1327659425"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/11fdcc95e7e92061726fad5e6b93e58a.jpg","text":"TemporaryFile(/tmp/multipartBody1370388364260623340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420752396,"filename":"image_09012025_12_02_19_043198_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5d00ac5d88546914775fcdcde5285e06.jpg","text":"TemporaryFile(/tmp/multipartBody6121973628834035153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420752396,"filename":"image_09012025_12_04_02_438959_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b3873aac34a6b2a4fd7e383604bf882d.jpg","text":"TemporaryFile(/tmp/multipartBody8947336769881705311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420752396,"filename":"image_09012025_12_04_02_438959_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/53cbc8bc2076d209b9d05805b67f4651.jpg","text":"TemporaryFile(/tmp/multipartBody6446328741352618610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420752396,"filename":"image_09012025_12_04_02_438959_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659423","file1":"1327659421","file0":"1327659419","file3":"1327659425"},"map_files_photo_id_array":[{"photo_id":"1327659423","filename":"file2"},{"photo_id":"1327659421","filename":"file1"},{"photo_id":"1327659419","filename":"file0"},{"photo_id":"1327659425","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659419":["hashtag1","hashtag2"]},{"1327659421":["hashtag1","hashtag2"]},{"1327659423":["hashtag1","hashtag2"]},{"1327659425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659419, 1327659421, 1327659423, 1327659425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3686888217926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:05:22.336754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/04/image_09012025_12_04_02_438959_0003.jpg', '/home/pi/Desktop/images/09012025/12/05/image_09012025_12_05_02_581131_0000.jpg', '/home/pi/Desktop/images/09012025/12/05/image_09012025_12_05_02_581131_0001.jpg', '/home/pi/Desktop/images/09012025/12/05/image_09012025_12_05_02_581131_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/04/image_09012025_12_04_02_438959_0003.jpg
/home/pi/Desktop/images/09012025/12/05/image_09012025_12_05_02_581131_0000.jpg
/home/pi/Desktop/images/09012025/12/05/image_09012025_12_05_02_581131_0001.jpg
/home/pi/Desktop/images/09012025/12/05/image_09012025_12_05_02_581131_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327659442","1327659436","1327659439","1327659446"],"photo_ids_order":["1327659436","1327659439","1327659442","1327659446"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/98c37ae30be01f1052e9dbcb7708d2ba.jpg","text":"TemporaryFile(/tmp/multipartBody5830943237851675178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420792464,"filename":"image_09012025_12_05_02_581131_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4b4f6e747f6aca6287e43b9c4c2d07e1.jpg","text":"TemporaryFile(/tmp/multipartBody6793511430099070481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420792464,"filename":"image_09012025_12_04_02_438959_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ad34b5023a892734064c0a57b143c235.jpg","text":"TemporaryFile(/tmp/multipartBody954139219786348800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420792464,"filename":"image_09012025_12_05_02_581131_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c4e4a814ad0fcfd093e473a80169508b.jpg","text":"TemporaryFile(/tmp/multipartBody7049259013258304346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420792464,"filename":"image_09012025_12_05_02_581131_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659442","file1":"1327659439","file0":"1327659436","file3":"1327659446"},"map_files_photo_id_array":[{"photo_id":"1327659442","filename":"file2"},{"photo_id":"1327659439","filename":"file1"},{"photo_id":"1327659436","filename":"file0"},{"photo_id":"1327659446","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659442":["hashtag1","hashtag2"]},{"1327659436":["hashtag1","hashtag2"]},{"1327659439":["hashtag1","hashtag2"]},{"1327659446":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659442, 1327659436, 1327659439, 1327659446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.05648994445801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:06:02.841712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:06:22.468135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/05/image_09012025_12_05_02_581131_0003.jpg', '/home/pi/Desktop/images/09012025/12/06/image_09012025_12_06_02_781100_0000.jpg', '/home/pi/Desktop/images/09012025/12/06/image_09012025_12_06_02_781100_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/05/image_09012025_12_05_02_581131_0003.jpg
/home/pi/Desktop/images/09012025/12/06/image_09012025_12_06_02_781100_0000.jpg
/home/pi/Desktop/images/09012025/12/06/image_09012025_12_06_02_781100_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327659466","1327659462","1327659459"],"photo_ids_order":["1327659459","1327659462","1327659466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/42ace427084efe532093c2632130c50e.jpg","text":"TemporaryFile(/tmp/multipartBody5735435188041473210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420850269,"filename":"image_09012025_12_06_02_781100_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5be18f42048f62f878da2f53e427d9f6.jpg","text":"TemporaryFile(/tmp/multipartBody6564762309503558564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420850269,"filename":"image_09012025_12_06_02_781100_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a289c6a771d2b114b2c674b96570abcc.jpg","text":"TemporaryFile(/tmp/multipartBody4442123754676934585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420850269,"filename":"image_09012025_12_05_02_581131_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659466","file1":"1327659462","file0":"1327659459"},"map_files_photo_id_array":[{"photo_id":"1327659466","filename":"file2"},{"photo_id":"1327659462","filename":"file1"},{"photo_id":"1327659459","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659466":["hashtag1","hashtag2"]},{"1327659462":["hashtag1","hashtag2"]},{"1327659459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659466, 1327659462, 1327659459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.45113825798035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:07:03.258858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:07:22.673439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/06/image_09012025_12_06_02_781100_0002.jpg', '/home/pi/Desktop/images/09012025/12/07/image_09012025_12_07_02_804399_0000.jpg', '/home/pi/Desktop/images/09012025/12/07/image_09012025_12_07_02_804399_0001.jpg', '/home/pi/Desktop/images/09012025/12/07/image_09012025_12_07_02_804399_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/06/image_09012025_12_06_02_781100_0002.jpg
/home/pi/Desktop/images/09012025/12/07/image_09012025_12_07_02_804399_0000.jpg
/home/pi/Desktop/images/09012025/12/07/image_09012025_12_07_02_804399_0001.jpg
/home/pi/Desktop/images/09012025/12/07/image_09012025_12_07_02_804399_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327659502","1327659489","1327659494","1327659507"],"photo_ids_order":["1327659489","1327659494","1327659502","1327659507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d5e7169d3b8bff293b24864dafa92b71.jpg","text":"TemporaryFile(/tmp/multipartBody797086755700447539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420913021,"filename":"image_09012025_12_07_02_804399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/138761d3e9b6c7ec6bdc105892cb0231.jpg","text":"TemporaryFile(/tmp/multipartBody8129136161983146589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420913021,"filename":"image_09012025_12_06_02_781100_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/565ed57aaf3fcab19aa32f13a06b2c6b.jpg","text":"TemporaryFile(/tmp/multipartBody4794230608828741691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420913021,"filename":"image_09012025_12_07_02_804399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/68f6f0c3fe4b5710b874f2f84b4292d7.jpg","text":"TemporaryFile(/tmp/multipartBody8935254564454616370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420913021,"filename":"image_09012025_12_07_02_804399_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659502","file1":"1327659494","file0":"1327659489","file3":"1327659507"},"map_files_photo_id_array":[{"photo_id":"1327659502","filename":"file2"},{"photo_id":"1327659494","filename":"file1"},{"photo_id":"1327659489","filename":"file0"},{"photo_id":"1327659507","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659502":["hashtag1","hashtag2"]},{"1327659489":["hashtag1","hashtag2"]},{"1327659494":["hashtag1","hashtag2"]},{"1327659507":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659502, 1327659489, 1327659494, 1327659507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.200836420059204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:08:21.843600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/07/image_09012025_12_07_02_804399_0003.jpg', '/home/pi/Desktop/images/09012025/12/08/image_09012025_12_08_03_151518_0000.jpg', '/home/pi/Desktop/images/09012025/12/08/image_09012025_12_08_03_151518_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/07/image_09012025_12_07_02_804399_0003.jpg
/home/pi/Desktop/images/09012025/12/08/image_09012025_12_08_03_151518_0000.jpg
/home/pi/Desktop/images/09012025/12/08/image_09012025_12_08_03_151518_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.493157625198364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 12:08:31.821697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/07/image_09012025_12_07_02_804399_0003.jpg', '/home/pi/Desktop/images/09012025/12/08/image_09012025_12_08_03_151518_0000.jpg', '/home/pi/Desktop/images/09012025/12/08/image_09012025_12_08_03_151518_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/07/image_09012025_12_07_02_804399_0003.jpg
/home/pi/Desktop/images/09012025/12/08/image_09012025_12_08_03_151518_0000.jpg
/home/pi/Desktop/images/09012025/12/08/image_09012025_12_08_03_151518_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327659526","1327659530","1327659533"],"photo_ids_order":["1327659526","1327659530","1327659533"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6cbefd3912aed13b25ae38c53c17d02f.jpg","text":"TemporaryFile(/tmp/multipartBody2647848934606350075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420979775,"filename":"image_09012025_12_07_02_804399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/50209d3d4235398fec60fa8bcb91633c.jpg","text":"TemporaryFile(/tmp/multipartBody332518642155944315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420979775,"filename":"image_09012025_12_08_03_151518_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a73dc6099aba93f12f8bc02cf41e07f7.jpg","text":"TemporaryFile(/tmp/multipartBody83427115351188907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736420979775,"filename":"image_09012025_12_08_03_151518_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659533","file1":"1327659530","file0":"1327659526"},"map_files_photo_id_array":[{"photo_id":"1327659533","filename":"file2"},{"photo_id":"1327659530","filename":"file1"},{"photo_id":"1327659526","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659526":["hashtag1","hashtag2"]},{"1327659530":["hashtag1","hashtag2"]},{"1327659533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659526, 1327659530, 1327659533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 34.00359869003296 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:09:22.011520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/08/image_09012025_12_08_03_151518_0003.jpg', '/home/pi/Desktop/images/09012025/12/09/image_09012025_12_09_02_170773_0000.jpg', '/home/pi/Desktop/images/09012025/12/09/image_09012025_12_09_02_170773_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/08/image_09012025_12_08_03_151518_0003.jpg
/home/pi/Desktop/images/09012025/12/09/image_09012025_12_09_02_170773_0000.jpg
/home/pi/Desktop/images/09012025/12/09/image_09012025_12_09_02_170773_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327659547","1327659555","1327659551"],"photo_ids_order":["1327659547","1327659551","1327659555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/857164b38851cb9f1b8458c88e2797c3.jpg","text":"TemporaryFile(/tmp/multipartBody8446179109219892470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421029895,"filename":"image_09012025_12_08_03_151518_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7312546da7cdf7a453b3a0df361fa0fc.jpg","text":"TemporaryFile(/tmp/multipartBody6087808117335506598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421029895,"filename":"image_09012025_12_09_02_170773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/834b526af7416f36913901aafd5b2e47.jpg","text":"TemporaryFile(/tmp/multipartBody4569323049424851874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421029895,"filename":"image_09012025_12_09_02_170773_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659555","file1":"1327659551","file0":"1327659547"},"map_files_photo_id_array":[{"photo_id":"1327659555","filename":"file2"},{"photo_id":"1327659551","filename":"file1"},{"photo_id":"1327659547","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659547":["hashtag1","hashtag2"]},{"1327659555":["hashtag1","hashtag2"]},{"1327659551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659547, 1327659555, 1327659551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 37.45544123649597 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:10:02.663841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:10:22.299593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/09/image_09012025_12_09_02_170773_0002.jpg', '/home/pi/Desktop/images/09012025/12/10/image_09012025_12_10_02_380360_0000.jpg', '/home/pi/Desktop/images/09012025/12/10/image_09012025_12_10_02_380360_0001.jpg', '/home/pi/Desktop/images/09012025/12/10/image_09012025_12_10_02_380360_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/09/image_09012025_12_09_02_170773_0002.jpg
/home/pi/Desktop/images/09012025/12/10/image_09012025_12_10_02_380360_0000.jpg
/home/pi/Desktop/images/09012025/12/10/image_09012025_12_10_02_380360_0001.jpg
/home/pi/Desktop/images/09012025/12/10/image_09012025_12_10_02_380360_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327659579","1327659570","1327659575","1327659584"],"photo_ids_order":["1327659570","1327659575","1327659579","1327659584"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/accf80e95c6ff7e385ef4277a65f2c29.jpg","text":"TemporaryFile(/tmp/multipartBody8829450502227037986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421092619,"filename":"image_09012025_12_10_02_380360_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6ff8bd3bea324ad5f3b1f9cb5f54f021.jpg","text":"TemporaryFile(/tmp/multipartBody2833019258404131768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421092619,"filename":"image_09012025_12_09_02_170773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a7e974b6bc1f3fbc28e6634a5028242b.jpg","text":"TemporaryFile(/tmp/multipartBody5856769572762430368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421092619,"filename":"image_09012025_12_10_02_380360_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ec03e0da195fa6291adab5a97086b14f.jpg","text":"TemporaryFile(/tmp/multipartBody2587821695044005511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421092619,"filename":"image_09012025_12_10_02_380360_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659579","file1":"1327659575","file0":"1327659570","file3":"1327659584"},"map_files_photo_id_array":[{"photo_id":"1327659579","filename":"file2"},{"photo_id":"1327659575","filename":"file1"},{"photo_id":"1327659570","filename":"file0"},{"photo_id":"1327659584","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659579":["hashtag1","hashtag2"]},{"1327659570":["hashtag1","hashtag2"]},{"1327659575":["hashtag1","hashtag2"]},{"1327659584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659579, 1327659570, 1327659575, 1327659584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.12910509109497 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:11:22.368218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/10/image_09012025_12_10_02_380360_0003.jpg', '/home/pi/Desktop/images/09012025/12/11/image_09012025_12_11_02_570617_0000.jpg', '/home/pi/Desktop/images/09012025/12/11/image_09012025_12_11_02_570617_0001.jpg', '/home/pi/Desktop/images/09012025/12/11/image_09012025_12_11_02_570617_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/10/image_09012025_12_10_02_380360_0003.jpg
/home/pi/Desktop/images/09012025/12/11/image_09012025_12_11_02_570617_0000.jpg
/home/pi/Desktop/images/09012025/12/11/image_09012025_12_11_02_570617_0001.jpg
/home/pi/Desktop/images/09012025/12/11/image_09012025_12_11_02_570617_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327659598","1327659602","1327659607","1327659611"],"photo_ids_order":["1327659598","1327659602","1327659607","1327659611"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/10203bf6ce20f2d4e03bcec761215d67.jpg","text":"TemporaryFile(/tmp/multipartBody1688461284637350107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421152571,"filename":"image_09012025_12_10_02_380360_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f88fca833610a13143b8c841ed9c49fe.jpg","text":"TemporaryFile(/tmp/multipartBody7821914258830859466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421152571,"filename":"image_09012025_12_11_02_570617_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fa0f5f6fac6ece047fabd109498cccad.jpg","text":"TemporaryFile(/tmp/multipartBody3818587011458335139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421152571,"filename":"image_09012025_12_11_02_570617_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bc7f10215505d1cfde3738adb3e0259e.jpg","text":"TemporaryFile(/tmp/multipartBody1701200750179767047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421152571,"filename":"image_09012025_12_11_02_570617_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659607","file1":"1327659602","file0":"1327659598","file3":"1327659611"},"map_files_photo_id_array":[{"photo_id":"1327659607","filename":"file2"},{"photo_id":"1327659602","filename":"file1"},{"photo_id":"1327659598","filename":"file0"},{"photo_id":"1327659611","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659598":["hashtag1","hashtag2"]},{"1327659602":["hashtag1","hashtag2"]},{"1327659607":["hashtag1","hashtag2"]},{"1327659611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659598, 1327659602, 1327659607, 1327659611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.099961280822754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:12:22.644485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/11/image_09012025_12_11_02_570617_0003.jpg', '/home/pi/Desktop/images/09012025/12/12/image_09012025_12_12_02_740125_0000.jpg', '/home/pi/Desktop/images/09012025/12/12/image_09012025_12_12_02_740125_0001.jpg', '/home/pi/Desktop/images/09012025/12/12/image_09012025_12_12_02_740125_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/11/image_09012025_12_11_02_570617_0003.jpg
/home/pi/Desktop/images/09012025/12/12/image_09012025_12_12_02_740125_0000.jpg
/home/pi/Desktop/images/09012025/12/12/image_09012025_12_12_02_740125_0001.jpg
/home/pi/Desktop/images/09012025/12/12/image_09012025_12_12_02_740125_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327659628","1327659648","1327659633","1327659642"],"photo_ids_order":["1327659628","1327659633","1327659642","1327659648"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0e600a6f788d8fc17fb57dc37f5ad032.jpg","text":"TemporaryFile(/tmp/multipartBody675836696598553492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421212989,"filename":"image_09012025_12_11_02_570617_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7b9024e3bc30da959f6e321196c7d351.jpg","text":"TemporaryFile(/tmp/multipartBody7765823283892180688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421212989,"filename":"image_09012025_12_12_02_740125_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0cb8c2eef2eb31183c49936b2dc9ffbb.jpg","text":"TemporaryFile(/tmp/multipartBody3487780177213231090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421212989,"filename":"image_09012025_12_12_02_740125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4d8760672f1bdd35d560f0c4254d5871.jpg","text":"TemporaryFile(/tmp/multipartBody5803819576953378367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421212989,"filename":"image_09012025_12_12_02_740125_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659642","file1":"1327659633","file0":"1327659628","file3":"1327659648"},"map_files_photo_id_array":[{"photo_id":"1327659642","filename":"file2"},{"photo_id":"1327659633","filename":"file1"},{"photo_id":"1327659628","filename":"file0"},{"photo_id":"1327659648","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659628":["hashtag1","hashtag2"]},{"1327659648":["hashtag1","hashtag2"]},{"1327659633":["hashtag1","hashtag2"]},{"1327659642":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659628, 1327659648, 1327659633, 1327659642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.06317210197449 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:13:22.791515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/12/image_09012025_12_12_02_740125_0003.jpg', '/home/pi/Desktop/images/09012025/12/13/image_09012025_12_13_02_955927_0000.jpg', '/home/pi/Desktop/images/09012025/12/13/image_09012025_12_13_02_955927_0001.jpg', '/home/pi/Desktop/images/09012025/12/13/image_09012025_12_13_02_955927_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/12/image_09012025_12_12_02_740125_0003.jpg
/home/pi/Desktop/images/09012025/12/13/image_09012025_12_13_02_955927_0000.jpg
/home/pi/Desktop/images/09012025/12/13/image_09012025_12_13_02_955927_0001.jpg
/home/pi/Desktop/images/09012025/12/13/image_09012025_12_13_02_955927_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327659679","1327659672","1327659689","1327659665"],"photo_ids_order":["1327659665","1327659672","1327659679","1327659689"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3657768ee9fe5fe3ce5a79fc0509bf86.jpg","text":"TemporaryFile(/tmp/multipartBody8221847192977106832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421273134,"filename":"image_09012025_12_13_02_955927_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0939ad956943209943437a07d2630379.jpg","text":"TemporaryFile(/tmp/multipartBody4418719444601321243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421273134,"filename":"image_09012025_12_13_02_955927_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dbff91457010d9585519112b055de6fa.jpg","text":"TemporaryFile(/tmp/multipartBody7129163690678203349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421273134,"filename":"image_09012025_12_13_02_955927_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/06fb5674668b50efe3028096a126ef0b.jpg","text":"TemporaryFile(/tmp/multipartBody153583477334025963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421273134,"filename":"image_09012025_12_12_02_740125_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659679","file1":"1327659672","file0":"1327659665","file3":"1327659689"},"map_files_photo_id_array":[{"photo_id":"1327659679","filename":"file2"},{"photo_id":"1327659672","filename":"file1"},{"photo_id":"1327659665","filename":"file0"},{"photo_id":"1327659689","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659679":["hashtag1","hashtag2"]},{"1327659672":["hashtag1","hashtag2"]},{"1327659689":["hashtag1","hashtag2"]},{"1327659665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659679, 1327659672, 1327659689, 1327659665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.07431387901306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:14:22.078319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/13/image_09012025_12_13_02_955927_0003.jpg', '/home/pi/Desktop/images/09012025/12/14/image_09012025_12_14_03_098334_0000.jpg', '/home/pi/Desktop/images/09012025/12/14/image_09012025_12_14_03_098334_0001.jpg', '/home/pi/Desktop/images/09012025/12/14/image_09012025_12_14_03_098334_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/13/image_09012025_12_13_02_955927_0003.jpg
/home/pi/Desktop/images/09012025/12/14/image_09012025_12_14_03_098334_0000.jpg
/home/pi/Desktop/images/09012025/12/14/image_09012025_12_14_03_098334_0001.jpg
/home/pi/Desktop/images/09012025/12/14/image_09012025_12_14_03_098334_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327659727","1327659732","1327659720","1327659737"],"photo_ids_order":["1327659720","1327659727","1327659732","1327659737"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/683cff6cca49b294aba64aeae65b1992.jpg","text":"TemporaryFile(/tmp/multipartBody3261376807732131365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421332414,"filename":"image_09012025_12_14_03_098334_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/365f524f1d9c73a895d5c40a315cac11.jpg","text":"TemporaryFile(/tmp/multipartBody4391885748112237958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421332414,"filename":"image_09012025_12_14_03_098334_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c4df5caed7e77eb74acc04c09a11807b.jpg","text":"TemporaryFile(/tmp/multipartBody3292999170441882803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421332414,"filename":"image_09012025_12_13_02_955927_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9c7e690f557564a42089e2029e637b45.jpg","text":"TemporaryFile(/tmp/multipartBody1673444068381108916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421332414,"filename":"image_09012025_12_14_03_098334_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659732","file1":"1327659727","file0":"1327659720","file3":"1327659737"},"map_files_photo_id_array":[{"photo_id":"1327659732","filename":"file2"},{"photo_id":"1327659727","filename":"file1"},{"photo_id":"1327659720","filename":"file0"},{"photo_id":"1327659737","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659727":["hashtag1","hashtag2"]},{"1327659732":["hashtag1","hashtag2"]},{"1327659720":["hashtag1","hashtag2"]},{"1327659737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659727, 1327659732, 1327659720, 1327659737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.6309130191803 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:15:22.233064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/14/image_09012025_12_14_03_098334_0003.jpg', '/home/pi/Desktop/images/09012025/12/15/image_09012025_12_15_02_370199_0000.jpg', '/home/pi/Desktop/images/09012025/12/15/image_09012025_12_15_02_370199_0001.jpg', '/home/pi/Desktop/images/09012025/12/15/image_09012025_12_15_02_370199_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/14/image_09012025_12_14_03_098334_0003.jpg
/home/pi/Desktop/images/09012025/12/15/image_09012025_12_15_02_370199_0000.jpg
/home/pi/Desktop/images/09012025/12/15/image_09012025_12_15_02_370199_0001.jpg
/home/pi/Desktop/images/09012025/12/15/image_09012025_12_15_02_370199_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327659772","1327659765","1327659759","1327659753"],"photo_ids_order":["1327659753","1327659759","1327659765","1327659772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/656c61278de46ff3b5ca0715d939ba4e.jpg","text":"TemporaryFile(/tmp/multipartBody8026453149104352388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421392524,"filename":"image_09012025_12_15_02_370199_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/921e3faaeb86fed0c938c9324018d1ad.jpg","text":"TemporaryFile(/tmp/multipartBody6755033319803541082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421392524,"filename":"image_09012025_12_15_02_370199_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3accab68f9f1caca8eab7aa6df1bab69.jpg","text":"TemporaryFile(/tmp/multipartBody8587554472693438631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421392524,"filename":"image_09012025_12_15_02_370199_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ff502762e4d003d9901861fc1a3f56b1.jpg","text":"TemporaryFile(/tmp/multipartBody5696156726982820057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421392524,"filename":"image_09012025_12_14_03_098334_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659765","file1":"1327659759","file0":"1327659753","file3":"1327659772"},"map_files_photo_id_array":[{"photo_id":"1327659765","filename":"file2"},{"photo_id":"1327659759","filename":"file1"},{"photo_id":"1327659753","filename":"file0"},{"photo_id":"1327659772","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659772":["hashtag1","hashtag2"]},{"1327659765":["hashtag1","hashtag2"]},{"1327659759":["hashtag1","hashtag2"]},{"1327659753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659772, 1327659765, 1327659759, 1327659753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.52090787887573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:16:02.769582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:16:22.395678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/15/image_09012025_12_15_02_370199_0003.jpg', '/home/pi/Desktop/images/09012025/12/16/image_09012025_12_16_02_592503_0000.jpg', '/home/pi/Desktop/images/09012025/12/16/image_09012025_12_16_02_592503_0001.jpg', '/home/pi/Desktop/images/09012025/12/16/image_09012025_12_16_02_592503_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/15/image_09012025_12_15_02_370199_0003.jpg
/home/pi/Desktop/images/09012025/12/16/image_09012025_12_16_02_592503_0000.jpg
/home/pi/Desktop/images/09012025/12/16/image_09012025_12_16_02_592503_0001.jpg
/home/pi/Desktop/images/09012025/12/16/image_09012025_12_16_02_592503_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327659796","1327659802","1327659811","1327659807"],"photo_ids_order":["1327659796","1327659802","1327659807","1327659811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7fb10dfac007081d4422a925e1842d31.jpg","text":"TemporaryFile(/tmp/multipartBody8263623676407732488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421452986,"filename":"image_09012025_12_15_02_370199_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aeab49d3ec65f2a310ce2c69b549e07a.jpg","text":"TemporaryFile(/tmp/multipartBody834767642168627375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421452986,"filename":"image_09012025_12_16_02_592503_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/219767ebe54b0d1f0767132937cc1d47.jpg","text":"TemporaryFile(/tmp/multipartBody1922388817925145594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421452986,"filename":"image_09012025_12_16_02_592503_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dc37c179db7da2935f1c270ef245e0a9.jpg","text":"TemporaryFile(/tmp/multipartBody8486214681186138471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421452986,"filename":"image_09012025_12_16_02_592503_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659807","file1":"1327659802","file0":"1327659796","file3":"1327659811"},"map_files_photo_id_array":[{"photo_id":"1327659807","filename":"file2"},{"photo_id":"1327659802","filename":"file1"},{"photo_id":"1327659796","filename":"file0"},{"photo_id":"1327659811","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659796":["hashtag1","hashtag2"]},{"1327659802":["hashtag1","hashtag2"]},{"1327659811":["hashtag1","hashtag2"]},{"1327659807":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659796, 1327659802, 1327659811, 1327659807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.86677861213684 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:17:22.658035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/16/image_09012025_12_16_02_592503_0003.jpg', '/home/pi/Desktop/images/09012025/12/17/image_09012025_12_17_02_835061_0000.jpg', '/home/pi/Desktop/images/09012025/12/17/image_09012025_12_17_02_835061_0001.jpg', '/home/pi/Desktop/images/09012025/12/17/image_09012025_12_17_02_835061_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/16/image_09012025_12_16_02_592503_0003.jpg
/home/pi/Desktop/images/09012025/12/17/image_09012025_12_17_02_835061_0000.jpg
/home/pi/Desktop/images/09012025/12/17/image_09012025_12_17_02_835061_0001.jpg
/home/pi/Desktop/images/09012025/12/17/image_09012025_12_17_02_835061_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327659847","1327659835","1327659829","1327659842"],"photo_ids_order":["1327659829","1327659835","1327659842","1327659847"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fbd1eba90824dd2bf577dbd53b730f49.jpg","text":"TemporaryFile(/tmp/multipartBody2324370822111386925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421513170,"filename":"image_09012025_12_17_02_835061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e2599a31a80c44cec7763ca1736e3e8e.jpg","text":"TemporaryFile(/tmp/multipartBody4451723454564346449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421513170,"filename":"image_09012025_12_17_02_835061_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4bb853468a0530bd4502d511771c3e7a.jpg","text":"TemporaryFile(/tmp/multipartBody3315333089485066073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421513170,"filename":"image_09012025_12_16_02_592503_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5545876704ccc79b721f13b666e1d876.jpg","text":"TemporaryFile(/tmp/multipartBody3762688533286583876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421513170,"filename":"image_09012025_12_17_02_835061_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659842","file1":"1327659835","file0":"1327659829","file3":"1327659847"},"map_files_photo_id_array":[{"photo_id":"1327659842","filename":"file2"},{"photo_id":"1327659835","filename":"file1"},{"photo_id":"1327659829","filename":"file0"},{"photo_id":"1327659847","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659847":["hashtag1","hashtag2"]},{"1327659835":["hashtag1","hashtag2"]},{"1327659829":["hashtag1","hashtag2"]},{"1327659842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659847, 1327659835, 1327659829, 1327659842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.90438675880432 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:18:21.848174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/17/image_09012025_12_17_02_835061_0003.jpg', '/home/pi/Desktop/images/09012025/12/18/image_09012025_12_18_02_964676_0000.jpg', '/home/pi/Desktop/images/09012025/12/18/image_09012025_12_18_02_964676_0001.jpg', '/home/pi/Desktop/images/09012025/12/18/image_09012025_12_18_02_964676_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/17/image_09012025_12_17_02_835061_0003.jpg
/home/pi/Desktop/images/09012025/12/18/image_09012025_12_18_02_964676_0000.jpg
/home/pi/Desktop/images/09012025/12/18/image_09012025_12_18_02_964676_0001.jpg
/home/pi/Desktop/images/09012025/12/18/image_09012025_12_18_02_964676_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327659871","1327659861","1327660092","1327659867"],"photo_ids_order":["1327659861","1327659867","1327659871","1327660092"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/939b00b7f16f3880cc46b5ddeb8838b0.jpg","text":"TemporaryFile(/tmp/multipartBody8793999077126293664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421572206,"filename":"image_09012025_12_18_02_964676_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fa26039c2155650d20ed6501dcc72cd1.jpg","text":"TemporaryFile(/tmp/multipartBody4931646833689823390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421572206,"filename":"image_09012025_12_17_02_835061_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7019e80ffb1b3d0bfa5f5a09968a5a60.jpg","text":"TemporaryFile(/tmp/multipartBody2568634204997029392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421572206,"filename":"image_09012025_12_18_02_964676_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c8c055f214b9c0f0a7b388f57a15715e.jpg","text":"TemporaryFile(/tmp/multipartBody2610374212019797427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421572206,"filename":"image_09012025_12_18_02_964676_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327659871","file1":"1327659867","file0":"1327659861","file3":"1327660092"},"map_files_photo_id_array":[{"photo_id":"1327659871","filename":"file2"},{"photo_id":"1327659867","filename":"file1"},{"photo_id":"1327659861","filename":"file0"},{"photo_id":"1327660092","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327659871":["hashtag1","hashtag2"]},{"1327659861":["hashtag1","hashtag2"]},{"1327660092":["hashtag1","hashtag2"]},{"1327659867":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327659871, 1327659861, 1327660092, 1327659867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.15339469909668 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:19:02.580798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:19:21.974080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/18/image_09012025_12_18_02_964676_0003.jpg', '/home/pi/Desktop/images/09012025/12/19/image_09012025_12_19_02_215954_0000.jpg', '/home/pi/Desktop/images/09012025/12/19/image_09012025_12_19_02_215954_0001.jpg', '/home/pi/Desktop/images/09012025/12/19/image_09012025_12_19_02_215954_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/18/image_09012025_12_18_02_964676_0003.jpg
/home/pi/Desktop/images/09012025/12/19/image_09012025_12_19_02_215954_0000.jpg
/home/pi/Desktop/images/09012025/12/19/image_09012025_12_19_02_215954_0001.jpg
/home/pi/Desktop/images/09012025/12/19/image_09012025_12_19_02_215954_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.826790809631348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 12:19:41.973792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/18/image_09012025_12_18_02_964676_0003.jpg', '/home/pi/Desktop/images/09012025/12/19/image_09012025_12_19_02_215954_0000.jpg', '/home/pi/Desktop/images/09012025/12/19/image_09012025_12_19_02_215954_0001.jpg', '/home/pi/Desktop/images/09012025/12/19/image_09012025_12_19_02_215954_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/18/image_09012025_12_18_02_964676_0003.jpg
/home/pi/Desktop/images/09012025/12/19/image_09012025_12_19_02_215954_0000.jpg
/home/pi/Desktop/images/09012025/12/19/image_09012025_12_19_02_215954_0001.jpg
/home/pi/Desktop/images/09012025/12/19/image_09012025_12_19_02_215954_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660130","1327660124","1327660132","1327660128"],"photo_ids_order":["1327660124","1327660128","1327660130","1327660132"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ee465a341fc0bc6658e7a1ceb3f503eb.jpg","text":"TemporaryFile(/tmp/multipartBody6151417866361975454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421652249,"filename":"image_09012025_12_19_02_215954_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8eff74065ea4ab97072bc664bde8afed.jpg","text":"TemporaryFile(/tmp/multipartBody3692727966011346848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421652249,"filename":"image_09012025_12_18_02_964676_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e713c8f46168511293d0ce1d4649141f.jpg","text":"TemporaryFile(/tmp/multipartBody5393086030970173234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421652249,"filename":"image_09012025_12_19_02_215954_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/43c696b02837983bbd292d4a70f01644.jpg","text":"TemporaryFile(/tmp/multipartBody2754314210138630654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421652249,"filename":"image_09012025_12_19_02_215954_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660130","file1":"1327660128","file0":"1327660124","file3":"1327660132"},"map_files_photo_id_array":[{"photo_id":"1327660130","filename":"file2"},{"photo_id":"1327660128","filename":"file1"},{"photo_id":"1327660124","filename":"file0"},{"photo_id":"1327660132","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660130":["hashtag1","hashtag2"]},{"1327660124":["hashtag1","hashtag2"]},{"1327660132":["hashtag1","hashtag2"]},{"1327660128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660130, 1327660124, 1327660132, 1327660128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.585320472717285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:20:22.207230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/19/image_09012025_12_19_02_215954_0003.jpg', '/home/pi/Desktop/images/09012025/12/20/image_09012025_12_20_02_358392_0000.jpg', '/home/pi/Desktop/images/09012025/12/20/image_09012025_12_20_02_358392_0001.jpg', '/home/pi/Desktop/images/09012025/12/20/image_09012025_12_20_02_358392_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/19/image_09012025_12_19_02_215954_0003.jpg
/home/pi/Desktop/images/09012025/12/20/image_09012025_12_20_02_358392_0000.jpg
/home/pi/Desktop/images/09012025/12/20/image_09012025_12_20_02_358392_0001.jpg
/home/pi/Desktop/images/09012025/12/20/image_09012025_12_20_02_358392_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660142","1327660138","1327660153","1327660147"],"photo_ids_order":["1327660138","1327660142","1327660147","1327660153"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2beec33877ef00abe35e3932f090ac3e.jpg","text":"TemporaryFile(/tmp/multipartBody1313241827572780273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421692993,"filename":"image_09012025_12_20_02_358392_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dc237c9cca63e9e76637cce6d8d1aeda.jpg","text":"TemporaryFile(/tmp/multipartBody4958666666551504620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421692993,"filename":"image_09012025_12_19_02_215954_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e0f037ef24d00f02329e0ee1e2a2bf93.jpg","text":"TemporaryFile(/tmp/multipartBody5694956782575361196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421692993,"filename":"image_09012025_12_20_02_358392_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d5227f6cb3dc69d7978d5ca70c55f060.jpg","text":"TemporaryFile(/tmp/multipartBody5373437078755254110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421692993,"filename":"image_09012025_12_20_02_358392_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660147","file1":"1327660142","file0":"1327660138","file3":"1327660153"},"map_files_photo_id_array":[{"photo_id":"1327660147","filename":"file2"},{"photo_id":"1327660142","filename":"file1"},{"photo_id":"1327660138","filename":"file0"},{"photo_id":"1327660153","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660142":["hashtag1","hashtag2"]},{"1327660138":["hashtag1","hashtag2"]},{"1327660153":["hashtag1","hashtag2"]},{"1327660147":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660142, 1327660138, 1327660153, 1327660147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.0761456489563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:21:02.985853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:21:22.433244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/20/image_09012025_12_20_02_358392_0003.jpg', '/home/pi/Desktop/images/09012025/12/21/image_09012025_12_21_02_602194_0000.jpg', '/home/pi/Desktop/images/09012025/12/21/image_09012025_12_21_02_602194_0001.jpg', '/home/pi/Desktop/images/09012025/12/21/image_09012025_12_21_02_602194_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/20/image_09012025_12_20_02_358392_0003.jpg
/home/pi/Desktop/images/09012025/12/21/image_09012025_12_21_02_602194_0000.jpg
/home/pi/Desktop/images/09012025/12/21/image_09012025_12_21_02_602194_0001.jpg
/home/pi/Desktop/images/09012025/12/21/image_09012025_12_21_02_602194_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660172","1327660175","1327660183","1327660179"],"photo_ids_order":["1327660172","1327660175","1327660179","1327660183"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4f9dfd4c63edc55c953a3a0b3c069176.jpg","text":"TemporaryFile(/tmp/multipartBody8141953202304698075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421752784,"filename":"image_09012025_12_20_02_358392_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fb8216c8c85ba3b12e306db0ede19d5e.jpg","text":"TemporaryFile(/tmp/multipartBody5515166105519885296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421752784,"filename":"image_09012025_12_21_02_602194_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/01223bf4ce5e2b1c06c8c0c75bb716cc.jpg","text":"TemporaryFile(/tmp/multipartBody1396736109426517124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421752784,"filename":"image_09012025_12_21_02_602194_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/05600feeca2f8333410e8616e136d6e9.jpg","text":"TemporaryFile(/tmp/multipartBody4416108655738531975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421752784,"filename":"image_09012025_12_21_02_602194_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660179","file1":"1327660175","file0":"1327660172","file3":"1327660183"},"map_files_photo_id_array":[{"photo_id":"1327660179","filename":"file2"},{"photo_id":"1327660175","filename":"file1"},{"photo_id":"1327660172","filename":"file0"},{"photo_id":"1327660183","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660172":["hashtag1","hashtag2"]},{"1327660175":["hashtag1","hashtag2"]},{"1327660183":["hashtag1","hashtag2"]},{"1327660179":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660172, 1327660175, 1327660183, 1327660179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.979742765426636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:22:22.565342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/21/image_09012025_12_21_02_602194_0003.jpg', '/home/pi/Desktop/images/09012025/12/22/image_09012025_12_22_02_695790_0000.jpg', '/home/pi/Desktop/images/09012025/12/22/image_09012025_12_22_02_695790_0001.jpg', '/home/pi/Desktop/images/09012025/12/22/image_09012025_12_22_02_695790_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/21/image_09012025_12_21_02_602194_0003.jpg
/home/pi/Desktop/images/09012025/12/22/image_09012025_12_22_02_695790_0000.jpg
/home/pi/Desktop/images/09012025/12/22/image_09012025_12_22_02_695790_0001.jpg
/home/pi/Desktop/images/09012025/12/22/image_09012025_12_22_02_695790_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660203","1327660206","1327660196","1327660199"],"photo_ids_order":["1327660196","1327660199","1327660203","1327660206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ab6245a6a94ec3f1f94009562b416afa.jpg","text":"TemporaryFile(/tmp/multipartBody1311559030802364060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421812911,"filename":"image_09012025_12_22_02_695790_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2d6f21c85a289eb91f6ec01c5cfb5f52.jpg","text":"TemporaryFile(/tmp/multipartBody3501037149181169347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421812911,"filename":"image_09012025_12_22_02_695790_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0eb8cf5def6dbe1363b90ad0e268341e.jpg","text":"TemporaryFile(/tmp/multipartBody4365225286622050358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421812911,"filename":"image_09012025_12_21_02_602194_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d40788e3f945f63ddbd1d83dd5455b2e.jpg","text":"TemporaryFile(/tmp/multipartBody6680665869840925947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421812911,"filename":"image_09012025_12_22_02_695790_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660203","file1":"1327660199","file0":"1327660196","file3":"1327660206"},"map_files_photo_id_array":[{"photo_id":"1327660203","filename":"file2"},{"photo_id":"1327660199","filename":"file1"},{"photo_id":"1327660196","filename":"file0"},{"photo_id":"1327660206","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660203":["hashtag1","hashtag2"]},{"1327660206":["hashtag1","hashtag2"]},{"1327660196":["hashtag1","hashtag2"]},{"1327660199":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660203, 1327660206, 1327660196, 1327660199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.89874315261841 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:23:03.443868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:23:22.685986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/22/image_09012025_12_22_02_695790_0003.jpg', '/home/pi/Desktop/images/09012025/12/23/image_09012025_12_23_02_877911_0000.jpg', '/home/pi/Desktop/images/09012025/12/23/image_09012025_12_23_02_877911_0001.jpg', '/home/pi/Desktop/images/09012025/12/23/image_09012025_12_23_02_877911_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/22/image_09012025_12_22_02_695790_0003.jpg
/home/pi/Desktop/images/09012025/12/23/image_09012025_12_23_02_877911_0000.jpg
/home/pi/Desktop/images/09012025/12/23/image_09012025_12_23_02_877911_0001.jpg
/home/pi/Desktop/images/09012025/12/23/image_09012025_12_23_02_877911_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660223","1327660218","1327660227","1327660215"],"photo_ids_order":["1327660215","1327660218","1327660223","1327660227"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ca67fc3cabb3b8ea13f67676a6519845.jpg","text":"TemporaryFile(/tmp/multipartBody843919117379460728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421872933,"filename":"image_09012025_12_23_02_877911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2dd0989e90468037fdd07f9235006099.jpg","text":"TemporaryFile(/tmp/multipartBody5483831566207084364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421872933,"filename":"image_09012025_12_23_02_877911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e8e3353b67a5b2b97f6dda14ba19e829.jpg","text":"TemporaryFile(/tmp/multipartBody2853820201421376167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421872933,"filename":"image_09012025_12_23_02_877911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ab7833de267e179d788329c0daa05949.jpg","text":"TemporaryFile(/tmp/multipartBody3077566812837221511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421872933,"filename":"image_09012025_12_22_02_695790_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660223","file1":"1327660218","file0":"1327660215","file3":"1327660227"},"map_files_photo_id_array":[{"photo_id":"1327660223","filename":"file2"},{"photo_id":"1327660218","filename":"file1"},{"photo_id":"1327660215","filename":"file0"},{"photo_id":"1327660227","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660223":["hashtag1","hashtag2"]},{"1327660218":["hashtag1","hashtag2"]},{"1327660227":["hashtag1","hashtag2"]},{"1327660215":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660223, 1327660218, 1327660227, 1327660215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.679253578186035 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:24:21.909811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/23/image_09012025_12_23_02_877911_0003.jpg', '/home/pi/Desktop/images/09012025/12/24/image_09012025_12_24_03_036999_0000.jpg', '/home/pi/Desktop/images/09012025/12/24/image_09012025_12_24_03_036999_0001.jpg', '/home/pi/Desktop/images/09012025/12/24/image_09012025_12_24_03_036999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/23/image_09012025_12_23_02_877911_0003.jpg
/home/pi/Desktop/images/09012025/12/24/image_09012025_12_24_03_036999_0000.jpg
/home/pi/Desktop/images/09012025/12/24/image_09012025_12_24_03_036999_0001.jpg
/home/pi/Desktop/images/09012025/12/24/image_09012025_12_24_03_036999_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.86904788017273 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 12:24:41.908944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/23/image_09012025_12_23_02_877911_0003.jpg', '/home/pi/Desktop/images/09012025/12/24/image_09012025_12_24_03_036999_0000.jpg', '/home/pi/Desktop/images/09012025/12/24/image_09012025_12_24_03_036999_0001.jpg', '/home/pi/Desktop/images/09012025/12/24/image_09012025_12_24_03_036999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/23/image_09012025_12_23_02_877911_0003.jpg
/home/pi/Desktop/images/09012025/12/24/image_09012025_12_24_03_036999_0000.jpg
/home/pi/Desktop/images/09012025/12/24/image_09012025_12_24_03_036999_0001.jpg
/home/pi/Desktop/images/09012025/12/24/image_09012025_12_24_03_036999_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660253","1327660255","1327660249","1327660251"],"photo_ids_order":["1327660249","1327660251","1327660253","1327660255"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2698b845bc73e0831b40028e8d37f1df.jpg","text":"TemporaryFile(/tmp/multipartBody5224241091001627569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421952160,"filename":"image_09012025_12_24_03_036999_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8eb0eb8fb24cc78f3a8cf50990182d2c.jpg","text":"TemporaryFile(/tmp/multipartBody8048763528692763338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421952160,"filename":"image_09012025_12_24_03_036999_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2c6afbbb67efc10bbfa48f88459a8e1d.jpg","text":"TemporaryFile(/tmp/multipartBody7207290203777818126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421952160,"filename":"image_09012025_12_23_02_877911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a8371b5914de02fa569ed3758990dc6f.jpg","text":"TemporaryFile(/tmp/multipartBody3674056980898992345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421952160,"filename":"image_09012025_12_24_03_036999_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660253","file1":"1327660251","file0":"1327660249","file3":"1327660255"},"map_files_photo_id_array":[{"photo_id":"1327660253","filename":"file2"},{"photo_id":"1327660251","filename":"file1"},{"photo_id":"1327660249","filename":"file0"},{"photo_id":"1327660255","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660253":["hashtag1","hashtag2"]},{"1327660255":["hashtag1","hashtag2"]},{"1327660249":["hashtag1","hashtag2"]},{"1327660251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660253, 1327660255, 1327660249, 1327660251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.10840368270874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:25:22.163678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/24/image_09012025_12_24_03_036999_0003.jpg', '/home/pi/Desktop/images/09012025/12/25/image_09012025_12_25_02_260471_0000.jpg', '/home/pi/Desktop/images/09012025/12/25/image_09012025_12_25_02_260471_0001.jpg', '/home/pi/Desktop/images/09012025/12/25/image_09012025_12_25_02_260471_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/24/image_09012025_12_24_03_036999_0003.jpg
/home/pi/Desktop/images/09012025/12/25/image_09012025_12_25_02_260471_0000.jpg
/home/pi/Desktop/images/09012025/12/25/image_09012025_12_25_02_260471_0001.jpg
/home/pi/Desktop/images/09012025/12/25/image_09012025_12_25_02_260471_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660261","1327660264","1327660266","1327660269"],"photo_ids_order":["1327660261","1327660264","1327660266","1327660269"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6d9c7a9d30f6311836c8d79148a2b5a0.jpg","text":"TemporaryFile(/tmp/multipartBody1707528605629142055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421992542,"filename":"image_09012025_12_24_03_036999_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e829063f3a7cd6c841f089a4c40322e8.jpg","text":"TemporaryFile(/tmp/multipartBody4846957365004723794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421992542,"filename":"image_09012025_12_25_02_260471_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dc49ed60d8235721cd1612cd4b86b5f9.jpg","text":"TemporaryFile(/tmp/multipartBody575687243732563482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421992542,"filename":"image_09012025_12_25_02_260471_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/475cb19f212521ac7ca1cd1fc1934d45.jpg","text":"TemporaryFile(/tmp/multipartBody8570449011025548115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736421992542,"filename":"image_09012025_12_25_02_260471_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660266","file1":"1327660264","file0":"1327660261","file3":"1327660269"},"map_files_photo_id_array":[{"photo_id":"1327660266","filename":"file2"},{"photo_id":"1327660264","filename":"file1"},{"photo_id":"1327660261","filename":"file0"},{"photo_id":"1327660269","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660261":["hashtag1","hashtag2"]},{"1327660264":["hashtag1","hashtag2"]},{"1327660266":["hashtag1","hashtag2"]},{"1327660269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660261, 1327660264, 1327660266, 1327660269)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 39.69789743423462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:26:22.357340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/25/image_09012025_12_25_02_260471_0003.jpg', '/home/pi/Desktop/images/09012025/12/26/image_09012025_12_26_02_448813_0000.jpg', '/home/pi/Desktop/images/09012025/12/26/image_09012025_12_26_02_448813_0001.jpg', '/home/pi/Desktop/images/09012025/12/26/image_09012025_12_26_02_448813_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/25/image_09012025_12_25_02_260471_0003.jpg
/home/pi/Desktop/images/09012025/12/26/image_09012025_12_26_02_448813_0000.jpg
/home/pi/Desktop/images/09012025/12/26/image_09012025_12_26_02_448813_0001.jpg
/home/pi/Desktop/images/09012025/12/26/image_09012025_12_26_02_448813_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660282","1327660284","1327660278","1327660280"],"photo_ids_order":["1327660278","1327660280","1327660282","1327660284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bf5917be6a14fdbc9581e4fa2e747dd6.jpg","text":"TemporaryFile(/tmp/multipartBody7185256101652263149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422052696,"filename":"image_09012025_12_26_02_448813_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b542a2c4bec206a9bc31acdb74072d18.jpg","text":"TemporaryFile(/tmp/multipartBody3342510736249283227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422052696,"filename":"image_09012025_12_26_02_448813_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/23ec0987db6ef6e15501794bd7b2f6ba.jpg","text":"TemporaryFile(/tmp/multipartBody5000426876742423873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422052696,"filename":"image_09012025_12_25_02_260471_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/286221e82cf6fa158886396b7ccb0a77.jpg","text":"TemporaryFile(/tmp/multipartBody2362514754169165771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422052696,"filename":"image_09012025_12_26_02_448813_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660282","file1":"1327660280","file0":"1327660278","file3":"1327660284"},"map_files_photo_id_array":[{"photo_id":"1327660282","filename":"file2"},{"photo_id":"1327660280","filename":"file1"},{"photo_id":"1327660278","filename":"file0"},{"photo_id":"1327660284","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660282":["hashtag1","hashtag2"]},{"1327660284":["hashtag1","hashtag2"]},{"1327660278":["hashtag1","hashtag2"]},{"1327660280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660282, 1327660284, 1327660278, 1327660280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.23562669754028 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:27:22.447023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/26/image_09012025_12_26_02_448813_0003.jpg', '/home/pi/Desktop/images/09012025/12/27/image_09012025_12_27_02_700405_0000.jpg', '/home/pi/Desktop/images/09012025/12/27/image_09012025_12_27_02_700405_0001.jpg', '/home/pi/Desktop/images/09012025/12/27/image_09012025_12_27_02_700405_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/26/image_09012025_12_26_02_448813_0003.jpg
/home/pi/Desktop/images/09012025/12/27/image_09012025_12_27_02_700405_0000.jpg
/home/pi/Desktop/images/09012025/12/27/image_09012025_12_27_02_700405_0001.jpg
/home/pi/Desktop/images/09012025/12/27/image_09012025_12_27_02_700405_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660296","1327660300","1327660299","1327660298"],"photo_ids_order":["1327660296","1327660298","1327660299","1327660300"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c24d0590ba7f475c09555fb3252032ba.jpg","text":"TemporaryFile(/tmp/multipartBody595001588826294039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422112736,"filename":"image_09012025_12_26_02_448813_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3ca517385034b3cfc64e1181f6019a86.jpg","text":"TemporaryFile(/tmp/multipartBody1057147390332569995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422112736,"filename":"image_09012025_12_27_02_700405_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/81daebea80c8c7359e6105ebde1c53ff.jpg","text":"TemporaryFile(/tmp/multipartBody3105763788070155688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422112736,"filename":"image_09012025_12_27_02_700405_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8a1959df7dc1c0d7a59193edb36c862a.jpg","text":"TemporaryFile(/tmp/multipartBody2092881723515447451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422112736,"filename":"image_09012025_12_27_02_700405_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660299","file1":"1327660298","file0":"1327660296","file3":"1327660300"},"map_files_photo_id_array":[{"photo_id":"1327660299","filename":"file2"},{"photo_id":"1327660298","filename":"file1"},{"photo_id":"1327660296","filename":"file0"},{"photo_id":"1327660300","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660296":["hashtag1","hashtag2"]},{"1327660300":["hashtag1","hashtag2"]},{"1327660299":["hashtag1","hashtag2"]},{"1327660298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660296, 1327660300, 1327660299, 1327660298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.29007887840271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:28:22.718054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/27/image_09012025_12_27_02_700405_0003.jpg', '/home/pi/Desktop/images/09012025/12/28/image_09012025_12_28_02_836209_0000.jpg', '/home/pi/Desktop/images/09012025/12/28/image_09012025_12_28_02_836209_0001.jpg', '/home/pi/Desktop/images/09012025/12/28/image_09012025_12_28_02_836209_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/27/image_09012025_12_27_02_700405_0003.jpg
/home/pi/Desktop/images/09012025/12/28/image_09012025_12_28_02_836209_0000.jpg
/home/pi/Desktop/images/09012025/12/28/image_09012025_12_28_02_836209_0001.jpg
/home/pi/Desktop/images/09012025/12/28/image_09012025_12_28_02_836209_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660313","1327660310","1327660309","1327660311"],"photo_ids_order":["1327660309","1327660310","1327660311","1327660313"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2f3497320f0aedd767d8c29fc7ca7063.jpg","text":"TemporaryFile(/tmp/multipartBody8103705016327261959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422172917,"filename":"image_09012025_12_28_02_836209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1b9747a29ff30a641e5d9d9d9eaaa60d.jpg","text":"TemporaryFile(/tmp/multipartBody5467602001293082784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422172917,"filename":"image_09012025_12_28_02_836209_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9c8c261b7a81202634a42aafc506a7ec.jpg","text":"TemporaryFile(/tmp/multipartBody5748329219811783367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422172917,"filename":"image_09012025_12_27_02_700405_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a144d45dfd50df26190583a8c6708a7d.jpg","text":"TemporaryFile(/tmp/multipartBody613539688077238811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422172917,"filename":"image_09012025_12_28_02_836209_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660311","file1":"1327660310","file0":"1327660309","file3":"1327660313"},"map_files_photo_id_array":[{"photo_id":"1327660311","filename":"file2"},{"photo_id":"1327660310","filename":"file1"},{"photo_id":"1327660309","filename":"file0"},{"photo_id":"1327660313","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660313":["hashtag1","hashtag2"]},{"1327660310":["hashtag1","hashtag2"]},{"1327660309":["hashtag1","hashtag2"]},{"1327660311":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660313, 1327660310, 1327660309, 1327660311)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 4 photos
time to upload: 38.76096510887146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:29:21.878136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/28/image_09012025_12_28_02_836209_0003.jpg', '/home/pi/Desktop/images/09012025/12/29/image_09012025_12_29_02_985192_0000.jpg', '/home/pi/Desktop/images/09012025/12/29/image_09012025_12_29_02_985192_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/28/image_09012025_12_28_02_836209_0003.jpg
/home/pi/Desktop/images/09012025/12/29/image_09012025_12_29_02_985192_0000.jpg
/home/pi/Desktop/images/09012025/12/29/image_09012025_12_29_02_985192_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660328","1327660336","1327660333"],"photo_ids_order":["1327660328","1327660333","1327660336"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ac3846b07baf4f8ec39d65889f973a2c.jpg","text":"TemporaryFile(/tmp/multipartBody3200875651495525144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422229695,"filename":"image_09012025_12_28_02_836209_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3f6ce71f9bca131e5b7a0df1bad8cf2a.jpg","text":"TemporaryFile(/tmp/multipartBody3583048494897213826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422229695,"filename":"image_09012025_12_29_02_985192_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ac4d2320e37d6ea49e5a0cc104eb7acc.jpg","text":"TemporaryFile(/tmp/multipartBody1597173716038957574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422229695,"filename":"image_09012025_12_29_02_985192_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660336","file1":"1327660333","file0":"1327660328"},"map_files_photo_id_array":[{"photo_id":"1327660336","filename":"file2"},{"photo_id":"1327660333","filename":"file1"},{"photo_id":"1327660328","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660328":["hashtag1","hashtag2"]},{"1327660336":["hashtag1","hashtag2"]},{"1327660333":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660328, 1327660336, 1327660333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.08780288696289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:30:02.539257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:30:22.037708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/29/image_09012025_12_29_02_985192_0003.jpg', '/home/pi/Desktop/images/09012025/12/30/image_09012025_12_30_02_240286_0000.jpg', '/home/pi/Desktop/images/09012025/12/30/image_09012025_12_30_02_240286_0001.jpg', '/home/pi/Desktop/images/09012025/12/30/image_09012025_12_30_02_240286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/29/image_09012025_12_29_02_985192_0003.jpg
/home/pi/Desktop/images/09012025/12/30/image_09012025_12_30_02_240286_0000.jpg
/home/pi/Desktop/images/09012025/12/30/image_09012025_12_30_02_240286_0001.jpg
/home/pi/Desktop/images/09012025/12/30/image_09012025_12_30_02_240286_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 10.046939134597778 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 12:30:42.070997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/29/image_09012025_12_29_02_985192_0003.jpg', '/home/pi/Desktop/images/09012025/12/30/image_09012025_12_30_02_240286_0000.jpg', '/home/pi/Desktop/images/09012025/12/30/image_09012025_12_30_02_240286_0001.jpg', '/home/pi/Desktop/images/09012025/12/30/image_09012025_12_30_02_240286_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/29/image_09012025_12_29_02_985192_0003.jpg
/home/pi/Desktop/images/09012025/12/30/image_09012025_12_30_02_240286_0000.jpg
/home/pi/Desktop/images/09012025/12/30/image_09012025_12_30_02_240286_0001.jpg
/home/pi/Desktop/images/09012025/12/30/image_09012025_12_30_02_240286_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660363","1327660365","1327660359","1327660361"],"photo_ids_order":["1327660359","1327660361","1327660363","1327660365"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d0f63c12e119c89922324876c58fb84a.jpg","text":"TemporaryFile(/tmp/multipartBody5872451049916682518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422312526,"filename":"image_09012025_12_30_02_240286_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/25afdeb3fddbd2c2ff438a8565756e06.jpg","text":"TemporaryFile(/tmp/multipartBody617916233647526518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422312526,"filename":"image_09012025_12_30_02_240286_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/336026df4f3e2a19b79e6f06633621c0.jpg","text":"TemporaryFile(/tmp/multipartBody7378008312945157211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422312526,"filename":"image_09012025_12_29_02_985192_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d9e085453af1f9553c95b17e81405889.jpg","text":"TemporaryFile(/tmp/multipartBody890054542831764209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422312526,"filename":"image_09012025_12_30_02_240286_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660363","file1":"1327660361","file0":"1327660359","file3":"1327660365"},"map_files_photo_id_array":[{"photo_id":"1327660363","filename":"file2"},{"photo_id":"1327660361","filename":"file1"},{"photo_id":"1327660359","filename":"file0"},{"photo_id":"1327660365","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660363":["hashtag1","hashtag2"]},{"1327660365":["hashtag1","hashtag2"]},{"1327660359":["hashtag1","hashtag2"]},{"1327660361":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660363, 1327660365, 1327660359, 1327660361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.15707278251648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:31:22.186028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/30/image_09012025_12_30_02_240286_0003.jpg', '/home/pi/Desktop/images/09012025/12/31/image_09012025_12_31_02_374748_0000.jpg', '/home/pi/Desktop/images/09012025/12/31/image_09012025_12_31_02_374748_0001.jpg', '/home/pi/Desktop/images/09012025/12/31/image_09012025_12_31_02_374748_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/30/image_09012025_12_30_02_240286_0003.jpg
/home/pi/Desktop/images/09012025/12/31/image_09012025_12_31_02_374748_0000.jpg
/home/pi/Desktop/images/09012025/12/31/image_09012025_12_31_02_374748_0001.jpg
/home/pi/Desktop/images/09012025/12/31/image_09012025_12_31_02_374748_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660378","1327660371","1327660380","1327660374"],"photo_ids_order":["1327660371","1327660374","1327660378","1327660380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e40340bc461b81bb4e7412aa464940e7.jpg","text":"TemporaryFile(/tmp/multipartBody2342670980556272222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422352686,"filename":"image_09012025_12_31_02_374748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c3f7fed18e5d921b0cfaa930e76b20eb.jpg","text":"TemporaryFile(/tmp/multipartBody7920858063242284063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422352686,"filename":"image_09012025_12_30_02_240286_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c591dcd18e716671a652ea1e13eb87c0.jpg","text":"TemporaryFile(/tmp/multipartBody6716919014037653568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422352686,"filename":"image_09012025_12_31_02_374748_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9657d73f73b28bc1f23262f68f751842.jpg","text":"TemporaryFile(/tmp/multipartBody7340401880787980986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422352686,"filename":"image_09012025_12_31_02_374748_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660378","file1":"1327660374","file0":"1327660371","file3":"1327660380"},"map_files_photo_id_array":[{"photo_id":"1327660378","filename":"file2"},{"photo_id":"1327660374","filename":"file1"},{"photo_id":"1327660371","filename":"file0"},{"photo_id":"1327660380","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660378":["hashtag1","hashtag2"]},{"1327660371":["hashtag1","hashtag2"]},{"1327660380":["hashtag1","hashtag2"]},{"1327660374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660378, 1327660371, 1327660380, 1327660374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.00415396690369 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:32:22.497745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/31/image_09012025_12_31_02_374748_0003.jpg', '/home/pi/Desktop/images/09012025/12/32/image_09012025_12_32_02_576007_0000.jpg', '/home/pi/Desktop/images/09012025/12/32/image_09012025_12_32_02_576007_0001.jpg', '/home/pi/Desktop/images/09012025/12/32/image_09012025_12_32_02_576007_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/31/image_09012025_12_31_02_374748_0003.jpg
/home/pi/Desktop/images/09012025/12/32/image_09012025_12_32_02_576007_0000.jpg
/home/pi/Desktop/images/09012025/12/32/image_09012025_12_32_02_576007_0001.jpg
/home/pi/Desktop/images/09012025/12/32/image_09012025_12_32_02_576007_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660400","1327660395","1327660401","1327660397"],"photo_ids_order":["1327660395","1327660397","1327660400","1327660401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/39681efc2b52351f2a3bef80db671407.jpg","text":"TemporaryFile(/tmp/multipartBody5064867353058310190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422413333,"filename":"image_09012025_12_32_02_576007_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ada154942e180406243b18804dfce397.jpg","text":"TemporaryFile(/tmp/multipartBody8327937038973079265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422413333,"filename":"image_09012025_12_31_02_374748_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/99ecd0b907ffb9d3192bb5004828e96a.jpg","text":"TemporaryFile(/tmp/multipartBody7257649928066823774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422413333,"filename":"image_09012025_12_32_02_576007_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/13bc38a07af21e9b65b58526f25bfb12.jpg","text":"TemporaryFile(/tmp/multipartBody7900253133473295772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422413333,"filename":"image_09012025_12_32_02_576007_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660400","file1":"1327660397","file0":"1327660395","file3":"1327660401"},"map_files_photo_id_array":[{"photo_id":"1327660400","filename":"file2"},{"photo_id":"1327660397","filename":"file1"},{"photo_id":"1327660395","filename":"file0"},{"photo_id":"1327660401","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660400":["hashtag1","hashtag2"]},{"1327660395":["hashtag1","hashtag2"]},{"1327660401":["hashtag1","hashtag2"]},{"1327660397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660400, 1327660395, 1327660401, 1327660397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.58182740211487 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:33:22.672426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/32/image_09012025_12_32_02_576007_0003.jpg', '/home/pi/Desktop/images/09012025/12/33/image_09012025_12_33_02_782991_0000.jpg', '/home/pi/Desktop/images/09012025/12/33/image_09012025_12_33_02_782991_0001.jpg', '/home/pi/Desktop/images/09012025/12/33/image_09012025_12_33_02_782991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/32/image_09012025_12_32_02_576007_0003.jpg
/home/pi/Desktop/images/09012025/12/33/image_09012025_12_33_02_782991_0000.jpg
/home/pi/Desktop/images/09012025/12/33/image_09012025_12_33_02_782991_0001.jpg
/home/pi/Desktop/images/09012025/12/33/image_09012025_12_33_02_782991_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660412","1327660415","1327660409","1327660416"],"photo_ids_order":["1327660409","1327660412","1327660415","1327660416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/026542adcc9f6f640907fed6b77ae797.jpg","text":"TemporaryFile(/tmp/multipartBody1726823146555409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422473314,"filename":"image_09012025_12_33_02_782991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/47614dfc6d8af4af15f4c0e2bbfc0408.jpg","text":"TemporaryFile(/tmp/multipartBody5121143742574747953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422473314,"filename":"image_09012025_12_33_02_782991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/35e7ac093aca72801e8caebee8f59d9b.jpg","text":"TemporaryFile(/tmp/multipartBody2684639723027148086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422473314,"filename":"image_09012025_12_32_02_576007_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3b46bbed7da102f629c3b463b19e9f3c.jpg","text":"TemporaryFile(/tmp/multipartBody7812520269526281057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422473314,"filename":"image_09012025_12_33_02_782991_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660415","file1":"1327660412","file0":"1327660409","file3":"1327660416"},"map_files_photo_id_array":[{"photo_id":"1327660415","filename":"file2"},{"photo_id":"1327660412","filename":"file1"},{"photo_id":"1327660409","filename":"file0"},{"photo_id":"1327660416","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660412":["hashtag1","hashtag2"]},{"1327660415":["hashtag1","hashtag2"]},{"1327660409":["hashtag1","hashtag2"]},{"1327660416":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660412, 1327660415, 1327660409, 1327660416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.64838147163391 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:34:21.787770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/33/image_09012025_12_33_02_782991_0003.jpg', '/home/pi/Desktop/images/09012025/12/34/image_09012025_12_34_03_053897_0000.jpg', '/home/pi/Desktop/images/09012025/12/34/image_09012025_12_34_03_053897_0001.jpg', '/home/pi/Desktop/images/09012025/12/34/image_09012025_12_34_03_053897_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/33/image_09012025_12_33_02_782991_0003.jpg
/home/pi/Desktop/images/09012025/12/34/image_09012025_12_34_03_053897_0000.jpg
/home/pi/Desktop/images/09012025/12/34/image_09012025_12_34_03_053897_0001.jpg
/home/pi/Desktop/images/09012025/12/34/image_09012025_12_34_03_053897_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660427","1327660423","1327660426","1327660425"],"photo_ids_order":["1327660423","1327660425","1327660426","1327660427"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/98606a90431293922618a74ba81767de.jpg","text":"TemporaryFile(/tmp/multipartBody8309807674408835000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422531797,"filename":"image_09012025_12_34_03_053897_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/06ebf367e5f78e158a3c07612dc2bcdb.jpg","text":"TemporaryFile(/tmp/multipartBody290099792863840607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422531797,"filename":"image_09012025_12_33_02_782991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7efa7736b8b9d71549a8ff94eca6a59b.jpg","text":"TemporaryFile(/tmp/multipartBody4630613930966530580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422531797,"filename":"image_09012025_12_34_03_053897_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4875f3c1d0649ce48386fdc5cbc682cc.jpg","text":"TemporaryFile(/tmp/multipartBody5457175368598432308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422531797,"filename":"image_09012025_12_34_03_053897_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660426","file1":"1327660425","file0":"1327660423","file3":"1327660427"},"map_files_photo_id_array":[{"photo_id":"1327660426","filename":"file2"},{"photo_id":"1327660425","filename":"file1"},{"photo_id":"1327660423","filename":"file0"},{"photo_id":"1327660427","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660427":["hashtag1","hashtag2"]},{"1327660423":["hashtag1","hashtag2"]},{"1327660426":["hashtag1","hashtag2"]},{"1327660425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660427, 1327660423, 1327660426, 1327660425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.485782861709595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:35:21.987221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/34/image_09012025_12_34_03_053897_0003.jpg', '/home/pi/Desktop/images/09012025/12/35/image_09012025_12_35_02_205945_0000.jpg', '/home/pi/Desktop/images/09012025/12/35/image_09012025_12_35_02_205945_0001.jpg', '/home/pi/Desktop/images/09012025/12/35/image_09012025_12_35_02_205945_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/34/image_09012025_12_34_03_053897_0003.jpg
/home/pi/Desktop/images/09012025/12/35/image_09012025_12_35_02_205945_0000.jpg
/home/pi/Desktop/images/09012025/12/35/image_09012025_12_35_02_205945_0001.jpg
/home/pi/Desktop/images/09012025/12/35/image_09012025_12_35_02_205945_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660439","1327660438","1327660440","1327660434"],"photo_ids_order":["1327660434","1327660438","1327660439","1327660440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d4bb8343c17ab651c67642dbe08574b6.jpg","text":"TemporaryFile(/tmp/multipartBody1640078755548737365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422592112,"filename":"image_09012025_12_35_02_205945_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ff035ecbfd2b2310b44f6d8edaeb723f.jpg","text":"TemporaryFile(/tmp/multipartBody3274791020862067906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422592112,"filename":"image_09012025_12_35_02_205945_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7aa4adc4b21294c1899e37402479473c.jpg","text":"TemporaryFile(/tmp/multipartBody3051784888162487504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422592112,"filename":"image_09012025_12_35_02_205945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5096cb2ce111aed5f148612fe2fa5979.jpg","text":"TemporaryFile(/tmp/multipartBody1754217668299282589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422592112,"filename":"image_09012025_12_34_03_053897_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660439","file1":"1327660438","file0":"1327660434","file3":"1327660440"},"map_files_photo_id_array":[{"photo_id":"1327660439","filename":"file2"},{"photo_id":"1327660438","filename":"file1"},{"photo_id":"1327660434","filename":"file0"},{"photo_id":"1327660440","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660439":["hashtag1","hashtag2"]},{"1327660438":["hashtag1","hashtag2"]},{"1327660440":["hashtag1","hashtag2"]},{"1327660434":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660439, 1327660438, 1327660440, 1327660434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.85616588592529 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:36:22.252501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/35/image_09012025_12_35_02_205945_0003.jpg', '/home/pi/Desktop/images/09012025/12/36/image_09012025_12_36_02_300634_0000.jpg', '/home/pi/Desktop/images/09012025/12/36/image_09012025_12_36_02_300634_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/35/image_09012025_12_35_02_205945_0003.jpg
/home/pi/Desktop/images/09012025/12/36/image_09012025_12_36_02_300634_0000.jpg
/home/pi/Desktop/images/09012025/12/36/image_09012025_12_36_02_300634_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660451","1327660447","1327660450"],"photo_ids_order":["1327660447","1327660450","1327660451"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3dbdaf0a2b5e261d4bbda39d5db11cb7.jpg","text":"TemporaryFile(/tmp/multipartBody8773021704415870925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422650131,"filename":"image_09012025_12_36_02_300634_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/872bcba6f8fa4b4764fe62597a435433.jpg","text":"TemporaryFile(/tmp/multipartBody7062646908002841054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422650131,"filename":"image_09012025_12_35_02_205945_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5d23a3825d3cef4b04c613402de329a5.jpg","text":"TemporaryFile(/tmp/multipartBody858124533569992019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422650131,"filename":"image_09012025_12_36_02_300634_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660451","file1":"1327660450","file0":"1327660447"},"map_files_photo_id_array":[{"photo_id":"1327660451","filename":"file2"},{"photo_id":"1327660450","filename":"file1"},{"photo_id":"1327660447","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660451":["hashtag1","hashtag2"]},{"1327660447":["hashtag1","hashtag2"]},{"1327660450":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660451, 1327660447, 1327660450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.06429052352905 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:37:02.908726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:37:22.340538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/36/image_09012025_12_36_02_300634_0003.jpg', '/home/pi/Desktop/images/09012025/12/37/image_09012025_12_37_02_556180_0000.jpg', '/home/pi/Desktop/images/09012025/12/37/image_09012025_12_37_02_556180_0001.jpg', '/home/pi/Desktop/images/09012025/12/37/image_09012025_12_37_02_556180_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/36/image_09012025_12_36_02_300634_0003.jpg
/home/pi/Desktop/images/09012025/12/37/image_09012025_12_37_02_556180_0000.jpg
/home/pi/Desktop/images/09012025/12/37/image_09012025_12_37_02_556180_0001.jpg
/home/pi/Desktop/images/09012025/12/37/image_09012025_12_37_02_556180_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.900426149368286 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 12:37:42.351736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/36/image_09012025_12_36_02_300634_0003.jpg', '/home/pi/Desktop/images/09012025/12/37/image_09012025_12_37_02_556180_0000.jpg', '/home/pi/Desktop/images/09012025/12/37/image_09012025_12_37_02_556180_0001.jpg', '/home/pi/Desktop/images/09012025/12/37/image_09012025_12_37_02_556180_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/36/image_09012025_12_36_02_300634_0003.jpg
/home/pi/Desktop/images/09012025/12/37/image_09012025_12_37_02_556180_0000.jpg
/home/pi/Desktop/images/09012025/12/37/image_09012025_12_37_02_556180_0001.jpg
/home/pi/Desktop/images/09012025/12/37/image_09012025_12_37_02_556180_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660465","1327660464","1327660467","1327660469"],"photo_ids_order":["1327660464","1327660465","1327660467","1327660469"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/78e885abd861e02c65b6b7ea14e197f3.jpg","text":"TemporaryFile(/tmp/multipartBody6912952643934160439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422732643,"filename":"image_09012025_12_37_02_556180_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e8aa70c390692ed7b99e9a2185038684.jpg","text":"TemporaryFile(/tmp/multipartBody863273784958885437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422732643,"filename":"image_09012025_12_36_02_300634_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8e93941ec8c1fab0058ae70581efe8d4.jpg","text":"TemporaryFile(/tmp/multipartBody7241585430018041301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422732643,"filename":"image_09012025_12_37_02_556180_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9ad463893221dc5a0b3be6734e187354.jpg","text":"TemporaryFile(/tmp/multipartBody5427294920900745317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422732643,"filename":"image_09012025_12_37_02_556180_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660467","file1":"1327660465","file0":"1327660464","file3":"1327660469"},"map_files_photo_id_array":[{"photo_id":"1327660467","filename":"file2"},{"photo_id":"1327660465","filename":"file1"},{"photo_id":"1327660464","filename":"file0"},{"photo_id":"1327660469","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660465":["hashtag1","hashtag2"]},{"1327660464":["hashtag1","hashtag2"]},{"1327660467":["hashtag1","hashtag2"]},{"1327660469":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660465, 1327660464, 1327660467, 1327660469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.668211460113525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 12:38:32.532940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/37/image_09012025_12_37_02_556180_0003.jpg', '/home/pi/Desktop/images/09012025/12/38/image_09012025_12_38_02_708924_0000.jpg', '/home/pi/Desktop/images/09012025/12/38/image_09012025_12_38_02_708924_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/37/image_09012025_12_37_02_556180_0003.jpg
/home/pi/Desktop/images/09012025/12/38/image_09012025_12_38_02_708924_0000.jpg
/home/pi/Desktop/images/09012025/12/38/image_09012025_12_38_02_708924_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660477","1327660476","1327660475"],"photo_ids_order":["1327660475","1327660476","1327660477"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/72a8a849ad6c60b688c3485ebad1fec6.jpg","text":"TemporaryFile(/tmp/multipartBody5950279031300579869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422780342,"filename":"image_09012025_12_38_02_708924_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c89b0491679667d7341255e5c245d18c.jpg","text":"TemporaryFile(/tmp/multipartBody7642131138110680514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422780342,"filename":"image_09012025_12_38_02_708924_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ed3eee9d779efd8b418b3caea7f67644.jpg","text":"TemporaryFile(/tmp/multipartBody3883178210269948861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422780342,"filename":"image_09012025_12_37_02_556180_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660477","file1":"1327660476","file0":"1327660475"},"map_files_photo_id_array":[{"photo_id":"1327660477","filename":"file2"},{"photo_id":"1327660476","filename":"file1"},{"photo_id":"1327660475","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660477":["hashtag1","hashtag2"]},{"1327660476":["hashtag1","hashtag2"]},{"1327660475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660477, 1327660476, 1327660475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.35829973220825 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:39:22.761987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/38/image_09012025_12_38_02_708924_0003.jpg', '/home/pi/Desktop/images/09012025/12/39/image_09012025_12_39_02_948809_0000.jpg', '/home/pi/Desktop/images/09012025/12/39/image_09012025_12_39_02_948809_0001.jpg', '/home/pi/Desktop/images/09012025/12/39/image_09012025_12_39_02_948809_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/38/image_09012025_12_38_02_708924_0003.jpg
/home/pi/Desktop/images/09012025/12/39/image_09012025_12_39_02_948809_0000.jpg
/home/pi/Desktop/images/09012025/12/39/image_09012025_12_39_02_948809_0001.jpg
/home/pi/Desktop/images/09012025/12/39/image_09012025_12_39_02_948809_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660489","1327660485","1327660488","1327660487"],"photo_ids_order":["1327660485","1327660487","1327660488","1327660489"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4f28be9769203632698dc71af21b84c3.jpg","text":"TemporaryFile(/tmp/multipartBody8589578375377469427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422833094,"filename":"image_09012025_12_39_02_948809_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/193b07d043c9ff04b265cbc43d49b105.jpg","text":"TemporaryFile(/tmp/multipartBody4902934496472481898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422833094,"filename":"image_09012025_12_38_02_708924_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/461f632f0e1bc82ba0bb0cffcae050e1.jpg","text":"TemporaryFile(/tmp/multipartBody2461758744881000438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422833094,"filename":"image_09012025_12_39_02_948809_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2521c91adee9be34e78aafe5b5ee613c.jpg","text":"TemporaryFile(/tmp/multipartBody2306968694169599384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422833094,"filename":"image_09012025_12_39_02_948809_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660488","file1":"1327660487","file0":"1327660485","file3":"1327660489"},"map_files_photo_id_array":[{"photo_id":"1327660488","filename":"file2"},{"photo_id":"1327660487","filename":"file1"},{"photo_id":"1327660485","filename":"file0"},{"photo_id":"1327660489","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660489":["hashtag1","hashtag2"]},{"1327660485":["hashtag1","hashtag2"]},{"1327660488":["hashtag1","hashtag2"]},{"1327660487":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660489, 1327660485, 1327660488, 1327660487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26002025604248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:40:21.952431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/39/image_09012025_12_39_02_948809_0003.jpg', '/home/pi/Desktop/images/09012025/12/40/image_09012025_12_40_03_059048_0000.jpg', '/home/pi/Desktop/images/09012025/12/40/image_09012025_12_40_03_059048_0001.jpg', '/home/pi/Desktop/images/09012025/12/40/image_09012025_12_40_03_059048_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/39/image_09012025_12_39_02_948809_0003.jpg
/home/pi/Desktop/images/09012025/12/40/image_09012025_12_40_03_059048_0000.jpg
/home/pi/Desktop/images/09012025/12/40/image_09012025_12_40_03_059048_0001.jpg
/home/pi/Desktop/images/09012025/12/40/image_09012025_12_40_03_059048_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660498","1327660497","1327660500","1327660499"],"photo_ids_order":["1327660497","1327660498","1327660499","1327660500"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ee39b100c2aa8507cfe0c12c437b18bb.jpg","text":"TemporaryFile(/tmp/multipartBody5734313786298641298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422892171,"filename":"image_09012025_12_40_03_059048_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/34a4f8f3af111156a114b9b834d144cf.jpg","text":"TemporaryFile(/tmp/multipartBody8678785324390989061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422892171,"filename":"image_09012025_12_39_02_948809_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5cf3da890e9877d325cee98f4f64da49.jpg","text":"TemporaryFile(/tmp/multipartBody4201813878416729525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422892171,"filename":"image_09012025_12_40_03_059048_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6c50a696e87d9a53f85b815d63746f26.jpg","text":"TemporaryFile(/tmp/multipartBody4467647160307664724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422892171,"filename":"image_09012025_12_40_03_059048_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660499","file1":"1327660498","file0":"1327660497","file3":"1327660500"},"map_files_photo_id_array":[{"photo_id":"1327660499","filename":"file2"},{"photo_id":"1327660498","filename":"file1"},{"photo_id":"1327660497","filename":"file0"},{"photo_id":"1327660500","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660498":["hashtag1","hashtag2"]},{"1327660497":["hashtag1","hashtag2"]},{"1327660500":["hashtag1","hashtag2"]},{"1327660499":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660498, 1327660497, 1327660500, 1327660499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.84133768081665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:41:22.184174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/40/image_09012025_12_40_03_059048_0003.jpg', '/home/pi/Desktop/images/09012025/12/41/image_09012025_12_41_02_292446_0000.jpg', '/home/pi/Desktop/images/09012025/12/41/image_09012025_12_41_02_292446_0001.jpg', '/home/pi/Desktop/images/09012025/12/41/image_09012025_12_41_02_292446_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/40/image_09012025_12_40_03_059048_0003.jpg
/home/pi/Desktop/images/09012025/12/41/image_09012025_12_41_02_292446_0000.jpg
/home/pi/Desktop/images/09012025/12/41/image_09012025_12_41_02_292446_0001.jpg
/home/pi/Desktop/images/09012025/12/41/image_09012025_12_41_02_292446_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660508","1327660510","1327660509","1327660506"],"photo_ids_order":["1327660506","1327660508","1327660509","1327660510"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4f437a258748a5ca7d94b60f1a99c802.jpg","text":"TemporaryFile(/tmp/multipartBody5074123077634017659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422952693,"filename":"image_09012025_12_41_02_292446_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/37cf6acda3a4f4e3cd47981d6a40cf50.jpg","text":"TemporaryFile(/tmp/multipartBody6865201030399280750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422952693,"filename":"image_09012025_12_41_02_292446_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/51ceae487ff643ab9816932a6f093776.jpg","text":"TemporaryFile(/tmp/multipartBody2079531176312530211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422952693,"filename":"image_09012025_12_41_02_292446_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2b12640df99a75d75fad4bf83ab46d11.jpg","text":"TemporaryFile(/tmp/multipartBody4241882071304353399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736422952693,"filename":"image_09012025_12_40_03_059048_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660509","file1":"1327660508","file0":"1327660506","file3":"1327660510"},"map_files_photo_id_array":[{"photo_id":"1327660509","filename":"file2"},{"photo_id":"1327660508","filename":"file1"},{"photo_id":"1327660506","filename":"file0"},{"photo_id":"1327660510","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660508":["hashtag1","hashtag2"]},{"1327660510":["hashtag1","hashtag2"]},{"1327660509":["hashtag1","hashtag2"]},{"1327660506":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660508, 1327660510, 1327660509, 1327660506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.48245096206665 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:42:22.358077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/41/image_09012025_12_41_02_292446_0003.jpg', '/home/pi/Desktop/images/09012025/12/42/image_09012025_12_42_02_430186_0000.jpg', '/home/pi/Desktop/images/09012025/12/42/image_09012025_12_42_02_430186_0001.jpg', '/home/pi/Desktop/images/09012025/12/42/image_09012025_12_42_02_430186_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/41/image_09012025_12_41_02_292446_0003.jpg
/home/pi/Desktop/images/09012025/12/42/image_09012025_12_42_02_430186_0000.jpg
/home/pi/Desktop/images/09012025/12/42/image_09012025_12_42_02_430186_0001.jpg
/home/pi/Desktop/images/09012025/12/42/image_09012025_12_42_02_430186_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660526","1327660520","1327660527","1327660524"],"photo_ids_order":["1327660520","1327660524","1327660526","1327660527"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ca750cbeebcc230028df8e252968f870.jpg","text":"TemporaryFile(/tmp/multipartBody6764293838680050184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423012616,"filename":"image_09012025_12_42_02_430186_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8b7908a4f2ba09981d57a37ae5f0ffaa.jpg","text":"TemporaryFile(/tmp/multipartBody3688375297159565259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423012616,"filename":"image_09012025_12_41_02_292446_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fcb359643bd7035451c7cd5abbd2de59.jpg","text":"TemporaryFile(/tmp/multipartBody8384073857459117094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423012616,"filename":"image_09012025_12_42_02_430186_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2155ce80c4efebd0ba29e28c4eba1418.jpg","text":"TemporaryFile(/tmp/multipartBody1721465474455072209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423012616,"filename":"image_09012025_12_42_02_430186_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660526","file1":"1327660524","file0":"1327660520","file3":"1327660527"},"map_files_photo_id_array":[{"photo_id":"1327660526","filename":"file2"},{"photo_id":"1327660524","filename":"file1"},{"photo_id":"1327660520","filename":"file0"},{"photo_id":"1327660527","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660526":["hashtag1","hashtag2"]},{"1327660520":["hashtag1","hashtag2"]},{"1327660527":["hashtag1","hashtag2"]},{"1327660524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660526, 1327660520, 1327660527, 1327660524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.305513858795166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:43:03.219512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:43:22.451452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/42/image_09012025_12_42_02_430186_0003.jpg', '/home/pi/Desktop/images/09012025/12/43/image_09012025_12_43_02_627469_0000.jpg', '/home/pi/Desktop/images/09012025/12/43/image_09012025_12_43_02_627469_0001.jpg', '/home/pi/Desktop/images/09012025/12/43/image_09012025_12_43_02_627469_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/42/image_09012025_12_42_02_430186_0003.jpg
/home/pi/Desktop/images/09012025/12/43/image_09012025_12_43_02_627469_0000.jpg
/home/pi/Desktop/images/09012025/12/43/image_09012025_12_43_02_627469_0001.jpg
/home/pi/Desktop/images/09012025/12/43/image_09012025_12_43_02_627469_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660535","1327660540","1327660537","1327660539"],"photo_ids_order":["1327660535","1327660537","1327660539","1327660540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e36f3bb00bfcac6fa27621b87b851a0d.jpg","text":"TemporaryFile(/tmp/multipartBody9072692687244190503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423072726,"filename":"image_09012025_12_42_02_430186_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a33c8497e37a8500fd98185d6370e6e0.jpg","text":"TemporaryFile(/tmp/multipartBody6164453394700525101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423072726,"filename":"image_09012025_12_43_02_627469_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d7615b192f5b28356b8d4a07628a16b1.jpg","text":"TemporaryFile(/tmp/multipartBody267679432134953058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423072726,"filename":"image_09012025_12_43_02_627469_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/050ae7e10d00d6b06e57a24f599bf905.jpg","text":"TemporaryFile(/tmp/multipartBody4326277332997703297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423072726,"filename":"image_09012025_12_43_02_627469_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660539","file1":"1327660537","file0":"1327660535","file3":"1327660540"},"map_files_photo_id_array":[{"photo_id":"1327660539","filename":"file2"},{"photo_id":"1327660537","filename":"file1"},{"photo_id":"1327660535","filename":"file0"},{"photo_id":"1327660540","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660535":["hashtag1","hashtag2"]},{"1327660540":["hashtag1","hashtag2"]},{"1327660537":["hashtag1","hashtag2"]},{"1327660539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660535, 1327660540, 1327660537, 1327660539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.37938332557678 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:44:22.676413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/43/image_09012025_12_43_02_627469_0003.jpg', '/home/pi/Desktop/images/09012025/12/44/image_09012025_12_44_02_852885_0000.jpg', '/home/pi/Desktop/images/09012025/12/44/image_09012025_12_44_02_852885_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/43/image_09012025_12_43_02_627469_0003.jpg
/home/pi/Desktop/images/09012025/12/44/image_09012025_12_44_02_852885_0000.jpg
/home/pi/Desktop/images/09012025/12/44/image_09012025_12_44_02_852885_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660565","1327660555","1327660560"],"photo_ids_order":["1327660555","1327660560","1327660565"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d7e856b697bf90043b88512a7a34c335.jpg","text":"TemporaryFile(/tmp/multipartBody1331489307056452999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423130470,"filename":"image_09012025_12_44_02_852885_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7e1aa61fc90ce4d53cdd01367808df40.jpg","text":"TemporaryFile(/tmp/multipartBody2223817354882419702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423130470,"filename":"image_09012025_12_43_02_627469_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/94136f9fbd6b1b588f448865229cde38.jpg","text":"TemporaryFile(/tmp/multipartBody627729168664103819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423130470,"filename":"image_09012025_12_44_02_852885_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660565","file1":"1327660560","file0":"1327660555"},"map_files_photo_id_array":[{"photo_id":"1327660565","filename":"file2"},{"photo_id":"1327660560","filename":"file1"},{"photo_id":"1327660555","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660565":["hashtag1","hashtag2"]},{"1327660555":["hashtag1","hashtag2"]},{"1327660560":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660565, 1327660555, 1327660560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.06253170967102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:45:02.469996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:45:21.875081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/44/image_09012025_12_44_02_852885_0003.jpg', '/home/pi/Desktop/images/09012025/12/45/image_09012025_12_45_02_997419_0000.jpg', '/home/pi/Desktop/images/09012025/12/45/image_09012025_12_45_02_997419_0001.jpg', '/home/pi/Desktop/images/09012025/12/45/image_09012025_12_45_02_997419_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/44/image_09012025_12_44_02_852885_0003.jpg
/home/pi/Desktop/images/09012025/12/45/image_09012025_12_45_02_997419_0000.jpg
/home/pi/Desktop/images/09012025/12/45/image_09012025_12_45_02_997419_0001.jpg
/home/pi/Desktop/images/09012025/12/45/image_09012025_12_45_02_997419_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660593","1327660590","1327660584","1327660598"],"photo_ids_order":["1327660584","1327660590","1327660593","1327660598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b4d077e250f5c1d090ba59f0f0db7531.jpg","text":"TemporaryFile(/tmp/multipartBody3288618145564527678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423192060,"filename":"image_09012025_12_45_02_997419_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/84905e5c45e8ff7cae07d18e14f53ac8.jpg","text":"TemporaryFile(/tmp/multipartBody630879891362759865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423192060,"filename":"image_09012025_12_45_02_997419_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0feebbc8a2576ab6ceeddac067beb20b.jpg","text":"TemporaryFile(/tmp/multipartBody946201878589074023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423192060,"filename":"image_09012025_12_44_02_852885_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/605a2b447c30642a5a627a6f4970eba0.jpg","text":"TemporaryFile(/tmp/multipartBody4282446200822772990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423192060,"filename":"image_09012025_12_45_02_997419_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660593","file1":"1327660590","file0":"1327660584","file3":"1327660598"},"map_files_photo_id_array":[{"photo_id":"1327660593","filename":"file2"},{"photo_id":"1327660590","filename":"file1"},{"photo_id":"1327660584","filename":"file0"},{"photo_id":"1327660598","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660593":["hashtag1","hashtag2"]},{"1327660590":["hashtag1","hashtag2"]},{"1327660584":["hashtag1","hashtag2"]},{"1327660598":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660593, 1327660590, 1327660584, 1327660598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.56820464134216 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:46:21.986053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/45/image_09012025_12_45_02_997419_0003.jpg', '/home/pi/Desktop/images/09012025/12/46/image_09012025_12_46_02_217234_0001.jpg', '/home/pi/Desktop/images/09012025/12/46/image_09012025_12_46_02_217234_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/45/image_09012025_12_45_02_997419_0003.jpg
/home/pi/Desktop/images/09012025/12/46/image_09012025_12_46_02_217234_0001.jpg
/home/pi/Desktop/images/09012025/12/46/image_09012025_12_46_02_217234_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660619","1327660615","1327660611"],"photo_ids_order":["1327660611","1327660615","1327660619"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0d8cf8f598ec2586ae7c2a9bf68667a8.jpg","text":"TemporaryFile(/tmp/multipartBody1641872900862924476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423249791,"filename":"image_09012025_12_46_02_217234_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f67b3e56bb9a68a68e39ca8bca47aec6.jpg","text":"TemporaryFile(/tmp/multipartBody414308708089006846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423249791,"filename":"image_09012025_12_46_02_217234_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6c838b92ec25e608f106b49081facad2.jpg","text":"TemporaryFile(/tmp/multipartBody7155895568423837528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423249791,"filename":"image_09012025_12_45_02_997419_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660619","file1":"1327660615","file0":"1327660611"},"map_files_photo_id_array":[{"photo_id":"1327660619","filename":"file2"},{"photo_id":"1327660615","filename":"file1"},{"photo_id":"1327660611","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660619":["hashtag1","hashtag2"]},{"1327660615":["hashtag1","hashtag2"]},{"1327660611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660619, 1327660615, 1327660611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.052676916122437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:47:02.785349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:47:22.280019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 12:47:32.180906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 12:47:42.206682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 12:47:52.144488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:48:02.707589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:48:22.417114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/46/image_09012025_12_46_02_217234_0003.jpg', '/home/pi/Desktop/images/09012025/12/48/image_09012025_12_48_02_603930_0000.jpg', '/home/pi/Desktop/images/09012025/12/48/image_09012025_12_48_02_603930_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/46/image_09012025_12_46_02_217234_0003.jpg
/home/pi/Desktop/images/09012025/12/48/image_09012025_12_48_02_603930_0000.jpg
/home/pi/Desktop/images/09012025/12/48/image_09012025_12_48_02_603930_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660649","1327660651","1327660654"],"photo_ids_order":["1327660649","1327660651","1327660654"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4a7db8b2c6dd357080f6f5630f6f1e7c.jpg","text":"TemporaryFile(/tmp/multipartBody9080115345148451833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423370234,"filename":"image_09012025_12_46_02_217234_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d1576c48dbc71324853d187e4ab125ed.jpg","text":"TemporaryFile(/tmp/multipartBody6474566582358733268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423370234,"filename":"image_09012025_12_48_02_603930_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0ec1d512d837f8a5b0c6e10d92c251b7.jpg","text":"TemporaryFile(/tmp/multipartBody1544558477766924044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423370234,"filename":"image_09012025_12_48_02_603930_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660654","file1":"1327660651","file0":"1327660649"},"map_files_photo_id_array":[{"photo_id":"1327660654","filename":"file2"},{"photo_id":"1327660651","filename":"file1"},{"photo_id":"1327660649","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660649":["hashtag1","hashtag2"]},{"1327660651":["hashtag1","hashtag2"]},{"1327660654":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660649, 1327660651, 1327660654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 33.40216279029846 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:49:02.996577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:49:22.622507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/48/image_09012025_12_48_02_603930_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/48/image_09012025_12_48_02_603930_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660663"],"photo_id":"1327660663","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e97bde63622a0ddcc094ffa273c75e1a.jpg","text":"TemporaryFile(/tmp/multipartBody2933908500163929503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423425638,"filename":"image_09012025_12_48_02_603930_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1327660663"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1327660663"}],"hashtags":[],"portfolio_id":"19481811","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.7090904712677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 12:49:42.514147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 12:49:52.526711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:50:03.278050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:50:22.795723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/49/image_09012025_12_49_02_712652_0002.jpg', '/home/pi/Desktop/images/09012025/12/50/image_09012025_12_50_02_872626_0000.jpg', '/home/pi/Desktop/images/09012025/12/50/image_09012025_12_50_02_872626_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/49/image_09012025_12_49_02_712652_0002.jpg
/home/pi/Desktop/images/09012025/12/50/image_09012025_12_50_02_872626_0000.jpg
/home/pi/Desktop/images/09012025/12/50/image_09012025_12_50_02_872626_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660678","1327660680","1327660683"],"photo_ids_order":["1327660678","1327660680","1327660683"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/788f154d7d24a004d2075126889f900e.jpg","text":"TemporaryFile(/tmp/multipartBody9033823506846387115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423490588,"filename":"image_09012025_12_49_02_712652_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dda8c21ed8ad11f90510c173d465bfdc.jpg","text":"TemporaryFile(/tmp/multipartBody1312347172682440889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423490588,"filename":"image_09012025_12_50_02_872626_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5d446e6882ccf6dd6baf0fadd8110c74.jpg","text":"TemporaryFile(/tmp/multipartBody9180111888263775957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423490588,"filename":"image_09012025_12_50_02_872626_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660683","file1":"1327660680","file0":"1327660678"},"map_files_photo_id_array":[{"photo_id":"1327660683","filename":"file2"},{"photo_id":"1327660680","filename":"file1"},{"photo_id":"1327660678","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660678":["hashtag1","hashtag2"]},{"1327660680":["hashtag1","hashtag2"]},{"1327660683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660678, 1327660680, 1327660683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 35.76552963256836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:51:02.453833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:51:21.935137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/50/image_09012025_12_50_02_872626_0003.jpg', '/home/pi/Desktop/images/09012025/12/51/image_09012025_12_51_03_103496_0000.jpg', '/home/pi/Desktop/images/09012025/12/51/image_09012025_12_51_03_103496_0001.jpg', '/home/pi/Desktop/images/09012025/12/51/image_09012025_12_51_03_103496_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/50/image_09012025_12_50_02_872626_0003.jpg
/home/pi/Desktop/images/09012025/12/51/image_09012025_12_51_03_103496_0000.jpg
/home/pi/Desktop/images/09012025/12/51/image_09012025_12_51_03_103496_0001.jpg
/home/pi/Desktop/images/09012025/12/51/image_09012025_12_51_03_103496_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660700","1327660693","1327660695","1327660698"],"photo_ids_order":["1327660693","1327660695","1327660698","1327660700"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7ed3c220706d5ae6035a4a56b6b7d04e.jpg","text":"TemporaryFile(/tmp/multipartBody3779780308722020921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423552100,"filename":"image_09012025_12_51_03_103496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/11896422ae2e19da1cfbf67232ef1011.jpg","text":"TemporaryFile(/tmp/multipartBody9162397635519824289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423552100,"filename":"image_09012025_12_50_02_872626_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f70e8fc5ff6607a5b0a6473c21c50b12.jpg","text":"TemporaryFile(/tmp/multipartBody5025181477305585730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423552100,"filename":"image_09012025_12_51_03_103496_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2bb629baa17679d771f68aca1b545312.jpg","text":"TemporaryFile(/tmp/multipartBody2810685121404886594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423552100,"filename":"image_09012025_12_51_03_103496_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660698","file1":"1327660695","file0":"1327660693","file3":"1327660700"},"map_files_photo_id_array":[{"photo_id":"1327660698","filename":"file2"},{"photo_id":"1327660695","filename":"file1"},{"photo_id":"1327660693","filename":"file0"},{"photo_id":"1327660700","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660700":["hashtag1","hashtag2"]},{"1327660693":["hashtag1","hashtag2"]},{"1327660695":["hashtag1","hashtag2"]},{"1327660698":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660700, 1327660693, 1327660695, 1327660698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.3453266620636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:52:02.521357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:52:22.194115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/51/image_09012025_12_51_03_103496_0003.jpg', '/home/pi/Desktop/images/09012025/12/52/image_09012025_12_52_02_292642_0000.jpg', '/home/pi/Desktop/images/09012025/12/52/image_09012025_12_52_02_292642_0001.jpg', '/home/pi/Desktop/images/09012025/12/52/image_09012025_12_52_02_292642_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/51/image_09012025_12_51_03_103496_0003.jpg
/home/pi/Desktop/images/09012025/12/52/image_09012025_12_52_02_292642_0000.jpg
/home/pi/Desktop/images/09012025/12/52/image_09012025_12_52_02_292642_0001.jpg
/home/pi/Desktop/images/09012025/12/52/image_09012025_12_52_02_292642_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660712","1327660709","1327660714","1327660717"],"photo_ids_order":["1327660709","1327660712","1327660714","1327660717"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2f21891056ea392fe66f8b61f98df7e3.jpg","text":"TemporaryFile(/tmp/multipartBody1005103101883997464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423612418,"filename":"image_09012025_12_52_02_292642_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2e1515f14e98e15c03517e5455e4e78c.jpg","text":"TemporaryFile(/tmp/multipartBody8342558903235420839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423612418,"filename":"image_09012025_12_51_03_103496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e945dfcb1b44b9b5b032704c6fd8143c.jpg","text":"TemporaryFile(/tmp/multipartBody6285793350254810020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423612418,"filename":"image_09012025_12_52_02_292642_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a8a8bd2fd526f1c3d5fed6309ed77ade.jpg","text":"TemporaryFile(/tmp/multipartBody8758289577743741918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423612418,"filename":"image_09012025_12_52_02_292642_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660714","file1":"1327660712","file0":"1327660709","file3":"1327660717"},"map_files_photo_id_array":[{"photo_id":"1327660714","filename":"file2"},{"photo_id":"1327660712","filename":"file1"},{"photo_id":"1327660709","filename":"file0"},{"photo_id":"1327660717","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660712":["hashtag1","hashtag2"]},{"1327660709":["hashtag1","hashtag2"]},{"1327660714":["hashtag1","hashtag2"]},{"1327660717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660712, 1327660709, 1327660714, 1327660717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.62487077713013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:53:02.747634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:53:22.272822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/52/image_09012025_12_52_02_292642_0003.jpg', '/home/pi/Desktop/images/09012025/12/53/image_09012025_12_53_02_462737_0001.jpg', '/home/pi/Desktop/images/09012025/12/53/image_09012025_12_53_02_462737_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/52/image_09012025_12_52_02_292642_0003.jpg
/home/pi/Desktop/images/09012025/12/53/image_09012025_12_53_02_462737_0001.jpg
/home/pi/Desktop/images/09012025/12/53/image_09012025_12_53_02_462737_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660730","1327660727","1327660732"],"photo_ids_order":["1327660727","1327660730","1327660732"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/18f6359bb793c40ae2b136e49bd8da95.jpg","text":"TemporaryFile(/tmp/multipartBody1562054012547844294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423670066,"filename":"image_09012025_12_53_02_462737_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/00e1c62987f3a35bd7d50068b7882615.jpg","text":"TemporaryFile(/tmp/multipartBody1661092845230414848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423670066,"filename":"image_09012025_12_52_02_292642_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0c80e0490e591849a512c1e37019f5d4.jpg","text":"TemporaryFile(/tmp/multipartBody3542040251910787425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423670066,"filename":"image_09012025_12_53_02_462737_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660732","file1":"1327660730","file0":"1327660727"},"map_files_photo_id_array":[{"photo_id":"1327660732","filename":"file2"},{"photo_id":"1327660730","filename":"file1"},{"photo_id":"1327660727","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660730":["hashtag1","hashtag2"]},{"1327660727":["hashtag1","hashtag2"]},{"1327660732":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660730, 1327660727, 1327660732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.515235900878906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:54:02.767786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:54:22.444052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/53/image_09012025_12_53_02_462737_0003.jpg', '/home/pi/Desktop/images/09012025/12/54/image_09012025_12_54_02_576970_0001.jpg', '/home/pi/Desktop/images/09012025/12/54/image_09012025_12_54_02_576970_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/53/image_09012025_12_53_02_462737_0003.jpg
/home/pi/Desktop/images/09012025/12/54/image_09012025_12_54_02_576970_0001.jpg
/home/pi/Desktop/images/09012025/12/54/image_09012025_12_54_02_576970_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660753","1327660752","1327660751"],"photo_ids_order":["1327660751","1327660752","1327660753"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/97a8a624bd650e8814b8331327feeb17.jpg","text":"TemporaryFile(/tmp/multipartBody4560048078471836378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423730283,"filename":"image_09012025_12_54_02_576970_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7b4e76f517868b50265e8be543798813.jpg","text":"TemporaryFile(/tmp/multipartBody2825953672196195390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423730283,"filename":"image_09012025_12_54_02_576970_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ddaf65e523f52cbbf95f2b746918d975.jpg","text":"TemporaryFile(/tmp/multipartBody7127569524262009103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423730283,"filename":"image_09012025_12_53_02_462737_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660753","file1":"1327660752","file0":"1327660751"},"map_files_photo_id_array":[{"photo_id":"1327660753","filename":"file2"},{"photo_id":"1327660752","filename":"file1"},{"photo_id":"1327660751","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660753":["hashtag1","hashtag2"]},{"1327660752":["hashtag1","hashtag2"]},{"1327660751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660753, 1327660752, 1327660751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.27169442176819 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:55:03.079863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:55:22.572696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/54/image_09012025_12_54_02_576970_0003.jpg', '/home/pi/Desktop/images/09012025/12/55/image_09012025_12_55_02_717267_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/54/image_09012025_12_54_02_576970_0003.jpg
/home/pi/Desktop/images/09012025/12/55/image_09012025_12_55_02_717267_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660769","1327660772"],"photo_ids_order":["1327660769","1327660772"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b7e9092503e8d371b9ff238885810496.jpg","text":"TemporaryFile(/tmp/multipartBody2972537369726979483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423787967,"filename":"image_09012025_12_54_02_576970_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c6136aae7a8c6f57ede08e879720ee67.jpg","text":"TemporaryFile(/tmp/multipartBody346649254823017425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423787967,"filename":"image_09012025_12_55_02_717267_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327660772","file0":"1327660769"},"map_files_photo_id_array":[{"photo_id":"1327660772","filename":"file1"},{"photo_id":"1327660769","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660769":["hashtag1","hashtag2"]},{"1327660772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660769, 1327660772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 25.619312047958374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 12:55:52.528751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:56:03.110743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:56:22.663522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/55/image_09012025_12_55_02_717267_0001.jpg', '/home/pi/Desktop/images/09012025/12/56/image_09012025_12_56_03_020641_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/55/image_09012025_12_55_02_717267_0001.jpg
/home/pi/Desktop/images/09012025/12/56/image_09012025_12_56_03_020641_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660792","1327660790"],"photo_ids_order":["1327660790","1327660792"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a1d667ec360b76110d709f047006de47.jpg","text":"TemporaryFile(/tmp/multipartBody2258077380853917724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423848090,"filename":"image_09012025_12_56_03_020641_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/13200098fa9a31967373bcd3b5885ba7.jpg","text":"TemporaryFile(/tmp/multipartBody5615517333946610140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423848090,"filename":"image_09012025_12_55_02_717267_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327660792","file0":"1327660790"},"map_files_photo_id_array":[{"photo_id":"1327660792","filename":"file1"},{"photo_id":"1327660790","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660792":["hashtag1","hashtag2"]},{"1327660790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660792, 1327660790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.678748846054077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 12:56:52.738905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:57:02.626760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 12:57:21.954363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/56/image_09012025_12_56_03_020641_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/56/image_09012025_12_56_03_020641_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660804"],"photo_id":"1327660804","photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b8a48f69b98d5c64b4db1b0b97a8424d.jpg","text":"TemporaryFile(/tmp/multipartBody4879624714785955640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736423904966,"filename":"image_09012025_12_56_03_020641_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file0":"1327660804"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1327660804"}],"hashtags":[],"portfolio_id":"19481811","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.32315993309021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 12:57:41.906190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 12:57:51.968306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 12:59:02.843405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/57/image_09012025_12_57_03_057919_0000.jpg', '/home/pi/Desktop/images/09012025/12/58/image_09012025_12_58_02_325866_0000.jpg', '/home/pi/Desktop/images/09012025/12/58/image_09012025_12_58_02_325866_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/57/image_09012025_12_57_03_057919_0000.jpg
/home/pi/Desktop/images/09012025/12/58/image_09012025_12_58_02_325866_0000.jpg
/home/pi/Desktop/images/09012025/12/58/image_09012025_12_58_02_325866_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660844","1327660831","1327660836"],"photo_ids_order":["1327660831","1327660836","1327660844"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e7e569f626ef13bf2ff33984985a72ce.jpg","text":"TemporaryFile(/tmp/multipartBody1606502142230321297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424010720,"filename":"image_09012025_12_58_02_325866_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/24b60a2aa139f4368f53659c37655cfd.jpg","text":"TemporaryFile(/tmp/multipartBody2776729750997317371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424010720,"filename":"image_09012025_12_57_03_057919_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0a80f71a74ebabaff3167bd34e04c590.jpg","text":"TemporaryFile(/tmp/multipartBody3353218967029078262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424010720,"filename":"image_09012025_12_58_02_325866_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660844","file1":"1327660836","file0":"1327660831"},"map_files_photo_id_array":[{"photo_id":"1327660844","filename":"file2"},{"photo_id":"1327660836","filename":"file1"},{"photo_id":"1327660831","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660844":["hashtag1","hashtag2"]},{"1327660831":["hashtag1","hashtag2"]},{"1327660836":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660844, 1327660831, 1327660836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.940314054489136 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 12:59:42.310508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/58/image_09012025_12_58_02_325866_0003.jpg', '/home/pi/Desktop/images/09012025/12/59/image_09012025_12_59_02_484098_0000.jpg', '/home/pi/Desktop/images/09012025/12/59/image_09012025_12_59_02_484098_0001.jpg', '/home/pi/Desktop/images/09012025/12/59/image_09012025_12_59_02_484098_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/58/image_09012025_12_58_02_325866_0003.jpg
/home/pi/Desktop/images/09012025/12/59/image_09012025_12_59_02_484098_0000.jpg
/home/pi/Desktop/images/09012025/12/59/image_09012025_12_59_02_484098_0001.jpg
/home/pi/Desktop/images/09012025/12/59/image_09012025_12_59_02_484098_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660856","1327660861","1327660858","1327660865"],"photo_ids_order":["1327660856","1327660858","1327660861","1327660865"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4e18f5c30a83f8d0fdc8227c9eb09e99.jpg","text":"TemporaryFile(/tmp/multipartBody426083067698849177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424052481,"filename":"image_09012025_12_58_02_325866_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/740a2c712f0890b077cb02510893a3cf.jpg","text":"TemporaryFile(/tmp/multipartBody4903074175931664027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424052481,"filename":"image_09012025_12_59_02_484098_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8ee13fef3624af3926ddde190abb8ba8.jpg","text":"TemporaryFile(/tmp/multipartBody5039136831140638151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424052481,"filename":"image_09012025_12_59_02_484098_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6da518f26cead55d92da8ed095d494b3.jpg","text":"TemporaryFile(/tmp/multipartBody6599504885670510014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424052481,"filename":"image_09012025_12_59_02_484098_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660861","file1":"1327660858","file0":"1327660856","file3":"1327660865"},"map_files_photo_id_array":[{"photo_id":"1327660861","filename":"file2"},{"photo_id":"1327660858","filename":"file1"},{"photo_id":"1327660856","filename":"file0"},{"photo_id":"1327660865","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660856":["hashtag1","hashtag2"]},{"1327660861":["hashtag1","hashtag2"]},{"1327660858":["hashtag1","hashtag2"]},{"1327660865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660856, 1327660861, 1327660858, 1327660865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.58225703239441 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 13:00:32.491001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/12/59/image_09012025_12_59_02_484098_0003.jpg', '/home/pi/Desktop/images/09012025/13/00/image_09012025_13_00_02_785021_0000.jpg', '/home/pi/Desktop/images/09012025/13/00/image_09012025_13_00_02_785021_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/12/59/image_09012025_12_59_02_484098_0003.jpg
/home/pi/Desktop/images/09012025/13/00/image_09012025_13_00_02_785021_0000.jpg
/home/pi/Desktop/images/09012025/13/00/image_09012025_13_00_02_785021_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660882","1327660879","1327660881"],"photo_ids_order":["1327660879","1327660881","1327660882"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/92a7385fd3a6607c016beffe5db1fb21.jpg","text":"TemporaryFile(/tmp/multipartBody4274494180770870489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424100295,"filename":"image_09012025_13_00_02_785021_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/37e3a7d0fdcec14bb68b7ad9498e6088.jpg","text":"TemporaryFile(/tmp/multipartBody3551264023437223610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424100295,"filename":"image_09012025_12_59_02_484098_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/007b59e8befcfda2f6716c0b785a21b7.jpg","text":"TemporaryFile(/tmp/multipartBody8455361176818403680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424100295,"filename":"image_09012025_13_00_02_785021_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660882","file1":"1327660881","file0":"1327660879"},"map_files_photo_id_array":[{"photo_id":"1327660882","filename":"file2"},{"photo_id":"1327660881","filename":"file1"},{"photo_id":"1327660879","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660882":["hashtag1","hashtag2"]},{"1327660879":["hashtag1","hashtag2"]},{"1327660881":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660882, 1327660879, 1327660881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.10341429710388 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:01:22.809730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/00/image_09012025_13_00_02_785021_0003.jpg', '/home/pi/Desktop/images/09012025/13/01/image_09012025_13_01_02_914999_0001.jpg', '/home/pi/Desktop/images/09012025/13/01/image_09012025_13_01_02_914999_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/00/image_09012025_13_00_02_785021_0003.jpg
/home/pi/Desktop/images/09012025/13/01/image_09012025_13_01_02_914999_0001.jpg
/home/pi/Desktop/images/09012025/13/01/image_09012025_13_01_02_914999_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660897","1327660900","1327660902"],"photo_ids_order":["1327660897","1327660900","1327660902"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2170a502d681b341b3606cb5f1aadd58.jpg","text":"TemporaryFile(/tmp/multipartBody721187700488290383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424150606,"filename":"image_09012025_13_00_02_785021_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9dac765cc02745a6ad141fe3fff741c8.jpg","text":"TemporaryFile(/tmp/multipartBody5200077048543255122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424150606,"filename":"image_09012025_13_01_02_914999_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/36e169cc8a03e0824882dd9f4806ee38.jpg","text":"TemporaryFile(/tmp/multipartBody6178880808571578600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424150606,"filename":"image_09012025_13_01_02_914999_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660902","file1":"1327660900","file0":"1327660897"},"map_files_photo_id_array":[{"photo_id":"1327660902","filename":"file2"},{"photo_id":"1327660900","filename":"file1"},{"photo_id":"1327660897","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660897":["hashtag1","hashtag2"]},{"1327660900":["hashtag1","hashtag2"]},{"1327660902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660897, 1327660900, 1327660902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.337833166122437 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:02:02.351776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:02:21.878231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/01/image_09012025_13_01_02_914999_0003.jpg', '/home/pi/Desktop/images/09012025/13/02/image_09012025_13_02_03_101561_0000.jpg', '/home/pi/Desktop/images/09012025/13/02/image_09012025_13_02_03_101561_0001.jpg', '/home/pi/Desktop/images/09012025/13/02/image_09012025_13_02_03_101561_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/01/image_09012025_13_01_02_914999_0003.jpg
/home/pi/Desktop/images/09012025/13/02/image_09012025_13_02_03_101561_0000.jpg
/home/pi/Desktop/images/09012025/13/02/image_09012025_13_02_03_101561_0001.jpg
/home/pi/Desktop/images/09012025/13/02/image_09012025_13_02_03_101561_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660922","1327660925","1327660919","1327660927"],"photo_ids_order":["1327660919","1327660922","1327660925","1327660927"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e80b8792c82b7b78b5ec3180b68af06b.jpg","text":"TemporaryFile(/tmp/multipartBody9042910225921442111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424211920,"filename":"image_09012025_13_02_03_101561_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/00b712cfe48d3f7b0e85376a439477e1.jpg","text":"TemporaryFile(/tmp/multipartBody4736788920243108765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424211920,"filename":"image_09012025_13_02_03_101561_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e9eb56a7e428a2874dcabe6e77097650.jpg","text":"TemporaryFile(/tmp/multipartBody3397740783602288544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424211920,"filename":"image_09012025_13_01_02_914999_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7301759449febc5f72152240a118408b.jpg","text":"TemporaryFile(/tmp/multipartBody7211977271805550815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424211920,"filename":"image_09012025_13_02_03_101561_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660925","file1":"1327660922","file0":"1327660919","file3":"1327660927"},"map_files_photo_id_array":[{"photo_id":"1327660925","filename":"file2"},{"photo_id":"1327660922","filename":"file1"},{"photo_id":"1327660919","filename":"file0"},{"photo_id":"1327660927","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660922":["hashtag1","hashtag2"]},{"1327660925":["hashtag1","hashtag2"]},{"1327660919":["hashtag1","hashtag2"]},{"1327660927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660922, 1327660925, 1327660919, 1327660927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.757020711898804 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:03:02.668748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:03:22.019767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/02/image_09012025_13_02_03_101561_0003.jpg', '/home/pi/Desktop/images/09012025/13/03/image_09012025_13_03_02_274006_0000.jpg', '/home/pi/Desktop/images/09012025/13/03/image_09012025_13_03_02_274006_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/02/image_09012025_13_02_03_101561_0003.jpg
/home/pi/Desktop/images/09012025/13/03/image_09012025_13_03_02_274006_0000.jpg
/home/pi/Desktop/images/09012025/13/03/image_09012025_13_03_02_274006_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660946","1327660942","1327660948"],"photo_ids_order":["1327660942","1327660946","1327660948"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/432b28d62727d3263dbf0d0cccb87476.jpg","text":"TemporaryFile(/tmp/multipartBody6027005226145707931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424269615,"filename":"image_09012025_13_03_02_274006_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/908677176d788108c617b9c12c41a4ac.jpg","text":"TemporaryFile(/tmp/multipartBody1845078032328318559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424269615,"filename":"image_09012025_13_02_03_101561_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cc6dec749d45f09be86e314fc461374a.jpg","text":"TemporaryFile(/tmp/multipartBody366792098003370584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424269615,"filename":"image_09012025_13_03_02_274006_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660948","file1":"1327660946","file0":"1327660942"},"map_files_photo_id_array":[{"photo_id":"1327660948","filename":"file2"},{"photo_id":"1327660946","filename":"file1"},{"photo_id":"1327660942","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660946":["hashtag1","hashtag2"]},{"1327660942":["hashtag1","hashtag2"]},{"1327660948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660946, 1327660942, 1327660948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.214229345321655 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:04:02.645559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:04:22.294940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/03/image_09012025_13_03_02_274006_0003.jpg', '/home/pi/Desktop/images/09012025/13/04/image_09012025_13_04_02_423023_0000.jpg', '/home/pi/Desktop/images/09012025/13/04/image_09012025_13_04_02_423023_0001.jpg', '/home/pi/Desktop/images/09012025/13/04/image_09012025_13_04_02_423023_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/03/image_09012025_13_03_02_274006_0003.jpg
/home/pi/Desktop/images/09012025/13/04/image_09012025_13_04_02_423023_0000.jpg
/home/pi/Desktop/images/09012025/13/04/image_09012025_13_04_02_423023_0001.jpg
/home/pi/Desktop/images/09012025/13/04/image_09012025_13_04_02_423023_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660975","1327660969","1327660971","1327660977"],"photo_ids_order":["1327660969","1327660971","1327660975","1327660977"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6e765305a713d073e85da8592312b518.jpg","text":"TemporaryFile(/tmp/multipartBody6258766026196117106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424332373,"filename":"image_09012025_13_04_02_423023_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aaa27e217418bcd491acfee2f3c38b4c.jpg","text":"TemporaryFile(/tmp/multipartBody5653283232558865322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424332373,"filename":"image_09012025_13_03_02_274006_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fccb8c5afadd5c8079902ae336ff223d.jpg","text":"TemporaryFile(/tmp/multipartBody2708079095723086492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424332373,"filename":"image_09012025_13_04_02_423023_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fc1c1adcbe6f5c2fd2ab505ba12c4fd1.jpg","text":"TemporaryFile(/tmp/multipartBody5659498378604914448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424332373,"filename":"image_09012025_13_04_02_423023_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660975","file1":"1327660971","file0":"1327660969","file3":"1327660977"},"map_files_photo_id_array":[{"photo_id":"1327660975","filename":"file2"},{"photo_id":"1327660971","filename":"file1"},{"photo_id":"1327660969","filename":"file0"},{"photo_id":"1327660977","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660975":["hashtag1","hashtag2"]},{"1327660969":["hashtag1","hashtag2"]},{"1327660971":["hashtag1","hashtag2"]},{"1327660977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660975, 1327660969, 1327660971, 1327660977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.21234583854675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:05:22.498131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/04/image_09012025_13_04_02_423023_0003.jpg', '/home/pi/Desktop/images/09012025/13/05/image_09012025_13_05_02_647207_0000.jpg', '/home/pi/Desktop/images/09012025/13/05/image_09012025_13_05_02_647207_0001.jpg', '/home/pi/Desktop/images/09012025/13/05/image_09012025_13_05_02_647207_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/04/image_09012025_13_04_02_423023_0003.jpg
/home/pi/Desktop/images/09012025/13/05/image_09012025_13_05_02_647207_0000.jpg
/home/pi/Desktop/images/09012025/13/05/image_09012025_13_05_02_647207_0001.jpg
/home/pi/Desktop/images/09012025/13/05/image_09012025_13_05_02_647207_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327660998","1327661001","1327660995","1327660991"],"photo_ids_order":["1327660991","1327660995","1327660998","1327661001"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/928b743570aae6c9dcb6bee6a462267f.jpg","text":"TemporaryFile(/tmp/multipartBody6856396944798486002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424392889,"filename":"image_09012025_13_05_02_647207_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/519bf446a8f19caf47e64777f47c656c.jpg","text":"TemporaryFile(/tmp/multipartBody631790708425403817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424392889,"filename":"image_09012025_13_05_02_647207_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/574a65216c058905d4063fe8b732307a.jpg","text":"TemporaryFile(/tmp/multipartBody9037976482182213411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424392889,"filename":"image_09012025_13_05_02_647207_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/543329196a1cbbf2cb2d2b368cb35abb.jpg","text":"TemporaryFile(/tmp/multipartBody5766790039298807935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424392889,"filename":"image_09012025_13_04_02_423023_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327660998","file1":"1327660995","file0":"1327660991","file3":"1327661001"},"map_files_photo_id_array":[{"photo_id":"1327660998","filename":"file2"},{"photo_id":"1327660995","filename":"file1"},{"photo_id":"1327660991","filename":"file0"},{"photo_id":"1327661001","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327660998":["hashtag1","hashtag2"]},{"1327661001":["hashtag1","hashtag2"]},{"1327660995":["hashtag1","hashtag2"]},{"1327660991":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327660998, 1327661001, 1327660995, 1327660991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.80092668533325 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:06:22.631120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/05/image_09012025_13_05_02_647207_0003.jpg', '/home/pi/Desktop/images/09012025/13/06/image_09012025_13_06_02_769473_0000.jpg', '/home/pi/Desktop/images/09012025/13/06/image_09012025_13_06_02_769473_0001.jpg', '/home/pi/Desktop/images/09012025/13/06/image_09012025_13_06_02_769473_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/05/image_09012025_13_05_02_647207_0003.jpg
/home/pi/Desktop/images/09012025/13/06/image_09012025_13_06_02_769473_0000.jpg
/home/pi/Desktop/images/09012025/13/06/image_09012025_13_06_02_769473_0001.jpg
/home/pi/Desktop/images/09012025/13/06/image_09012025_13_06_02_769473_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661018","1327661023","1327661026","1327661020"],"photo_ids_order":["1327661018","1327661020","1327661023","1327661026"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cf03cde10d22394ffcf7f2e73a72815f.jpg","text":"TemporaryFile(/tmp/multipartBody6366237058604226409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424452991,"filename":"image_09012025_13_05_02_647207_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/93dc62a0a2478441237857d85edb1170.jpg","text":"TemporaryFile(/tmp/multipartBody2248928394436798384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424452991,"filename":"image_09012025_13_06_02_769473_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/341245137ca6b729741b9a59f7a5997c.jpg","text":"TemporaryFile(/tmp/multipartBody2414145715722178778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424452991,"filename":"image_09012025_13_06_02_769473_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e7f8a322519587bf7dfd5c6d14d8c373.jpg","text":"TemporaryFile(/tmp/multipartBody4612276227512771161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424452991,"filename":"image_09012025_13_06_02_769473_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661023","file1":"1327661020","file0":"1327661018","file3":"1327661026"},"map_files_photo_id_array":[{"photo_id":"1327661023","filename":"file2"},{"photo_id":"1327661020","filename":"file1"},{"photo_id":"1327661018","filename":"file0"},{"photo_id":"1327661026","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661018":["hashtag1","hashtag2"]},{"1327661023":["hashtag1","hashtag2"]},{"1327661026":["hashtag1","hashtag2"]},{"1327661020":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661018, 1327661023, 1327661026, 1327661020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.7681941986084 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:07:21.843892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/06/image_09012025_13_06_02_769473_0003.jpg', '/home/pi/Desktop/images/09012025/13/07/image_09012025_13_07_02_970645_0000.jpg', '/home/pi/Desktop/images/09012025/13/07/image_09012025_13_07_02_970645_0001.jpg', '/home/pi/Desktop/images/09012025/13/07/image_09012025_13_07_02_970645_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/06/image_09012025_13_06_02_769473_0003.jpg
/home/pi/Desktop/images/09012025/13/07/image_09012025_13_07_02_970645_0000.jpg
/home/pi/Desktop/images/09012025/13/07/image_09012025_13_07_02_970645_0001.jpg
/home/pi/Desktop/images/09012025/13/07/image_09012025_13_07_02_970645_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661044","1327661035","1327661040","1327661048"],"photo_ids_order":["1327661035","1327661040","1327661044","1327661048"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6a0b47adf4885771f5b1b2323cc07f90.jpg","text":"TemporaryFile(/tmp/multipartBody5925899220062297046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424512083,"filename":"image_09012025_13_07_02_970645_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f1e081159c89fde9b4283cf21cb9bf10.jpg","text":"TemporaryFile(/tmp/multipartBody8306795836052699034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424512083,"filename":"image_09012025_13_06_02_769473_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/202e864c19b203eb0ddae099ba65d44e.jpg","text":"TemporaryFile(/tmp/multipartBody5137036217038431572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424512083,"filename":"image_09012025_13_07_02_970645_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f4c9ba128c0373f5fbb4159e2d2b5564.jpg","text":"TemporaryFile(/tmp/multipartBody512000889418321802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424512083,"filename":"image_09012025_13_07_02_970645_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661044","file1":"1327661040","file0":"1327661035","file3":"1327661048"},"map_files_photo_id_array":[{"photo_id":"1327661044","filename":"file2"},{"photo_id":"1327661040","filename":"file1"},{"photo_id":"1327661035","filename":"file0"},{"photo_id":"1327661048","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661044":["hashtag1","hashtag2"]},{"1327661035":["hashtag1","hashtag2"]},{"1327661040":["hashtag1","hashtag2"]},{"1327661048":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661044, 1327661035, 1327661040, 1327661048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.08539319038391 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:08:22.067291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/07/image_09012025_13_07_02_970645_0003.jpg', '/home/pi/Desktop/images/09012025/13/08/image_09012025_13_08_02_179305_0000.jpg', '/home/pi/Desktop/images/09012025/13/08/image_09012025_13_08_02_179305_0001.jpg', '/home/pi/Desktop/images/09012025/13/08/image_09012025_13_08_02_179305_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/07/image_09012025_13_07_02_970645_0003.jpg
/home/pi/Desktop/images/09012025/13/08/image_09012025_13_08_02_179305_0000.jpg
/home/pi/Desktop/images/09012025/13/08/image_09012025_13_08_02_179305_0001.jpg
/home/pi/Desktop/images/09012025/13/08/image_09012025_13_08_02_179305_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661074","1327661065","1327661070","1327661063"],"photo_ids_order":["1327661063","1327661065","1327661070","1327661074"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4306c9d0584bdf4fc5e9a3be13ad2618.jpg","text":"TemporaryFile(/tmp/multipartBody5146718528746970233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424572271,"filename":"image_09012025_13_08_02_179305_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9ee09b231ea77ed542fcc1dbf6f0efa1.jpg","text":"TemporaryFile(/tmp/multipartBody5105207417394680503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424572271,"filename":"image_09012025_13_08_02_179305_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3d0cb62e8aa54748b0fdaa77290c0942.jpg","text":"TemporaryFile(/tmp/multipartBody9124857168088871509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424572271,"filename":"image_09012025_13_08_02_179305_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/140160f3ad7ff4e5ac621ee290eb9fa9.jpg","text":"TemporaryFile(/tmp/multipartBody1353085572433838215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424572271,"filename":"image_09012025_13_07_02_970645_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661070","file1":"1327661065","file0":"1327661063","file3":"1327661074"},"map_files_photo_id_array":[{"photo_id":"1327661070","filename":"file2"},{"photo_id":"1327661065","filename":"file1"},{"photo_id":"1327661063","filename":"file0"},{"photo_id":"1327661074","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661074":["hashtag1","hashtag2"]},{"1327661065":["hashtag1","hashtag2"]},{"1327661070":["hashtag1","hashtag2"]},{"1327661063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661074, 1327661065, 1327661070, 1327661063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.27228140830994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:09:02.625538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:09:22.178475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/08/image_09012025_13_08_02_179305_0003.jpg', '/home/pi/Desktop/images/09012025/13/09/image_09012025_13_09_02_362731_0000.jpg', '/home/pi/Desktop/images/09012025/13/09/image_09012025_13_09_02_362731_0001.jpg', '/home/pi/Desktop/images/09012025/13/09/image_09012025_13_09_02_362731_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/08/image_09012025_13_08_02_179305_0003.jpg
/home/pi/Desktop/images/09012025/13/09/image_09012025_13_09_02_362731_0000.jpg
/home/pi/Desktop/images/09012025/13/09/image_09012025_13_09_02_362731_0001.jpg
/home/pi/Desktop/images/09012025/13/09/image_09012025_13_09_02_362731_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661102","1327661097","1327661094","1327661090"],"photo_ids_order":["1327661090","1327661094","1327661097","1327661102"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4be64d00e64239fe7378f26b039ac177.jpg","text":"TemporaryFile(/tmp/multipartBody2884161678384844524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424632453,"filename":"image_09012025_13_09_02_362731_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/387fc6b2fbdf936993662bbf7e84d151.jpg","text":"TemporaryFile(/tmp/multipartBody6518617318232619432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424632453,"filename":"image_09012025_13_09_02_362731_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9e90c81a63e7d4731db374fd8fd807c8.jpg","text":"TemporaryFile(/tmp/multipartBody5286929625100788500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424632453,"filename":"image_09012025_13_09_02_362731_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e723a0124dd5ce3adf56b0883910ea87.jpg","text":"TemporaryFile(/tmp/multipartBody5299855280771679508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424632453,"filename":"image_09012025_13_08_02_179305_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661097","file1":"1327661094","file0":"1327661090","file3":"1327661102"},"map_files_photo_id_array":[{"photo_id":"1327661097","filename":"file2"},{"photo_id":"1327661094","filename":"file1"},{"photo_id":"1327661090","filename":"file0"},{"photo_id":"1327661102","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661102":["hashtag1","hashtag2"]},{"1327661097":["hashtag1","hashtag2"]},{"1327661094":["hashtag1","hashtag2"]},{"1327661090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661102, 1327661097, 1327661094, 1327661090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.293275117874146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:10:22.353865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/09/image_09012025_13_09_02_362731_0003.jpg', '/home/pi/Desktop/images/09012025/13/10/image_09012025_13_10_02_554167_0000.jpg', '/home/pi/Desktop/images/09012025/13/10/image_09012025_13_10_02_554167_0001.jpg', '/home/pi/Desktop/images/09012025/13/10/image_09012025_13_10_02_554167_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/09/image_09012025_13_09_02_362731_0003.jpg
/home/pi/Desktop/images/09012025/13/10/image_09012025_13_10_02_554167_0000.jpg
/home/pi/Desktop/images/09012025/13/10/image_09012025_13_10_02_554167_0001.jpg
/home/pi/Desktop/images/09012025/13/10/image_09012025_13_10_02_554167_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661129","1327661117","1327661122","1327661126"],"photo_ids_order":["1327661117","1327661122","1327661126","1327661129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dbc46a86b6216fcb94f277429c24f659.jpg","text":"TemporaryFile(/tmp/multipartBody8318345269316392355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424692624,"filename":"image_09012025_13_10_02_554167_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3f4da28518e26e2bf0df03ff51221356.jpg","text":"TemporaryFile(/tmp/multipartBody4434383625238359673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424692624,"filename":"image_09012025_13_09_02_362731_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6af44dacd4c342310bdfdfbbf352309c.jpg","text":"TemporaryFile(/tmp/multipartBody3259585858767849149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424692624,"filename":"image_09012025_13_10_02_554167_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d549ed81138a6515eb344aef791500d5.jpg","text":"TemporaryFile(/tmp/multipartBody6741377279776037134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424692624,"filename":"image_09012025_13_10_02_554167_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661126","file1":"1327661122","file0":"1327661117","file3":"1327661129"},"map_files_photo_id_array":[{"photo_id":"1327661126","filename":"file2"},{"photo_id":"1327661122","filename":"file1"},{"photo_id":"1327661117","filename":"file0"},{"photo_id":"1327661129","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661129":["hashtag1","hashtag2"]},{"1327661117":["hashtag1","hashtag2"]},{"1327661122":["hashtag1","hashtag2"]},{"1327661126":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661129, 1327661117, 1327661122, 1327661126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.43329668045044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:11:03.202540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:11:22.504378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/10/image_09012025_13_10_02_554167_0003.jpg', '/home/pi/Desktop/images/09012025/13/11/image_09012025_13_11_02_694612_0000.jpg', '/home/pi/Desktop/images/09012025/13/11/image_09012025_13_11_02_694612_0001.jpg', '/home/pi/Desktop/images/09012025/13/11/image_09012025_13_11_02_694612_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/10/image_09012025_13_10_02_554167_0003.jpg
/home/pi/Desktop/images/09012025/13/11/image_09012025_13_11_02_694612_0000.jpg
/home/pi/Desktop/images/09012025/13/11/image_09012025_13_11_02_694612_0001.jpg
/home/pi/Desktop/images/09012025/13/11/image_09012025_13_11_02_694612_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661145","1327661156","1327661150","1327661153"],"photo_ids_order":["1327661145","1327661150","1327661153","1327661156"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bd272c2c30316fe3765bb7a48c05f4b8.jpg","text":"TemporaryFile(/tmp/multipartBody9195372824961797933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424752748,"filename":"image_09012025_13_10_02_554167_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/78e4f8e024043db9d54077be4a266a52.jpg","text":"TemporaryFile(/tmp/multipartBody5792861374415012032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424752748,"filename":"image_09012025_13_11_02_694612_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fb67a9da908ae01202157870da271a56.jpg","text":"TemporaryFile(/tmp/multipartBody1986245827676249220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424752748,"filename":"image_09012025_13_11_02_694612_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2311334f49be27bf8ee789a10b653a66.jpg","text":"TemporaryFile(/tmp/multipartBody8967048766700447280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424752748,"filename":"image_09012025_13_11_02_694612_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661153","file1":"1327661150","file0":"1327661145","file3":"1327661156"},"map_files_photo_id_array":[{"photo_id":"1327661153","filename":"file2"},{"photo_id":"1327661150","filename":"file1"},{"photo_id":"1327661145","filename":"file0"},{"photo_id":"1327661156","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661145":["hashtag1","hashtag2"]},{"1327661156":["hashtag1","hashtag2"]},{"1327661150":["hashtag1","hashtag2"]},{"1327661153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661145, 1327661156, 1327661150, 1327661153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.20410084724426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:12:03.037013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:12:22.613446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/11/image_09012025_13_11_02_694612_0003.jpg', '/home/pi/Desktop/images/09012025/13/12/image_09012025_13_12_02_843682_0000.jpg', '/home/pi/Desktop/images/09012025/13/12/image_09012025_13_12_02_843682_0001.jpg', '/home/pi/Desktop/images/09012025/13/12/image_09012025_13_12_02_843682_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/11/image_09012025_13_11_02_694612_0003.jpg
/home/pi/Desktop/images/09012025/13/12/image_09012025_13_12_02_843682_0000.jpg
/home/pi/Desktop/images/09012025/13/12/image_09012025_13_12_02_843682_0001.jpg
/home/pi/Desktop/images/09012025/13/12/image_09012025_13_12_02_843682_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661173","1327661175","1327661171","1327661168"],"photo_ids_order":["1327661168","1327661171","1327661173","1327661175"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/60131bd6dd7b6afd4b15d4d625d77060.jpg","text":"TemporaryFile(/tmp/multipartBody447618639978596644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424812763,"filename":"image_09012025_13_12_02_843682_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ac29850cda1807ccc0890bd6c65223ae.jpg","text":"TemporaryFile(/tmp/multipartBody8817016925233421535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424812763,"filename":"image_09012025_13_12_02_843682_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b0fbd5b7ac07b9f61d577b452c80e6e4.jpg","text":"TemporaryFile(/tmp/multipartBody9223331722915647929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424812763,"filename":"image_09012025_13_12_02_843682_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/904b9952bae61785995c94d92dbad8b3.jpg","text":"TemporaryFile(/tmp/multipartBody6518194603380205878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424812763,"filename":"image_09012025_13_11_02_694612_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661173","file1":"1327661171","file0":"1327661168","file3":"1327661175"},"map_files_photo_id_array":[{"photo_id":"1327661173","filename":"file2"},{"photo_id":"1327661171","filename":"file1"},{"photo_id":"1327661168","filename":"file0"},{"photo_id":"1327661175","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661173":["hashtag1","hashtag2"]},{"1327661175":["hashtag1","hashtag2"]},{"1327661171":["hashtag1","hashtag2"]},{"1327661168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661173, 1327661175, 1327661171, 1327661168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.836294174194336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:13:21.865117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/12/image_09012025_13_12_02_843682_0003.jpg', '/home/pi/Desktop/images/09012025/13/13/image_09012025_13_13_03_032777_0000.jpg', '/home/pi/Desktop/images/09012025/13/13/image_09012025_13_13_03_032777_0001.jpg', '/home/pi/Desktop/images/09012025/13/13/image_09012025_13_13_03_032777_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/12/image_09012025_13_12_02_843682_0003.jpg
/home/pi/Desktop/images/09012025/13/13/image_09012025_13_13_03_032777_0000.jpg
/home/pi/Desktop/images/09012025/13/13/image_09012025_13_13_03_032777_0001.jpg
/home/pi/Desktop/images/09012025/13/13/image_09012025_13_13_03_032777_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661191","1327661194","1327661196","1327661186"],"photo_ids_order":["1327661186","1327661191","1327661194","1327661196"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/40a0e5a1c4b6a60ae58ea3d22f5a1c14.jpg","text":"TemporaryFile(/tmp/multipartBody4283028807839327629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424872152,"filename":"image_09012025_13_13_03_032777_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9f507ec4002358ada990b1ae9dc9a51f.jpg","text":"TemporaryFile(/tmp/multipartBody3649954259629210392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424872152,"filename":"image_09012025_13_13_03_032777_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/22ae0474c49aed285a31853cb90cdf50.jpg","text":"TemporaryFile(/tmp/multipartBody1090623082491462784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424872152,"filename":"image_09012025_13_13_03_032777_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/049a476a574b492c6a4f0238956dcd5c.jpg","text":"TemporaryFile(/tmp/multipartBody7946592088613808963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424872152,"filename":"image_09012025_13_12_02_843682_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661194","file1":"1327661191","file0":"1327661186","file3":"1327661196"},"map_files_photo_id_array":[{"photo_id":"1327661194","filename":"file2"},{"photo_id":"1327661191","filename":"file1"},{"photo_id":"1327661186","filename":"file0"},{"photo_id":"1327661196","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661191":["hashtag1","hashtag2"]},{"1327661194":["hashtag1","hashtag2"]},{"1327661196":["hashtag1","hashtag2"]},{"1327661186":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661191, 1327661194, 1327661196, 1327661186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.77650451660156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:14:02.524752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:14:22.025294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/13/image_09012025_13_13_03_032777_0003.jpg', '/home/pi/Desktop/images/09012025/13/14/image_09012025_13_14_02_188931_0000.jpg', '/home/pi/Desktop/images/09012025/13/14/image_09012025_13_14_02_188931_0001.jpg', '/home/pi/Desktop/images/09012025/13/14/image_09012025_13_14_02_188931_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/13/image_09012025_13_13_03_032777_0003.jpg
/home/pi/Desktop/images/09012025/13/14/image_09012025_13_14_02_188931_0000.jpg
/home/pi/Desktop/images/09012025/13/14/image_09012025_13_14_02_188931_0001.jpg
/home/pi/Desktop/images/09012025/13/14/image_09012025_13_14_02_188931_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661216","1327661221","1327661218","1327661212"],"photo_ids_order":["1327661212","1327661216","1327661218","1327661221"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1cab06fb1d38560cd10d0bf44221cb69.jpg","text":"TemporaryFile(/tmp/multipartBody2276576810548144601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424932351,"filename":"image_09012025_13_14_02_188931_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/54af5a8d7927b532f0318e2e8fa9c512.jpg","text":"TemporaryFile(/tmp/multipartBody2225942198694258481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424932351,"filename":"image_09012025_13_14_02_188931_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2bcc681d1b208016eb67fe5b00be0be0.jpg","text":"TemporaryFile(/tmp/multipartBody6342805987742035029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424932351,"filename":"image_09012025_13_14_02_188931_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fca2aaeba22b0a831fd797f48807b7cb.jpg","text":"TemporaryFile(/tmp/multipartBody1410839613137655282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424932351,"filename":"image_09012025_13_13_03_032777_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661218","file1":"1327661216","file0":"1327661212","file3":"1327661221"},"map_files_photo_id_array":[{"photo_id":"1327661218","filename":"file2"},{"photo_id":"1327661216","filename":"file1"},{"photo_id":"1327661212","filename":"file0"},{"photo_id":"1327661221","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661216":["hashtag1","hashtag2"]},{"1327661221":["hashtag1","hashtag2"]},{"1327661218":["hashtag1","hashtag2"]},{"1327661212":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661216, 1327661221, 1327661218, 1327661212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.20142459869385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:15:02.670640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:15:22.339440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/14/image_09012025_13_14_02_188931_0003.jpg', '/home/pi/Desktop/images/09012025/13/15/image_09012025_13_15_02_409420_0000.jpg', '/home/pi/Desktop/images/09012025/13/15/image_09012025_13_15_02_409420_0001.jpg', '/home/pi/Desktop/images/09012025/13/15/image_09012025_13_15_02_409420_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/14/image_09012025_13_14_02_188931_0003.jpg
/home/pi/Desktop/images/09012025/13/15/image_09012025_13_15_02_409420_0000.jpg
/home/pi/Desktop/images/09012025/13/15/image_09012025_13_15_02_409420_0001.jpg
/home/pi/Desktop/images/09012025/13/15/image_09012025_13_15_02_409420_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661251","1327661248","1327661239","1327661243"],"photo_ids_order":["1327661239","1327661243","1327661248","1327661251"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6fc24d0614289c5f7837cfaf0874113f.jpg","text":"TemporaryFile(/tmp/multipartBody3198437197650590836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424992685,"filename":"image_09012025_13_15_02_409420_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/de1714c3d23dae72b5dbb30d59408f85.jpg","text":"TemporaryFile(/tmp/multipartBody6479027411311340373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424992685,"filename":"image_09012025_13_15_02_409420_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9fa2b17bf0f83a25cb178903abd84f31.jpg","text":"TemporaryFile(/tmp/multipartBody5414575598278333872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424992685,"filename":"image_09012025_13_14_02_188931_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/67a94eddf44e4285f7341b90f9fb1917.jpg","text":"TemporaryFile(/tmp/multipartBody5531193154958048287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736424992685,"filename":"image_09012025_13_15_02_409420_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661248","file1":"1327661243","file0":"1327661239","file3":"1327661251"},"map_files_photo_id_array":[{"photo_id":"1327661248","filename":"file2"},{"photo_id":"1327661243","filename":"file1"},{"photo_id":"1327661239","filename":"file0"},{"photo_id":"1327661251","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661251":["hashtag1","hashtag2"]},{"1327661248":["hashtag1","hashtag2"]},{"1327661239":["hashtag1","hashtag2"]},{"1327661243":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661251, 1327661248, 1327661239, 1327661243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.14543533325195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:16:22.602092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/15/image_09012025_13_15_02_409420_0003.jpg', '/home/pi/Desktop/images/09012025/13/16/image_09012025_13_16_02_670329_0000.jpg', '/home/pi/Desktop/images/09012025/13/16/image_09012025_13_16_02_670329_0001.jpg', '/home/pi/Desktop/images/09012025/13/16/image_09012025_13_16_02_670329_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/15/image_09012025_13_15_02_409420_0003.jpg
/home/pi/Desktop/images/09012025/13/16/image_09012025_13_16_02_670329_0000.jpg
/home/pi/Desktop/images/09012025/13/16/image_09012025_13_16_02_670329_0001.jpg
/home/pi/Desktop/images/09012025/13/16/image_09012025_13_16_02_670329_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661266","1327661269","1327661263","1327661261"],"photo_ids_order":["1327661261","1327661263","1327661266","1327661269"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fb699b9f2b921cbb91da917df4929fbd.jpg","text":"TemporaryFile(/tmp/multipartBody6729091107764456487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425052857,"filename":"image_09012025_13_16_02_670329_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4bee9d76a5c565f77bcf775f6fe83e0c.jpg","text":"TemporaryFile(/tmp/multipartBody3339528444668690599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425052857,"filename":"image_09012025_13_16_02_670329_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/791fdbb6bc763799e2cec5b3362e64a7.jpg","text":"TemporaryFile(/tmp/multipartBody2169269131898623215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425052857,"filename":"image_09012025_13_16_02_670329_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/605286ce7db27a18818c3b268150a142.jpg","text":"TemporaryFile(/tmp/multipartBody8163085858712929906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425052857,"filename":"image_09012025_13_15_02_409420_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661266","file1":"1327661263","file0":"1327661261","file3":"1327661269"},"map_files_photo_id_array":[{"photo_id":"1327661266","filename":"file2"},{"photo_id":"1327661263","filename":"file1"},{"photo_id":"1327661261","filename":"file0"},{"photo_id":"1327661269","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661266":["hashtag1","hashtag2"]},{"1327661269":["hashtag1","hashtag2"]},{"1327661263":["hashtag1","hashtag2"]},{"1327661261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661266, 1327661269, 1327661263, 1327661261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.836472034454346 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:17:22.655482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/16/image_09012025_13_16_02_670329_0003.jpg', '/home/pi/Desktop/images/09012025/13/17/image_09012025_13_17_02_896384_0000.jpg', '/home/pi/Desktop/images/09012025/13/17/image_09012025_13_17_02_896384_0001.jpg', '/home/pi/Desktop/images/09012025/13/17/image_09012025_13_17_02_896384_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/16/image_09012025_13_16_02_670329_0003.jpg
/home/pi/Desktop/images/09012025/13/17/image_09012025_13_17_02_896384_0000.jpg
/home/pi/Desktop/images/09012025/13/17/image_09012025_13_17_02_896384_0001.jpg
/home/pi/Desktop/images/09012025/13/17/image_09012025_13_17_02_896384_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661284","1327661281","1327661286","1327661288"],"photo_ids_order":["1327661281","1327661284","1327661286","1327661288"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cdc4e78fb1351405895e0b481847357b.jpg","text":"TemporaryFile(/tmp/multipartBody5291336393383668756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425113079,"filename":"image_09012025_13_17_02_896384_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/df50157a2e842cb08b6e25737f95920d.jpg","text":"TemporaryFile(/tmp/multipartBody2543500076451392553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425113079,"filename":"image_09012025_13_16_02_670329_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1309fc480d2401b2abae77e142d523de.jpg","text":"TemporaryFile(/tmp/multipartBody1039414374508692293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425113079,"filename":"image_09012025_13_17_02_896384_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0ac3640d2d48ae327b23ea034f7a9897.jpg","text":"TemporaryFile(/tmp/multipartBody8640008936067512425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425113079,"filename":"image_09012025_13_17_02_896384_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661286","file1":"1327661284","file0":"1327661281","file3":"1327661288"},"map_files_photo_id_array":[{"photo_id":"1327661286","filename":"file2"},{"photo_id":"1327661284","filename":"file1"},{"photo_id":"1327661281","filename":"file0"},{"photo_id":"1327661288","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661284":["hashtag1","hashtag2"]},{"1327661281":["hashtag1","hashtag2"]},{"1327661286":["hashtag1","hashtag2"]},{"1327661288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661284, 1327661281, 1327661286, 1327661288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.01684904098511 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:18:21.828952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/17/image_09012025_13_17_02_896384_0003.jpg', '/home/pi/Desktop/images/09012025/13/18/image_09012025_13_18_02_985699_0000.jpg', '/home/pi/Desktop/images/09012025/13/18/image_09012025_13_18_02_985699_0001.jpg', '/home/pi/Desktop/images/09012025/13/18/image_09012025_13_18_02_985699_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/17/image_09012025_13_17_02_896384_0003.jpg
/home/pi/Desktop/images/09012025/13/18/image_09012025_13_18_02_985699_0000.jpg
/home/pi/Desktop/images/09012025/13/18/image_09012025_13_18_02_985699_0001.jpg
/home/pi/Desktop/images/09012025/13/18/image_09012025_13_18_02_985699_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661296","1327661303","1327661298","1327661301"],"photo_ids_order":["1327661296","1327661298","1327661301","1327661303"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e96b6cbb32ff4b9a14dc0d7eb625dcde.jpg","text":"TemporaryFile(/tmp/multipartBody3767776922469900540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425172059,"filename":"image_09012025_13_17_02_896384_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6a8b09ec2cd9e9ec2db15dd868dd3242.jpg","text":"TemporaryFile(/tmp/multipartBody2448652056628358129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425172059,"filename":"image_09012025_13_18_02_985699_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8e9611bc96e437a20193b88a0c365df2.jpg","text":"TemporaryFile(/tmp/multipartBody9113649762903775432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425172059,"filename":"image_09012025_13_18_02_985699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e3566410ff351f6b9357cf5581d3eba2.jpg","text":"TemporaryFile(/tmp/multipartBody7055763824954830220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425172059,"filename":"image_09012025_13_18_02_985699_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661301","file1":"1327661298","file0":"1327661296","file3":"1327661303"},"map_files_photo_id_array":[{"photo_id":"1327661301","filename":"file2"},{"photo_id":"1327661298","filename":"file1"},{"photo_id":"1327661296","filename":"file0"},{"photo_id":"1327661303","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661296":["hashtag1","hashtag2"]},{"1327661303":["hashtag1","hashtag2"]},{"1327661298":["hashtag1","hashtag2"]},{"1327661301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661296, 1327661303, 1327661298, 1327661301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.8721559047699 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:19:02.665638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:19:22.108133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/18/image_09012025_13_18_02_985699_0003.jpg', '/home/pi/Desktop/images/09012025/13/19/image_09012025_13_19_02_172704_0000.jpg', '/home/pi/Desktop/images/09012025/13/19/image_09012025_13_19_02_172704_0001.jpg', '/home/pi/Desktop/images/09012025/13/19/image_09012025_13_19_02_172704_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/18/image_09012025_13_18_02_985699_0003.jpg
/home/pi/Desktop/images/09012025/13/19/image_09012025_13_19_02_172704_0000.jpg
/home/pi/Desktop/images/09012025/13/19/image_09012025_13_19_02_172704_0001.jpg
/home/pi/Desktop/images/09012025/13/19/image_09012025_13_19_02_172704_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661312","1327661321","1327661315","1327661318"],"photo_ids_order":["1327661312","1327661315","1327661318","1327661321"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/96ea7ee5fbb121737dfd5be45a693234.jpg","text":"TemporaryFile(/tmp/multipartBody974665957710119940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425232509,"filename":"image_09012025_13_18_02_985699_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/de99a50956ce85b48a48b6b5a0393d16.jpg","text":"TemporaryFile(/tmp/multipartBody4340704668536673312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425232509,"filename":"image_09012025_13_19_02_172704_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/37f46fada28a3e38a57732042966a2f7.jpg","text":"TemporaryFile(/tmp/multipartBody8412630704171764243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425232509,"filename":"image_09012025_13_19_02_172704_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/592f76c35dafa70696eebc4bab554c41.jpg","text":"TemporaryFile(/tmp/multipartBody6133361699956128432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425232509,"filename":"image_09012025_13_19_02_172704_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661318","file1":"1327661315","file0":"1327661312","file3":"1327661321"},"map_files_photo_id_array":[{"photo_id":"1327661318","filename":"file2"},{"photo_id":"1327661315","filename":"file1"},{"photo_id":"1327661312","filename":"file0"},{"photo_id":"1327661321","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661312":["hashtag1","hashtag2"]},{"1327661321":["hashtag1","hashtag2"]},{"1327661315":["hashtag1","hashtag2"]},{"1327661318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661312, 1327661321, 1327661315, 1327661318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.57301926612854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:20:22.331524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/19/image_09012025_13_19_02_172704_0003.jpg', '/home/pi/Desktop/images/09012025/13/20/image_09012025_13_20_02_559350_0000.jpg', '/home/pi/Desktop/images/09012025/13/20/image_09012025_13_20_02_559350_0001.jpg', '/home/pi/Desktop/images/09012025/13/20/image_09012025_13_20_02_559350_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/19/image_09012025_13_19_02_172704_0003.jpg
/home/pi/Desktop/images/09012025/13/20/image_09012025_13_20_02_559350_0000.jpg
/home/pi/Desktop/images/09012025/13/20/image_09012025_13_20_02_559350_0001.jpg
/home/pi/Desktop/images/09012025/13/20/image_09012025_13_20_02_559350_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661329","1327661331","1327661334","1327661328"],"photo_ids_order":["1327661328","1327661329","1327661331","1327661334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/63ed782db91534d84fab20d3c462c7ee.jpg","text":"TemporaryFile(/tmp/multipartBody2327243388360047945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425292800,"filename":"image_09012025_13_20_02_559350_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5a6ab35471c094e4823329f82d5cad09.jpg","text":"TemporaryFile(/tmp/multipartBody2660238773841835400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425292800,"filename":"image_09012025_13_20_02_559350_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2286484cf22b9dfe1da8da920d86052b.jpg","text":"TemporaryFile(/tmp/multipartBody6840594863955621837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425292800,"filename":"image_09012025_13_20_02_559350_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/da6d4af76368f90463cc6e143817a6b5.jpg","text":"TemporaryFile(/tmp/multipartBody7996900885407286955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425292800,"filename":"image_09012025_13_19_02_172704_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661331","file1":"1327661329","file0":"1327661328","file3":"1327661334"},"map_files_photo_id_array":[{"photo_id":"1327661331","filename":"file2"},{"photo_id":"1327661329","filename":"file1"},{"photo_id":"1327661328","filename":"file0"},{"photo_id":"1327661334","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661329":["hashtag1","hashtag2"]},{"1327661331":["hashtag1","hashtag2"]},{"1327661334":["hashtag1","hashtag2"]},{"1327661328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661329, 1327661331, 1327661334, 1327661328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.27278757095337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:21:22.558636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/20/image_09012025_13_20_02_559350_0003.jpg', '/home/pi/Desktop/images/09012025/13/21/image_09012025_13_21_02_738182_0000.jpg', '/home/pi/Desktop/images/09012025/13/21/image_09012025_13_21_02_738182_0001.jpg', '/home/pi/Desktop/images/09012025/13/21/image_09012025_13_21_02_738182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/20/image_09012025_13_20_02_559350_0003.jpg
/home/pi/Desktop/images/09012025/13/21/image_09012025_13_21_02_738182_0000.jpg
/home/pi/Desktop/images/09012025/13/21/image_09012025_13_21_02_738182_0001.jpg
/home/pi/Desktop/images/09012025/13/21/image_09012025_13_21_02_738182_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661340","1327661348","1327661342","1327661345"],"photo_ids_order":["1327661340","1327661342","1327661345","1327661348"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a5f851edd9c687c8ac143e15d8d23971.jpg","text":"TemporaryFile(/tmp/multipartBody1816502425770254218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425352918,"filename":"image_09012025_13_20_02_559350_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3472257d158e637fb3e241de479e4551.jpg","text":"TemporaryFile(/tmp/multipartBody4353959642518173161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425352918,"filename":"image_09012025_13_21_02_738182_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7b6323b52464a498191a12a9ed679209.jpg","text":"TemporaryFile(/tmp/multipartBody2398112256596080073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425352918,"filename":"image_09012025_13_21_02_738182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/34e9e56f5d536d50b0e1af73048ffb76.jpg","text":"TemporaryFile(/tmp/multipartBody3596411350222906376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425352918,"filename":"image_09012025_13_21_02_738182_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661345","file1":"1327661342","file0":"1327661340","file3":"1327661348"},"map_files_photo_id_array":[{"photo_id":"1327661345","filename":"file2"},{"photo_id":"1327661342","filename":"file1"},{"photo_id":"1327661340","filename":"file0"},{"photo_id":"1327661348","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661340":["hashtag1","hashtag2"]},{"1327661348":["hashtag1","hashtag2"]},{"1327661342":["hashtag1","hashtag2"]},{"1327661345":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661340, 1327661348, 1327661342, 1327661345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 45.15774583816528 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:22:22.696449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/21/image_09012025_13_21_02_738182_0003.jpg', '/home/pi/Desktop/images/09012025/13/22/image_09012025_13_22_02_856979_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/21/image_09012025_13_21_02_738182_0003.jpg
/home/pi/Desktop/images/09012025/13/22/image_09012025_13_22_02_856979_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661356","1327661354"],"photo_ids_order":["1327661354","1327661356"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/821518dc43102d57b5d32058f62f91f1.jpg","text":"TemporaryFile(/tmp/multipartBody1567067282235440940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425408067,"filename":"image_09012025_13_22_02_856979_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ebe733578ce61bdcf75de61686f4401a.jpg","text":"TemporaryFile(/tmp/multipartBody5448655939839894150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425408067,"filename":"image_09012025_13_21_02_738182_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file1":"1327661356","file0":"1327661354"},"map_files_photo_id_array":[{"photo_id":"1327661356","filename":"file1"},{"photo_id":"1327661354","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661356":["hashtag1","hashtag2"]},{"1327661354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661356, 1327661354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 22.178975105285645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 13:22:52.656206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:23:02.258491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:23:21.837095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/22/image_09012025_13_22_02_856979_0003.jpg', '/home/pi/Desktop/images/09012025/13/23/image_09012025_13_23_03_023690_0000.jpg', '/home/pi/Desktop/images/09012025/13/23/image_09012025_13_23_03_023690_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/22/image_09012025_13_22_02_856979_0003.jpg
/home/pi/Desktop/images/09012025/13/23/image_09012025_13_23_03_023690_0000.jpg
/home/pi/Desktop/images/09012025/13/23/image_09012025_13_23_03_023690_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661371","1327661372","1327661369"],"photo_ids_order":["1327661369","1327661371","1327661372"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/630f9cc9de84b909bf64404988f06a12.jpg","text":"TemporaryFile(/tmp/multipartBody1820975997624686614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425469802,"filename":"image_09012025_13_23_03_023690_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/55871c8e2819b37f3ceb59173ff04b58.jpg","text":"TemporaryFile(/tmp/multipartBody749680573039979521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425469802,"filename":"image_09012025_13_23_03_023690_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ec1a25042c2819921c4a858163372081.jpg","text":"TemporaryFile(/tmp/multipartBody6822911426746068007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425469802,"filename":"image_09012025_13_22_02_856979_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661372","file1":"1327661371","file0":"1327661369"},"map_files_photo_id_array":[{"photo_id":"1327661372","filename":"file2"},{"photo_id":"1327661371","filename":"file1"},{"photo_id":"1327661369","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661371":["hashtag1","hashtag2"]},{"1327661372":["hashtag1","hashtag2"]},{"1327661369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661371, 1327661372, 1327661369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.24137306213379 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:24:02.359155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:24:22.033403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/23/image_09012025_13_23_03_023690_0003.jpg', '/home/pi/Desktop/images/09012025/13/24/image_09012025_13_24_02_269707_0000.jpg', '/home/pi/Desktop/images/09012025/13/24/image_09012025_13_24_02_269707_0001.jpg', '/home/pi/Desktop/images/09012025/13/24/image_09012025_13_24_02_269707_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/23/image_09012025_13_23_03_023690_0003.jpg
/home/pi/Desktop/images/09012025/13/24/image_09012025_13_24_02_269707_0000.jpg
/home/pi/Desktop/images/09012025/13/24/image_09012025_13_24_02_269707_0001.jpg
/home/pi/Desktop/images/09012025/13/24/image_09012025_13_24_02_269707_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661386","1327661389","1327661388","1327661391"],"photo_ids_order":["1327661386","1327661388","1327661389","1327661391"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2a9692bd88a3646acdaad1ba3f4936f3.jpg","text":"TemporaryFile(/tmp/multipartBody4930368962931758181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425532278,"filename":"image_09012025_13_23_03_023690_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/024fe5244cc8027687b04f90a31202c1.jpg","text":"TemporaryFile(/tmp/multipartBody7711174426071130833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425532278,"filename":"image_09012025_13_24_02_269707_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ba13a816e4713eaf8168bd3fa8553aae.jpg","text":"TemporaryFile(/tmp/multipartBody5858175314862656918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425532278,"filename":"image_09012025_13_24_02_269707_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b9e36c83b906fc6cdb2f3588e8909e98.jpg","text":"TemporaryFile(/tmp/multipartBody3376022313704919003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425532278,"filename":"image_09012025_13_24_02_269707_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661389","file1":"1327661388","file0":"1327661386","file3":"1327661391"},"map_files_photo_id_array":[{"photo_id":"1327661389","filename":"file2"},{"photo_id":"1327661388","filename":"file1"},{"photo_id":"1327661386","filename":"file0"},{"photo_id":"1327661391","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661386":["hashtag1","hashtag2"]},{"1327661389":["hashtag1","hashtag2"]},{"1327661388":["hashtag1","hashtag2"]},{"1327661391":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661386, 1327661389, 1327661388, 1327661391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.419209480285645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:25:22.353753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/24/image_09012025_13_24_02_269707_0003.jpg', '/home/pi/Desktop/images/09012025/13/25/image_09012025_13_25_02_405069_0000.jpg', '/home/pi/Desktop/images/09012025/13/25/image_09012025_13_25_02_405069_0001.jpg', '/home/pi/Desktop/images/09012025/13/25/image_09012025_13_25_02_405069_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/24/image_09012025_13_24_02_269707_0003.jpg
/home/pi/Desktop/images/09012025/13/25/image_09012025_13_25_02_405069_0000.jpg
/home/pi/Desktop/images/09012025/13/25/image_09012025_13_25_02_405069_0001.jpg
/home/pi/Desktop/images/09012025/13/25/image_09012025_13_25_02_405069_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661401","1327661404","1327661400","1327661402"],"photo_ids_order":["1327661400","1327661401","1327661402","1327661404"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b5f4d8c245223ebcd8b3189ea7de00b5.jpg","text":"TemporaryFile(/tmp/multipartBody2508350776007541379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425592726,"filename":"image_09012025_13_25_02_405069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/56f9d4b3053c3d3ff791041981ed50ef.jpg","text":"TemporaryFile(/tmp/multipartBody9171805841915325059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425592726,"filename":"image_09012025_13_25_02_405069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0dbc6f80985d706e2bd709c7290e4552.jpg","text":"TemporaryFile(/tmp/multipartBody1182332991937982303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425592726,"filename":"image_09012025_13_24_02_269707_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8b9deeeb80469c44720833e636ce00a5.jpg","text":"TemporaryFile(/tmp/multipartBody6909967311329645373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425592726,"filename":"image_09012025_13_25_02_405069_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661402","file1":"1327661401","file0":"1327661400","file3":"1327661404"},"map_files_photo_id_array":[{"photo_id":"1327661402","filename":"file2"},{"photo_id":"1327661401","filename":"file1"},{"photo_id":"1327661400","filename":"file0"},{"photo_id":"1327661404","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661401":["hashtag1","hashtag2"]},{"1327661404":["hashtag1","hashtag2"]},{"1327661400":["hashtag1","hashtag2"]},{"1327661402":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661401, 1327661404, 1327661400, 1327661402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.47115135192871 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:26:02.966006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:26:22.464694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/25/image_09012025_13_25_02_405069_0003.jpg', '/home/pi/Desktop/images/09012025/13/26/image_09012025_13_26_02_713219_0000.jpg', '/home/pi/Desktop/images/09012025/13/26/image_09012025_13_26_02_713219_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/25/image_09012025_13_25_02_405069_0003.jpg
/home/pi/Desktop/images/09012025/13/26/image_09012025_13_26_02_713219_0000.jpg
/home/pi/Desktop/images/09012025/13/26/image_09012025_13_26_02_713219_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661414","1327661416","1327661412"],"photo_ids_order":["1327661412","1327661414","1327661416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/05c2f755dd7ba984c4143ee177b4a744.jpg","text":"TemporaryFile(/tmp/multipartBody1987971511593073113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425650414,"filename":"image_09012025_13_26_02_713219_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/21a5cc248c9b00760e4cf523598ed366.jpg","text":"TemporaryFile(/tmp/multipartBody7681607562651017325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425650414,"filename":"image_09012025_13_26_02_713219_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c25365c2d5a6c414fc4414bb63f1cb4f.jpg","text":"TemporaryFile(/tmp/multipartBody1866092495277994341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425650414,"filename":"image_09012025_13_25_02_405069_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661416","file1":"1327661414","file0":"1327661412"},"map_files_photo_id_array":[{"photo_id":"1327661416","filename":"file2"},{"photo_id":"1327661414","filename":"file1"},{"photo_id":"1327661412","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661414":["hashtag1","hashtag2"]},{"1327661416":["hashtag1","hashtag2"]},{"1327661412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661414, 1327661416, 1327661412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.055499792099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:27:03.364556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:27:22.766571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/26/image_09012025_13_26_02_713219_0003.jpg', '/home/pi/Desktop/images/09012025/13/27/image_09012025_13_27_02_868593_0000.jpg', '/home/pi/Desktop/images/09012025/13/27/image_09012025_13_27_02_868593_0001.jpg', '/home/pi/Desktop/images/09012025/13/27/image_09012025_13_27_02_868593_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/26/image_09012025_13_26_02_713219_0003.jpg
/home/pi/Desktop/images/09012025/13/27/image_09012025_13_27_02_868593_0000.jpg
/home/pi/Desktop/images/09012025/13/27/image_09012025_13_27_02_868593_0001.jpg
/home/pi/Desktop/images/09012025/13/27/image_09012025_13_27_02_868593_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661440","1327661436","1327661433","1327661438"],"photo_ids_order":["1327661433","1327661436","1327661438","1327661440"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/af259ed6668a764b455d4f94fa2f53a8.jpg","text":"TemporaryFile(/tmp/multipartBody8078544360145907108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425712960,"filename":"image_09012025_13_27_02_868593_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a5ebb7ddf23710736e25549cb4e36ffe.jpg","text":"TemporaryFile(/tmp/multipartBody2218098678566862024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425712960,"filename":"image_09012025_13_27_02_868593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2ee4bacbf6546404ade2b4736ea4da1c.jpg","text":"TemporaryFile(/tmp/multipartBody4710428185749471264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425712960,"filename":"image_09012025_13_26_02_713219_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2b42585bcf8c8acfdefa156403b43602.jpg","text":"TemporaryFile(/tmp/multipartBody5449593667482473356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425712960,"filename":"image_09012025_13_27_02_868593_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661438","file1":"1327661436","file0":"1327661433","file3":"1327661440"},"map_files_photo_id_array":[{"photo_id":"1327661438","filename":"file2"},{"photo_id":"1327661436","filename":"file1"},{"photo_id":"1327661433","filename":"file0"},{"photo_id":"1327661440","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661440":["hashtag1","hashtag2"]},{"1327661436":["hashtag1","hashtag2"]},{"1327661433":["hashtag1","hashtag2"]},{"1327661438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661440, 1327661436, 1327661433, 1327661438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.22283482551575 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:28:21.826755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/27/image_09012025_13_27_02_868593_0003.jpg', '/home/pi/Desktop/images/09012025/13/28/image_09012025_13_28_03_041989_0000.jpg', '/home/pi/Desktop/images/09012025/13/28/image_09012025_13_28_03_041989_0001.jpg', '/home/pi/Desktop/images/09012025/13/28/image_09012025_13_28_03_041989_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/27/image_09012025_13_27_02_868593_0003.jpg
/home/pi/Desktop/images/09012025/13/28/image_09012025_13_28_03_041989_0000.jpg
/home/pi/Desktop/images/09012025/13/28/image_09012025_13_28_03_041989_0001.jpg
/home/pi/Desktop/images/09012025/13/28/image_09012025_13_28_03_041989_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661452","1327661454","1327661448","1327661456"],"photo_ids_order":["1327661448","1327661452","1327661454","1327661456"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e6cdcd6d5a4c4650003c52c34b299165.jpg","text":"TemporaryFile(/tmp/multipartBody3217903675491166236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425772022,"filename":"image_09012025_13_28_03_041989_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/889c4b8bf02adb2e83a94a6fe8a56741.jpg","text":"TemporaryFile(/tmp/multipartBody4236244430191035372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425772022,"filename":"image_09012025_13_28_03_041989_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0b31d41a7e9f127f3c2375cdd0d6e39e.jpg","text":"TemporaryFile(/tmp/multipartBody253803116422818882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425772022,"filename":"image_09012025_13_27_02_868593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c09c4c38428782fe79e732ea30729fbb.jpg","text":"TemporaryFile(/tmp/multipartBody4552910479628470702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425772022,"filename":"image_09012025_13_28_03_041989_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661454","file1":"1327661452","file0":"1327661448","file3":"1327661456"},"map_files_photo_id_array":[{"photo_id":"1327661454","filename":"file2"},{"photo_id":"1327661452","filename":"file1"},{"photo_id":"1327661448","filename":"file0"},{"photo_id":"1327661456","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661452":["hashtag1","hashtag2"]},{"1327661454":["hashtag1","hashtag2"]},{"1327661448":["hashtag1","hashtag2"]},{"1327661456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661452, 1327661454, 1327661448, 1327661456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.12130784988403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:29:02.802152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:29:22.176056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/28/image_09012025_13_28_03_041989_0003.jpg', '/home/pi/Desktop/images/09012025/13/29/image_09012025_13_29_02_292195_0000.jpg', '/home/pi/Desktop/images/09012025/13/29/image_09012025_13_29_02_292195_0001.jpg', '/home/pi/Desktop/images/09012025/13/29/image_09012025_13_29_02_292195_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/28/image_09012025_13_28_03_041989_0003.jpg
/home/pi/Desktop/images/09012025/13/29/image_09012025_13_29_02_292195_0000.jpg
/home/pi/Desktop/images/09012025/13/29/image_09012025_13_29_02_292195_0001.jpg
/home/pi/Desktop/images/09012025/13/29/image_09012025_13_29_02_292195_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661479","1327661481","1327661475","1327661483"],"photo_ids_order":["1327661475","1327661479","1327661481","1327661483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cc6f0d5d9949dfab554d20b297e07912.jpg","text":"TemporaryFile(/tmp/multipartBody4777454529105015010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425832279,"filename":"image_09012025_13_29_02_292195_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/02cf1e09d9206e701c3f7ec1192e4577.jpg","text":"TemporaryFile(/tmp/multipartBody7477570549845883312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425832279,"filename":"image_09012025_13_29_02_292195_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c6c3ef5775a3809d0dbc3cb8a432a452.jpg","text":"TemporaryFile(/tmp/multipartBody1535479287504313546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425832279,"filename":"image_09012025_13_28_03_041989_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cce663c35027c1802ac9c24957d13f51.jpg","text":"TemporaryFile(/tmp/multipartBody3502862321852087085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425832279,"filename":"image_09012025_13_29_02_292195_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661481","file1":"1327661479","file0":"1327661475","file3":"1327661483"},"map_files_photo_id_array":[{"photo_id":"1327661481","filename":"file2"},{"photo_id":"1327661479","filename":"file1"},{"photo_id":"1327661475","filename":"file0"},{"photo_id":"1327661483","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661479":["hashtag1","hashtag2"]},{"1327661481":["hashtag1","hashtag2"]},{"1327661475":["hashtag1","hashtag2"]},{"1327661483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661479, 1327661481, 1327661475, 1327661483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.948694944381714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:30:02.872072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:30:22.373152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/29/image_09012025_13_29_02_292195_0003.jpg', '/home/pi/Desktop/images/09012025/13/30/image_09012025_13_30_02_453810_0000.jpg', '/home/pi/Desktop/images/09012025/13/30/image_09012025_13_30_02_453810_0001.jpg', '/home/pi/Desktop/images/09012025/13/30/image_09012025_13_30_02_453810_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/29/image_09012025_13_29_02_292195_0003.jpg
/home/pi/Desktop/images/09012025/13/30/image_09012025_13_30_02_453810_0000.jpg
/home/pi/Desktop/images/09012025/13/30/image_09012025_13_30_02_453810_0001.jpg
/home/pi/Desktop/images/09012025/13/30/image_09012025_13_30_02_453810_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661494","1327661497","1327661500","1327661492"],"photo_ids_order":["1327661492","1327661494","1327661497","1327661500"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8a321ce45b22f77d36788eaccaa4d504.jpg","text":"TemporaryFile(/tmp/multipartBody8437909913667417184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425892719,"filename":"image_09012025_13_30_02_453810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/45782c1319664799138129fdeaa5507c.jpg","text":"TemporaryFile(/tmp/multipartBody1939815517787954131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425892719,"filename":"image_09012025_13_30_02_453810_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3a4df994831eeaf23d3bed3dd28c0ad6.jpg","text":"TemporaryFile(/tmp/multipartBody3625547182646535306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425892719,"filename":"image_09012025_13_30_02_453810_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/897e60f9527e6251a746e9a2a3f87369.jpg","text":"TemporaryFile(/tmp/multipartBody544117392533647781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425892719,"filename":"image_09012025_13_29_02_292195_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661497","file1":"1327661494","file0":"1327661492","file3":"1327661500"},"map_files_photo_id_array":[{"photo_id":"1327661497","filename":"file2"},{"photo_id":"1327661494","filename":"file1"},{"photo_id":"1327661492","filename":"file0"},{"photo_id":"1327661500","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661494":["hashtag1","hashtag2"]},{"1327661497":["hashtag1","hashtag2"]},{"1327661500":["hashtag1","hashtag2"]},{"1327661492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661494, 1327661497, 1327661500, 1327661492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.67106890678406 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:31:22.645128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/30/image_09012025_13_30_02_453810_0003.jpg', '/home/pi/Desktop/images/09012025/13/31/image_09012025_13_31_02_686870_0000.jpg', '/home/pi/Desktop/images/09012025/13/31/image_09012025_13_31_02_686870_0001.jpg', '/home/pi/Desktop/images/09012025/13/31/image_09012025_13_31_02_686870_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/30/image_09012025_13_30_02_453810_0003.jpg
/home/pi/Desktop/images/09012025/13/31/image_09012025_13_31_02_686870_0000.jpg
/home/pi/Desktop/images/09012025/13/31/image_09012025_13_31_02_686870_0001.jpg
/home/pi/Desktop/images/09012025/13/31/image_09012025_13_31_02_686870_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661519","1327661517","1327661511","1327661514"],"photo_ids_order":["1327661511","1327661514","1327661517","1327661519"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b3b192f12c0d02bcb07147ca46e3cdab.jpg","text":"TemporaryFile(/tmp/multipartBody537769410714732655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425952938,"filename":"image_09012025_13_31_02_686870_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/da53b84d36360008c91d97ca89ef1af2.jpg","text":"TemporaryFile(/tmp/multipartBody3710603535657156219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425952938,"filename":"image_09012025_13_31_02_686870_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/61cdf67678ba23ac6191866da5d6db61.jpg","text":"TemporaryFile(/tmp/multipartBody2191355005146165040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425952938,"filename":"image_09012025_13_30_02_453810_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1c63af2294ab2049717864bd8ad9b6a4.jpg","text":"TemporaryFile(/tmp/multipartBody8253785562477914366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736425952938,"filename":"image_09012025_13_31_02_686870_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661517","file1":"1327661514","file0":"1327661511","file3":"1327661519"},"map_files_photo_id_array":[{"photo_id":"1327661517","filename":"file2"},{"photo_id":"1327661514","filename":"file1"},{"photo_id":"1327661511","filename":"file0"},{"photo_id":"1327661519","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661519":["hashtag1","hashtag2"]},{"1327661517":["hashtag1","hashtag2"]},{"1327661511":["hashtag1","hashtag2"]},{"1327661514":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661519, 1327661517, 1327661511, 1327661514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.212289571762085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:32:22.767021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/31/image_09012025_13_31_02_686870_0003.jpg', '/home/pi/Desktop/images/09012025/13/32/image_09012025_13_32_02_930689_0000.jpg', '/home/pi/Desktop/images/09012025/13/32/image_09012025_13_32_02_930689_0001.jpg', '/home/pi/Desktop/images/09012025/13/32/image_09012025_13_32_02_930689_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/31/image_09012025_13_31_02_686870_0003.jpg
/home/pi/Desktop/images/09012025/13/32/image_09012025_13_32_02_930689_0000.jpg
/home/pi/Desktop/images/09012025/13/32/image_09012025_13_32_02_930689_0001.jpg
/home/pi/Desktop/images/09012025/13/32/image_09012025_13_32_02_930689_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661531","1327661527","1327661535","1327661529"],"photo_ids_order":["1327661527","1327661529","1327661531","1327661535"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4d0a4059cb235bbd7351d67f0987732e.jpg","text":"TemporaryFile(/tmp/multipartBody7246844831219034451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426013044,"filename":"image_09012025_13_32_02_930689_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ae21a395f3a2f5eabec76e675f7cf8d7.jpg","text":"TemporaryFile(/tmp/multipartBody1295184262297365010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426013044,"filename":"image_09012025_13_31_02_686870_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aaf1ae823dcf4637a5d7737f669adee8.jpg","text":"TemporaryFile(/tmp/multipartBody1614050661382603801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426013044,"filename":"image_09012025_13_32_02_930689_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/60d5efac9b5134b665c27a92a91407cc.jpg","text":"TemporaryFile(/tmp/multipartBody1718249884615801983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426013044,"filename":"image_09012025_13_32_02_930689_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661531","file1":"1327661529","file0":"1327661527","file3":"1327661535"},"map_files_photo_id_array":[{"photo_id":"1327661531","filename":"file2"},{"photo_id":"1327661529","filename":"file1"},{"photo_id":"1327661527","filename":"file0"},{"photo_id":"1327661535","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661531":["hashtag1","hashtag2"]},{"1327661527":["hashtag1","hashtag2"]},{"1327661535":["hashtag1","hashtag2"]},{"1327661529":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661531, 1327661527, 1327661535, 1327661529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.768423318862915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:33:21.889142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/32/image_09012025_13_32_02_930689_0003.jpg', '/home/pi/Desktop/images/09012025/13/33/image_09012025_13_33_03_071571_0000.jpg', '/home/pi/Desktop/images/09012025/13/33/image_09012025_13_33_03_071571_0001.jpg', '/home/pi/Desktop/images/09012025/13/33/image_09012025_13_33_03_071571_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/32/image_09012025_13_32_02_930689_0003.jpg
/home/pi/Desktop/images/09012025/13/33/image_09012025_13_33_03_071571_0000.jpg
/home/pi/Desktop/images/09012025/13/33/image_09012025_13_33_03_071571_0001.jpg
/home/pi/Desktop/images/09012025/13/33/image_09012025_13_33_03_071571_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661553","1327661550","1327661546","1327661555"],"photo_ids_order":["1327661546","1327661550","1327661553","1327661555"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f3360210645f7e0616a132cc258785ae.jpg","text":"TemporaryFile(/tmp/multipartBody3575038785032715983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426071887,"filename":"image_09012025_13_33_03_071571_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/07cdc7e6ac01f41cba00f588cfd3650e.jpg","text":"TemporaryFile(/tmp/multipartBody5884224432719605225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426071887,"filename":"image_09012025_13_33_03_071571_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/66883f5d4d4708a6129a2134a87c29dc.jpg","text":"TemporaryFile(/tmp/multipartBody4495303037506464281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426071887,"filename":"image_09012025_13_32_02_930689_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7b268233a9e0040c2bcd1fe6b5861d5f.jpg","text":"TemporaryFile(/tmp/multipartBody1640550576860350544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426071887,"filename":"image_09012025_13_33_03_071571_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661553","file1":"1327661550","file0":"1327661546","file3":"1327661555"},"map_files_photo_id_array":[{"photo_id":"1327661553","filename":"file2"},{"photo_id":"1327661550","filename":"file1"},{"photo_id":"1327661546","filename":"file0"},{"photo_id":"1327661555","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661553":["hashtag1","hashtag2"]},{"1327661550":["hashtag1","hashtag2"]},{"1327661546":["hashtag1","hashtag2"]},{"1327661555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661553, 1327661550, 1327661546, 1327661555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 40.67474293708801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:34:22.059049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/33/image_09012025_13_33_03_071571_0003.jpg', '/home/pi/Desktop/images/09012025/13/34/image_09012025_13_34_02_258229_0000.jpg', '/home/pi/Desktop/images/09012025/13/34/image_09012025_13_34_02_258229_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/33/image_09012025_13_33_03_071571_0003.jpg
/home/pi/Desktop/images/09012025/13/34/image_09012025_13_34_02_258229_0000.jpg
/home/pi/Desktop/images/09012025/13/34/image_09012025_13_34_02_258229_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661569","1327661572","1327661564"],"photo_ids_order":["1327661564","1327661569","1327661572"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0b4dd11cdf53894cf8dec6dd0ce6ae0d.jpg","text":"TemporaryFile(/tmp/multipartBody1735696179281407779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426129637,"filename":"image_09012025_13_34_02_258229_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2f78dbdec3e861a3d724a9aa09493412.jpg","text":"TemporaryFile(/tmp/multipartBody2330547958933048953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426129637,"filename":"image_09012025_13_34_02_258229_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/01375e7b025b2030a3a65ec200770e53.jpg","text":"TemporaryFile(/tmp/multipartBody7373132566429488735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426129637,"filename":"image_09012025_13_33_03_071571_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661572","file1":"1327661569","file0":"1327661564"},"map_files_photo_id_array":[{"photo_id":"1327661572","filename":"file2"},{"photo_id":"1327661569","filename":"file1"},{"photo_id":"1327661564","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661569":["hashtag1","hashtag2"]},{"1327661572":["hashtag1","hashtag2"]},{"1327661564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661569, 1327661572, 1327661564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.95140790939331 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:35:02.767498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:35:22.158147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/34/image_09012025_13_34_02_258229_0002.jpg', '/home/pi/Desktop/images/09012025/13/35/image_09012025_13_35_02_382374_0000.jpg', '/home/pi/Desktop/images/09012025/13/35/image_09012025_13_35_02_382374_0001.jpg', '/home/pi/Desktop/images/09012025/13/35/image_09012025_13_35_02_382374_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/34/image_09012025_13_34_02_258229_0002.jpg
/home/pi/Desktop/images/09012025/13/35/image_09012025_13_35_02_382374_0000.jpg
/home/pi/Desktop/images/09012025/13/35/image_09012025_13_35_02_382374_0001.jpg
/home/pi/Desktop/images/09012025/13/35/image_09012025_13_35_02_382374_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661586","1327661589","1327661583","1327661591"],"photo_ids_order":["1327661583","1327661586","1327661589","1327661591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7b631cb8a2f006dc608551511b1ad200.jpg","text":"TemporaryFile(/tmp/multipartBody6260691019752196346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426192078,"filename":"image_09012025_13_35_02_382374_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9cccf9de10d466445e7c08730f9e7cbb.jpg","text":"TemporaryFile(/tmp/multipartBody9198450894232790990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426192078,"filename":"image_09012025_13_35_02_382374_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7dacc2093494dd7dcfeab71e5d5f82ea.jpg","text":"TemporaryFile(/tmp/multipartBody8851815190464516319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426192078,"filename":"image_09012025_13_34_02_258229_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d87d0da7eef3ebfbaad0d96cabe08a4c.jpg","text":"TemporaryFile(/tmp/multipartBody492750729951512272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426192078,"filename":"image_09012025_13_35_02_382374_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661589","file1":"1327661586","file0":"1327661583","file3":"1327661591"},"map_files_photo_id_array":[{"photo_id":"1327661589","filename":"file2"},{"photo_id":"1327661586","filename":"file1"},{"photo_id":"1327661583","filename":"file0"},{"photo_id":"1327661591","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661586":["hashtag1","hashtag2"]},{"1327661589":["hashtag1","hashtag2"]},{"1327661583":["hashtag1","hashtag2"]},{"1327661591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661586, 1327661589, 1327661583, 1327661591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.47873044013977 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:36:02.666856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:36:22.504679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/35/image_09012025_13_35_02_382374_0003.jpg', '/home/pi/Desktop/images/09012025/13/36/image_09012025_13_36_02_557456_0000.jpg', '/home/pi/Desktop/images/09012025/13/36/image_09012025_13_36_02_557456_0001.jpg', '/home/pi/Desktop/images/09012025/13/36/image_09012025_13_36_02_557456_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/35/image_09012025_13_35_02_382374_0003.jpg
/home/pi/Desktop/images/09012025/13/36/image_09012025_13_36_02_557456_0000.jpg
/home/pi/Desktop/images/09012025/13/36/image_09012025_13_36_02_557456_0001.jpg
/home/pi/Desktop/images/09012025/13/36/image_09012025_13_36_02_557456_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661598","1327661602","1327661605","1327661607"],"photo_ids_order":["1327661598","1327661602","1327661605","1327661607"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/64cdb6b1a3ec35ddd004346b39044a4e.jpg","text":"TemporaryFile(/tmp/multipartBody2263112574465683786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426252339,"filename":"image_09012025_13_35_02_382374_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2997bd27ac7ed4603fd0d132f1fa48b4.jpg","text":"TemporaryFile(/tmp/multipartBody1365628958093182263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426252339,"filename":"image_09012025_13_36_02_557456_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fc46d375bad6fd6770a2f82494d4cff8.jpg","text":"TemporaryFile(/tmp/multipartBody153098983150529738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426252339,"filename":"image_09012025_13_36_02_557456_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3b420e20bdf003557e185bfddbb28e2b.jpg","text":"TemporaryFile(/tmp/multipartBody8463883537702127301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426252339,"filename":"image_09012025_13_36_02_557456_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661605","file1":"1327661602","file0":"1327661598","file3":"1327661607"},"map_files_photo_id_array":[{"photo_id":"1327661605","filename":"file2"},{"photo_id":"1327661602","filename":"file1"},{"photo_id":"1327661598","filename":"file0"},{"photo_id":"1327661607","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661598":["hashtag1","hashtag2"]},{"1327661602":["hashtag1","hashtag2"]},{"1327661605":["hashtag1","hashtag2"]},{"1327661607":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661598, 1327661602, 1327661605, 1327661607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.484684467315674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:37:22.623104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/36/image_09012025_13_36_02_557456_0003.jpg', '/home/pi/Desktop/images/09012025/13/37/image_09012025_13_37_02_808572_0001.jpg', '/home/pi/Desktop/images/09012025/13/37/image_09012025_13_37_02_808572_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/36/image_09012025_13_36_02_557456_0003.jpg
/home/pi/Desktop/images/09012025/13/37/image_09012025_13_37_02_808572_0001.jpg
/home/pi/Desktop/images/09012025/13/37/image_09012025_13_37_02_808572_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661624","1327661619","1327661615"],"photo_ids_order":["1327661615","1327661619","1327661624"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dc6f414c3295c3ea549b3225434f85e4.jpg","text":"TemporaryFile(/tmp/multipartBody9053639626106035461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426310268,"filename":"image_09012025_13_37_02_808572_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9fc5a0b42e20eae50ea6f165fe18f2d9.jpg","text":"TemporaryFile(/tmp/multipartBody3987970383056333223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426310268,"filename":"image_09012025_13_37_02_808572_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/539a258f51d8954319e2f9562a637dfc.jpg","text":"TemporaryFile(/tmp/multipartBody2805295966035535090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426310268,"filename":"image_09012025_13_36_02_557456_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661624","file1":"1327661619","file0":"1327661615"},"map_files_photo_id_array":[{"photo_id":"1327661624","filename":"file2"},{"photo_id":"1327661619","filename":"file1"},{"photo_id":"1327661615","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661624":["hashtag1","hashtag2"]},{"1327661619":["hashtag1","hashtag2"]},{"1327661615":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661624, 1327661619, 1327661615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.82631206512451 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:38:02.276374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:38:21.913322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/37/image_09012025_13_37_02_808572_0003.jpg', '/home/pi/Desktop/images/09012025/13/38/image_09012025_13_38_02_976967_0000.jpg', '/home/pi/Desktop/images/09012025/13/38/image_09012025_13_38_02_976967_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/37/image_09012025_13_37_02_808572_0003.jpg
/home/pi/Desktop/images/09012025/13/38/image_09012025_13_38_02_976967_0000.jpg
/home/pi/Desktop/images/09012025/13/38/image_09012025_13_38_02_976967_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661641","1327661637","1327661633"],"photo_ids_order":["1327661633","1327661637","1327661641"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/134a611b02998dc31b48e5ec88c925d0.jpg","text":"TemporaryFile(/tmp/multipartBody4829658463376462363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426369601,"filename":"image_09012025_13_38_02_976967_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4f112079e4b74f3433857cad89de8a5f.jpg","text":"TemporaryFile(/tmp/multipartBody6317209664807367925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426369601,"filename":"image_09012025_13_38_02_976967_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/69e1e82bd36279caac3119e9e58808b4.jpg","text":"TemporaryFile(/tmp/multipartBody3977146278149675733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426369601,"filename":"image_09012025_13_37_02_808572_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661641","file1":"1327661637","file0":"1327661633"},"map_files_photo_id_array":[{"photo_id":"1327661641","filename":"file2"},{"photo_id":"1327661637","filename":"file1"},{"photo_id":"1327661633","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661641":["hashtag1","hashtag2"]},{"1327661637":["hashtag1","hashtag2"]},{"1327661633":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661641, 1327661637, 1327661633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.850040435791016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:39:02.593039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:39:21.861558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/38/image_09012025_13_38_02_976967_0003.jpg', '/home/pi/Desktop/images/09012025/13/39/image_09012025_13_39_02_131684_0000.jpg', '/home/pi/Desktop/images/09012025/13/39/image_09012025_13_39_02_131684_0001.jpg', '/home/pi/Desktop/images/09012025/13/39/image_09012025_13_39_02_131684_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/38/image_09012025_13_38_02_976967_0003.jpg
/home/pi/Desktop/images/09012025/13/39/image_09012025_13_39_02_131684_0000.jpg
/home/pi/Desktop/images/09012025/13/39/image_09012025_13_39_02_131684_0001.jpg
/home/pi/Desktop/images/09012025/13/39/image_09012025_13_39_02_131684_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661662","1327661666","1327661669","1327661657"],"photo_ids_order":["1327661657","1327661662","1327661666","1327661669"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/01009bb801d2cb7fbeb3ff0a576c4b10.jpg","text":"TemporaryFile(/tmp/multipartBody205971042601921570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426431880,"filename":"image_09012025_13_39_02_131684_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6c3e7f1f819784ef1569240120cd45b4.jpg","text":"TemporaryFile(/tmp/multipartBody5267865459411500551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426431880,"filename":"image_09012025_13_39_02_131684_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b9c7e189823102a4d9b6d49089cf4182.jpg","text":"TemporaryFile(/tmp/multipartBody8601466304131028542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426431880,"filename":"image_09012025_13_39_02_131684_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/99479a64f05ee1e34a7e5fe23d11b137.jpg","text":"TemporaryFile(/tmp/multipartBody1243383635189502478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426431880,"filename":"image_09012025_13_38_02_976967_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661666","file1":"1327661662","file0":"1327661657","file3":"1327661669"},"map_files_photo_id_array":[{"photo_id":"1327661666","filename":"file2"},{"photo_id":"1327661662","filename":"file1"},{"photo_id":"1327661657","filename":"file0"},{"photo_id":"1327661669","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661662":["hashtag1","hashtag2"]},{"1327661666":["hashtag1","hashtag2"]},{"1327661669":["hashtag1","hashtag2"]},{"1327661657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661662, 1327661666, 1327661669, 1327661657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.448572635650635 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:40:22.220793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/39/image_09012025_13_39_02_131684_0003.jpg', '/home/pi/Desktop/images/09012025/13/40/image_09012025_13_40_02_363390_0000.jpg', '/home/pi/Desktop/images/09012025/13/40/image_09012025_13_40_02_363390_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/39/image_09012025_13_39_02_131684_0003.jpg
/home/pi/Desktop/images/09012025/13/40/image_09012025_13_40_02_363390_0000.jpg
/home/pi/Desktop/images/09012025/13/40/image_09012025_13_40_02_363390_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661683","1327661678","1327661687"],"photo_ids_order":["1327661678","1327661683","1327661687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/09bc88eddef63aa0c50f6987820a3b5e.jpg","text":"TemporaryFile(/tmp/multipartBody5385573069644004483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426490017,"filename":"image_09012025_13_40_02_363390_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/01a32e2c7ad56d2a588ace9b13a4a74c.jpg","text":"TemporaryFile(/tmp/multipartBody5187695767698744907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426490017,"filename":"image_09012025_13_39_02_131684_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/432004df1a4d25e26342e9b5136940f9.jpg","text":"TemporaryFile(/tmp/multipartBody2798119601784386923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426490017,"filename":"image_09012025_13_40_02_363390_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661687","file1":"1327661683","file0":"1327661678"},"map_files_photo_id_array":[{"photo_id":"1327661687","filename":"file2"},{"photo_id":"1327661683","filename":"file1"},{"photo_id":"1327661678","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661683":["hashtag1","hashtag2"]},{"1327661678":["hashtag1","hashtag2"]},{"1327661687":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661683, 1327661678, 1327661687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.55235457420349 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:41:03.001447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:41:22.390361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/40/image_09012025_13_40_02_363390_0003.jpg', '/home/pi/Desktop/images/09012025/13/41/image_09012025_13_41_02_493814_0000.jpg', '/home/pi/Desktop/images/09012025/13/41/image_09012025_13_41_02_493814_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/40/image_09012025_13_40_02_363390_0003.jpg
/home/pi/Desktop/images/09012025/13/41/image_09012025_13_41_02_493814_0000.jpg
/home/pi/Desktop/images/09012025/13/41/image_09012025_13_41_02_493814_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661711","1327661704","1327661699"],"photo_ids_order":["1327661699","1327661704","1327661711"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/805fdf3e3c4070d8da81b3d35cf5c1ab.jpg","text":"TemporaryFile(/tmp/multipartBody1658701175688556775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426550109,"filename":"image_09012025_13_41_02_493814_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f35179041845c32b5b12d32aa0f9e35f.jpg","text":"TemporaryFile(/tmp/multipartBody2250662293125609075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426550109,"filename":"image_09012025_13_41_02_493814_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cce6e248fd837387e5f497933e7f8dbb.jpg","text":"TemporaryFile(/tmp/multipartBody635860723486864959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426550109,"filename":"image_09012025_13_40_02_363390_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661711","file1":"1327661704","file0":"1327661699"},"map_files_photo_id_array":[{"photo_id":"1327661711","filename":"file2"},{"photo_id":"1327661704","filename":"file1"},{"photo_id":"1327661699","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661711":["hashtag1","hashtag2"]},{"1327661704":["hashtag1","hashtag2"]},{"1327661699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661711, 1327661704, 1327661699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.229382514953613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:42:02.927189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:42:22.506736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/41/image_09012025_13_41_02_493814_0003.jpg', '/home/pi/Desktop/images/09012025/13/42/image_09012025_13_42_02_753852_0000.jpg', '/home/pi/Desktop/images/09012025/13/42/image_09012025_13_42_02_753852_0001.jpg', '/home/pi/Desktop/images/09012025/13/42/image_09012025_13_42_02_753852_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/41/image_09012025_13_41_02_493814_0003.jpg
/home/pi/Desktop/images/09012025/13/42/image_09012025_13_42_02_753852_0000.jpg
/home/pi/Desktop/images/09012025/13/42/image_09012025_13_42_02_753852_0001.jpg
/home/pi/Desktop/images/09012025/13/42/image_09012025_13_42_02_753852_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661734","1327661728","1327661748","1327661742"],"photo_ids_order":["1327661728","1327661734","1327661742","1327661748"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/539b1c81d1246145ac0bbb9acd7a9d0f.jpg","text":"TemporaryFile(/tmp/multipartBody8453059954485605979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426612809,"filename":"image_09012025_13_42_02_753852_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3c925c72f8817dab8aa72ee6df951bde.jpg","text":"TemporaryFile(/tmp/multipartBody1696957050937715398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426612809,"filename":"image_09012025_13_41_02_493814_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/17ce0cb5dd1fb52f3bb2a6e61d20047c.jpg","text":"TemporaryFile(/tmp/multipartBody9084766678818856679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426612809,"filename":"image_09012025_13_42_02_753852_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ff1b773f981373b557a03f86db60927f.jpg","text":"TemporaryFile(/tmp/multipartBody1937191548533215373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426612809,"filename":"image_09012025_13_42_02_753852_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661742","file1":"1327661734","file0":"1327661728","file3":"1327661748"},"map_files_photo_id_array":[{"photo_id":"1327661742","filename":"file2"},{"photo_id":"1327661734","filename":"file1"},{"photo_id":"1327661728","filename":"file0"},{"photo_id":"1327661748","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661734":["hashtag1","hashtag2"]},{"1327661728":["hashtag1","hashtag2"]},{"1327661748":["hashtag1","hashtag2"]},{"1327661742":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661734, 1327661728, 1327661748, 1327661742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.10000443458557 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:43:03.349464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:43:22.776816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/42/image_09012025_13_42_02_753852_0003.jpg', '/home/pi/Desktop/images/09012025/13/43/image_09012025_13_43_02_848461_0000.jpg', '/home/pi/Desktop/images/09012025/13/43/image_09012025_13_43_02_848461_0001.jpg', '/home/pi/Desktop/images/09012025/13/43/image_09012025_13_43_02_848461_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/42/image_09012025_13_42_02_753852_0003.jpg
/home/pi/Desktop/images/09012025/13/43/image_09012025_13_43_02_848461_0000.jpg
/home/pi/Desktop/images/09012025/13/43/image_09012025_13_43_02_848461_0001.jpg
/home/pi/Desktop/images/09012025/13/43/image_09012025_13_43_02_848461_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661773","1327661770","1327661766","1327661777"],"photo_ids_order":["1327661766","1327661770","1327661773","1327661777"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/413714a21ee925c0fe4209c351d0304d.jpg","text":"TemporaryFile(/tmp/multipartBody6938864456331235533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426672997,"filename":"image_09012025_13_43_02_848461_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9a6ae4d67df8ef36e7a3b02576c9a996.jpg","text":"TemporaryFile(/tmp/multipartBody5114083552603042259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426672997,"filename":"image_09012025_13_43_02_848461_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fb88f487ffda465ec31593be1b98cdbe.jpg","text":"TemporaryFile(/tmp/multipartBody795501876565125983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426672997,"filename":"image_09012025_13_42_02_753852_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7cd699d058dfe91c836583481ec368a2.jpg","text":"TemporaryFile(/tmp/multipartBody9179484951228682477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426672997,"filename":"image_09012025_13_43_02_848461_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661773","file1":"1327661770","file0":"1327661766","file3":"1327661777"},"map_files_photo_id_array":[{"photo_id":"1327661773","filename":"file2"},{"photo_id":"1327661770","filename":"file1"},{"photo_id":"1327661766","filename":"file0"},{"photo_id":"1327661777","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661773":["hashtag1","hashtag2"]},{"1327661770":["hashtag1","hashtag2"]},{"1327661766":["hashtag1","hashtag2"]},{"1327661777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661773, 1327661770, 1327661766, 1327661777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.78968667984009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:44:21.906514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/43/image_09012025_13_43_02_848461_0003.jpg', '/home/pi/Desktop/images/09012025/13/44/image_09012025_13_44_03_091157_0000.jpg', '/home/pi/Desktop/images/09012025/13/44/image_09012025_13_44_03_091157_0001.jpg', '/home/pi/Desktop/images/09012025/13/44/image_09012025_13_44_03_091157_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/43/image_09012025_13_43_02_848461_0003.jpg
/home/pi/Desktop/images/09012025/13/44/image_09012025_13_44_03_091157_0000.jpg
/home/pi/Desktop/images/09012025/13/44/image_09012025_13_44_03_091157_0001.jpg
/home/pi/Desktop/images/09012025/13/44/image_09012025_13_44_03_091157_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661810","1327661804","1327661797","1327661808"],"photo_ids_order":["1327661797","1327661804","1327661808","1327661810"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a0bc0b4983d05950d1a8b3d2ef662705.jpg","text":"TemporaryFile(/tmp/multipartBody4650988406508297630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426732059,"filename":"image_09012025_13_44_03_091157_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ce74b81ced07e0bbdafe6715b9cbaffc.jpg","text":"TemporaryFile(/tmp/multipartBody4132681603088625351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426732059,"filename":"image_09012025_13_44_03_091157_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7113d6a1dc30eb8eac69f3bb43ff415a.jpg","text":"TemporaryFile(/tmp/multipartBody2421652284214289927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426732059,"filename":"image_09012025_13_43_02_848461_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c66ef301e7b3b782a01b20ea6b2fcc0c.jpg","text":"TemporaryFile(/tmp/multipartBody1957155887315328405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426732059,"filename":"image_09012025_13_44_03_091157_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661808","file1":"1327661804","file0":"1327661797","file3":"1327661810"},"map_files_photo_id_array":[{"photo_id":"1327661808","filename":"file2"},{"photo_id":"1327661804","filename":"file1"},{"photo_id":"1327661797","filename":"file0"},{"photo_id":"1327661810","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661810":["hashtag1","hashtag2"]},{"1327661804":["hashtag1","hashtag2"]},{"1327661797":["hashtag1","hashtag2"]},{"1327661808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661810, 1327661804, 1327661797, 1327661808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.52812623977661 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:45:22.091075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/44/image_09012025_13_44_03_091157_0003.jpg', '/home/pi/Desktop/images/09012025/13/45/image_09012025_13_45_02_228713_0000.jpg', '/home/pi/Desktop/images/09012025/13/45/image_09012025_13_45_02_228713_0001.jpg', '/home/pi/Desktop/images/09012025/13/45/image_09012025_13_45_02_228713_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/44/image_09012025_13_44_03_091157_0003.jpg
/home/pi/Desktop/images/09012025/13/45/image_09012025_13_45_02_228713_0000.jpg
/home/pi/Desktop/images/09012025/13/45/image_09012025_13_45_02_228713_0001.jpg
/home/pi/Desktop/images/09012025/13/45/image_09012025_13_45_02_228713_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661830","1327661824","1327661818","1327661828"],"photo_ids_order":["1327661818","1327661824","1327661828","1327661830"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a43d7b02cdc42a436bcb6fd446daefad.jpg","text":"TemporaryFile(/tmp/multipartBody1112872807643554517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426791956,"filename":"image_09012025_13_45_02_228713_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d840c2af1c193a1f9b2ed3d6ef4a73bf.jpg","text":"TemporaryFile(/tmp/multipartBody4416065350352011425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426791956,"filename":"image_09012025_13_45_02_228713_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9281e97207ebf1aab75f44f01c26ed43.jpg","text":"TemporaryFile(/tmp/multipartBody8694225237969391685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426791956,"filename":"image_09012025_13_44_03_091157_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cfde53f4c15be9af35f39cc466eacccc.jpg","text":"TemporaryFile(/tmp/multipartBody3937037459681691714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426791956,"filename":"image_09012025_13_45_02_228713_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661828","file1":"1327661824","file0":"1327661818","file3":"1327661830"},"map_files_photo_id_array":[{"photo_id":"1327661828","filename":"file2"},{"photo_id":"1327661824","filename":"file1"},{"photo_id":"1327661818","filename":"file0"},{"photo_id":"1327661830","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661830":["hashtag1","hashtag2"]},{"1327661824":["hashtag1","hashtag2"]},{"1327661818":["hashtag1","hashtag2"]},{"1327661828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661830, 1327661824, 1327661818, 1327661828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.64810490608215 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:46:22.306728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/45/image_09012025_13_45_02_228713_0003.jpg', '/home/pi/Desktop/images/09012025/13/46/image_09012025_13_46_02_428928_0000.jpg', '/home/pi/Desktop/images/09012025/13/46/image_09012025_13_46_02_428928_0001.jpg', '/home/pi/Desktop/images/09012025/13/46/image_09012025_13_46_02_428928_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/45/image_09012025_13_45_02_228713_0003.jpg
/home/pi/Desktop/images/09012025/13/46/image_09012025_13_46_02_428928_0000.jpg
/home/pi/Desktop/images/09012025/13/46/image_09012025_13_46_02_428928_0001.jpg
/home/pi/Desktop/images/09012025/13/46/image_09012025_13_46_02_428928_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 9.681309223175049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 13:46:42.263419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/45/image_09012025_13_45_02_228713_0003.jpg', '/home/pi/Desktop/images/09012025/13/46/image_09012025_13_46_02_428928_0000.jpg', '/home/pi/Desktop/images/09012025/13/46/image_09012025_13_46_02_428928_0001.jpg', '/home/pi/Desktop/images/09012025/13/46/image_09012025_13_46_02_428928_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/45/image_09012025_13_45_02_228713_0003.jpg
/home/pi/Desktop/images/09012025/13/46/image_09012025_13_46_02_428928_0000.jpg
/home/pi/Desktop/images/09012025/13/46/image_09012025_13_46_02_428928_0001.jpg
/home/pi/Desktop/images/09012025/13/46/image_09012025_13_46_02_428928_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661860","1327661868","1327661862","1327661864"],"photo_ids_order":["1327661860","1327661862","1327661864","1327661868"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f561237beef3943dff51dd08ef5a51cf.jpg","text":"TemporaryFile(/tmp/multipartBody2140896899074336307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426872316,"filename":"image_09012025_13_45_02_228713_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/89aabd664190fc65503370928a6b0bef.jpg","text":"TemporaryFile(/tmp/multipartBody9055785629417055124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426872316,"filename":"image_09012025_13_46_02_428928_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9e0370e4477a63f0d1d6ff8ffd42d6a2.jpg","text":"TemporaryFile(/tmp/multipartBody2458945333986597559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426872316,"filename":"image_09012025_13_46_02_428928_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0bb12110bdef5e97b06fb19d6d877609.jpg","text":"TemporaryFile(/tmp/multipartBody3419808847516993892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426872316,"filename":"image_09012025_13_46_02_428928_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661864","file1":"1327661862","file0":"1327661860","file3":"1327661868"},"map_files_photo_id_array":[{"photo_id":"1327661864","filename":"file2"},{"photo_id":"1327661862","filename":"file1"},{"photo_id":"1327661860","filename":"file0"},{"photo_id":"1327661868","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661860":["hashtag1","hashtag2"]},{"1327661868":["hashtag1","hashtag2"]},{"1327661862":["hashtag1","hashtag2"]},{"1327661864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661860, 1327661868, 1327661862, 1327661864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.72856664657593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:47:22.491967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/46/image_09012025_13_46_02_428928_0003.jpg', '/home/pi/Desktop/images/09012025/13/47/image_09012025_13_47_02_658860_0000.jpg', '/home/pi/Desktop/images/09012025/13/47/image_09012025_13_47_02_658860_0001.jpg', '/home/pi/Desktop/images/09012025/13/47/image_09012025_13_47_02_658860_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/46/image_09012025_13_46_02_428928_0003.jpg
/home/pi/Desktop/images/09012025/13/47/image_09012025_13_47_02_658860_0000.jpg
/home/pi/Desktop/images/09012025/13/47/image_09012025_13_47_02_658860_0001.jpg
/home/pi/Desktop/images/09012025/13/47/image_09012025_13_47_02_658860_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661889","1327661892","1327661880","1327661885"],"photo_ids_order":["1327661880","1327661885","1327661889","1327661892"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d3f1f8419f2519ac6104e887a9961c5e.jpg","text":"TemporaryFile(/tmp/multipartBody2990898284787296879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426912683,"filename":"image_09012025_13_47_02_658860_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ada028e2c025980107630ca757baca7a.jpg","text":"TemporaryFile(/tmp/multipartBody8471706851468303699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426912683,"filename":"image_09012025_13_47_02_658860_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2f61ed62fb3b13483ad34c9b498cfbc9.jpg","text":"TemporaryFile(/tmp/multipartBody1677750645969402439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426912683,"filename":"image_09012025_13_46_02_428928_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ac55582763f18bfc8c5d005fab66a192.jpg","text":"TemporaryFile(/tmp/multipartBody7241762968929548700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426912683,"filename":"image_09012025_13_47_02_658860_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661889","file1":"1327661885","file0":"1327661880","file3":"1327661892"},"map_files_photo_id_array":[{"photo_id":"1327661889","filename":"file2"},{"photo_id":"1327661885","filename":"file1"},{"photo_id":"1327661880","filename":"file0"},{"photo_id":"1327661892","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661889":["hashtag1","hashtag2"]},{"1327661892":["hashtag1","hashtag2"]},{"1327661880":["hashtag1","hashtag2"]},{"1327661885":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661889, 1327661892, 1327661880, 1327661885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.51567339897156 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:48:22.713181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/47/image_09012025_13_47_02_658860_0003.jpg', '/home/pi/Desktop/images/09012025/13/48/image_09012025_13_48_02_862073_0000.jpg', '/home/pi/Desktop/images/09012025/13/48/image_09012025_13_48_02_862073_0001.jpg', '/home/pi/Desktop/images/09012025/13/48/image_09012025_13_48_02_862073_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/47/image_09012025_13_47_02_658860_0003.jpg
/home/pi/Desktop/images/09012025/13/48/image_09012025_13_48_02_862073_0000.jpg
/home/pi/Desktop/images/09012025/13/48/image_09012025_13_48_02_862073_0001.jpg
/home/pi/Desktop/images/09012025/13/48/image_09012025_13_48_02_862073_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661920","1327661923","1327661917","1327661912"],"photo_ids_order":["1327661912","1327661917","1327661920","1327661923"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/754e901c6d19b1cdc3f2b9c8fa6265ef.jpg","text":"TemporaryFile(/tmp/multipartBody1214688434021951756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426973008,"filename":"image_09012025_13_48_02_862073_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1648c025d073bc54c21e5fc96ceb885e.jpg","text":"TemporaryFile(/tmp/multipartBody5675419004276491406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426973008,"filename":"image_09012025_13_48_02_862073_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cfbf4688cae3b95f0f0dbf4ed50b54f3.jpg","text":"TemporaryFile(/tmp/multipartBody6080127617558958968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426973008,"filename":"image_09012025_13_48_02_862073_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/abd4b161cbb6e1e522215c089858b235.jpg","text":"TemporaryFile(/tmp/multipartBody5359566450612869905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736426973008,"filename":"image_09012025_13_47_02_658860_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661920","file1":"1327661917","file0":"1327661912","file3":"1327661923"},"map_files_photo_id_array":[{"photo_id":"1327661920","filename":"file2"},{"photo_id":"1327661917","filename":"file1"},{"photo_id":"1327661912","filename":"file0"},{"photo_id":"1327661923","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661920":["hashtag1","hashtag2"]},{"1327661923":["hashtag1","hashtag2"]},{"1327661917":["hashtag1","hashtag2"]},{"1327661912":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661920, 1327661923, 1327661917, 1327661912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.59463834762573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:49:21.797401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/48/image_09012025_13_48_02_862073_0003.jpg', '/home/pi/Desktop/images/09012025/13/49/image_09012025_13_49_03_011893_0000.jpg', '/home/pi/Desktop/images/09012025/13/49/image_09012025_13_49_03_011893_0001.jpg', '/home/pi/Desktop/images/09012025/13/49/image_09012025_13_49_03_011893_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/48/image_09012025_13_48_02_862073_0003.jpg
/home/pi/Desktop/images/09012025/13/49/image_09012025_13_49_03_011893_0000.jpg
/home/pi/Desktop/images/09012025/13/49/image_09012025_13_49_03_011893_0001.jpg
/home/pi/Desktop/images/09012025/13/49/image_09012025_13_49_03_011893_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661947","1327661944","1327661940","1327661934"],"photo_ids_order":["1327661934","1327661940","1327661944","1327661947"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f83135b780d99dfcd3bac48d6783e21e.jpg","text":"TemporaryFile(/tmp/multipartBody4684399646901264644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427031834,"filename":"image_09012025_13_49_03_011893_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d4de28e77d682dd2ea1d27fde252c9a6.jpg","text":"TemporaryFile(/tmp/multipartBody2728011400036651934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427031834,"filename":"image_09012025_13_49_03_011893_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8b20217853d5cde69ad73500870d6f75.jpg","text":"TemporaryFile(/tmp/multipartBody3484834295234765953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427031834,"filename":"image_09012025_13_49_03_011893_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e641c2f6a2d6fea0edb128c452b82794.jpg","text":"TemporaryFile(/tmp/multipartBody2649829908584426330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427031834,"filename":"image_09012025_13_48_02_862073_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661944","file1":"1327661940","file0":"1327661934","file3":"1327661947"},"map_files_photo_id_array":[{"photo_id":"1327661944","filename":"file2"},{"photo_id":"1327661940","filename":"file1"},{"photo_id":"1327661934","filename":"file0"},{"photo_id":"1327661947","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661947":["hashtag1","hashtag2"]},{"1327661944":["hashtag1","hashtag2"]},{"1327661940":["hashtag1","hashtag2"]},{"1327661934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661947, 1327661944, 1327661940, 1327661934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.20524191856384 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:50:02.317470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:50:21.895157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/49/image_09012025_13_49_03_011893_0003.jpg', '/home/pi/Desktop/images/09012025/13/50/image_09012025_13_50_02_165600_0000.jpg', '/home/pi/Desktop/images/09012025/13/50/image_09012025_13_50_02_165600_0001.jpg', '/home/pi/Desktop/images/09012025/13/50/image_09012025_13_50_02_165600_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/49/image_09012025_13_49_03_011893_0003.jpg
/home/pi/Desktop/images/09012025/13/50/image_09012025_13_50_02_165600_0000.jpg
/home/pi/Desktop/images/09012025/13/50/image_09012025_13_50_02_165600_0001.jpg
/home/pi/Desktop/images/09012025/13/50/image_09012025_13_50_02_165600_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661976","1327661973","1327661960","1327661966"],"photo_ids_order":["1327661960","1327661966","1327661973","1327661976"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0056c58b47b548a0bc750fe56b279bef.jpg","text":"TemporaryFile(/tmp/multipartBody3277801449896018782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427092258,"filename":"image_09012025_13_50_02_165600_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5ebf8fd5e68ff06c81e6b098240d4fa2.jpg","text":"TemporaryFile(/tmp/multipartBody4338407433956256501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427092258,"filename":"image_09012025_13_50_02_165600_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/deb2a428ea4f765c98f24b2ac5cbe9c0.jpg","text":"TemporaryFile(/tmp/multipartBody7172870351187602611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427092258,"filename":"image_09012025_13_49_03_011893_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f907ecf77e2577415765bbaf438c8ae9.jpg","text":"TemporaryFile(/tmp/multipartBody3282964313310374631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427092258,"filename":"image_09012025_13_50_02_165600_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661973","file1":"1327661966","file0":"1327661960","file3":"1327661976"},"map_files_photo_id_array":[{"photo_id":"1327661973","filename":"file2"},{"photo_id":"1327661966","filename":"file1"},{"photo_id":"1327661960","filename":"file0"},{"photo_id":"1327661976","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661976":["hashtag1","hashtag2"]},{"1327661973":["hashtag1","hashtag2"]},{"1327661960":["hashtag1","hashtag2"]},{"1327661966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661976, 1327661973, 1327661960, 1327661966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 42.45739221572876 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:51:22.153798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/50/image_09012025_13_50_02_165600_0003.jpg', '/home/pi/Desktop/images/09012025/13/51/image_09012025_13_51_02_369099_0000.jpg', '/home/pi/Desktop/images/09012025/13/51/image_09012025_13_51_02_369099_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/50/image_09012025_13_50_02_165600_0003.jpg
/home/pi/Desktop/images/09012025/13/51/image_09012025_13_51_02_369099_0000.jpg
/home/pi/Desktop/images/09012025/13/51/image_09012025_13_51_02_369099_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327661989","1327661997","1327661993"],"photo_ids_order":["1327661989","1327661993","1327661997"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a5cea84d4a3063df07769b92c26056a7.jpg","text":"TemporaryFile(/tmp/multipartBody2518062705212719344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427149986,"filename":"image_09012025_13_50_02_165600_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/795a72439a79ff953d87c1b2176953b9.jpg","text":"TemporaryFile(/tmp/multipartBody1124752899295031504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427149986,"filename":"image_09012025_13_51_02_369099_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/44017a1a2a41a27945c190f746f7214a.jpg","text":"TemporaryFile(/tmp/multipartBody3816330163019390508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427149986,"filename":"image_09012025_13_51_02_369099_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327661997","file1":"1327661993","file0":"1327661989"},"map_files_photo_id_array":[{"photo_id":"1327661997","filename":"file2"},{"photo_id":"1327661993","filename":"file1"},{"photo_id":"1327661989","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327661989":["hashtag1","hashtag2"]},{"1327661997":["hashtag1","hashtag2"]},{"1327661993":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327661989, 1327661997, 1327661993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 30.86269187927246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:52:02.589386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:52:22.265610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/51/image_09012025_13_51_02_369099_0003.jpg', '/home/pi/Desktop/images/09012025/13/52/image_09012025_13_52_02_445187_0000.jpg', '/home/pi/Desktop/images/09012025/13/52/image_09012025_13_52_02_445187_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/51/image_09012025_13_51_02_369099_0003.jpg
/home/pi/Desktop/images/09012025/13/52/image_09012025_13_52_02_445187_0000.jpg
/home/pi/Desktop/images/09012025/13/52/image_09012025_13_52_02_445187_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327662016","1327662007","1327662012"],"photo_ids_order":["1327662007","1327662012","1327662016"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9cb40e58588208cdafab8787025a34ca.jpg","text":"TemporaryFile(/tmp/multipartBody3972400738766586105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427209981,"filename":"image_09012025_13_52_02_445187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/46789193706256304425ea43f6d5da35.jpg","text":"TemporaryFile(/tmp/multipartBody8597467129441419337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427209981,"filename":"image_09012025_13_51_02_369099_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a78f27f575a95134f24b5d855c8e25b0.jpg","text":"TemporaryFile(/tmp/multipartBody3778968564369577914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427209981,"filename":"image_09012025_13_52_02_445187_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327662016","file1":"1327662012","file0":"1327662007"},"map_files_photo_id_array":[{"photo_id":"1327662016","filename":"file2"},{"photo_id":"1327662012","filename":"file1"},{"photo_id":"1327662007","filename":"file0"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327662016":["hashtag1","hashtag2"]},{"1327662007":["hashtag1","hashtag2"]},{"1327662012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327662016, 1327662007, 1327662012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 32.09083104133606 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:53:03.070153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:53:22.479671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/52/image_09012025_13_52_02_445187_0003.jpg', '/home/pi/Desktop/images/09012025/13/53/image_09012025_13_53_02_662407_0000.jpg', '/home/pi/Desktop/images/09012025/13/53/image_09012025_13_53_02_662407_0001.jpg', '/home/pi/Desktop/images/09012025/13/53/image_09012025_13_53_02_662407_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/52/image_09012025_13_52_02_445187_0003.jpg
/home/pi/Desktop/images/09012025/13/53/image_09012025_13_53_02_662407_0000.jpg
/home/pi/Desktop/images/09012025/13/53/image_09012025_13_53_02_662407_0001.jpg
/home/pi/Desktop/images/09012025/13/53/image_09012025_13_53_02_662407_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327662049","1327662040","1327662034","1327662045"],"photo_ids_order":["1327662034","1327662040","1327662045","1327662049"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fba6613a92fe359b8eb9a25687122f0f.jpg","text":"TemporaryFile(/tmp/multipartBody1404434048749308931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427272633,"filename":"image_09012025_13_53_02_662407_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4d8b27a4b891154d622d549471d8a956.jpg","text":"TemporaryFile(/tmp/multipartBody5081328238249744868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427272633,"filename":"image_09012025_13_53_02_662407_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8983ff943075de40c9658aa7ac28e8ec.jpg","text":"TemporaryFile(/tmp/multipartBody7421648951133818071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427272633,"filename":"image_09012025_13_52_02_445187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/32a9360099a9a66f3960e881dccf097b.jpg","text":"TemporaryFile(/tmp/multipartBody9188229184892164735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427272633,"filename":"image_09012025_13_53_02_662407_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327662045","file1":"1327662040","file0":"1327662034","file3":"1327662049"},"map_files_photo_id_array":[{"photo_id":"1327662045","filename":"file2"},{"photo_id":"1327662040","filename":"file1"},{"photo_id":"1327662034","filename":"file0"},{"photo_id":"1327662049","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327662049":["hashtag1","hashtag2"]},{"1327662040":["hashtag1","hashtag2"]},{"1327662034":["hashtag1","hashtag2"]},{"1327662045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327662049, 1327662040, 1327662034, 1327662045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.26161193847656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:54:02.979819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241225 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241226 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241227 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241228 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241229 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241230 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20241231 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250104 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:54:22.705646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/53/image_09012025_13_53_02_662407_0003.jpg', '/home/pi/Desktop/images/09012025/13/54/image_09012025_13_54_02_802112_0000.jpg', '/home/pi/Desktop/images/09012025/13/54/image_09012025_13_54_02_802112_0001.jpg', '/home/pi/Desktop/images/09012025/13/54/image_09012025_13_54_02_802112_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/53/image_09012025_13_53_02_662407_0003.jpg
/home/pi/Desktop/images/09012025/13/54/image_09012025_13_54_02_802112_0000.jpg
/home/pi/Desktop/images/09012025/13/54/image_09012025_13_54_02_802112_0001.jpg
/home/pi/Desktop/images/09012025/13/54/image_09012025_13_54_02_802112_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327662081","1327662069","1327662074","1327662079"],"photo_ids_order":["1327662069","1327662074","1327662079","1327662081"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ccd6c059bdf4180b3200e4179ea5c8ed.jpg","text":"TemporaryFile(/tmp/multipartBody4902532588243497675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427332867,"filename":"image_09012025_13_54_02_802112_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/23876c3fe85e7dffc913225864b17771.jpg","text":"TemporaryFile(/tmp/multipartBody2955708879098078883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427332867,"filename":"image_09012025_13_53_02_662407_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/610de2d0e17cf1c73ee7b39d9bbb95f7.jpg","text":"TemporaryFile(/tmp/multipartBody3163616531963634343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427332867,"filename":"image_09012025_13_54_02_802112_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5f6e2b2efa94379907becf57e5b5a901.jpg","text":"TemporaryFile(/tmp/multipartBody3748374098874624297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427332867,"filename":"image_09012025_13_54_02_802112_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327662079","file1":"1327662074","file0":"1327662069","file3":"1327662081"},"map_files_photo_id_array":[{"photo_id":"1327662079","filename":"file2"},{"photo_id":"1327662074","filename":"file1"},{"photo_id":"1327662069","filename":"file0"},{"photo_id":"1327662081","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327662081":["hashtag1","hashtag2"]},{"1327662069":["hashtag1","hashtag2"]},{"1327662074":["hashtag1","hashtag2"]},{"1327662079":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327662081, 1327662069, 1327662074, 1327662079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.47261929512024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:55:21.889480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/54/image_09012025_13_54_02_802112_0003.jpg', '/home/pi/Desktop/images/09012025/13/55/image_09012025_13_55_03_061758_0000.jpg', '/home/pi/Desktop/images/09012025/13/55/image_09012025_13_55_03_061758_0001.jpg', '/home/pi/Desktop/images/09012025/13/55/image_09012025_13_55_03_061758_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/54/image_09012025_13_54_02_802112_0003.jpg
/home/pi/Desktop/images/09012025/13/55/image_09012025_13_55_03_061758_0000.jpg
/home/pi/Desktop/images/09012025/13/55/image_09012025_13_55_03_061758_0001.jpg
/home/pi/Desktop/images/09012025/13/55/image_09012025_13_55_03_061758_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327662094","1327662100","1327662106","1327662104"],"photo_ids_order":["1327662094","1327662100","1327662104","1327662106"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/838bce47727d49b42891315fd7d12ac3.jpg","text":"TemporaryFile(/tmp/multipartBody2604963810078441876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427391950,"filename":"image_09012025_13_54_02_802112_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/970649f14ac99106b167185237775cd9.jpg","text":"TemporaryFile(/tmp/multipartBody6126503262121015511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427391950,"filename":"image_09012025_13_55_03_061758_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6005a34e99d743264ab946f863d77a02.jpg","text":"TemporaryFile(/tmp/multipartBody5542765913883409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427391950,"filename":"image_09012025_13_55_03_061758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/163283b336ae49776b1aa038e6380cc8.jpg","text":"TemporaryFile(/tmp/multipartBody5351440560072023433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427391950,"filename":"image_09012025_13_55_03_061758_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327662104","file1":"1327662100","file0":"1327662094","file3":"1327662106"},"map_files_photo_id_array":[{"photo_id":"1327662104","filename":"file2"},{"photo_id":"1327662100","filename":"file1"},{"photo_id":"1327662094","filename":"file0"},{"photo_id":"1327662106","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327662094":["hashtag1","hashtag2"]},{"1327662100":["hashtag1","hashtag2"]},{"1327662106":["hashtag1","hashtag2"]},{"1327662104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327662094, 1327662100, 1327662106, 1327662104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 43.097551584243774 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:56:22.047270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/55/image_09012025_13_55_03_061758_0003.jpg', '/home/pi/Desktop/images/09012025/13/56/image_09012025_13_56_02_278137_0000.jpg', '/home/pi/Desktop/images/09012025/13/56/image_09012025_13_56_02_278137_0001.jpg', '/home/pi/Desktop/images/09012025/13/56/image_09012025_13_56_02_278137_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/55/image_09012025_13_55_03_061758_0003.jpg
/home/pi/Desktop/images/09012025/13/56/image_09012025_13_56_02_278137_0000.jpg
/home/pi/Desktop/images/09012025/13/56/image_09012025_13_56_02_278137_0001.jpg
/home/pi/Desktop/images/09012025/13/56/image_09012025_13_56_02_278137_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327662126","1327662114","1327662123","1327662119"],"photo_ids_order":["1327662114","1327662119","1327662123","1327662126"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/facab4ee9e4796d6745c25a3a54bce8f.jpg","text":"TemporaryFile(/tmp/multipartBody4619699088952782755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427452232,"filename":"image_09012025_13_56_02_278137_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c0c5c37dec65b2c6205868be42e74e10.jpg","text":"TemporaryFile(/tmp/multipartBody741117064244598976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427452232,"filename":"image_09012025_13_55_03_061758_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fe9ad78eda9b76311f3af13075344264.jpg","text":"TemporaryFile(/tmp/multipartBody6970968451831291584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427452232,"filename":"image_09012025_13_56_02_278137_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c9debb25995c7015cadf71a000526db2.jpg","text":"TemporaryFile(/tmp/multipartBody8456198117044056571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427452232,"filename":"image_09012025_13_56_02_278137_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327662123","file1":"1327662119","file0":"1327662114","file3":"1327662126"},"map_files_photo_id_array":[{"photo_id":"1327662123","filename":"file2"},{"photo_id":"1327662119","filename":"file1"},{"photo_id":"1327662114","filename":"file0"},{"photo_id":"1327662126","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327662126":["hashtag1","hashtag2"]},{"1327662114":["hashtag1","hashtag2"]},{"1327662123":["hashtag1","hashtag2"]},{"1327662119":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327662126, 1327662114, 1327662123, 1327662119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.606545209884644 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 13:57:22.193049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/56/image_09012025_13_56_02_278137_0003.jpg', '/home/pi/Desktop/images/09012025/13/57/image_09012025_13_57_02_420033_0000.jpg', '/home/pi/Desktop/images/09012025/13/57/image_09012025_13_57_02_420033_0001.jpg', '/home/pi/Desktop/images/09012025/13/57/image_09012025_13_57_02_420033_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/56/image_09012025_13_56_02_278137_0003.jpg
/home/pi/Desktop/images/09012025/13/57/image_09012025_13_57_02_420033_0000.jpg
/home/pi/Desktop/images/09012025/13/57/image_09012025_13_57_02_420033_0001.jpg
/home/pi/Desktop/images/09012025/13/57/image_09012025_13_57_02_420033_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 13:59:03.176028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/56/image_09012025_13_56_02_278137_0003.jpg', '/home/pi/Desktop/images/09012025/13/57/image_09012025_13_57_02_420033_0000.jpg', '/home/pi/Desktop/images/09012025/13/57/image_09012025_13_57_02_420033_0001.jpg', '/home/pi/Desktop/images/09012025/13/57/image_09012025_13_57_02_420033_0002.jpg', '/home/pi/Desktop/images/09012025/13/57/image_09012025_13_57_02_420033_0003.jpg', '/home/pi/Desktop/images/09012025/13/58/image_09012025_13_58_02_578562_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/56/image_09012025_13_56_02_278137_0003.jpg
/home/pi/Desktop/images/09012025/13/57/image_09012025_13_57_02_420033_0000.jpg
/home/pi/Desktop/images/09012025/13/57/image_09012025_13_57_02_420033_0001.jpg
/home/pi/Desktop/images/09012025/13/57/image_09012025_13_57_02_420033_0002.jpg
/home/pi/Desktop/images/09012025/13/57/image_09012025_13_57_02_420033_0003.jpg
/home/pi/Desktop/images/09012025/13/58/image_09012025_13_58_02_578562_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327662210","1327662204","1327662213","1327662207","1327662185","1327662196"],"photo_ids_order":["1327662185","1327662196","1327662204","1327662207","1327662210","1327662213"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2884c0e32882c59642722b38d5223087.jpg","text":"TemporaryFile(/tmp/multipartBody1683358303723450273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427618099,"filename":"image_09012025_13_57_02_420033_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1bd0b1b9054f10a9b8dc7485fe8f02d0.jpg","text":"TemporaryFile(/tmp/multipartBody5935354102020388053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427618099,"filename":"image_09012025_13_57_02_420033_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c81b03dc154fb849467ab763422eea48.jpg","text":"TemporaryFile(/tmp/multipartBody6200104211599660528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427618099,"filename":"image_09012025_13_58_02_578562_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/012095f1512da78c9ef43e0c35a84f34.jpg","text":"TemporaryFile(/tmp/multipartBody7817457108581752361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427618099,"filename":"image_09012025_13_57_02_420033_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/563cf8f6df770150f145bc81a785396c.jpg","text":"TemporaryFile(/tmp/multipartBody5100441905779573016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427618099,"filename":"image_09012025_13_56_02_278137_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/10b1ae41f257c41b466901ce355ce331.jpg","text":"TemporaryFile(/tmp/multipartBody7984112089989102590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427618099,"filename":"image_09012025_13_57_02_420033_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327662204","file1":"1327662196","file0":"1327662185","file4":"1327662210","file5":"1327662213","file3":"1327662207"},"map_files_photo_id_array":[{"photo_id":"1327662213","filename":"file5"},{"photo_id":"1327662204","filename":"file2"},{"photo_id":"1327662210","filename":"file4"},{"photo_id":"1327662196","filename":"file1"},{"photo_id":"1327662185","filename":"file0"},{"photo_id":"1327662207","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327662210":["hashtag1","hashtag2"]},{"1327662204":["hashtag1","hashtag2"]},{"1327662213":["hashtag1","hashtag2"]},{"1327662207":["hashtag1","hashtag2"]},{"1327662185":["hashtag1","hashtag2"]},{"1327662196":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327662210, 1327662204, 1327662213, 1327662207, 1327662185, 1327662196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.84111309051514 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:00:03.195480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/58/image_09012025_13_58_02_578562_0001.jpg', '/home/pi/Desktop/images/09012025/13/58/image_09012025_13_58_02_578562_0002.jpg', '/home/pi/Desktop/images/09012025/13/58/image_09012025_13_58_02_578562_0003.jpg', '/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0000.jpg', '/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0001.jpg', '/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/58/image_09012025_13_58_02_578562_0001.jpg
/home/pi/Desktop/images/09012025/13/58/image_09012025_13_58_02_578562_0002.jpg
/home/pi/Desktop/images/09012025/13/58/image_09012025_13_58_02_578562_0003.jpg
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0000.jpg
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0001.jpg
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0002.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 14.538352966308594 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:00:22.676956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/58/image_09012025_13_58_02_578562_0001.jpg', '/home/pi/Desktop/images/09012025/13/58/image_09012025_13_58_02_578562_0002.jpg', '/home/pi/Desktop/images/09012025/13/58/image_09012025_13_58_02_578562_0003.jpg', '/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0000.jpg', '/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0001.jpg', '/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/58/image_09012025_13_58_02_578562_0001.jpg
/home/pi/Desktop/images/09012025/13/58/image_09012025_13_58_02_578562_0002.jpg
/home/pi/Desktop/images/09012025/13/58/image_09012025_13_58_02_578562_0003.jpg
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0000.jpg
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0001.jpg
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327662285","1327662273","1327662279","1327662281","1327662269","1327662262"],"photo_ids_order":["1327662262","1327662269","1327662273","1327662279","1327662281","1327662285"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c08ba9e01e8b818a899534f962e5b314.jpg","text":"TemporaryFile(/tmp/multipartBody8141815108844061241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427697569,"filename":"image_09012025_13_59_02_761317_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b400abad4789da49564e2f49051eafb8.jpg","text":"TemporaryFile(/tmp/multipartBody5439790008184328225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427697569,"filename":"image_09012025_13_58_02_578562_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fd8d18aa6dde4169eff3670b6c24ca2e.jpg","text":"TemporaryFile(/tmp/multipartBody7753830474436826590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427697569,"filename":"image_09012025_13_59_02_761317_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c15533262f44f0eeff7817745f7a733b.jpg","text":"TemporaryFile(/tmp/multipartBody2283722688331970946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427697569,"filename":"image_09012025_13_59_02_761317_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c0e298a2b0df79ae7a363e703a5290a7.jpg","text":"TemporaryFile(/tmp/multipartBody7870655073400401581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427697569,"filename":"image_09012025_13_58_02_578562_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5aa17a6fc305db0d0e302c1df1a0bd00.jpg","text":"TemporaryFile(/tmp/multipartBody4263399564397948640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736427697569,"filename":"image_09012025_13_58_02_578562_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327662273","file1":"1327662269","file0":"1327662262","file4":"1327662281","file5":"1327662285","file3":"1327662279"},"map_files_photo_id_array":[{"photo_id":"1327662285","filename":"file5"},{"photo_id":"1327662273","filename":"file2"},{"photo_id":"1327662281","filename":"file4"},{"photo_id":"1327662269","filename":"file1"},{"photo_id":"1327662262","filename":"file0"},{"photo_id":"1327662279","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327662285":["hashtag1","hashtag2"]},{"1327662273":["hashtag1","hashtag2"]},{"1327662279":["hashtag1","hashtag2"]},{"1327662281":["hashtag1","hashtag2"]},{"1327662269":["hashtag1","hashtag2"]},{"1327662262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327662285, 1327662273, 1327662279, 1327662281, 1327662269, 1327662262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.74569821357727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:01:21.928113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>88510ild2</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>88510ild2</strong>.
uploaded 0 photos
time to upload: 47.29882216453552 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:02:22.116026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.92662763595581 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:02:42.080380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.147334575653076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:03:02.984471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.168039798736572 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:03:22.302309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.067812442779541 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:03:42.248275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 ('Connection aborted.', OSError("(32, 'EPIPE')"))
cannot unpack non-iterable int object
time to upload: 30.396418571472168 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:04:22.466266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.109787225723267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:04:42.418382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.93605899810791 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:05:03.233090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.036507368087769 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:05:22.666909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.922441244125366 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:05:42.575396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.952036380767822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:06:02.127090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.99817156791687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:06:21.859002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.892990112304688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:06:41.802860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.133004426956177 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:07:02.636159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.26319932937622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:07:22.018661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.015570878982544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:07:41.983080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.142311573028564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:08:02.621917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.034864664077759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:08:22.198011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.983031749725342 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:08:42.182194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.955987930297852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:09:02.894010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.098660469055176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:09:22.410313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.10563850402832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:09:42.306586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.112204551696777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:10:02.930170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.032268047332764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:10:22.526741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.159815073013306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:10:42.525363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.058225870132446 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:11:03.343938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.090230941772461 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:11:22.744496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.101155757904053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:11:42.662662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.884490966796875 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:12:02.284000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.133543014526367 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:12:21.818107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.952021360397339 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:12:41.880467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.1933114528656 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:13:02.565380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.234976768493652 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:13:22.026877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.05701732635498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:13:42.006640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.007509469985962 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:14:02.633837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.997509956359863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:14:22.209065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.934629678726196 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:14:42.221898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.157589435577393 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:15:03.019155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.963104486465454 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:15:22.468071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.037959337234497 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:15:42.334026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.897741079330444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:16:02.982464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.119525909423828 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:16:22.677619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.991281032562256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:16:42.658471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.926920175552368 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:17:03.367675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.05980634689331 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:17:22.775266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.907866954803467 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:17:42.749881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.920276403427124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:18:02.196276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.09870171546936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:18:21.927902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.920629501342773 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:18:41.921350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.033483982086182 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:19:02.609632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.205230712890625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:19:22.110555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.03552794456482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:19:42.036813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.897584199905396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:20:02.721512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.262089014053345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:20:22.238814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.175034761428833 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:20:42.275381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.972510814666748 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:21:03.020569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.228299379348755 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:21:22.374296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.105448484420776 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:21:42.369932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.928813934326172 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:22:02.987888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.137297868728638 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:22:22.569589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.0780930519104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:22:42.596964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.297273874282837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:23:03.369100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.241212606430054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:23:22.784843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.086368083953857 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:23:42.787825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.1282377243042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:24:02.324130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.11085820198059 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:24:22.042602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.055463314056396 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:24:41.981870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.199037551879883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:25:02.934552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.116602182388306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:25:22.373406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.072874784469604 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:25:42.251043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.97264289855957 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:26:02.955004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.111746788024902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:26:22.615913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.085187435150146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:26:42.460612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.924314260482788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:27:03.384569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.929915189743042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:27:22.730675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.073884725570679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:27:42.713962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.03971791267395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:28:02.318897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.998687982559204 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:28:21.848735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.046564102172852 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:28:41.845117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.259454011917114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:29:02.699912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.035161018371582 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:29:22.039181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.875229597091675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:29:42.118611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.09498906135559 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:30:02.639786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.987019538879395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:30:22.203398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.939336776733398 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:30:42.164258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.095314264297485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:31:03.090096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.152876615524292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:31:22.406886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.958988904953003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:31:42.371813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.093778133392334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:32:03.003652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.908693075180054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:32:22.608194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.223010778427124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:32:42.570192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.07064414024353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:33:03.384646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.148433446884155 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:33:22.821830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.01890516281128 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:33:42.726632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.949177742004395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:34:02.383359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.081271171569824 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:34:22.004765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.191415309906006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:34:41.964776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.161874294281006 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:35:02.620214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.169434309005737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:35:22.099081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.090057849884033 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:35:42.118994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.10045051574707 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:36:02.810113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.135228157043457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:36:22.375251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.218093872070312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:36:42.370084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.085697889328003 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:37:03.227628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.187857866287231 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:37:22.544960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.931032180786133 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:37:42.593528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.939505815505981 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:38:03.132995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.08584451675415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:38:22.760445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.140024423599243 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:38:42.771126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.133976459503174 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:39:02.499697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.0333731174469 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:39:21.937812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.958285331726074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:39:41.895562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.036338806152344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:40:02.437280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.989972591400146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:40:22.159206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.053226470947266 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:40:42.102987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.095390558242798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:41:02.795955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.287720203399658 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:41:22.263021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.933334112167358 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:41:42.246558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.129867792129517 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:42:02.786419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.200777530670166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:42:22.403540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.012732744216919 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:42:42.393368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.074462652206421 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:43:03.285942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.009106874465942 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:43:22.545813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.937023878097534 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:43:42.612491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.947578430175781 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:44:03.185517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.977713584899902 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:44:22.713364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.082805156707764 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:44:42.782654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.114012956619263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:45:02.556189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.279971361160278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:45:21.934873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.978225708007812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:45:41.906487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.083603143692017 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:46:02.569647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.943704843521118 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:46:22.121405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.126129150390625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:46:42.081382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.033981323242188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:47:02.943068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.0878164768219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:47:22.301065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.068381547927856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:47:42.282585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.972521543502808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:48:02.858620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.160630941390991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:48:22.557364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.950493574142456 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:48:42.454679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.94931411743164 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:49:03.279043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.241748332977295 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:49:22.662877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.078335285186768 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:49:42.690752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.973775625228882 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:50:02.262735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.00846791267395 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:50:21.868769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.930490016937256 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:50:41.857291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.973828792572021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:51:02.625600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.038493871688843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:51:22.023663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.952662467956543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:51:42.074325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.005467176437378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:52:02.603285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.057029247283936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:52:22.294179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.018121719360352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:52:42.227004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.175899028778076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:53:03.102901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.094245195388794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:53:22.482949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.929188013076782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:53:42.389677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.97031044960022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:54:03.056535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.056640863418579 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:54:22.716859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.055018663406372 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:54:42.623461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.931573390960693 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:55:02.385707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.341487407684326 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:55:21.821580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.041906833648682 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:55:41.801052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.957725524902344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:56:02.406117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.19090223312378 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:56:22.059062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.072729587554932 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:56:42.105784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.99980092048645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:57:02.735716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.110778570175171 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:57:22.223738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.946240663528442 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:57:42.204328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.94434928894043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 14:59:03.041216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.131096124649048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 14:59:22.498335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.05824613571167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 14:59:42.522725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.104005098342896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:00:03.124628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.94365406036377 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:00:22.692321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.02233338356018 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:00:42.680607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.123085737228394 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:01:02.438145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.188614845275879 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:01:21.976790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.97353982925415 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:01:41.867968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.927926063537598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:02:02.557034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.056791305541992 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:02:22.111792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.961335897445679 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:02:42.065255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.061450004577637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:03:02.897462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.259842157363892 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:03:22.310236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.004596471786499 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:03:42.237566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.105658292770386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:04:02.843805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.928480863571167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:04:22.472239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.934932231903076 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:04:42.397913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.888890266418457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:05:02.969644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.104991674423218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:05:22.593744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.013149976730347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:05:42.557606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.102776765823364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:06:03.157847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.93476152420044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:06:22.711935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.949290752410889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:06:42.723935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.075496196746826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:07:02.574201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.297987699508667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:07:21.882927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.10342025756836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:07:41.955988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.961552381515503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:08:02.511828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.06696367263794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:08:22.130023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.929871797561646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:08:42.102479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.191147327423096 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:09:02.814997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.029271125793457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:09:22.288411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.909590482711792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:09:42.342351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.982030153274536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:10:02.817680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.091995239257812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:10:22.511945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.121474266052246 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:10:42.410921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.972849369049072 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:11:03.166403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.066986322402954 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:11:22.637070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.999985456466675 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:11:42.684395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.050427913665771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:12:02.159747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.97078013420105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:12:21.895600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.998684167861938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:12:41.784565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.000782489776611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:13:02.671926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.977367401123047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:13:22.047859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.036573648452759 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:13:42.048549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.122703075408936 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:14:02.696955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.143793106079102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:14:22.254188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.232504606246948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:14:42.289005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.064107179641724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:15:03.185272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.02454662322998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:15:22.532980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.933425664901733 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:15:42.481691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.095706701278687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:16:03.261768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.880509614944458 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:16:22.714573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.943011045455933 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:16:42.711867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.917179822921753 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:17:02.440137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.294331073760986 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:17:21.880829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.114925861358643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:17:41.899469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.934358358383179 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:18:02.426025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.229827880859375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:18:22.051757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.109169483184814 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:18:41.983115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.16665768623352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:19:02.830888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.215193748474121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:19:22.237531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.002511739730835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:19:42.194792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.159507274627686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:20:02.851890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.156741857528687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:20:22.429660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.103204488754272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:20:42.422134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.918493032455444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:21:03.120663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.087948083877563 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:21:22.567225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.951234579086304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:21:42.641505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.042948961257935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:22:02.211370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.918512105941772 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:22:21.747927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.103797435760498 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:22:41.751492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.04065465927124 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:23:02.706214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.043292999267578 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:23:22.098853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.909075736999512 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:23:42.088760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.131833791732788 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:24:02.726184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.17563533782959 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:24:22.227580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.152620315551758 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:24:42.218265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.922493934631348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:25:03.004182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.043278694152832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:25:22.424637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.137469053268433 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:25:42.407801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.87630558013916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:26:02.913931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.335438966751099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:26:22.568823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.098041296005249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:26:42.605396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.938009977340698 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:27:03.332356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.100803852081299 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:27:22.760319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.113527297973633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:27:42.805454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.947124242782593 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:28:02.416570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.102790355682373 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:28:22.009709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.1956467628479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:28:41.988640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.078954219818115 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:29:02.720105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.205686092376709 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:29:22.114928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.899003982543945 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:29:42.222344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.087202787399292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:30:02.724130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.946884632110596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:30:22.348748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.021815061569214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:30:42.457565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.912902355194092 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:31:03.196558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.174461841583252 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:31:22.556044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.07939100265503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:31:42.525181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.05288553237915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:32:03.172309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.010823726654053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:32:22.755738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.030538082122803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:32:42.781143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.034283876419067 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:33:02.586361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.012601375579834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:33:21.996269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.94840693473816 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:33:41.974598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.902976036071777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:34:02.584110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.25835657119751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:34:22.108997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.95424771308899 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:34:42.078381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.044617176055908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:35:02.944739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.21823787689209 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:35:22.304739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.94896388053894 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:35:42.326760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.861781120300293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:36:03.048686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.142631530761719 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:36:22.534808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.084569931030273 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:36:42.494140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.866230964660645 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:37:03.168581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.252539157867432 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:37:22.689056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.938584327697754 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:37:42.604025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.098060131072998 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:38:02.174580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.219922065734863 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:38:21.824437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.006362915039062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:38:41.855511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.023163795471191 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:39:02.625179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.055388689041138 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:39:22.077378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.889842987060547 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:39:42.053040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.936893224716187 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:40:02.592462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.162925958633423 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:40:22.296643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.065962553024292 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:40:42.236519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.036621570587158 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:41:02.880232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.15030312538147 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:41:22.427523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.13363242149353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:41:42.393213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.234773874282837 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:42:03.043211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.1589515209198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:42:22.592547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.187814474105835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:42:42.606988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.959025621414185 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:43:02.467126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.044179201126099 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:43:21.745023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.140613794326782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:43:41.795839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.980600833892822 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:44:02.361441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.140812158584595 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:44:22.007980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.986876249313354 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:44:41.968945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.066662311553955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:45:02.840547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.129481315612793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:45:22.330678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.042611122131348 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:45:42.168942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.232937812805176 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:46:02.690621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.12524127960205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:46:22.359617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.983590602874756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:46:42.312927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.03372311592102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:47:03.244745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.028407096862793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:47:22.596023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.099027156829834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:47:42.627292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.042680263519287 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:48:03.051809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.158085584640503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:48:22.749308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.205404043197632 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:48:42.777107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.933101177215576 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:49:02.638747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.011191129684448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:49:21.988015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.044539451599121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:49:41.975821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.94064211845398 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:50:02.483559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.123831272125244 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:50:22.099386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.161093711853027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:50:42.110670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.207708835601807 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:51:02.827914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.075364589691162 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:51:22.414596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.07238483428955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:51:42.292541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.135257959365845 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:52:02.848149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.15436601638794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:52:22.474060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.979490518569946 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:52:42.403267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.09072470664978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:53:03.007968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.267189264297485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:53:22.651914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.09840440750122 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:53:42.683158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.921377658843994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:54:02.441796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.953966856002808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:54:21.960136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.125306367874146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:54:41.954948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.115490436553955 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:55:02.787451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.920968770980835 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:55:22.054097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.061959743499756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:55:42.207337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.037761449813843 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:56:02.758249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.881338596343994 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:56:22.324704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.981051921844482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:56:42.319661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.108120679855347 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:57:03.209332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.134238719940186 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:57:22.482832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.872421741485596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:57:42.542106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.908556938171387 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 15:59:02.550988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.312007188796997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 15:59:21.923254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.909721851348877 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 15:59:41.843663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.057034730911255 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:00:02.565068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.923176527023315 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:00:22.028150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.14079999923706 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:00:42.096251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.086237668991089 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:01:02.698795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.05380368232727 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:01:22.230957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.932195901870728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:01:42.225251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.05530047416687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:02:02.872460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.202140092849731 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:02:22.408302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.022231578826904 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:02:42.399393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.237244844436646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:03:03.168970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.183505773544312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:03:22.610769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.95592474937439 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:03:42.636504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.08681845664978 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:04:02.212386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.987935304641724 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:04:21.795534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.020257234573364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:04:41.795909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.956403017044067 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:05:02.601833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.118090629577637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:05:22.020641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.920961856842041 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:05:42.006064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.965598106384277 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:06:02.627565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.188163042068481 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:06:22.150583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.968950986862183 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:06:42.212386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.044912099838257 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:07:02.896167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.096359491348267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:07:22.295607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.912104845046997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:07:42.529571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.143748760223389 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:08:03.117695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.006771564483643 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:08:22.702627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.157083988189697 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:08:42.543497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.187650203704834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:09:03.281566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.946614742279053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:09:22.761067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.890995740890503 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:09:42.805797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.79340934753418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:10:02.352991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.986305475234985 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:10:21.971025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.03476858139038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:10:41.943622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.026673555374146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:11:02.799741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.042933464050293 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:11:22.205464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.035351276397705 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:11:42.164720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.075026035308838 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:12:02.722821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.039206504821777 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:12:22.338122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.042004823684692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:12:42.336528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.191394329071045 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:13:03.031893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.012977361679077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:13:22.500577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.064686059951782 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:13:42.488531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.96599555015564 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:14:03.189962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.113286256790161 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:14:22.670161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.08658480644226 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:14:42.699894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.212728023529053 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:15:02.542744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.007079601287842 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:15:22.061745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.084537506103516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:15:41.953738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.096374988555908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:16:02.569132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.903101921081543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:16:22.153236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.049428939819336 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:16:42.168520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.08917236328125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:17:02.914917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.952584981918335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:17:22.293486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.981715679168701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:17:42.318013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.912884712219238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:18:02.957849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.980863809585571 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:18:22.534429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.986377954483032 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:18:42.456387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.961886167526245 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:19:03.230105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.082984447479248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:19:22.693443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.972887992858887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:19:42.685261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.079543828964233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:20:02.260114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.082828044891357 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:20:21.844909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.973680257797241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:20:41.886481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.104128122329712 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:21:02.655936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.054091215133667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:21:22.034986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.055248737335205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:21:42.044108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.161921977996826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:22:02.595835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.031983137130737 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:22:22.257791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.07172417640686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:22:42.207051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.098280429840088 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:23:02.973453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.12021279335022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:23:22.421258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.11873459815979 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:23:42.352388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.013848543167114 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:24:02.909651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.018882036209106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:24:22.568196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.901079416275024 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:24:42.506361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.130386590957642 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:25:03.347445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.097475290298462 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:25:22.743521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.087752342224121 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:25:42.697224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.654330968856812 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:26:02.325816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.074855089187622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:26:21.875482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.900401592254639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:26:41.908318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.979761600494385 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:27:02.651778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.200506210327148 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:27:22.060005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.1146981716156 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:27:42.010596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.906853675842285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:28:02.557380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.091277599334717 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:28:22.213664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.931360006332397 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:28:42.205328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.028082609176636 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:29:03.081200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.008191108703613 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:29:22.439973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.892136335372925 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:29:42.417868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.146612167358398 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:30:03.016484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.089222192764282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:30:22.610629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.899425506591797 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:30:42.583239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.183033466339111 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:31:03.334308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.924804449081421 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:31:22.748316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.947556495666504 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:31:42.717511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.207401514053345 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:32:02.149765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.013185262680054 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:32:21.967918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.93380093574524 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:32:41.873214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.962307214736938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:33:02.693456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.176063299179077 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:33:22.121791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.05178451538086 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:33:42.155145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.108194351196289 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:34:02.664431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.01729941368103 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:34:22.242869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.087805986404419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:34:42.281638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.202366352081299 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:35:03.080366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.156073570251465 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:35:22.441924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.021583557128906 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:35:42.401131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.135924339294434 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:36:03.004925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.017038106918335 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:36:22.713409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.228563070297241 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:36:42.692790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.036964654922485 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:37:02.322933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.138892650604248 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:37:21.882174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.023209571838379 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:37:41.777893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.919039726257324 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:38:02.457862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.089648962020874 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:38:21.965801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.96213960647583 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:38:41.934608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.977703094482422 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:39:02.767745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.047458171844482 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:39:22.142504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.021450281143188 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:39:42.129945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.901624202728271 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:40:02.660716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.118253946304321 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:40:22.283088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.201926946640015 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:40:42.374179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.037544012069702 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:41:03.097068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.992149591445923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:41:22.511898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.107892274856567 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:41:42.525555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.11652135848999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:42:03.165209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.248738527297974 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:42:22.731893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.001345157623291 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:42:42.761211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.989766836166382 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:43:02.428394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.11751914024353 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:43:21.826931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.225888967514038 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:43:41.982683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.018252611160278 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:44:02.502155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.074475288391113 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:44:22.025051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.995601892471313 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:44:42.001442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.188879013061523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:45:02.880025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.011322975158691 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:45:22.173881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.889338254928589 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:45:42.174877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.087187051773071 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:46:02.862126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.081361532211304 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:46:22.405782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.953117609024048 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:46:42.467282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.0892493724823 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:47:03.356654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.182608366012573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:47:22.683719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.982865333557129 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:47:42.609041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.95836591720581 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:48:02.229143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.030653715133667 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:48:21.878848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.95161485671997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:48:41.859526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.073479890823364 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:49:02.729548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.181546688079834 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:49:22.089820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.911071300506592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:49:42.182061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.235131978988647 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:50:02.741332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.002111911773682 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:50:22.294408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.972132921218872 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:50:42.266901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.963135957717896 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:51:02.990084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.20540475845337 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:51:22.509648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.996453285217285 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:51:42.363864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.104690790176392 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:52:02.931261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.049267053604126 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:52:22.600753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.076342582702637 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:52:42.618451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.006678342819214 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:53:03.284806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.201860189437866 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:53:22.768061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.11111307144165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:53:42.728683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.99735164642334 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:54:02.435337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.979597091674805 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:54:22.007990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.92880654335022 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:54:41.957610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.931373357772827 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:55:02.829829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.085793256759644 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:55:22.117090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.951969623565674 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:55:42.212886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.934650182723999 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:56:02.800484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.287395238876343 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:56:22.297171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.035727977752686 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:56:42.345502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.999146223068237 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:57:03.034130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.054221391677856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:57:22.453289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.027661561965942 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:57:42.555021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.056937217712402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 16:59:02.643914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.123624086380005 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 16:59:21.917477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.0494966506958 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 16:59:41.937595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.023738384246826 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 17:00:02.505373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.994739770889282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 17:00:22.063592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.055767297744751 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 17:00:42.077353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.148401975631714 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 17:01:03.057593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.211016416549683 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 17:01:22.377931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.944642543792725 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 17:01:42.395065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.931833982467651 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 17:02:03.052688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.02951455116272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 17:02:22.618847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.041371583938599 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 17:02:42.556186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.139291286468506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 17:03:03.453113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.177433967590332 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 17:03:22.754909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.949390172958374 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 17:03:42.690433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.956501483917236 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 17:04:02.270683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.109985113143921 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 17:04:21.975035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.036448955535889 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 17:04:41.853549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.105481386184692 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 17:05:02.589249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.084301948547363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 17:05:22.138619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.977958917617798 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 17:05:42.168892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.604341268539429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 17:06:02.704385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.927629470825195 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 17:06:22.309919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.117849111557007 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 17:06:42.266411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.056090116500854 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 17:07:03.094152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 14.202820301055908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 17:07:22.487211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [503]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>503 Service Unavailable</title>\n</head><body>\n<h1>Service Unavailable</h1>\n<p>The server is temporarily unable to service your\nrequest due to maintenance downtime or capacity\nproblems. Please try again later.</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
503
uploaded 0 photos
time to upload: 13.856460332870483 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 17:07:42.428292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg', '/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/13/59/image_09012025_13_59_02_761317_0003.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0000.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0001.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0002.jpg
/home/pi/Desktop/images/09012025/14/00/image_09012025_14_00_02_862144_0003.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0000.jpg
 val : 1 : upload photos 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":["1327662430","1327662424","1327662421","1327662435","1327662444","1327662438"],"photo_ids_order":["1327662421","1327662424","1327662430","1327662435","1327662438","1327662444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f3d297068d7779f7e30752690311ad57.jpg","text":"TemporaryFile(/tmp/multipartBody4241282083895135331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736438937269,"filename":"image_09012025_14_00_02_862144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f659f60f57d14287bfdc5a2dc3374343.jpg","text":"TemporaryFile(/tmp/multipartBody7966155825193890890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736438937269,"filename":"image_09012025_14_00_02_862144_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b272d396272db7708b7b920dd855eec2.jpg","text":"TemporaryFile(/tmp/multipartBody6549307055195146106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736438937269,"filename":"image_09012025_13_59_02_761317_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9478db7a4a9a7496b43929bb6aa00eaa.jpg","text":"TemporaryFile(/tmp/multipartBody131782119315441957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736438937269,"filename":"image_09012025_14_00_02_862144_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/21db2a76d523f80e55d94790b7eca685.jpg","text":"TemporaryFile(/tmp/multipartBody897543397820214560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736438937269,"filename":"image_09012025_14_01_03_056041_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d244525de1eeb10ddfd9fcb44e5a59e8.jpg","text":"TemporaryFile(/tmp/multipartBody6262109245807198303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736438937269,"filename":"image_09012025_14_00_02_862144_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327662430","file1":"1327662424","file0":"1327662421","file4":"1327662438","file5":"1327662444","file3":"1327662435"},"map_files_photo_id_array":[{"photo_id":"1327662444","filename":"file5"},{"photo_id":"1327662430","filename":"file2"},{"photo_id":"1327662438","filename":"file4"},{"photo_id":"1327662424","filename":"file1"},{"photo_id":"1327662421","filename":"file0"},{"photo_id":"1327662435","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327662430":["hashtag1","hashtag2"]},{"1327662424":["hashtag1","hashtag2"]},{"1327662421":["hashtag1","hashtag2"]},{"1327662435":["hashtag1","hashtag2"]},{"1327662444":["hashtag1","hashtag2"]},{"1327662438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327662430, 1327662424, 1327662421, 1327662435, 1327662444, 1327662438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.05353879928589 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 17:08:52.618085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0001.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0002.jpg', '/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0003.jpg', '/home/pi/Desktop/images/09012025/14/02/image_09012025_14_02_02_332040_0000.jpg', '/home/pi/Desktop/images/09012025/14/02/image_09012025_14_02_02_332040_0002.jpg', '/home/pi/Desktop/images/09012025/14/02/image_09012025_14_02_02_332040_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0001.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0002.jpg
/home/pi/Desktop/images/09012025/14/01/image_09012025_14_01_03_056041_0003.jpg
/home/pi/Desktop/images/09012025/14/02/image_09012025_14_02_02_332040_0000.jpg
/home/pi/Desktop/images/09012025/14/02/image_09012025_14_02_02_332040_0002.jpg
/home/pi/Desktop/images/09012025/14/02/image_09012025_14_02_02_332040_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327662492","1327662474","1327662477","1327662470","1327662487","1327662481"],"photo_ids_order":["1327662470","1327662474","1327662477","1327662481","1327662487","1327662492"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/28212ceb60ee09f32659904c6aedac1c.jpg","text":"TemporaryFile(/tmp/multipartBody5421651908361940971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439007637,"filename":"image_09012025_14_02_02_332040_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/362ead4697930544eb27cf3d1cc6a159.jpg","text":"TemporaryFile(/tmp/multipartBody6546461682099065047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439007637,"filename":"image_09012025_14_01_03_056041_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/22ca9bbd848e982f0ea173988f2ff511.jpg","text":"TemporaryFile(/tmp/multipartBody6438350291584707995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439007637,"filename":"image_09012025_14_01_03_056041_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/797a6b0b258ec974092fd04683917e72.jpg","text":"TemporaryFile(/tmp/multipartBody5214607910815945331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439007637,"filename":"image_09012025_14_01_03_056041_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0f783208ed8c34b0ca19182a2d87ab8c.jpg","text":"TemporaryFile(/tmp/multipartBody7768309606336850018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439007637,"filename":"image_09012025_14_02_02_332040_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5e9d2b9ac65bdb1540f8f490f064eb40.jpg","text":"TemporaryFile(/tmp/multipartBody7590191993704205256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439007637,"filename":"image_09012025_14_02_02_332040_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327662477","file1":"1327662474","file0":"1327662470","file4":"1327662487","file5":"1327662492","file3":"1327662481"},"map_files_photo_id_array":[{"photo_id":"1327662492","filename":"file5"},{"photo_id":"1327662477","filename":"file2"},{"photo_id":"1327662487","filename":"file4"},{"photo_id":"1327662474","filename":"file1"},{"photo_id":"1327662470","filename":"file0"},{"photo_id":"1327662481","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327662492":["hashtag1","hashtag2"]},{"1327662474":["hashtag1","hashtag2"]},{"1327662477":["hashtag1","hashtag2"]},{"1327662470":["hashtag1","hashtag2"]},{"1327662487":["hashtag1","hashtag2"]},{"1327662481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327662492, 1327662474, 1327662477, 1327662470, 1327662487, 1327662481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.71448636054993 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 17:09:51.806208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/03/image_09012025_14_03_02_430889_0000.jpg', '/home/pi/Desktop/images/09012025/14/03/image_09012025_14_03_02_430889_0001.jpg', '/home/pi/Desktop/images/09012025/14/03/image_09012025_14_03_02_430889_0002.jpg', '/home/pi/Desktop/images/09012025/14/03/image_09012025_14_03_02_430889_0003.jpg', '/home/pi/Desktop/images/09012025/14/04/image_09012025_14_04_02_638779_0000.jpg', '/home/pi/Desktop/images/09012025/14/04/image_09012025_14_04_02_638779_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/03/image_09012025_14_03_02_430889_0000.jpg
/home/pi/Desktop/images/09012025/14/03/image_09012025_14_03_02_430889_0001.jpg
/home/pi/Desktop/images/09012025/14/03/image_09012025_14_03_02_430889_0002.jpg
/home/pi/Desktop/images/09012025/14/03/image_09012025_14_03_02_430889_0003.jpg
/home/pi/Desktop/images/09012025/14/04/image_09012025_14_04_02_638779_0000.jpg
/home/pi/Desktop/images/09012025/14/04/image_09012025_14_04_02_638779_0001.jpg
 val : 1 : upload photos 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":["1327662535","1327662519","1327662530","1327662524","1327662512","1327662515"],"photo_ids_order":["1327662512","1327662515","1327662519","1327662524","1327662530","1327662535"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0522b36f0ff89cdf6371115f20ceed57.jpg","text":"TemporaryFile(/tmp/multipartBody7218995018249058262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439066811,"filename":"image_09012025_14_04_02_638779_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e88694c433610a53ba5dd847f00314d1.jpg","text":"TemporaryFile(/tmp/multipartBody4874474060567906014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439066811,"filename":"image_09012025_14_03_02_430889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c4c3c975a55966b3b693df1391571439.jpg","text":"TemporaryFile(/tmp/multipartBody7345622370716624478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439066811,"filename":"image_09012025_14_04_02_638779_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3a7e351cb205e0f4180de4bad22c60c6.jpg","text":"TemporaryFile(/tmp/multipartBody7785615191329334290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439066811,"filename":"image_09012025_14_03_02_430889_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9b4f8c6f72175746783421ec431d3f01.jpg","text":"TemporaryFile(/tmp/multipartBody6682690077618166293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439066811,"filename":"image_09012025_14_03_02_430889_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7cfa0b023097ae7dd25f3951dbb89c04.jpg","text":"TemporaryFile(/tmp/multipartBody5544422413027577916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439066811,"filename":"image_09012025_14_03_02_430889_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327662519","file1":"1327662515","file0":"1327662512","file4":"1327662530","file5":"1327662535","file3":"1327662524"},"map_files_photo_id_array":[{"photo_id":"1327662535","filename":"file5"},{"photo_id":"1327662519","filename":"file2"},{"photo_id":"1327662530","filename":"file4"},{"photo_id":"1327662515","filename":"file1"},{"photo_id":"1327662512","filename":"file0"},{"photo_id":"1327662524","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327662535":["hashtag1","hashtag2"]},{"1327662519":["hashtag1","hashtag2"]},{"1327662530":["hashtag1","hashtag2"]},{"1327662524":["hashtag1","hashtag2"]},{"1327662512":["hashtag1","hashtag2"]},{"1327662515":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327662535, 1327662519, 1327662530, 1327662524, 1327662512, 1327662515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.43810701370239 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 17:11:02.698209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/04/image_09012025_14_04_02_638779_0002.jpg', '/home/pi/Desktop/images/09012025/14/04/image_09012025_14_04_02_638779_0003.jpg', '/home/pi/Desktop/images/09012025/14/05/image_09012025_14_05_02_794944_0000.jpg', '/home/pi/Desktop/images/09012025/14/05/image_09012025_14_05_02_794944_0001.jpg', '/home/pi/Desktop/images/09012025/14/05/image_09012025_14_05_02_794944_0002.jpg', '/home/pi/Desktop/images/09012025/14/05/image_09012025_14_05_02_794944_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/04/image_09012025_14_04_02_638779_0002.jpg
/home/pi/Desktop/images/09012025/14/04/image_09012025_14_04_02_638779_0003.jpg
/home/pi/Desktop/images/09012025/14/05/image_09012025_14_05_02_794944_0000.jpg
/home/pi/Desktop/images/09012025/14/05/image_09012025_14_05_02_794944_0001.jpg
/home/pi/Desktop/images/09012025/14/05/image_09012025_14_05_02_794944_0002.jpg
/home/pi/Desktop/images/09012025/14/05/image_09012025_14_05_02_794944_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327662591","1327662585","1327662594","1327662608","1327662598","1327662602"],"photo_ids_order":["1327662585","1327662591","1327662594","1327662598","1327662602","1327662608"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6c8c585f3a45cc4fd59ee5b25de4fd58.jpg","text":"TemporaryFile(/tmp/multipartBody6702590512132768736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439167110,"filename":"image_09012025_14_04_02_638779_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9e1e5356cf7d1c2ada08eec523129de6.jpg","text":"TemporaryFile(/tmp/multipartBody8630258118883837029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439167110,"filename":"image_09012025_14_04_02_638779_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e79c446a3ea21f2326ff22440e217c01.jpg","text":"TemporaryFile(/tmp/multipartBody4569194826213627025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439167110,"filename":"image_09012025_14_05_02_794944_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ec19a970aaf273781eea4773ab0f4d29.jpg","text":"TemporaryFile(/tmp/multipartBody3348929692795315854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439167110,"filename":"image_09012025_14_05_02_794944_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/45f6fe3a7023eec9ab9aab4351be3a79.jpg","text":"TemporaryFile(/tmp/multipartBody1991541674841865168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439167110,"filename":"image_09012025_14_05_02_794944_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1c6b0fb42645c9b31dcb2b4a799ba1d5.jpg","text":"TemporaryFile(/tmp/multipartBody3166163715862835444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439167110,"filename":"image_09012025_14_05_02_794944_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327662594","file1":"1327662591","file0":"1327662585","file4":"1327662602","file5":"1327662608","file3":"1327662598"},"map_files_photo_id_array":[{"photo_id":"1327662608","filename":"file5"},{"photo_id":"1327662594","filename":"file2"},{"photo_id":"1327662602","filename":"file4"},{"photo_id":"1327662591","filename":"file1"},{"photo_id":"1327662585","filename":"file0"},{"photo_id":"1327662598","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327662591":["hashtag1","hashtag2"]},{"1327662585":["hashtag1","hashtag2"]},{"1327662594":["hashtag1","hashtag2"]},{"1327662608":["hashtag1","hashtag2"]},{"1327662598":["hashtag1","hashtag2"]},{"1327662602":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327662591, 1327662585, 1327662594, 1327662608, 1327662598, 1327662602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.14207053184509 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 17:12:52.326042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/06/image_09012025_14_06_02_936033_0000.jpg', '/home/pi/Desktop/images/09012025/14/06/image_09012025_14_06_02_936033_0001.jpg', '/home/pi/Desktop/images/09012025/14/06/image_09012025_14_06_02_936033_0002.jpg', '/home/pi/Desktop/images/09012025/14/06/image_09012025_14_06_02_936033_0003.jpg', '/home/pi/Desktop/images/09012025/14/07/image_09012025_14_07_02_141603_0000.jpg', '/home/pi/Desktop/images/09012025/14/07/image_09012025_14_07_02_141603_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/06/image_09012025_14_06_02_936033_0000.jpg
/home/pi/Desktop/images/09012025/14/06/image_09012025_14_06_02_936033_0001.jpg
/home/pi/Desktop/images/09012025/14/06/image_09012025_14_06_02_936033_0002.jpg
/home/pi/Desktop/images/09012025/14/06/image_09012025_14_06_02_936033_0003.jpg
/home/pi/Desktop/images/09012025/14/07/image_09012025_14_07_02_141603_0000.jpg
/home/pi/Desktop/images/09012025/14/07/image_09012025_14_07_02_141603_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327662664","1327662681","1327662677","1327662653","1327662670","1327662688"],"photo_ids_order":["1327662653","1327662664","1327662670","1327662677","1327662681","1327662688"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/381656d1a39e856ed938c9bc0e1fa50b.jpg","text":"TemporaryFile(/tmp/multipartBody3874902137781544631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439284619,"filename":"image_09012025_14_06_02_936033_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dc3418bedb05cf6e483a6e7f03500ddb.jpg","text":"TemporaryFile(/tmp/multipartBody4822773069451463540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439284619,"filename":"image_09012025_14_07_02_141603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d323bfd701c9e6505db20203579e575e.jpg","text":"TemporaryFile(/tmp/multipartBody248271589680027271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439284619,"filename":"image_09012025_14_06_02_936033_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/16fcffabcf338d9768dd3dde8db24e07.jpg","text":"TemporaryFile(/tmp/multipartBody5903704143177816072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439284619,"filename":"image_09012025_14_06_02_936033_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/694f54d672f1c801a9f6db8d25440b54.jpg","text":"TemporaryFile(/tmp/multipartBody3284046956172860520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439284619,"filename":"image_09012025_14_06_02_936033_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fb97aa79c5a5229cecbf4bda0b09c207.jpg","text":"TemporaryFile(/tmp/multipartBody6412423315422361299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439284619,"filename":"image_09012025_14_07_02_141603_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327662670","file1":"1327662664","file0":"1327662653","file4":"1327662681","file5":"1327662688","file3":"1327662677"},"map_files_photo_id_array":[{"photo_id":"1327662688","filename":"file5"},{"photo_id":"1327662670","filename":"file2"},{"photo_id":"1327662681","filename":"file4"},{"photo_id":"1327662664","filename":"file1"},{"photo_id":"1327662653","filename":"file0"},{"photo_id":"1327662677","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327662664":["hashtag1","hashtag2"]},{"1327662681":["hashtag1","hashtag2"]},{"1327662677":["hashtag1","hashtag2"]},{"1327662653":["hashtag1","hashtag2"]},{"1327662670":["hashtag1","hashtag2"]},{"1327662688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327662664, 1327662681, 1327662677, 1327662653, 1327662670, 1327662688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.98013687133789 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 17:14:42.740713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/07/image_09012025_14_07_02_141603_0002.jpg', '/home/pi/Desktop/images/09012025/14/07/image_09012025_14_07_02_141603_0003.jpg', '/home/pi/Desktop/images/09012025/14/08/image_09012025_14_08_02_341255_0000.jpg', '/home/pi/Desktop/images/09012025/14/08/image_09012025_14_08_02_341255_0001.jpg', '/home/pi/Desktop/images/09012025/14/08/image_09012025_14_08_02_341255_0002.jpg', '/home/pi/Desktop/images/09012025/14/08/image_09012025_14_08_02_341255_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/07/image_09012025_14_07_02_141603_0002.jpg
/home/pi/Desktop/images/09012025/14/07/image_09012025_14_07_02_141603_0003.jpg
/home/pi/Desktop/images/09012025/14/08/image_09012025_14_08_02_341255_0000.jpg
/home/pi/Desktop/images/09012025/14/08/image_09012025_14_08_02_341255_0001.jpg
/home/pi/Desktop/images/09012025/14/08/image_09012025_14_08_02_341255_0002.jpg
/home/pi/Desktop/images/09012025/14/08/image_09012025_14_08_02_341255_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327662748","1327662742","1327662776","1327662755","1327662772","1327662766"],"photo_ids_order":["1327662742","1327662748","1327662755","1327662766","1327662772","1327662776"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/333c402fba05631499e4eb828af16b18.jpg","text":"TemporaryFile(/tmp/multipartBody2316444206372488358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439382584,"filename":"image_09012025_14_07_02_141603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/620741f31e61c052e5bb30dd66b48a51.jpg","text":"TemporaryFile(/tmp/multipartBody1505367122381760500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439382584,"filename":"image_09012025_14_07_02_141603_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ad735da4109b22a97462629581b54398.jpg","text":"TemporaryFile(/tmp/multipartBody4096980927398547820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439382584,"filename":"image_09012025_14_08_02_341255_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/36ee0a405b000dbaf0fca07d602efc83.jpg","text":"TemporaryFile(/tmp/multipartBody1989217055312333991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439382584,"filename":"image_09012025_14_08_02_341255_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c5029fe1ce5aadcf9c1744d272b122f1.jpg","text":"TemporaryFile(/tmp/multipartBody8977899134766459319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439382584,"filename":"image_09012025_14_08_02_341255_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/16f0910c48c90c0f8b59e199f4f08472.jpg","text":"TemporaryFile(/tmp/multipartBody6341710770510589223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439382584,"filename":"image_09012025_14_08_02_341255_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327662755","file1":"1327662748","file0":"1327662742","file4":"1327662772","file5":"1327662776","file3":"1327662766"},"map_files_photo_id_array":[{"photo_id":"1327662776","filename":"file5"},{"photo_id":"1327662755","filename":"file2"},{"photo_id":"1327662772","filename":"file4"},{"photo_id":"1327662748","filename":"file1"},{"photo_id":"1327662742","filename":"file0"},{"photo_id":"1327662766","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327662748":["hashtag1","hashtag2"]},{"1327662742":["hashtag1","hashtag2"]},{"1327662776":["hashtag1","hashtag2"]},{"1327662755":["hashtag1","hashtag2"]},{"1327662772":["hashtag1","hashtag2"]},{"1327662766":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327662748, 1327662742, 1327662776, 1327662755, 1327662772, 1327662766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.68658089637756 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 17:16:31.959181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/09/image_09012025_14_09_02_492211_0000.jpg', '/home/pi/Desktop/images/09012025/14/09/image_09012025_14_09_02_492211_0001.jpg', '/home/pi/Desktop/images/09012025/14/09/image_09012025_14_09_02_492211_0002.jpg', '/home/pi/Desktop/images/09012025/14/09/image_09012025_14_09_02_492211_0003.jpg', '/home/pi/Desktop/images/09012025/14/10/image_09012025_14_10_02_710121_0000.jpg', '/home/pi/Desktop/images/09012025/14/10/image_09012025_14_10_02_710121_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/09/image_09012025_14_09_02_492211_0000.jpg
/home/pi/Desktop/images/09012025/14/09/image_09012025_14_09_02_492211_0001.jpg
/home/pi/Desktop/images/09012025/14/09/image_09012025_14_09_02_492211_0002.jpg
/home/pi/Desktop/images/09012025/14/09/image_09012025_14_09_02_492211_0003.jpg
/home/pi/Desktop/images/09012025/14/10/image_09012025_14_10_02_710121_0000.jpg
/home/pi/Desktop/images/09012025/14/10/image_09012025_14_10_02_710121_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327662847","1327662856","1327662844","1327662838","1327662864","1327662834"],"photo_ids_order":["1327662834","1327662838","1327662844","1327662847","1327662856","1327662864"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3bf371c7addbddf982145da815564fc1.jpg","text":"TemporaryFile(/tmp/multipartBody2805626049364819604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439494365,"filename":"image_09012025_14_09_02_492211_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cfc0118bad6c220ffd701a4ad1ea00cf.jpg","text":"TemporaryFile(/tmp/multipartBody8605921621599481729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439494365,"filename":"image_09012025_14_10_02_710121_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6a3e83996f073bfb6016d3814c562776.jpg","text":"TemporaryFile(/tmp/multipartBody7615242049163227007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439494365,"filename":"image_09012025_14_09_02_492211_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8260d98f5177874a6da69bdaae400236.jpg","text":"TemporaryFile(/tmp/multipartBody6032155430639397695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439494365,"filename":"image_09012025_14_09_02_492211_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/13aecd33ed4365802a4afd8a3feadc5a.jpg","text":"TemporaryFile(/tmp/multipartBody3134319881754721908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439494365,"filename":"image_09012025_14_10_02_710121_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2410fd264705e03fd9391e5e69aa81bd.jpg","text":"TemporaryFile(/tmp/multipartBody4310007587378297800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439494365,"filename":"image_09012025_14_09_02_492211_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327662844","file1":"1327662838","file0":"1327662834","file4":"1327662856","file5":"1327662864","file3":"1327662847"},"map_files_photo_id_array":[{"photo_id":"1327662864","filename":"file5"},{"photo_id":"1327662844","filename":"file2"},{"photo_id":"1327662856","filename":"file4"},{"photo_id":"1327662838","filename":"file1"},{"photo_id":"1327662834","filename":"file0"},{"photo_id":"1327662847","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327662847":["hashtag1","hashtag2"]},{"1327662856":["hashtag1","hashtag2"]},{"1327662844":["hashtag1","hashtag2"]},{"1327662838":["hashtag1","hashtag2"]},{"1327662864":["hashtag1","hashtag2"]},{"1327662834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327662847, 1327662856, 1327662844, 1327662838, 1327662864, 1327662834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.86025166511536 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 17:18:22.484155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/10/image_09012025_14_10_02_710121_0002.jpg', '/home/pi/Desktop/images/09012025/14/10/image_09012025_14_10_02_710121_0003.jpg', '/home/pi/Desktop/images/09012025/14/11/image_09012025_14_11_02_850306_0000.jpg', '/home/pi/Desktop/images/09012025/14/11/image_09012025_14_11_02_850306_0001.jpg', '/home/pi/Desktop/images/09012025/14/11/image_09012025_14_11_02_850306_0002.jpg', '/home/pi/Desktop/images/09012025/14/11/image_09012025_14_11_02_850306_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/10/image_09012025_14_10_02_710121_0002.jpg
/home/pi/Desktop/images/09012025/14/10/image_09012025_14_10_02_710121_0003.jpg
/home/pi/Desktop/images/09012025/14/11/image_09012025_14_11_02_850306_0000.jpg
/home/pi/Desktop/images/09012025/14/11/image_09012025_14_11_02_850306_0001.jpg
/home/pi/Desktop/images/09012025/14/11/image_09012025_14_11_02_850306_0002.jpg
/home/pi/Desktop/images/09012025/14/11/image_09012025_14_11_02_850306_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327662946","1327662925","1327662940","1327662986","1327662962","1327662932"],"photo_ids_order":["1327662925","1327662932","1327662940","1327662946","1327662962","1327662986"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3b891342e068bd002b60fa99d65ff5c0.jpg","text":"TemporaryFile(/tmp/multipartBody5459563984939014142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439610350,"filename":"image_09012025_14_11_02_850306_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/48106c2ccdd19413584cdbc10a81a1c4.jpg","text":"TemporaryFile(/tmp/multipartBody1468970649160400162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439610350,"filename":"image_09012025_14_10_02_710121_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d5f13b70049ced768e0b0984d7853e29.jpg","text":"TemporaryFile(/tmp/multipartBody7924447860044339819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439610350,"filename":"image_09012025_14_11_02_850306_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0189160545e37dc9e925a26a02414e16.jpg","text":"TemporaryFile(/tmp/multipartBody6714551508889707533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439610350,"filename":"image_09012025_14_11_02_850306_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d3173ab90fd32508550ae8c29c9e97b9.jpg","text":"TemporaryFile(/tmp/multipartBody1304081647509172550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439610350,"filename":"image_09012025_14_11_02_850306_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cefaa33c044ce0dc3d957e53489a25c5.jpg","text":"TemporaryFile(/tmp/multipartBody5389837499869852658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439610350,"filename":"image_09012025_14_10_02_710121_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327662940","file1":"1327662932","file0":"1327662925","file4":"1327662962","file5":"1327662986","file3":"1327662946"},"map_files_photo_id_array":[{"photo_id":"1327662986","filename":"file5"},{"photo_id":"1327662940","filename":"file2"},{"photo_id":"1327662962","filename":"file4"},{"photo_id":"1327662932","filename":"file1"},{"photo_id":"1327662925","filename":"file0"},{"photo_id":"1327662946","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327662946":["hashtag1","hashtag2"]},{"1327662925":["hashtag1","hashtag2"]},{"1327662940":["hashtag1","hashtag2"]},{"1327662986":["hashtag1","hashtag2"]},{"1327662962":["hashtag1","hashtag2"]},{"1327662932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327662946, 1327662925, 1327662940, 1327662986, 1327662962, 1327662932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.34054565429688 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 17:20:22.711162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/12/image_09012025_14_12_03_072205_0000.jpg', '/home/pi/Desktop/images/09012025/14/12/image_09012025_14_12_03_072205_0002.jpg', '/home/pi/Desktop/images/09012025/14/12/image_09012025_14_12_03_072205_0003.jpg', '/home/pi/Desktop/images/09012025/14/13/image_09012025_14_13_02_223592_0000.jpg', '/home/pi/Desktop/images/09012025/14/13/image_09012025_14_13_02_223592_0001.jpg', '/home/pi/Desktop/images/09012025/14/13/image_09012025_14_13_02_223592_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/12/image_09012025_14_12_03_072205_0000.jpg
/home/pi/Desktop/images/09012025/14/12/image_09012025_14_12_03_072205_0002.jpg
/home/pi/Desktop/images/09012025/14/12/image_09012025_14_12_03_072205_0003.jpg
/home/pi/Desktop/images/09012025/14/13/image_09012025_14_13_02_223592_0000.jpg
/home/pi/Desktop/images/09012025/14/13/image_09012025_14_13_02_223592_0001.jpg
/home/pi/Desktop/images/09012025/14/13/image_09012025_14_13_02_223592_0002.jpg
 val : 1 : upload photos 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":["1327663089","1327663059","1327663097","1327663085","1327663076","1327663100"],"photo_ids_order":["1327663059","1327663076","1327663085","1327663089","1327663097","1327663100"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8b6d2a69d3e1f31d5be9976af8bb9179.jpg","text":"TemporaryFile(/tmp/multipartBody3321562083881463169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439718117,"filename":"image_09012025_14_13_02_223592_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8e40e851691cfd15e2438b60f4b67a2a.jpg","text":"TemporaryFile(/tmp/multipartBody599865782011518405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439718117,"filename":"image_09012025_14_12_03_072205_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/439af74b268dca9532a7df44a9e346bb.jpg","text":"TemporaryFile(/tmp/multipartBody40791155201355555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439718117,"filename":"image_09012025_14_13_02_223592_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0934733b3a7a366a63e9f3e4b50aad52.jpg","text":"TemporaryFile(/tmp/multipartBody2734098501039678492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439718117,"filename":"image_09012025_14_12_03_072205_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/774f4e1745d427434e5c9409d75ee7f2.jpg","text":"TemporaryFile(/tmp/multipartBody544873272402785773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439718117,"filename":"image_09012025_14_12_03_072205_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/47339e02b76b10edcbb82d5ccc321ac9.jpg","text":"TemporaryFile(/tmp/multipartBody2516429506324570694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439718117,"filename":"image_09012025_14_13_02_223592_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327663085","file1":"1327663076","file0":"1327663059","file4":"1327663097","file5":"1327663100","file3":"1327663089"},"map_files_photo_id_array":[{"photo_id":"1327663100","filename":"file5"},{"photo_id":"1327663085","filename":"file2"},{"photo_id":"1327663097","filename":"file4"},{"photo_id":"1327663076","filename":"file1"},{"photo_id":"1327663059","filename":"file0"},{"photo_id":"1327663089","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327663089":["hashtag1","hashtag2"]},{"1327663059":["hashtag1","hashtag2"]},{"1327663097":["hashtag1","hashtag2"]},{"1327663085":["hashtag1","hashtag2"]},{"1327663076":["hashtag1","hashtag2"]},{"1327663100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327663089, 1327663059, 1327663097, 1327663085, 1327663076, 1327663100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.4522967338562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 17:21:51.878656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/13/image_09012025_14_13_02_223592_0003.jpg', '/home/pi/Desktop/images/09012025/14/14/image_09012025_14_14_02_392098_0001.jpg', '/home/pi/Desktop/images/09012025/14/14/image_09012025_14_14_02_392098_0002.jpg', '/home/pi/Desktop/images/09012025/14/14/image_09012025_14_14_02_392098_0003.jpg', '/home/pi/Desktop/images/09012025/14/15/image_09012025_14_15_02_599910_0000.jpg', '/home/pi/Desktop/images/09012025/14/15/image_09012025_14_15_02_599910_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/13/image_09012025_14_13_02_223592_0003.jpg
/home/pi/Desktop/images/09012025/14/14/image_09012025_14_14_02_392098_0001.jpg
/home/pi/Desktop/images/09012025/14/14/image_09012025_14_14_02_392098_0002.jpg
/home/pi/Desktop/images/09012025/14/14/image_09012025_14_14_02_392098_0003.jpg
/home/pi/Desktop/images/09012025/14/15/image_09012025_14_15_02_599910_0000.jpg
/home/pi/Desktop/images/09012025/14/15/image_09012025_14_15_02_599910_0001.jpg
 val : 1 : upload photos 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":["1327663191","1327663152","1327663215","1327663163","1327663208","1327663171"],"photo_ids_order":["1327663152","1327663163","1327663171","1327663191","1327663208","1327663215"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/940d4b6a7b27291d67f11a5345c8ba05.jpg","text":"TemporaryFile(/tmp/multipartBody70748335644690421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439806999,"filename":"image_09012025_14_14_02_392098_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7e20405144f13860f90f3e262a654b39.jpg","text":"TemporaryFile(/tmp/multipartBody8025714476050722422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439806999,"filename":"image_09012025_14_13_02_223592_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3c56227557d7df8fb76f7c97c2d6f3c1.jpg","text":"TemporaryFile(/tmp/multipartBody7036252712570945943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439806999,"filename":"image_09012025_14_15_02_599910_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4bd473df55fc566975dfa62f5b82b014.jpg","text":"TemporaryFile(/tmp/multipartBody6706965309362726440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439806999,"filename":"image_09012025_14_14_02_392098_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4546c486ab9e564d9f0f77a438722efe.jpg","text":"TemporaryFile(/tmp/multipartBody5807709664354908903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439806999,"filename":"image_09012025_14_15_02_599910_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7868a99ef549fb7288f30d1a5dfe7fd0.jpg","text":"TemporaryFile(/tmp/multipartBody5387119055213279450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439806999,"filename":"image_09012025_14_14_02_392098_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327663171","file1":"1327663163","file0":"1327663152","file4":"1327663208","file5":"1327663215","file3":"1327663191"},"map_files_photo_id_array":[{"photo_id":"1327663215","filename":"file5"},{"photo_id":"1327663171","filename":"file2"},{"photo_id":"1327663208","filename":"file4"},{"photo_id":"1327663163","filename":"file1"},{"photo_id":"1327663152","filename":"file0"},{"photo_id":"1327663191","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327663191":["hashtag1","hashtag2"]},{"1327663152":["hashtag1","hashtag2"]},{"1327663215":["hashtag1","hashtag2"]},{"1327663163":["hashtag1","hashtag2"]},{"1327663208":["hashtag1","hashtag2"]},{"1327663171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327663191, 1327663152, 1327663215, 1327663163, 1327663208, 1327663171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.83220148086548 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 17:23:22.328554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/15/image_09012025_14_15_02_599910_0003.jpg', '/home/pi/Desktop/images/09012025/14/16/image_09012025_14_16_02_763992_0000.jpg', '/home/pi/Desktop/images/09012025/14/16/image_09012025_14_16_02_763992_0001.jpg', '/home/pi/Desktop/images/09012025/14/16/image_09012025_14_16_02_763992_0002.jpg', '/home/pi/Desktop/images/09012025/14/16/image_09012025_14_16_02_763992_0003.jpg', '/home/pi/Desktop/images/09012025/14/17/image_09012025_14_17_02_898520_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/15/image_09012025_14_15_02_599910_0003.jpg
/home/pi/Desktop/images/09012025/14/16/image_09012025_14_16_02_763992_0000.jpg
/home/pi/Desktop/images/09012025/14/16/image_09012025_14_16_02_763992_0001.jpg
/home/pi/Desktop/images/09012025/14/16/image_09012025_14_16_02_763992_0002.jpg
/home/pi/Desktop/images/09012025/14/16/image_09012025_14_16_02_763992_0003.jpg
/home/pi/Desktop/images/09012025/14/17/image_09012025_14_17_02_898520_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327663368","1327663323","1327663311","1327663355","1327663328","1327663336"],"photo_ids_order":["1327663311","1327663323","1327663328","1327663336","1327663355","1327663368"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0a5d9d5e1e7f214f97bbd24eb37bc989.jpg","text":"TemporaryFile(/tmp/multipartBody2650534840211764171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439900623,"filename":"image_09012025_14_17_02_898520_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2c3225b17a76fce8b848a5f8cad0e674.jpg","text":"TemporaryFile(/tmp/multipartBody6485418040915245372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439900623,"filename":"image_09012025_14_16_02_763992_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a5c0cb8c57a7f96b7e6ae56ebba1e4fe.jpg","text":"TemporaryFile(/tmp/multipartBody8894144859194124248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439900623,"filename":"image_09012025_14_15_02_599910_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1785bb2b4bf3a9b27257146efa23c13e.jpg","text":"TemporaryFile(/tmp/multipartBody6596378504566230260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439900623,"filename":"image_09012025_14_16_02_763992_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0992c1c8701d9cd163360aae32cab1cb.jpg","text":"TemporaryFile(/tmp/multipartBody6463667286206794431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439900623,"filename":"image_09012025_14_16_02_763992_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/05d5e07b0e54e3a794b5cab4e7cc081b.jpg","text":"TemporaryFile(/tmp/multipartBody5833184641165989373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736439900623,"filename":"image_09012025_14_16_02_763992_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327663328","file1":"1327663323","file0":"1327663311","file4":"1327663355","file5":"1327663368","file3":"1327663336"},"map_files_photo_id_array":[{"photo_id":"1327663368","filename":"file5"},{"photo_id":"1327663328","filename":"file2"},{"photo_id":"1327663355","filename":"file4"},{"photo_id":"1327663323","filename":"file1"},{"photo_id":"1327663311","filename":"file0"},{"photo_id":"1327663336","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327663368":["hashtag1","hashtag2"]},{"1327663323":["hashtag1","hashtag2"]},{"1327663311":["hashtag1","hashtag2"]},{"1327663355":["hashtag1","hashtag2"]},{"1327663328":["hashtag1","hashtag2"]},{"1327663336":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327663368, 1327663323, 1327663311, 1327663355, 1327663328, 1327663336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.4251298904419 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 17:25:03.261480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/17/image_09012025_14_17_02_898520_0002.jpg', '/home/pi/Desktop/images/09012025/14/17/image_09012025_14_17_02_898520_0003.jpg', '/home/pi/Desktop/images/09012025/14/18/image_09012025_14_18_03_059637_0000.jpg', '/home/pi/Desktop/images/09012025/14/18/image_09012025_14_18_03_059637_0001.jpg', '/home/pi/Desktop/images/09012025/14/18/image_09012025_14_18_03_059637_0002.jpg', '/home/pi/Desktop/images/09012025/14/18/image_09012025_14_18_03_059637_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/17/image_09012025_14_17_02_898520_0002.jpg
/home/pi/Desktop/images/09012025/14/17/image_09012025_14_17_02_898520_0003.jpg
/home/pi/Desktop/images/09012025/14/18/image_09012025_14_18_03_059637_0000.jpg
/home/pi/Desktop/images/09012025/14/18/image_09012025_14_18_03_059637_0001.jpg
/home/pi/Desktop/images/09012025/14/18/image_09012025_14_18_03_059637_0002.jpg
/home/pi/Desktop/images/09012025/14/18/image_09012025_14_18_03_059637_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327663452","1327663442","1327663436","1327663483","1327663477","1327663423"],"photo_ids_order":["1327663423","1327663436","1327663442","1327663452","1327663477","1327663483"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0bd87e27043e5e09ddd87a4d95993813.jpg","text":"TemporaryFile(/tmp/multipartBody6249217529897254453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440008826,"filename":"image_09012025_14_18_03_059637_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ce39e59d48030f580fac858e332c551f.jpg","text":"TemporaryFile(/tmp/multipartBody5763307782834028192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440008826,"filename":"image_09012025_14_18_03_059637_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b19874ec35f7f374903bb698ccf4c28e.jpg","text":"TemporaryFile(/tmp/multipartBody4869815844953392196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440008826,"filename":"image_09012025_14_17_02_898520_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7c1af2c2d4570818a31786d925397e76.jpg","text":"TemporaryFile(/tmp/multipartBody8572099949744345602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440008826,"filename":"image_09012025_14_18_03_059637_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1c29c4d6175a65c79155f8551abda6d8.jpg","text":"TemporaryFile(/tmp/multipartBody1914913779386045836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440008826,"filename":"image_09012025_14_18_03_059637_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a2b5c57045f7b5af68764d3da9abcd2d.jpg","text":"TemporaryFile(/tmp/multipartBody4467807165597210252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440008826,"filename":"image_09012025_14_17_02_898520_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327663442","file1":"1327663436","file0":"1327663423","file4":"1327663477","file5":"1327663483","file3":"1327663452"},"map_files_photo_id_array":[{"photo_id":"1327663483","filename":"file5"},{"photo_id":"1327663442","filename":"file2"},{"photo_id":"1327663477","filename":"file4"},{"photo_id":"1327663436","filename":"file1"},{"photo_id":"1327663423","filename":"file0"},{"photo_id":"1327663452","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327663452":["hashtag1","hashtag2"]},{"1327663442":["hashtag1","hashtag2"]},{"1327663436":["hashtag1","hashtag2"]},{"1327663483":["hashtag1","hashtag2"]},{"1327663477":["hashtag1","hashtag2"]},{"1327663423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327663452, 1327663442, 1327663436, 1327663483, 1327663477, 1327663423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.0280921459198 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 17:26:51.836342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/19/image_09012025_14_19_02_229509_0000.jpg', '/home/pi/Desktop/images/09012025/14/19/image_09012025_14_19_02_229509_0001.jpg', '/home/pi/Desktop/images/09012025/14/19/image_09012025_14_19_02_229509_0002.jpg', '/home/pi/Desktop/images/09012025/14/19/image_09012025_14_19_02_229509_0003.jpg', '/home/pi/Desktop/images/09012025/14/20/image_09012025_14_20_02_421744_0000.jpg', '/home/pi/Desktop/images/09012025/14/20/image_09012025_14_20_02_421744_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/19/image_09012025_14_19_02_229509_0000.jpg
/home/pi/Desktop/images/09012025/14/19/image_09012025_14_19_02_229509_0001.jpg
/home/pi/Desktop/images/09012025/14/19/image_09012025_14_19_02_229509_0002.jpg
/home/pi/Desktop/images/09012025/14/19/image_09012025_14_19_02_229509_0003.jpg
/home/pi/Desktop/images/09012025/14/20/image_09012025_14_20_02_421744_0000.jpg
/home/pi/Desktop/images/09012025/14/20/image_09012025_14_20_02_421744_0001.jpg
 val : 1 : upload photos 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":["1327663590","1327663563","1327663574","1327663594","1327663601","1327663579"],"photo_ids_order":["1327663563","1327663574","1327663579","1327663590","1327663594","1327663601"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/43c92a8fb6a4ef87cda5548c7c3ab3b5.jpg","text":"TemporaryFile(/tmp/multipartBody7669469031738038878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440109613,"filename":"image_09012025_14_19_02_229509_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/08df2cb28d9ea7f434db9fcba34a0ab6.jpg","text":"TemporaryFile(/tmp/multipartBody4349492018375557661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440109613,"filename":"image_09012025_14_19_02_229509_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/063e84bde6792b210b1e5136090dd87a.jpg","text":"TemporaryFile(/tmp/multipartBody5975960777111352587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440109613,"filename":"image_09012025_14_19_02_229509_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4faafd7dece117b4d4d06f7f9d2d49e7.jpg","text":"TemporaryFile(/tmp/multipartBody6236075652840102548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440109613,"filename":"image_09012025_14_20_02_421744_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/01a1b27b1e72bd13e43043256e1dedea.jpg","text":"TemporaryFile(/tmp/multipartBody7583388601209357519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440109613,"filename":"image_09012025_14_20_02_421744_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cc6668c407663a2558da08498057b285.jpg","text":"TemporaryFile(/tmp/multipartBody7564317624165562246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440109613,"filename":"image_09012025_14_19_02_229509_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327663579","file1":"1327663574","file0":"1327663563","file4":"1327663594","file5":"1327663601","file3":"1327663590"},"map_files_photo_id_array":[{"photo_id":"1327663601","filename":"file5"},{"photo_id":"1327663579","filename":"file2"},{"photo_id":"1327663594","filename":"file4"},{"photo_id":"1327663574","filename":"file1"},{"photo_id":"1327663563","filename":"file0"},{"photo_id":"1327663590","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327663590":["hashtag1","hashtag2"]},{"1327663563":["hashtag1","hashtag2"]},{"1327663574":["hashtag1","hashtag2"]},{"1327663594":["hashtag1","hashtag2"]},{"1327663601":["hashtag1","hashtag2"]},{"1327663579":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327663590, 1327663563, 1327663574, 1327663594, 1327663601, 1327663579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.35541844367981 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 17:28:32.231861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/20/image_09012025_14_20_02_421744_0002.jpg', '/home/pi/Desktop/images/09012025/14/20/image_09012025_14_20_02_421744_0003.jpg', '/home/pi/Desktop/images/09012025/14/21/image_09012025_14_21_02_612794_0000.jpg', '/home/pi/Desktop/images/09012025/14/21/image_09012025_14_21_02_612794_0001.jpg', '/home/pi/Desktop/images/09012025/14/21/image_09012025_14_21_02_612794_0002.jpg', '/home/pi/Desktop/images/09012025/14/21/image_09012025_14_21_02_612794_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/20/image_09012025_14_20_02_421744_0002.jpg
/home/pi/Desktop/images/09012025/14/20/image_09012025_14_20_02_421744_0003.jpg
/home/pi/Desktop/images/09012025/14/21/image_09012025_14_21_02_612794_0000.jpg
/home/pi/Desktop/images/09012025/14/21/image_09012025_14_21_02_612794_0001.jpg
/home/pi/Desktop/images/09012025/14/21/image_09012025_14_21_02_612794_0002.jpg
/home/pi/Desktop/images/09012025/14/21/image_09012025_14_21_02_612794_0003.jpg
 val : 1 : upload photos 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":["1327663702","1327663725","1327663716","1327663733","1327663747","1327663708"],"photo_ids_order":["1327663702","1327663708","1327663716","1327663725","1327663733","1327663747"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9f9f61a7d7abf2baefe0c7196d94a9f6.jpg","text":"TemporaryFile(/tmp/multipartBody3797683448205953384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440199378,"filename":"image_09012025_14_20_02_421744_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/508911c67441993bf2668a7f397aa630.jpg","text":"TemporaryFile(/tmp/multipartBody3442969135128480092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440199378,"filename":"image_09012025_14_21_02_612794_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6a9dcb56f0f9ac0bebf21bc1baea28e5.jpg","text":"TemporaryFile(/tmp/multipartBody8102763606931858593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440199378,"filename":"image_09012025_14_21_02_612794_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7de02476e50c48259eba3f9f46bf02d8.jpg","text":"TemporaryFile(/tmp/multipartBody6217512283465557887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440199378,"filename":"image_09012025_14_21_02_612794_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/baa0a877c704dd7bb87a8e862a5af6a5.jpg","text":"TemporaryFile(/tmp/multipartBody2181265552311948585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440199378,"filename":"image_09012025_14_21_02_612794_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f7132910b7bd62b71eb1359d47d16092.jpg","text":"TemporaryFile(/tmp/multipartBody5346077443469516496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440199378,"filename":"image_09012025_14_20_02_421744_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327663716","file1":"1327663708","file0":"1327663702","file4":"1327663733","file5":"1327663747","file3":"1327663725"},"map_files_photo_id_array":[{"photo_id":"1327663747","filename":"file5"},{"photo_id":"1327663716","filename":"file2"},{"photo_id":"1327663733","filename":"file4"},{"photo_id":"1327663708","filename":"file1"},{"photo_id":"1327663702","filename":"file0"},{"photo_id":"1327663725","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327663702":["hashtag1","hashtag2"]},{"1327663725":["hashtag1","hashtag2"]},{"1327663716":["hashtag1","hashtag2"]},{"1327663733":["hashtag1","hashtag2"]},{"1327663747":["hashtag1","hashtag2"]},{"1327663708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327663702, 1327663725, 1327663716, 1327663733, 1327663747, 1327663708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.8267502784729 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 17:30:02.958083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/22/image_09012025_14_22_02_752068_0000.jpg', '/home/pi/Desktop/images/09012025/14/22/image_09012025_14_22_02_752068_0001.jpg', '/home/pi/Desktop/images/09012025/14/22/image_09012025_14_22_02_752068_0002.jpg', '/home/pi/Desktop/images/09012025/14/22/image_09012025_14_22_02_752068_0003.jpg', '/home/pi/Desktop/images/09012025/14/23/image_09012025_14_23_02_909723_0000.jpg', '/home/pi/Desktop/images/09012025/14/23/image_09012025_14_23_02_909723_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/22/image_09012025_14_22_02_752068_0000.jpg
/home/pi/Desktop/images/09012025/14/22/image_09012025_14_22_02_752068_0001.jpg
/home/pi/Desktop/images/09012025/14/22/image_09012025_14_22_02_752068_0002.jpg
/home/pi/Desktop/images/09012025/14/22/image_09012025_14_22_02_752068_0003.jpg
/home/pi/Desktop/images/09012025/14/23/image_09012025_14_23_02_909723_0000.jpg
/home/pi/Desktop/images/09012025/14/23/image_09012025_14_23_02_909723_0001.jpg
 val : 1 : upload photos 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":["1327663842","1327663851","1327663827","1327663823","1327663817","1327663834"],"photo_ids_order":["1327663817","1327663823","1327663827","1327663834","1327663842","1327663851"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0c7793dd116ca8cce7400730e3029d6a.jpg","text":"TemporaryFile(/tmp/multipartBody7359561610898409350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440305737,"filename":"image_09012025_14_23_02_909723_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/99974dc413a0001e4a825e3daeecb635.jpg","text":"TemporaryFile(/tmp/multipartBody7318561885188158631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440305737,"filename":"image_09012025_14_23_02_909723_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c7e7f10bf7d45dd60da0a43663f0d2ae.jpg","text":"TemporaryFile(/tmp/multipartBody3547070060725717036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440305737,"filename":"image_09012025_14_22_02_752068_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/31c1091f5c05e549ecb884cbd6dc072a.jpg","text":"TemporaryFile(/tmp/multipartBody6865030357231296156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440305737,"filename":"image_09012025_14_22_02_752068_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2885f0fb06941a4cd9ed3c97f0ee1ddc.jpg","text":"TemporaryFile(/tmp/multipartBody7687105970028756498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440305737,"filename":"image_09012025_14_22_02_752068_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ae71b73c04617a33116c677332c7ffc3.jpg","text":"TemporaryFile(/tmp/multipartBody5659823333663514295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440305737,"filename":"image_09012025_14_22_02_752068_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327663827","file1":"1327663823","file0":"1327663817","file4":"1327663842","file5":"1327663851","file3":"1327663834"},"map_files_photo_id_array":[{"photo_id":"1327663851","filename":"file5"},{"photo_id":"1327663827","filename":"file2"},{"photo_id":"1327663842","filename":"file4"},{"photo_id":"1327663823","filename":"file1"},{"photo_id":"1327663817","filename":"file0"},{"photo_id":"1327663834","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327663842":["hashtag1","hashtag2"]},{"1327663851":["hashtag1","hashtag2"]},{"1327663827":["hashtag1","hashtag2"]},{"1327663823":["hashtag1","hashtag2"]},{"1327663817":["hashtag1","hashtag2"]},{"1327663834":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327663842, 1327663851, 1327663827, 1327663823, 1327663817, 1327663834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.64443325996399 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 17:31:41.828639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/23/image_09012025_14_23_02_909723_0002.jpg', '/home/pi/Desktop/images/09012025/14/23/image_09012025_14_23_02_909723_0003.jpg', '/home/pi/Desktop/images/09012025/14/24/image_09012025_14_24_03_128539_0000.jpg', '/home/pi/Desktop/images/09012025/14/24/image_09012025_14_24_03_128539_0001.jpg', '/home/pi/Desktop/images/09012025/14/24/image_09012025_14_24_03_128539_0002.jpg', '/home/pi/Desktop/images/09012025/14/24/image_09012025_14_24_03_128539_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/23/image_09012025_14_23_02_909723_0002.jpg
/home/pi/Desktop/images/09012025/14/23/image_09012025_14_23_02_909723_0003.jpg
/home/pi/Desktop/images/09012025/14/24/image_09012025_14_24_03_128539_0000.jpg
/home/pi/Desktop/images/09012025/14/24/image_09012025_14_24_03_128539_0001.jpg
/home/pi/Desktop/images/09012025/14/24/image_09012025_14_24_03_128539_0002.jpg
/home/pi/Desktop/images/09012025/14/24/image_09012025_14_24_03_128539_0003.jpg
 val : 1 : upload photos 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":["1327663950","1327663938","1327663911","1327663925","1327663919","1327663933"],"photo_ids_order":["1327663911","1327663919","1327663925","1327663933","1327663938","1327663950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/31a0d022a10d9f09a482908a043609c2.jpg","text":"TemporaryFile(/tmp/multipartBody5939918050708550972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440398646,"filename":"image_09012025_14_24_03_128539_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d1d1a3cd8f7666c355221d3b006d6854.jpg","text":"TemporaryFile(/tmp/multipartBody5779408912489095136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440398646,"filename":"image_09012025_14_24_03_128539_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/48aa2caedc5eb8b2c0732df2927653f9.jpg","text":"TemporaryFile(/tmp/multipartBody224465328356776025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440398646,"filename":"image_09012025_14_23_02_909723_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5609b7c11c88118544f00db303a9b8a8.jpg","text":"TemporaryFile(/tmp/multipartBody6895067636465965741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440398646,"filename":"image_09012025_14_24_03_128539_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/695d437224730c8a73b05bedaa6ad8e2.jpg","text":"TemporaryFile(/tmp/multipartBody2316197584523849383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440398646,"filename":"image_09012025_14_23_02_909723_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0dd4db09b23f4e5982018bcc078045dd.jpg","text":"TemporaryFile(/tmp/multipartBody3574752947897887929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440398646,"filename":"image_09012025_14_24_03_128539_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327663925","file1":"1327663919","file0":"1327663911","file4":"1327663938","file5":"1327663950","file3":"1327663933"},"map_files_photo_id_array":[{"photo_id":"1327663950","filename":"file5"},{"photo_id":"1327663925","filename":"file2"},{"photo_id":"1327663938","filename":"file4"},{"photo_id":"1327663919","filename":"file1"},{"photo_id":"1327663911","filename":"file0"},{"photo_id":"1327663933","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327663950":["hashtag1","hashtag2"]},{"1327663938":["hashtag1","hashtag2"]},{"1327663911":["hashtag1","hashtag2"]},{"1327663925":["hashtag1","hashtag2"]},{"1327663919":["hashtag1","hashtag2"]},{"1327663933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327663950, 1327663938, 1327663911, 1327663925, 1327663919, 1327663933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.33455348014832 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 17:33:22.177025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/25/image_09012025_14_25_02_368381_0000.jpg', '/home/pi/Desktop/images/09012025/14/25/image_09012025_14_25_02_368381_0001.jpg', '/home/pi/Desktop/images/09012025/14/25/image_09012025_14_25_02_368381_0002.jpg', '/home/pi/Desktop/images/09012025/14/25/image_09012025_14_25_02_368381_0003.jpg', '/home/pi/Desktop/images/09012025/14/26/image_09012025_14_26_02_673686_0000.jpg', '/home/pi/Desktop/images/09012025/14/26/image_09012025_14_26_02_673686_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/25/image_09012025_14_25_02_368381_0000.jpg
/home/pi/Desktop/images/09012025/14/25/image_09012025_14_25_02_368381_0001.jpg
/home/pi/Desktop/images/09012025/14/25/image_09012025_14_25_02_368381_0002.jpg
/home/pi/Desktop/images/09012025/14/25/image_09012025_14_25_02_368381_0003.jpg
/home/pi/Desktop/images/09012025/14/26/image_09012025_14_26_02_673686_0000.jpg
/home/pi/Desktop/images/09012025/14/26/image_09012025_14_26_02_673686_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 21.022786140441895 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 17:33:52.145281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/25/image_09012025_14_25_02_368381_0000.jpg', '/home/pi/Desktop/images/09012025/14/25/image_09012025_14_25_02_368381_0001.jpg', '/home/pi/Desktop/images/09012025/14/25/image_09012025_14_25_02_368381_0002.jpg', '/home/pi/Desktop/images/09012025/14/25/image_09012025_14_25_02_368381_0003.jpg', '/home/pi/Desktop/images/09012025/14/26/image_09012025_14_26_02_673686_0000.jpg', '/home/pi/Desktop/images/09012025/14/26/image_09012025_14_26_02_673686_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/25/image_09012025_14_25_02_368381_0000.jpg
/home/pi/Desktop/images/09012025/14/25/image_09012025_14_25_02_368381_0001.jpg
/home/pi/Desktop/images/09012025/14/25/image_09012025_14_25_02_368381_0002.jpg
/home/pi/Desktop/images/09012025/14/25/image_09012025_14_25_02_368381_0003.jpg
/home/pi/Desktop/images/09012025/14/26/image_09012025_14_26_02_673686_0000.jpg
/home/pi/Desktop/images/09012025/14/26/image_09012025_14_26_02_673686_0001.jpg
 val : 1 : upload photos 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":["1327664172","1327664198","1327664183","1327664177","1327664206","1327664190"],"photo_ids_order":["1327664172","1327664177","1327664183","1327664190","1327664198","1327664206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/49fdb4ad5059c167e30e87154584aabc.jpg","text":"TemporaryFile(/tmp/multipartBody6930526660300947725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440529804,"filename":"image_09012025_14_25_02_368381_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/04e219f8fdfab58419be32c6b2c333c6.jpg","text":"TemporaryFile(/tmp/multipartBody3810394832543997463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440529804,"filename":"image_09012025_14_26_02_673686_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fd017d3f7aefe4bdd32afd8904c1339e.jpg","text":"TemporaryFile(/tmp/multipartBody1152562974048297131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440529804,"filename":"image_09012025_14_25_02_368381_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b214d8deb98b8e85f6631c20d380c06f.jpg","text":"TemporaryFile(/tmp/multipartBody7664299567581825215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440529804,"filename":"image_09012025_14_25_02_368381_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/716a8222b26f292ebc9ed06e381b9bf4.jpg","text":"TemporaryFile(/tmp/multipartBody4367592865819812380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440529804,"filename":"image_09012025_14_26_02_673686_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dbab7a165f263df54154f4e1eb63a440.jpg","text":"TemporaryFile(/tmp/multipartBody2784917140995674419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440529804,"filename":"image_09012025_14_25_02_368381_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327664183","file1":"1327664177","file0":"1327664172","file4":"1327664198","file5":"1327664206","file3":"1327664190"},"map_files_photo_id_array":[{"photo_id":"1327664206","filename":"file5"},{"photo_id":"1327664183","filename":"file2"},{"photo_id":"1327664198","filename":"file4"},{"photo_id":"1327664177","filename":"file1"},{"photo_id":"1327664172","filename":"file0"},{"photo_id":"1327664190","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327664172":["hashtag1","hashtag2"]},{"1327664198":["hashtag1","hashtag2"]},{"1327664183":["hashtag1","hashtag2"]},{"1327664177":["hashtag1","hashtag2"]},{"1327664206":["hashtag1","hashtag2"]},{"1327664190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327664172, 1327664198, 1327664183, 1327664177, 1327664206, 1327664190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.94167947769165 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 17:35:32.489994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/26/image_09012025_14_26_02_673686_0002.jpg', '/home/pi/Desktop/images/09012025/14/26/image_09012025_14_26_02_673686_0003.jpg', '/home/pi/Desktop/images/09012025/14/27/image_09012025_14_27_02_920774_0000.jpg', '/home/pi/Desktop/images/09012025/14/27/image_09012025_14_27_02_920774_0001.jpg', '/home/pi/Desktop/images/09012025/14/27/image_09012025_14_27_02_920774_0002.jpg', '/home/pi/Desktop/images/09012025/14/27/image_09012025_14_27_02_920774_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/26/image_09012025_14_26_02_673686_0002.jpg
/home/pi/Desktop/images/09012025/14/26/image_09012025_14_26_02_673686_0003.jpg
/home/pi/Desktop/images/09012025/14/27/image_09012025_14_27_02_920774_0000.jpg
/home/pi/Desktop/images/09012025/14/27/image_09012025_14_27_02_920774_0001.jpg
/home/pi/Desktop/images/09012025/14/27/image_09012025_14_27_02_920774_0002.jpg
/home/pi/Desktop/images/09012025/14/27/image_09012025_14_27_02_920774_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327664310","1327664297","1327664261","1327664321","1327664330","1327664281"],"photo_ids_order":["1327664261","1327664281","1327664297","1327664310","1327664321","1327664330"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5d0d102c43ad1d224d1ed9b7a590bca0.jpg","text":"TemporaryFile(/tmp/multipartBody7832671170929992329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440638224,"filename":"image_09012025_14_27_02_920774_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1f20b72d4bcb879bbb5ac5255e126fa4.jpg","text":"TemporaryFile(/tmp/multipartBody5338084983643921784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440638224,"filename":"image_09012025_14_27_02_920774_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bcab0d2a0f415d4993ec062602cba8c9.jpg","text":"TemporaryFile(/tmp/multipartBody8419375187079956103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440638224,"filename":"image_09012025_14_26_02_673686_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/560789390c5b59626877fd2a9f78fc19.jpg","text":"TemporaryFile(/tmp/multipartBody1799113478368660303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440638224,"filename":"image_09012025_14_27_02_920774_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fc7ac07a2735a226a95b062e10e07a69.jpg","text":"TemporaryFile(/tmp/multipartBody5645056175666807313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440638224,"filename":"image_09012025_14_27_02_920774_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a3ae84d85112aa5682cb5ea0ce8756b7.jpg","text":"TemporaryFile(/tmp/multipartBody4222238935092654450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440638224,"filename":"image_09012025_14_26_02_673686_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327664297","file1":"1327664281","file0":"1327664261","file4":"1327664321","file5":"1327664330","file3":"1327664310"},"map_files_photo_id_array":[{"photo_id":"1327664330","filename":"file5"},{"photo_id":"1327664297","filename":"file2"},{"photo_id":"1327664321","filename":"file4"},{"photo_id":"1327664281","filename":"file1"},{"photo_id":"1327664261","filename":"file0"},{"photo_id":"1327664310","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327664310":["hashtag1","hashtag2"]},{"1327664297":["hashtag1","hashtag2"]},{"1327664261":["hashtag1","hashtag2"]},{"1327664321":["hashtag1","hashtag2"]},{"1327664330":["hashtag1","hashtag2"]},{"1327664281":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327664310, 1327664297, 1327664261, 1327664321, 1327664330, 1327664281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.21961784362793 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 17:37:21.906025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/28/image_09012025_14_28_03_099630_0000.jpg', '/home/pi/Desktop/images/09012025/14/28/image_09012025_14_28_03_099630_0002.jpg', '/home/pi/Desktop/images/09012025/14/28/image_09012025_14_28_03_099630_0003.jpg', '/home/pi/Desktop/images/09012025/14/29/image_09012025_14_29_02_172545_0000.jpg', '/home/pi/Desktop/images/09012025/14/29/image_09012025_14_29_02_172545_0001.jpg', '/home/pi/Desktop/images/09012025/14/29/image_09012025_14_29_02_172545_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/28/image_09012025_14_28_03_099630_0000.jpg
/home/pi/Desktop/images/09012025/14/28/image_09012025_14_28_03_099630_0002.jpg
/home/pi/Desktop/images/09012025/14/28/image_09012025_14_28_03_099630_0003.jpg
/home/pi/Desktop/images/09012025/14/29/image_09012025_14_29_02_172545_0000.jpg
/home/pi/Desktop/images/09012025/14/29/image_09012025_14_29_02_172545_0001.jpg
/home/pi/Desktop/images/09012025/14/29/image_09012025_14_29_02_172545_0002.jpg
 val : 1 : upload photos 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":["1327665327","1327665309","1327665089","1327664567","1327665295","1327665322"],"photo_ids_order":["1327664567","1327665089","1327665295","1327665309","1327665322","1327665327"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3d1d7a99e4b5ebe14854479f0456ee45.jpg","text":"TemporaryFile(/tmp/multipartBody1495338576184591707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440731749,"filename":"image_09012025_14_29_02_172545_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/78dcadf2123f29e4339cd45f12755d65.jpg","text":"TemporaryFile(/tmp/multipartBody4831958513013554551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440731749,"filename":"image_09012025_14_29_02_172545_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/20f3186ca3655dcd1ee262b7a80512eb.jpg","text":"TemporaryFile(/tmp/multipartBody940113593092014018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440731749,"filename":"image_09012025_14_28_03_099630_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f49bd5bab79954d56dc0a4052bfc1eda.jpg","text":"TemporaryFile(/tmp/multipartBody4422700978540420769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440731749,"filename":"image_09012025_14_28_03_099630_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fadf544efa79390b1a80979db953fa2b.jpg","text":"TemporaryFile(/tmp/multipartBody385881664875961952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440731749,"filename":"image_09012025_14_28_03_099630_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/94d64e1bb8c98085071f66c26b98995a.jpg","text":"TemporaryFile(/tmp/multipartBody5243776996965687128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440731749,"filename":"image_09012025_14_29_02_172545_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327665295","file1":"1327665089","file0":"1327664567","file4":"1327665322","file5":"1327665327","file3":"1327665309"},"map_files_photo_id_array":[{"photo_id":"1327665327","filename":"file5"},{"photo_id":"1327665295","filename":"file2"},{"photo_id":"1327665322","filename":"file4"},{"photo_id":"1327665089","filename":"file1"},{"photo_id":"1327664567","filename":"file0"},{"photo_id":"1327665309","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327665327":["hashtag1","hashtag2"]},{"1327665309":["hashtag1","hashtag2"]},{"1327665089":["hashtag1","hashtag2"]},{"1327664567":["hashtag1","hashtag2"]},{"1327665295":["hashtag1","hashtag2"]},{"1327665322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327665327, 1327665309, 1327665089, 1327664567, 1327665295, 1327665322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.30418109893799 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 17:38:52.058047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/29/image_09012025_14_29_02_172545_0003.jpg', '/home/pi/Desktop/images/09012025/14/30/image_09012025_14_30_02_419504_0000.jpg', '/home/pi/Desktop/images/09012025/14/30/image_09012025_14_30_02_419504_0001.jpg', '/home/pi/Desktop/images/09012025/14/30/image_09012025_14_30_02_419504_0002.jpg', '/home/pi/Desktop/images/09012025/14/30/image_09012025_14_30_02_419504_0003.jpg', '/home/pi/Desktop/images/09012025/14/31/image_09012025_14_31_02_557126_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/29/image_09012025_14_29_02_172545_0003.jpg
/home/pi/Desktop/images/09012025/14/30/image_09012025_14_30_02_419504_0000.jpg
/home/pi/Desktop/images/09012025/14/30/image_09012025_14_30_02_419504_0001.jpg
/home/pi/Desktop/images/09012025/14/30/image_09012025_14_30_02_419504_0002.jpg
/home/pi/Desktop/images/09012025/14/30/image_09012025_14_30_02_419504_0003.jpg
/home/pi/Desktop/images/09012025/14/31/image_09012025_14_31_02_557126_0000.jpg
 val : 1 : upload photos 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":["1327665411","1327665431","1327665407","1327665421","1327665444","1327665438"],"photo_ids_order":["1327665407","1327665411","1327665421","1327665431","1327665438","1327665444"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e2d803ce8e5699048207ddd1f3bbe40d.jpg","text":"TemporaryFile(/tmp/multipartBody8113821498484994623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440829361,"filename":"image_09012025_14_30_02_419504_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/af75bcac6662dc720fdda126cd24c057.jpg","text":"TemporaryFile(/tmp/multipartBody5492709907364112086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440829361,"filename":"image_09012025_14_30_02_419504_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/afedf2ce6c8bfa118899eb6edecb76e2.jpg","text":"TemporaryFile(/tmp/multipartBody2387183596213777625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440829361,"filename":"image_09012025_14_29_02_172545_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4856874c049fd2f2471f1d2de2d25612.jpg","text":"TemporaryFile(/tmp/multipartBody7655039534393770824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440829361,"filename":"image_09012025_14_30_02_419504_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/05a0eaf8b88c1d767c5a2ddb0ebca154.jpg","text":"TemporaryFile(/tmp/multipartBody2874075505109131044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440829361,"filename":"image_09012025_14_31_02_557126_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/12b5132534466189e3ee2c30b2fdde52.jpg","text":"TemporaryFile(/tmp/multipartBody991930450333091023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440829361,"filename":"image_09012025_14_30_02_419504_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327665421","file1":"1327665411","file0":"1327665407","file4":"1327665438","file5":"1327665444","file3":"1327665431"},"map_files_photo_id_array":[{"photo_id":"1327665444","filename":"file5"},{"photo_id":"1327665421","filename":"file2"},{"photo_id":"1327665438","filename":"file4"},{"photo_id":"1327665411","filename":"file1"},{"photo_id":"1327665407","filename":"file0"},{"photo_id":"1327665431","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327665411":["hashtag1","hashtag2"]},{"1327665431":["hashtag1","hashtag2"]},{"1327665407":["hashtag1","hashtag2"]},{"1327665421":["hashtag1","hashtag2"]},{"1327665444":["hashtag1","hashtag2"]},{"1327665438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327665411, 1327665431, 1327665407, 1327665421, 1327665444, 1327665438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.76064944267273 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 17:40:32.417196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/31/image_09012025_14_31_02_557126_0001.jpg', '/home/pi/Desktop/images/09012025/14/31/image_09012025_14_31_02_557126_0002.jpg', '/home/pi/Desktop/images/09012025/14/31/image_09012025_14_31_02_557126_0003.jpg', '/home/pi/Desktop/images/09012025/14/32/image_09012025_14_32_02_733110_0000.jpg', '/home/pi/Desktop/images/09012025/14/32/image_09012025_14_32_02_733110_0001.jpg', '/home/pi/Desktop/images/09012025/14/32/image_09012025_14_32_02_733110_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/31/image_09012025_14_31_02_557126_0001.jpg
/home/pi/Desktop/images/09012025/14/31/image_09012025_14_31_02_557126_0002.jpg
/home/pi/Desktop/images/09012025/14/31/image_09012025_14_31_02_557126_0003.jpg
/home/pi/Desktop/images/09012025/14/32/image_09012025_14_32_02_733110_0000.jpg
/home/pi/Desktop/images/09012025/14/32/image_09012025_14_32_02_733110_0001.jpg
/home/pi/Desktop/images/09012025/14/32/image_09012025_14_32_02_733110_0002.jpg
 val : 1 : upload photos 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":["1327666186","1327666234","1327666243","1327666165","1327666182","1327666131"],"photo_ids_order":["1327666131","1327666165","1327666182","1327666186","1327666234","1327666243"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7c6acc392b10bdabf2f9573fef5c55ab.jpg","text":"TemporaryFile(/tmp/multipartBody756534512335976912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440926572,"filename":"image_09012025_14_32_02_733110_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eaed52bae870ebdddf3bd26ba69cc472.jpg","text":"TemporaryFile(/tmp/multipartBody5124352720061336813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440926572,"filename":"image_09012025_14_32_02_733110_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dbd417cab8f16ea2819a4d2cb9b5b4f1.jpg","text":"TemporaryFile(/tmp/multipartBody4217014624315012119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440926572,"filename":"image_09012025_14_32_02_733110_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bc6b556a17b6429129ccc1c30bbcda7c.jpg","text":"TemporaryFile(/tmp/multipartBody4664232301884543264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440926572,"filename":"image_09012025_14_31_02_557126_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8a5b18981715267c0d77af7d2856e8b4.jpg","text":"TemporaryFile(/tmp/multipartBody3480378154411787509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440926572,"filename":"image_09012025_14_31_02_557126_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5f9d57b9f55afb18fcc0cf0846a33fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3472402113050625357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736440926572,"filename":"image_09012025_14_31_02_557126_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327666182","file1":"1327666165","file0":"1327666131","file4":"1327666234","file5":"1327666243","file3":"1327666186"},"map_files_photo_id_array":[{"photo_id":"1327666243","filename":"file5"},{"photo_id":"1327666182","filename":"file2"},{"photo_id":"1327666234","filename":"file4"},{"photo_id":"1327666165","filename":"file1"},{"photo_id":"1327666131","filename":"file0"},{"photo_id":"1327666186","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327666186":["hashtag1","hashtag2"]},{"1327666234":["hashtag1","hashtag2"]},{"1327666243":["hashtag1","hashtag2"]},{"1327666165":["hashtag1","hashtag2"]},{"1327666182":["hashtag1","hashtag2"]},{"1327666131":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327666186, 1327666234, 1327666243, 1327666165, 1327666182, 1327666131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.07822179794312 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 17:42:02.378737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/32/image_09012025_14_32_02_733110_0003.jpg', '/home/pi/Desktop/images/09012025/14/33/image_09012025_14_33_02_967550_0000.jpg', '/home/pi/Desktop/images/09012025/14/33/image_09012025_14_33_02_967550_0001.jpg', '/home/pi/Desktop/images/09012025/14/33/image_09012025_14_33_02_967550_0002.jpg', '/home/pi/Desktop/images/09012025/14/33/image_09012025_14_33_02_967550_0003.jpg', '/home/pi/Desktop/images/09012025/14/34/image_09012025_14_34_03_148209_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/32/image_09012025_14_32_02_733110_0003.jpg
/home/pi/Desktop/images/09012025/14/33/image_09012025_14_33_02_967550_0000.jpg
/home/pi/Desktop/images/09012025/14/33/image_09012025_14_33_02_967550_0001.jpg
/home/pi/Desktop/images/09012025/14/33/image_09012025_14_33_02_967550_0002.jpg
/home/pi/Desktop/images/09012025/14/33/image_09012025_14_33_02_967550_0003.jpg
/home/pi/Desktop/images/09012025/14/34/image_09012025_14_34_03_148209_0000.jpg
 val : 1 : upload photos 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":["1327666310","1327666304","1327666339","1327666300","1327666332","1327666326"],"photo_ids_order":["1327666300","1327666304","1327666310","1327666326","1327666332","1327666339"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/80a42b0b713747e77512c91acd66a706.jpg","text":"TemporaryFile(/tmp/multipartBody110612960752419239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441020751,"filename":"image_09012025_14_33_02_967550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/618ad18de8ed96fa46fd2c830de0c015.jpg","text":"TemporaryFile(/tmp/multipartBody196452135096265717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441020751,"filename":"image_09012025_14_33_02_967550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3bd218546e715733b41244a6bfdc96a1.jpg","text":"TemporaryFile(/tmp/multipartBody4104614162687014348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441020751,"filename":"image_09012025_14_34_03_148209_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/90b957ac7913fe7c48a5dff11dce0fd2.jpg","text":"TemporaryFile(/tmp/multipartBody3370828992565308802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441020751,"filename":"image_09012025_14_32_02_733110_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b5921d9c3f6e9adb513025590d749d5c.jpg","text":"TemporaryFile(/tmp/multipartBody4907138499901191272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441020751,"filename":"image_09012025_14_33_02_967550_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d2969ebeeaf7669b9b0be40de6cc218c.jpg","text":"TemporaryFile(/tmp/multipartBody6773934510556782233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441020751,"filename":"image_09012025_14_33_02_967550_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327666310","file1":"1327666304","file0":"1327666300","file4":"1327666332","file5":"1327666339","file3":"1327666326"},"map_files_photo_id_array":[{"photo_id":"1327666339","filename":"file5"},{"photo_id":"1327666310","filename":"file2"},{"photo_id":"1327666332","filename":"file4"},{"photo_id":"1327666304","filename":"file1"},{"photo_id":"1327666300","filename":"file0"},{"photo_id":"1327666326","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327666310":["hashtag1","hashtag2"]},{"1327666304":["hashtag1","hashtag2"]},{"1327666339":["hashtag1","hashtag2"]},{"1327666300":["hashtag1","hashtag2"]},{"1327666332":["hashtag1","hashtag2"]},{"1327666326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327666310, 1327666304, 1327666339, 1327666300, 1327666332, 1327666326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.49904608726501 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 17:43:41.997426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/34/image_09012025_14_34_03_148209_0001.jpg', '/home/pi/Desktop/images/09012025/14/34/image_09012025_14_34_03_148209_0002.jpg', '/home/pi/Desktop/images/09012025/14/34/image_09012025_14_34_03_148209_0003.jpg', '/home/pi/Desktop/images/09012025/14/35/image_09012025_14_35_02_334656_0000.jpg', '/home/pi/Desktop/images/09012025/14/35/image_09012025_14_35_02_334656_0001.jpg', '/home/pi/Desktop/images/09012025/14/35/image_09012025_14_35_02_334656_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/34/image_09012025_14_34_03_148209_0001.jpg
/home/pi/Desktop/images/09012025/14/34/image_09012025_14_34_03_148209_0002.jpg
/home/pi/Desktop/images/09012025/14/34/image_09012025_14_34_03_148209_0003.jpg
/home/pi/Desktop/images/09012025/14/35/image_09012025_14_35_02_334656_0000.jpg
/home/pi/Desktop/images/09012025/14/35/image_09012025_14_35_02_334656_0001.jpg
/home/pi/Desktop/images/09012025/14/35/image_09012025_14_35_02_334656_0002.jpg
 val : 1 : upload photos 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":["1327666520","1327666477","1327666492","1327666534","1327666554","1327666527"],"photo_ids_order":["1327666477","1327666492","1327666520","1327666527","1327666534","1327666554"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9368528e835a481972b2faa23a63b1bd.jpg","text":"TemporaryFile(/tmp/multipartBody3043707446280629300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441120685,"filename":"image_09012025_14_34_03_148209_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cc02f784354d66b7d921f29fb92a47dd.jpg","text":"TemporaryFile(/tmp/multipartBody1037154236531507353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441120685,"filename":"image_09012025_14_34_03_148209_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ae465a1678ff8548430111878ae32245.jpg","text":"TemporaryFile(/tmp/multipartBody1713366282040686443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441120685,"filename":"image_09012025_14_34_03_148209_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/98c896faaa3dd17b7eff991c266ab419.jpg","text":"TemporaryFile(/tmp/multipartBody7951098150584178093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441120685,"filename":"image_09012025_14_35_02_334656_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6ccc2c267d7f46f15d3cb83714b97f3f.jpg","text":"TemporaryFile(/tmp/multipartBody527844401039910046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441120685,"filename":"image_09012025_14_35_02_334656_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f19dd08200aef56241753ccdb58f9dc7.jpg","text":"TemporaryFile(/tmp/multipartBody5981626884650226033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441120685,"filename":"image_09012025_14_35_02_334656_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327666520","file1":"1327666492","file0":"1327666477","file4":"1327666534","file5":"1327666554","file3":"1327666527"},"map_files_photo_id_array":[{"photo_id":"1327666554","filename":"file5"},{"photo_id":"1327666520","filename":"file2"},{"photo_id":"1327666534","filename":"file4"},{"photo_id":"1327666492","filename":"file1"},{"photo_id":"1327666477","filename":"file0"},{"photo_id":"1327666527","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327666520":["hashtag1","hashtag2"]},{"1327666477":["hashtag1","hashtag2"]},{"1327666492":["hashtag1","hashtag2"]},{"1327666534":["hashtag1","hashtag2"]},{"1327666554":["hashtag1","hashtag2"]},{"1327666527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327666520, 1327666477, 1327666492, 1327666534, 1327666554, 1327666527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.28808903694153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 17:45:22.449205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/35/image_09012025_14_35_02_334656_0003.jpg', '/home/pi/Desktop/images/09012025/14/36/image_09012025_14_36_02_504588_0000.jpg', '/home/pi/Desktop/images/09012025/14/36/image_09012025_14_36_02_504588_0001.jpg', '/home/pi/Desktop/images/09012025/14/36/image_09012025_14_36_02_504588_0002.jpg', '/home/pi/Desktop/images/09012025/14/36/image_09012025_14_36_02_504588_0003.jpg', '/home/pi/Desktop/images/09012025/14/37/image_09012025_14_37_02_691431_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/35/image_09012025_14_35_02_334656_0003.jpg
/home/pi/Desktop/images/09012025/14/36/image_09012025_14_36_02_504588_0000.jpg
/home/pi/Desktop/images/09012025/14/36/image_09012025_14_36_02_504588_0001.jpg
/home/pi/Desktop/images/09012025/14/36/image_09012025_14_36_02_504588_0002.jpg
/home/pi/Desktop/images/09012025/14/36/image_09012025_14_36_02_504588_0003.jpg
/home/pi/Desktop/images/09012025/14/37/image_09012025_14_37_02_691431_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327666820","1327666717","1327666803","1327666806","1327666629","1327666793"],"photo_ids_order":["1327666629","1327666717","1327666793","1327666803","1327666806","1327666820"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/73a04948dd648dba950c89c6818fab3e.jpg","text":"TemporaryFile(/tmp/multipartBody4980094199119482559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441226973,"filename":"image_09012025_14_37_02_691431_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d4069dbceaad5137d40441c5be709586.jpg","text":"TemporaryFile(/tmp/multipartBody1599403958108091061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441226973,"filename":"image_09012025_14_36_02_504588_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0d9bd7935f16c8d52a8324f0fa878df6.jpg","text":"TemporaryFile(/tmp/multipartBody7527147634900564639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441226973,"filename":"image_09012025_14_36_02_504588_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d9f925cf694635767c09344aca6629b2.jpg","text":"TemporaryFile(/tmp/multipartBody3840635919869523724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441226973,"filename":"image_09012025_14_36_02_504588_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/85e4233367e3500e5a8a6599623c9fb1.jpg","text":"TemporaryFile(/tmp/multipartBody3283598998680008315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441226973,"filename":"image_09012025_14_35_02_334656_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b6af30b4feeedb3a02d5ee95daca70e9.jpg","text":"TemporaryFile(/tmp/multipartBody2327819314645332189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441226973,"filename":"image_09012025_14_36_02_504588_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327666793","file1":"1327666717","file0":"1327666629","file4":"1327666806","file5":"1327666820","file3":"1327666803"},"map_files_photo_id_array":[{"photo_id":"1327666820","filename":"file5"},{"photo_id":"1327666793","filename":"file2"},{"photo_id":"1327666806","filename":"file4"},{"photo_id":"1327666717","filename":"file1"},{"photo_id":"1327666629","filename":"file0"},{"photo_id":"1327666803","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327666820":["hashtag1","hashtag2"]},{"1327666717":["hashtag1","hashtag2"]},{"1327666803":["hashtag1","hashtag2"]},{"1327666806":["hashtag1","hashtag2"]},{"1327666629":["hashtag1","hashtag2"]},{"1327666793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327666820, 1327666717, 1327666803, 1327666806, 1327666629, 1327666793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.32703280448914 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 17:47:03.351289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/37/image_09012025_14_37_02_691431_0001.jpg', '/home/pi/Desktop/images/09012025/14/37/image_09012025_14_37_02_691431_0002.jpg', '/home/pi/Desktop/images/09012025/14/37/image_09012025_14_37_02_691431_0003.jpg', '/home/pi/Desktop/images/09012025/14/38/image_09012025_14_38_02_865804_0000.jpg', '/home/pi/Desktop/images/09012025/14/38/image_09012025_14_38_02_865804_0001.jpg', '/home/pi/Desktop/images/09012025/14/38/image_09012025_14_38_02_865804_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/37/image_09012025_14_37_02_691431_0001.jpg
/home/pi/Desktop/images/09012025/14/37/image_09012025_14_37_02_691431_0002.jpg
/home/pi/Desktop/images/09012025/14/37/image_09012025_14_37_02_691431_0003.jpg
/home/pi/Desktop/images/09012025/14/38/image_09012025_14_38_02_865804_0000.jpg
/home/pi/Desktop/images/09012025/14/38/image_09012025_14_38_02_865804_0001.jpg
/home/pi/Desktop/images/09012025/14/38/image_09012025_14_38_02_865804_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327666928","1327666907","1327666916","1327666945","1327666903","1327666938"],"photo_ids_order":["1327666903","1327666907","1327666916","1327666928","1327666938","1327666945"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/61a0d66bc6c2a76f40d1383ef3618e42.jpg","text":"TemporaryFile(/tmp/multipartBody6123217401082667754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441329937,"filename":"image_09012025_14_38_02_865804_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5a6f3c2c600d30c261c91535e23c5372.jpg","text":"TemporaryFile(/tmp/multipartBody6460010042843057995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441329937,"filename":"image_09012025_14_37_02_691431_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/23845ac8db14bd9f840c041236bdf8db.jpg","text":"TemporaryFile(/tmp/multipartBody4485014147061007559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441329937,"filename":"image_09012025_14_37_02_691431_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0ec1098c3d64b831ef57b9670ecd1ada.jpg","text":"TemporaryFile(/tmp/multipartBody5756464728678082535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441329937,"filename":"image_09012025_14_38_02_865804_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ef66859ba7ae80022311232990380dde.jpg","text":"TemporaryFile(/tmp/multipartBody7610949233252287357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441329937,"filename":"image_09012025_14_37_02_691431_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d8ceeea9802ee6d8bce68675af110b77.jpg","text":"TemporaryFile(/tmp/multipartBody312885716381516295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441329937,"filename":"image_09012025_14_38_02_865804_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327666916","file1":"1327666907","file0":"1327666903","file4":"1327666938","file5":"1327666945","file3":"1327666928"},"map_files_photo_id_array":[{"photo_id":"1327666945","filename":"file5"},{"photo_id":"1327666916","filename":"file2"},{"photo_id":"1327666938","filename":"file4"},{"photo_id":"1327666907","filename":"file1"},{"photo_id":"1327666903","filename":"file0"},{"photo_id":"1327666928","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327666928":["hashtag1","hashtag2"]},{"1327666907":["hashtag1","hashtag2"]},{"1327666916":["hashtag1","hashtag2"]},{"1327666945":["hashtag1","hashtag2"]},{"1327666903":["hashtag1","hashtag2"]},{"1327666938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327666928, 1327666907, 1327666916, 1327666945, 1327666903, 1327666938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.7795729637146 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 17:48:52.014592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/38/image_09012025_14_38_02_865804_0003.jpg', '/home/pi/Desktop/images/09012025/14/39/image_09012025_14_39_03_109318_0000.jpg', '/home/pi/Desktop/images/09012025/14/39/image_09012025_14_39_03_109318_0001.jpg', '/home/pi/Desktop/images/09012025/14/39/image_09012025_14_39_03_109318_0002.jpg', '/home/pi/Desktop/images/09012025/14/39/image_09012025_14_39_03_109318_0003.jpg', '/home/pi/Desktop/images/09012025/14/40/image_09012025_14_40_02_287678_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/38/image_09012025_14_38_02_865804_0003.jpg
/home/pi/Desktop/images/09012025/14/39/image_09012025_14_39_03_109318_0000.jpg
/home/pi/Desktop/images/09012025/14/39/image_09012025_14_39_03_109318_0001.jpg
/home/pi/Desktop/images/09012025/14/39/image_09012025_14_39_03_109318_0002.jpg
/home/pi/Desktop/images/09012025/14/39/image_09012025_14_39_03_109318_0003.jpg
/home/pi/Desktop/images/09012025/14/40/image_09012025_14_40_02_287678_0000.jpg
 val : 1 : upload photos 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":["1327667009","1327667005","1327666995","1327667022","1327666988","1327667030"],"photo_ids_order":["1327666988","1327666995","1327667005","1327667009","1327667022","1327667030"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dad97872623c648a5c29eac5e8a9bf4c.jpg","text":"TemporaryFile(/tmp/multipartBody275094140101374956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441410882,"filename":"image_09012025_14_39_03_109318_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/25f9a6ca13c2c926af7a8c721219ff1f.jpg","text":"TemporaryFile(/tmp/multipartBody4936248995411921485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441410882,"filename":"image_09012025_14_39_03_109318_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e010395614d4fd21b1299be1d17925ff.jpg","text":"TemporaryFile(/tmp/multipartBody597225882622820659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441410882,"filename":"image_09012025_14_39_03_109318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8eb97e840470657c867cf2259bde3f28.jpg","text":"TemporaryFile(/tmp/multipartBody1293234866093092059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441410882,"filename":"image_09012025_14_39_03_109318_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ece78ca6e5cdf6c09a2728aa2c8ca919.jpg","text":"TemporaryFile(/tmp/multipartBody5622487634965144767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441410882,"filename":"image_09012025_14_38_02_865804_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a43007a3cfc158fb06a8908757bf0404.jpg","text":"TemporaryFile(/tmp/multipartBody6722145763587198119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441410882,"filename":"image_09012025_14_40_02_287678_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327667005","file1":"1327666995","file0":"1327666988","file4":"1327667022","file5":"1327667030","file3":"1327667009"},"map_files_photo_id_array":[{"photo_id":"1327667030","filename":"file5"},{"photo_id":"1327667005","filename":"file2"},{"photo_id":"1327667022","filename":"file4"},{"photo_id":"1327666995","filename":"file1"},{"photo_id":"1327666988","filename":"file0"},{"photo_id":"1327667009","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327667009":["hashtag1","hashtag2"]},{"1327667005":["hashtag1","hashtag2"]},{"1327666995":["hashtag1","hashtag2"]},{"1327667022":["hashtag1","hashtag2"]},{"1327666988":["hashtag1","hashtag2"]},{"1327667030":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327667009, 1327667005, 1327666995, 1327667022, 1327666988, 1327667030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.96721196174622 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 17:50:22.377320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/40/image_09012025_14_40_02_287678_0001.jpg', '/home/pi/Desktop/images/09012025/14/40/image_09012025_14_40_02_287678_0002.jpg', '/home/pi/Desktop/images/09012025/14/40/image_09012025_14_40_02_287678_0003.jpg', '/home/pi/Desktop/images/09012025/14/41/image_09012025_14_41_02_513714_0001.jpg', '/home/pi/Desktop/images/09012025/14/41/image_09012025_14_41_02_513714_0002.jpg', '/home/pi/Desktop/images/09012025/14/41/image_09012025_14_41_02_513714_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/40/image_09012025_14_40_02_287678_0001.jpg
/home/pi/Desktop/images/09012025/14/40/image_09012025_14_40_02_287678_0002.jpg
/home/pi/Desktop/images/09012025/14/40/image_09012025_14_40_02_287678_0003.jpg
/home/pi/Desktop/images/09012025/14/41/image_09012025_14_41_02_513714_0001.jpg
/home/pi/Desktop/images/09012025/14/41/image_09012025_14_41_02_513714_0002.jpg
/home/pi/Desktop/images/09012025/14/41/image_09012025_14_41_02_513714_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327667281","1327667290","1327667293","1327667272","1327667251","1327667259"],"photo_ids_order":["1327667251","1327667259","1327667272","1327667281","1327667290","1327667293"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dbf8c557a46877f46c83cd7c59f95fd1.jpg","text":"TemporaryFile(/tmp/multipartBody1450255293911713435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441520031,"filename":"image_09012025_14_41_02_513714_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/19002da7666a9bed0dcdeb11328e568e.jpg","text":"TemporaryFile(/tmp/multipartBody3578665671638838089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441520031,"filename":"image_09012025_14_41_02_513714_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a2fd3aec1fe23d92fbb55f65913b6fc5.jpg","text":"TemporaryFile(/tmp/multipartBody4034000955029876047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441520031,"filename":"image_09012025_14_41_02_513714_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3b8ff1eca6c412bb7cde28e956dd8e9d.jpg","text":"TemporaryFile(/tmp/multipartBody3813196484974928165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441520031,"filename":"image_09012025_14_40_02_287678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0cfa31edfb7564c064a85a7799844fb5.jpg","text":"TemporaryFile(/tmp/multipartBody6415259976832935079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441520031,"filename":"image_09012025_14_40_02_287678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0d26cf2a43d4ce539b69c296b2a33f14.jpg","text":"TemporaryFile(/tmp/multipartBody4863074622429705523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441520031,"filename":"image_09012025_14_40_02_287678_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327667272","file1":"1327667259","file0":"1327667251","file4":"1327667290","file5":"1327667293","file3":"1327667281"},"map_files_photo_id_array":[{"photo_id":"1327667293","filename":"file5"},{"photo_id":"1327667272","filename":"file2"},{"photo_id":"1327667290","filename":"file4"},{"photo_id":"1327667259","filename":"file1"},{"photo_id":"1327667251","filename":"file0"},{"photo_id":"1327667281","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327667281":["hashtag1","hashtag2"]},{"1327667290":["hashtag1","hashtag2"]},{"1327667293":["hashtag1","hashtag2"]},{"1327667272":["hashtag1","hashtag2"]},{"1327667251":["hashtag1","hashtag2"]},{"1327667259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327667281, 1327667290, 1327667293, 1327667272, 1327667251, 1327667259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.48794984817505 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 17:52:21.828110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/42/image_09012025_14_42_02_576150_0000.jpg', '/home/pi/Desktop/images/09012025/14/42/image_09012025_14_42_02_576150_0001.jpg', '/home/pi/Desktop/images/09012025/14/42/image_09012025_14_42_02_576150_0002.jpg', '/home/pi/Desktop/images/09012025/14/43/image_09012025_14_43_02_735029_0000.jpg', '/home/pi/Desktop/images/09012025/14/43/image_09012025_14_43_02_735029_0001.jpg', '/home/pi/Desktop/images/09012025/14/43/image_09012025_14_43_02_735029_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/42/image_09012025_14_42_02_576150_0000.jpg
/home/pi/Desktop/images/09012025/14/42/image_09012025_14_42_02_576150_0001.jpg
/home/pi/Desktop/images/09012025/14/42/image_09012025_14_42_02_576150_0002.jpg
/home/pi/Desktop/images/09012025/14/43/image_09012025_14_43_02_735029_0000.jpg
/home/pi/Desktop/images/09012025/14/43/image_09012025_14_43_02_735029_0001.jpg
/home/pi/Desktop/images/09012025/14/43/image_09012025_14_43_02_735029_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327668216","1327668411","1327668278","1327668416","1327668113","1327668397"],"photo_ids_order":["1327668113","1327668216","1327668278","1327668397","1327668411","1327668416"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a5e11ceb8b465b482b59300c55a65635.jpg","text":"TemporaryFile(/tmp/multipartBody5597590114661073903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441642727,"filename":"image_09012025_14_42_02_576150_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/52a7b49eabd156873f0192e9853ec090.jpg","text":"TemporaryFile(/tmp/multipartBody8688377010755953791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441642727,"filename":"image_09012025_14_43_02_735029_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/44852626e4a693d9a846f673c141e56b.jpg","text":"TemporaryFile(/tmp/multipartBody5119823823989961201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441642727,"filename":"image_09012025_14_42_02_576150_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/76d6bb105afd04b0eed89fcfce09d5ec.jpg","text":"TemporaryFile(/tmp/multipartBody3545992751664026101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441642727,"filename":"image_09012025_14_43_02_735029_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/82a22861ecb7c3eab0e3209521158b1f.jpg","text":"TemporaryFile(/tmp/multipartBody127092294197679769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441642727,"filename":"image_09012025_14_42_02_576150_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e2fa005c092cfc602dbb9136b3290825.jpg","text":"TemporaryFile(/tmp/multipartBody8232900466369470484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441642727,"filename":"image_09012025_14_43_02_735029_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327668278","file1":"1327668216","file0":"1327668113","file4":"1327668411","file5":"1327668416","file3":"1327668397"},"map_files_photo_id_array":[{"photo_id":"1327668416","filename":"file5"},{"photo_id":"1327668278","filename":"file2"},{"photo_id":"1327668411","filename":"file4"},{"photo_id":"1327668216","filename":"file1"},{"photo_id":"1327668113","filename":"file0"},{"photo_id":"1327668397","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327668216":["hashtag1","hashtag2"]},{"1327668411":["hashtag1","hashtag2"]},{"1327668278":["hashtag1","hashtag2"]},{"1327668416":["hashtag1","hashtag2"]},{"1327668113":["hashtag1","hashtag2"]},{"1327668397":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327668216, 1327668411, 1327668278, 1327668416, 1327668113, 1327668397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.5356912612915 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 17:54:02.605470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/43/image_09012025_14_43_02_735029_0003.jpg', '/home/pi/Desktop/images/09012025/14/44/image_09012025_14_44_02_936973_0000.jpg', '/home/pi/Desktop/images/09012025/14/44/image_09012025_14_44_02_936973_0001.jpg', '/home/pi/Desktop/images/09012025/14/44/image_09012025_14_44_02_936973_0002.jpg', '/home/pi/Desktop/images/09012025/14/44/image_09012025_14_44_02_936973_0003.jpg', '/home/pi/Desktop/images/09012025/14/45/image_09012025_14_45_03_062447_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/43/image_09012025_14_43_02_735029_0003.jpg
/home/pi/Desktop/images/09012025/14/44/image_09012025_14_44_02_936973_0000.jpg
/home/pi/Desktop/images/09012025/14/44/image_09012025_14_44_02_936973_0001.jpg
/home/pi/Desktop/images/09012025/14/44/image_09012025_14_44_02_936973_0002.jpg
/home/pi/Desktop/images/09012025/14/44/image_09012025_14_44_02_936973_0003.jpg
/home/pi/Desktop/images/09012025/14/45/image_09012025_14_45_03_062447_0000.jpg
 val : 1 : upload photos 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":["1327668489","1327668507","1327668494","1327668500","1327668469","1327668454"],"photo_ids_order":["1327668454","1327668469","1327668489","1327668494","1327668500","1327668507"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7c9eaa168ec0aa47495416d4282ab3ab.jpg","text":"TemporaryFile(/tmp/multipartBody746389112093213745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441738645,"filename":"image_09012025_14_44_02_936973_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5f33e01e3250639fb4494695601f68fa.jpg","text":"TemporaryFile(/tmp/multipartBody1991532722406195800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441738645,"filename":"image_09012025_14_45_03_062447_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/448f44441d39bf375c6b6a67e8d14f89.jpg","text":"TemporaryFile(/tmp/multipartBody6854910489430093416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441738645,"filename":"image_09012025_14_44_02_936973_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c57b6f7d078fb42a5ad4f2b0796de7e6.jpg","text":"TemporaryFile(/tmp/multipartBody7096228797534439281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441738645,"filename":"image_09012025_14_44_02_936973_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/acc998c448cd90c632d021ea84b5e12b.jpg","text":"TemporaryFile(/tmp/multipartBody2504444820583650281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441738645,"filename":"image_09012025_14_44_02_936973_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c46a531e1038cbea58fb644da14b9e07.jpg","text":"TemporaryFile(/tmp/multipartBody8042484210739917693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441738645,"filename":"image_09012025_14_43_02_735029_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327668489","file1":"1327668469","file0":"1327668454","file4":"1327668500","file5":"1327668507","file3":"1327668494"},"map_files_photo_id_array":[{"photo_id":"1327668507","filename":"file5"},{"photo_id":"1327668489","filename":"file2"},{"photo_id":"1327668500","filename":"file4"},{"photo_id":"1327668469","filename":"file1"},{"photo_id":"1327668454","filename":"file0"},{"photo_id":"1327668494","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327668489":["hashtag1","hashtag2"]},{"1327668507":["hashtag1","hashtag2"]},{"1327668494":["hashtag1","hashtag2"]},{"1327668500":["hashtag1","hashtag2"]},{"1327668469":["hashtag1","hashtag2"]},{"1327668454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327668489, 1327668507, 1327668494, 1327668500, 1327668469, 1327668454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.30064678192139 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 17:55:42.343151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/45/image_09012025_14_45_03_062447_0001.jpg', '/home/pi/Desktop/images/09012025/14/45/image_09012025_14_45_03_062447_0003.jpg', '/home/pi/Desktop/images/09012025/14/46/image_09012025_14_46_02_263534_0000.jpg', '/home/pi/Desktop/images/09012025/14/46/image_09012025_14_46_02_263534_0001.jpg', '/home/pi/Desktop/images/09012025/14/46/image_09012025_14_46_02_263534_0002.jpg', '/home/pi/Desktop/images/09012025/14/46/image_09012025_14_46_02_263534_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/45/image_09012025_14_45_03_062447_0001.jpg
/home/pi/Desktop/images/09012025/14/45/image_09012025_14_45_03_062447_0003.jpg
/home/pi/Desktop/images/09012025/14/46/image_09012025_14_46_02_263534_0000.jpg
/home/pi/Desktop/images/09012025/14/46/image_09012025_14_46_02_263534_0001.jpg
/home/pi/Desktop/images/09012025/14/46/image_09012025_14_46_02_263534_0002.jpg
/home/pi/Desktop/images/09012025/14/46/image_09012025_14_46_02_263534_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327669050","1327669076","1327669064","1327669058","1327669043","1327669069"],"photo_ids_order":["1327669043","1327669050","1327669058","1327669064","1327669069","1327669076"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b4a3b99d426048c989d37a3e81f4bec8.jpg","text":"TemporaryFile(/tmp/multipartBody460800476647856841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441851163,"filename":"image_09012025_14_45_03_062447_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c4ecfead79fdbf567b9630fcf8ebd331.jpg","text":"TemporaryFile(/tmp/multipartBody4055965293739251951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441851163,"filename":"image_09012025_14_46_02_263534_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0a89728f8cf1043637cd49c44f524f18.jpg","text":"TemporaryFile(/tmp/multipartBody5848020198248362115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441851163,"filename":"image_09012025_14_46_02_263534_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c380275f868ba612e7ff228cda64fe8e.jpg","text":"TemporaryFile(/tmp/multipartBody4364034592944518295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441851163,"filename":"image_09012025_14_46_02_263534_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bcfc664b4ea5261173b3e4df34a0fcf4.jpg","text":"TemporaryFile(/tmp/multipartBody573179049551628442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441851163,"filename":"image_09012025_14_45_03_062447_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/83a82c5208af1ff5ad40b3048da34f17.jpg","text":"TemporaryFile(/tmp/multipartBody9148513524170919939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736441851163,"filename":"image_09012025_14_46_02_263534_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327669058","file1":"1327669050","file0":"1327669043","file4":"1327669069","file5":"1327669076","file3":"1327669064"},"map_files_photo_id_array":[{"photo_id":"1327669076","filename":"file5"},{"photo_id":"1327669058","filename":"file2"},{"photo_id":"1327669069","filename":"file4"},{"photo_id":"1327669050","filename":"file1"},{"photo_id":"1327669043","filename":"file0"},{"photo_id":"1327669064","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327669050":["hashtag1","hashtag2"]},{"1327669076":["hashtag1","hashtag2"]},{"1327669064":["hashtag1","hashtag2"]},{"1327669058":["hashtag1","hashtag2"]},{"1327669043":["hashtag1","hashtag2"]},{"1327669069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327669050, 1327669076, 1327669064, 1327669058, 1327669043, 1327669069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.18426084518433 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 17:57:32.616303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/47/image_09012025_14_47_02_469399_0000.jpg', '/home/pi/Desktop/images/09012025/14/47/image_09012025_14_47_02_469399_0001.jpg', '/home/pi/Desktop/images/09012025/14/47/image_09012025_14_47_02_469399_0002.jpg', '/home/pi/Desktop/images/09012025/14/47/image_09012025_14_47_02_469399_0003.jpg', '/home/pi/Desktop/images/09012025/14/48/image_09012025_14_48_02_664262_0000.jpg', '/home/pi/Desktop/images/09012025/14/48/image_09012025_14_48_02_664262_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/47/image_09012025_14_47_02_469399_0000.jpg
/home/pi/Desktop/images/09012025/14/47/image_09012025_14_47_02_469399_0001.jpg
/home/pi/Desktop/images/09012025/14/47/image_09012025_14_47_02_469399_0002.jpg
/home/pi/Desktop/images/09012025/14/47/image_09012025_14_47_02_469399_0003.jpg
/home/pi/Desktop/images/09012025/14/48/image_09012025_14_48_02_664262_0000.jpg
/home/pi/Desktop/images/09012025/14/48/image_09012025_14_48_02_664262_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 17:59:02.661487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/47/image_09012025_14_47_02_469399_0000.jpg', '/home/pi/Desktop/images/09012025/14/47/image_09012025_14_47_02_469399_0001.jpg', '/home/pi/Desktop/images/09012025/14/47/image_09012025_14_47_02_469399_0002.jpg', '/home/pi/Desktop/images/09012025/14/47/image_09012025_14_47_02_469399_0003.jpg', '/home/pi/Desktop/images/09012025/14/48/image_09012025_14_48_02_664262_0000.jpg', '/home/pi/Desktop/images/09012025/14/48/image_09012025_14_48_02_664262_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/47/image_09012025_14_47_02_469399_0000.jpg
/home/pi/Desktop/images/09012025/14/47/image_09012025_14_47_02_469399_0001.jpg
/home/pi/Desktop/images/09012025/14/47/image_09012025_14_47_02_469399_0002.jpg
/home/pi/Desktop/images/09012025/14/47/image_09012025_14_47_02_469399_0003.jpg
/home/pi/Desktop/images/09012025/14/48/image_09012025_14_48_02_664262_0000.jpg
/home/pi/Desktop/images/09012025/14/48/image_09012025_14_48_02_664262_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327669332","1327669286","1327669280","1327669298","1327669270","1327669261"],"photo_ids_order":["1327669261","1327669270","1327669280","1327669286","1327669298","1327669332"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b85031768a7e9f18b14a945cf1008ba.jpg","text":"TemporaryFile(/tmp/multipartBody3575331860562106159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442032442,"filename":"image_09012025_14_48_02_664262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/72f22579c569cee00efe6e2feab099bb.jpg","text":"TemporaryFile(/tmp/multipartBody3593914437174442302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442032442,"filename":"image_09012025_14_47_02_469399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f35e61aceccf01d160d9c5cc2e91c349.jpg","text":"TemporaryFile(/tmp/multipartBody8943714424136177322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442032442,"filename":"image_09012025_14_47_02_469399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6d9f80ca20338527d3091e9c901808c0.jpg","text":"TemporaryFile(/tmp/multipartBody1967402141699594354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442032442,"filename":"image_09012025_14_48_02_664262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bacd3be4279033305f6d2bff2452ecf8.jpg","text":"TemporaryFile(/tmp/multipartBody4760809922079781673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442032442,"filename":"image_09012025_14_47_02_469399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/94efe4bd60883c7c33d897e77375fe7b.jpg","text":"TemporaryFile(/tmp/multipartBody4103474620907994994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442032442,"filename":"image_09012025_14_47_02_469399_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327669280","file1":"1327669270","file0":"1327669261","file4":"1327669298","file5":"1327669332","file3":"1327669286"},"map_files_photo_id_array":[{"photo_id":"1327669332","filename":"file5"},{"photo_id":"1327669280","filename":"file2"},{"photo_id":"1327669298","filename":"file4"},{"photo_id":"1327669270","filename":"file1"},{"photo_id":"1327669261","filename":"file0"},{"photo_id":"1327669286","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327669332":["hashtag1","hashtag2"]},{"1327669286":["hashtag1","hashtag2"]},{"1327669280":["hashtag1","hashtag2"]},{"1327669298":["hashtag1","hashtag2"]},{"1327669270":["hashtag1","hashtag2"]},{"1327669261":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327669332, 1327669286, 1327669280, 1327669298, 1327669270, 1327669261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.19054174423218 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 18:00:52.185052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/48/image_09012025_14_48_02_664262_0002.jpg', '/home/pi/Desktop/images/09012025/14/48/image_09012025_14_48_02_664262_0003.jpg', '/home/pi/Desktop/images/09012025/14/49/image_09012025_14_49_02_825228_0000.jpg', '/home/pi/Desktop/images/09012025/14/49/image_09012025_14_49_02_825228_0001.jpg', '/home/pi/Desktop/images/09012025/14/49/image_09012025_14_49_02_825228_0002.jpg', '/home/pi/Desktop/images/09012025/14/49/image_09012025_14_49_02_825228_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/48/image_09012025_14_48_02_664262_0002.jpg
/home/pi/Desktop/images/09012025/14/48/image_09012025_14_48_02_664262_0003.jpg
/home/pi/Desktop/images/09012025/14/49/image_09012025_14_49_02_825228_0000.jpg
/home/pi/Desktop/images/09012025/14/49/image_09012025_14_49_02_825228_0001.jpg
/home/pi/Desktop/images/09012025/14/49/image_09012025_14_49_02_825228_0002.jpg
/home/pi/Desktop/images/09012025/14/49/image_09012025_14_49_02_825228_0003.jpg
 val : 1 : upload photos 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":["1327669551","1327669518","1327669547","1327669502","1327669415","1327669471"],"photo_ids_order":["1327669415","1327669471","1327669502","1327669518","1327669547","1327669551"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0ee12ebf29f139c5e5eb0e8e6d684bcc.jpg","text":"TemporaryFile(/tmp/multipartBody4959972391301255213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442143441,"filename":"image_09012025_14_49_02_825228_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d0ab07a86188a5bebd95684649f3c7bb.jpg","text":"TemporaryFile(/tmp/multipartBody6873493208312237001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442143441,"filename":"image_09012025_14_49_02_825228_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3c0625902e5be8dcec8610942d905a33.jpg","text":"TemporaryFile(/tmp/multipartBody7348241025254692598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442143441,"filename":"image_09012025_14_49_02_825228_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6d2e6b1c228fefd9e01297612a022236.jpg","text":"TemporaryFile(/tmp/multipartBody1643740383365871814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442143441,"filename":"image_09012025_14_49_02_825228_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6deb0d60264b5d440528a578c128decc.jpg","text":"TemporaryFile(/tmp/multipartBody5052026484653344717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442143441,"filename":"image_09012025_14_48_02_664262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a2ea3044f8b8427c48d6d5b558498e06.jpg","text":"TemporaryFile(/tmp/multipartBody1454120000101166419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442143441,"filename":"image_09012025_14_48_02_664262_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327669502","file1":"1327669471","file0":"1327669415","file4":"1327669547","file5":"1327669551","file3":"1327669518"},"map_files_photo_id_array":[{"photo_id":"1327669551","filename":"file5"},{"photo_id":"1327669502","filename":"file2"},{"photo_id":"1327669547","filename":"file4"},{"photo_id":"1327669471","filename":"file1"},{"photo_id":"1327669415","filename":"file0"},{"photo_id":"1327669518","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327669551":["hashtag1","hashtag2"]},{"1327669518":["hashtag1","hashtag2"]},{"1327669547":["hashtag1","hashtag2"]},{"1327669502":["hashtag1","hashtag2"]},{"1327669415":["hashtag1","hashtag2"]},{"1327669471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327669551, 1327669518, 1327669547, 1327669502, 1327669415, 1327669471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.75409746170044 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 18:02:32.648757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/50/image_09012025_14_50_03_005986_0000.jpg', '/home/pi/Desktop/images/09012025/14/50/image_09012025_14_50_03_005986_0001.jpg', '/home/pi/Desktop/images/09012025/14/50/image_09012025_14_50_03_005986_0002.jpg', '/home/pi/Desktop/images/09012025/14/50/image_09012025_14_50_03_005986_0003.jpg', '/home/pi/Desktop/images/09012025/14/51/image_09012025_14_51_02_282854_0000.jpg', '/home/pi/Desktop/images/09012025/14/51/image_09012025_14_51_02_282854_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/50/image_09012025_14_50_03_005986_0000.jpg
/home/pi/Desktop/images/09012025/14/50/image_09012025_14_50_03_005986_0001.jpg
/home/pi/Desktop/images/09012025/14/50/image_09012025_14_50_03_005986_0002.jpg
/home/pi/Desktop/images/09012025/14/50/image_09012025_14_50_03_005986_0003.jpg
/home/pi/Desktop/images/09012025/14/51/image_09012025_14_51_02_282854_0000.jpg
/home/pi/Desktop/images/09012025/14/51/image_09012025_14_51_02_282854_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327669731","1327669751","1327669739","1327669727","1327669765","1327669759"],"photo_ids_order":["1327669727","1327669731","1327669739","1327669751","1327669759","1327669765"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ea31ef86909173a030db8a2d946198b3.jpg","text":"TemporaryFile(/tmp/multipartBody4116174196130140459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442253736,"filename":"image_09012025_14_50_03_005986_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f7bd90d65198e1d2307f262c3f315c8c.jpg","text":"TemporaryFile(/tmp/multipartBody6610463489332738580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442253736,"filename":"image_09012025_14_50_03_005986_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9c83ac25359771f3ebf944dff221056c.jpg","text":"TemporaryFile(/tmp/multipartBody4263700614775689829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442253736,"filename":"image_09012025_14_50_03_005986_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ad03dd9a7f9da760a2525a8de7d62a4c.jpg","text":"TemporaryFile(/tmp/multipartBody4539121953979515144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442253736,"filename":"image_09012025_14_50_03_005986_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b5f9d4377e7ebf3e6e8fd2865619d21b.jpg","text":"TemporaryFile(/tmp/multipartBody3164041823906759433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442253736,"filename":"image_09012025_14_51_02_282854_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/71f7f021d395693ce964389095426bab.jpg","text":"TemporaryFile(/tmp/multipartBody4573848845377918871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442253736,"filename":"image_09012025_14_51_02_282854_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327669739","file1":"1327669731","file0":"1327669727","file4":"1327669759","file5":"1327669765","file3":"1327669751"},"map_files_photo_id_array":[{"photo_id":"1327669765","filename":"file5"},{"photo_id":"1327669739","filename":"file2"},{"photo_id":"1327669759","filename":"file4"},{"photo_id":"1327669731","filename":"file1"},{"photo_id":"1327669727","filename":"file0"},{"photo_id":"1327669751","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327669731":["hashtag1","hashtag2"]},{"1327669751":["hashtag1","hashtag2"]},{"1327669739":["hashtag1","hashtag2"]},{"1327669727":["hashtag1","hashtag2"]},{"1327669765":["hashtag1","hashtag2"]},{"1327669759":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327669731, 1327669751, 1327669739, 1327669727, 1327669765, 1327669759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.25202083587646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 18:04:21.904942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/51/image_09012025_14_51_02_282854_0002.jpg', '/home/pi/Desktop/images/09012025/14/51/image_09012025_14_51_02_282854_0003.jpg', '/home/pi/Desktop/images/09012025/14/52/image_09012025_14_52_02_377365_0000.jpg', '/home/pi/Desktop/images/09012025/14/52/image_09012025_14_52_02_377365_0001.jpg', '/home/pi/Desktop/images/09012025/14/52/image_09012025_14_52_02_377365_0002.jpg', '/home/pi/Desktop/images/09012025/14/52/image_09012025_14_52_02_377365_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/51/image_09012025_14_51_02_282854_0002.jpg
/home/pi/Desktop/images/09012025/14/51/image_09012025_14_51_02_282854_0003.jpg
/home/pi/Desktop/images/09012025/14/52/image_09012025_14_52_02_377365_0000.jpg
/home/pi/Desktop/images/09012025/14/52/image_09012025_14_52_02_377365_0001.jpg
/home/pi/Desktop/images/09012025/14/52/image_09012025_14_52_02_377365_0002.jpg
/home/pi/Desktop/images/09012025/14/52/image_09012025_14_52_02_377365_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327669863","1327669848","1327669827","1327669841","1327669855","1327669843"],"photo_ids_order":["1327669827","1327669841","1327669843","1327669848","1327669855","1327669863"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/30645642a3a9b091c70e1f6eab1bcbd3.jpg","text":"TemporaryFile(/tmp/multipartBody4039986450811982699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442361228,"filename":"image_09012025_14_52_02_377365_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/90420cd4d88bdbd18971ea1b17a34689.jpg","text":"TemporaryFile(/tmp/multipartBody3825034875801987389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442361228,"filename":"image_09012025_14_52_02_377365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/88cdb46f178889a1ed0ba1a6e2e1af95.jpg","text":"TemporaryFile(/tmp/multipartBody5967568797382116495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442361228,"filename":"image_09012025_14_51_02_282854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0e0bc6f6ef0237a564353af2027c7cae.jpg","text":"TemporaryFile(/tmp/multipartBody4715439109921352241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442361228,"filename":"image_09012025_14_51_02_282854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6eb9c4d17cc715768edab548349ee3ed.jpg","text":"TemporaryFile(/tmp/multipartBody713785944115392739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442361228,"filename":"image_09012025_14_52_02_377365_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4c558d112c2e9c998efa8db17bd37f56.jpg","text":"TemporaryFile(/tmp/multipartBody2862361299057875595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442361228,"filename":"image_09012025_14_52_02_377365_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327669843","file1":"1327669841","file0":"1327669827","file4":"1327669855","file5":"1327669863","file3":"1327669848"},"map_files_photo_id_array":[{"photo_id":"1327669863","filename":"file5"},{"photo_id":"1327669843","filename":"file2"},{"photo_id":"1327669855","filename":"file4"},{"photo_id":"1327669841","filename":"file1"},{"photo_id":"1327669827","filename":"file0"},{"photo_id":"1327669848","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327669863":["hashtag1","hashtag2"]},{"1327669848":["hashtag1","hashtag2"]},{"1327669827":["hashtag1","hashtag2"]},{"1327669841":["hashtag1","hashtag2"]},{"1327669855":["hashtag1","hashtag2"]},{"1327669843":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327669863, 1327669848, 1327669827, 1327669841, 1327669855, 1327669843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.27437591552734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 18:06:02.627304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/53/image_09012025_14_53_02_668127_0000.jpg', '/home/pi/Desktop/images/09012025/14/53/image_09012025_14_53_02_668127_0001.jpg', '/home/pi/Desktop/images/09012025/14/53/image_09012025_14_53_02_668127_0002.jpg', '/home/pi/Desktop/images/09012025/14/53/image_09012025_14_53_02_668127_0003.jpg', '/home/pi/Desktop/images/09012025/14/54/image_09012025_14_54_02_786577_0000.jpg', '/home/pi/Desktop/images/09012025/14/54/image_09012025_14_54_02_786577_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/53/image_09012025_14_53_02_668127_0000.jpg
/home/pi/Desktop/images/09012025/14/53/image_09012025_14_53_02_668127_0001.jpg
/home/pi/Desktop/images/09012025/14/53/image_09012025_14_53_02_668127_0002.jpg
/home/pi/Desktop/images/09012025/14/53/image_09012025_14_53_02_668127_0003.jpg
/home/pi/Desktop/images/09012025/14/54/image_09012025_14_54_02_786577_0000.jpg
/home/pi/Desktop/images/09012025/14/54/image_09012025_14_54_02_786577_0001.jpg
 val : 1 : upload photos 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":["1327669959","1327669950","1327669974","1327669941","1327669972","1327669966"],"photo_ids_order":["1327669941","1327669950","1327669959","1327669966","1327669972","1327669974"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d494b26c8571612d6c10a9069230110f.jpg","text":"TemporaryFile(/tmp/multipartBody2234768094734093505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442459898,"filename":"image_09012025_14_53_02_668127_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e2ec19e3133c858ef247c03f40236e49.jpg","text":"TemporaryFile(/tmp/multipartBody598060734502675682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442459898,"filename":"image_09012025_14_53_02_668127_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8d6e0773a0bc00cdc7ac12ecf0b6cdcd.jpg","text":"TemporaryFile(/tmp/multipartBody3413691061864770363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442459898,"filename":"image_09012025_14_54_02_786577_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/37a01236b4ee42661b582884f7399ebf.jpg","text":"TemporaryFile(/tmp/multipartBody8112116323511635385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442459898,"filename":"image_09012025_14_53_02_668127_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3abeb468c821b755aed45939b3e5af23.jpg","text":"TemporaryFile(/tmp/multipartBody3048767948541520580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442459898,"filename":"image_09012025_14_54_02_786577_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0234c3d922e116b826c5be44b00d330b.jpg","text":"TemporaryFile(/tmp/multipartBody236479484574674662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442459898,"filename":"image_09012025_14_53_02_668127_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327669959","file1":"1327669950","file0":"1327669941","file4":"1327669972","file5":"1327669974","file3":"1327669966"},"map_files_photo_id_array":[{"photo_id":"1327669974","filename":"file5"},{"photo_id":"1327669959","filename":"file2"},{"photo_id":"1327669972","filename":"file4"},{"photo_id":"1327669950","filename":"file1"},{"photo_id":"1327669941","filename":"file0"},{"photo_id":"1327669966","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327669959":["hashtag1","hashtag2"]},{"1327669950":["hashtag1","hashtag2"]},{"1327669974":["hashtag1","hashtag2"]},{"1327669941":["hashtag1","hashtag2"]},{"1327669972":["hashtag1","hashtag2"]},{"1327669966":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327669959, 1327669950, 1327669974, 1327669941, 1327669972, 1327669966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.83189845085144 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 18:07:42.558479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/54/image_09012025_14_54_02_786577_0002.jpg', '/home/pi/Desktop/images/09012025/14/54/image_09012025_14_54_02_786577_0003.jpg', '/home/pi/Desktop/images/09012025/14/55/image_09012025_14_55_02_983596_0000.jpg', '/home/pi/Desktop/images/09012025/14/55/image_09012025_14_55_02_983596_0001.jpg', '/home/pi/Desktop/images/09012025/14/55/image_09012025_14_55_02_983596_0002.jpg', '/home/pi/Desktop/images/09012025/14/55/image_09012025_14_55_02_983596_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/54/image_09012025_14_54_02_786577_0002.jpg
/home/pi/Desktop/images/09012025/14/54/image_09012025_14_54_02_786577_0003.jpg
/home/pi/Desktop/images/09012025/14/55/image_09012025_14_55_02_983596_0000.jpg
/home/pi/Desktop/images/09012025/14/55/image_09012025_14_55_02_983596_0001.jpg
/home/pi/Desktop/images/09012025/14/55/image_09012025_14_55_02_983596_0002.jpg
/home/pi/Desktop/images/09012025/14/55/image_09012025_14_55_02_983596_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327670149","1327670134","1327670139","1327670121","1327670126","1327670068"],"photo_ids_order":["1327670068","1327670121","1327670126","1327670134","1327670139","1327670149"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/48ffeb8194924c8420a0dca9cffbdcb8.jpg","text":"TemporaryFile(/tmp/multipartBody58147727930502489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442568489,"filename":"image_09012025_14_55_02_983596_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/598165d9cf23c3e637bcb76d83b5a493.jpg","text":"TemporaryFile(/tmp/multipartBody3990216433456018276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442568489,"filename":"image_09012025_14_55_02_983596_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/df69778dde07d1b99256fec7f494d698.jpg","text":"TemporaryFile(/tmp/multipartBody8300150122429651207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442568489,"filename":"image_09012025_14_55_02_983596_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1bbdcc99ca06fa0c34ad9f6cd6fb2c51.jpg","text":"TemporaryFile(/tmp/multipartBody5197315233513836466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442568489,"filename":"image_09012025_14_54_02_786577_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b2fcb523e58edd15a140e58a791fa6b5.jpg","text":"TemporaryFile(/tmp/multipartBody3708564810525154716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442568489,"filename":"image_09012025_14_55_02_983596_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/08b5e22b128b14e7651700a039bbb582.jpg","text":"TemporaryFile(/tmp/multipartBody2902822943622004936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442568489,"filename":"image_09012025_14_54_02_786577_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327670126","file1":"1327670121","file0":"1327670068","file4":"1327670139","file5":"1327670149","file3":"1327670134"},"map_files_photo_id_array":[{"photo_id":"1327670149","filename":"file5"},{"photo_id":"1327670126","filename":"file2"},{"photo_id":"1327670139","filename":"file4"},{"photo_id":"1327670121","filename":"file1"},{"photo_id":"1327670068","filename":"file0"},{"photo_id":"1327670134","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327670149":["hashtag1","hashtag2"]},{"1327670134":["hashtag1","hashtag2"]},{"1327670139":["hashtag1","hashtag2"]},{"1327670121":["hashtag1","hashtag2"]},{"1327670126":["hashtag1","hashtag2"]},{"1327670068":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327670149, 1327670134, 1327670139, 1327670121, 1327670126, 1327670068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.4840395450592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 18:09:31.811029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/56/image_09012025_14_56_02_131563_0000.jpg', '/home/pi/Desktop/images/09012025/14/56/image_09012025_14_56_02_131563_0001.jpg', '/home/pi/Desktop/images/09012025/14/56/image_09012025_14_56_02_131563_0002.jpg', '/home/pi/Desktop/images/09012025/14/56/image_09012025_14_56_02_131563_0003.jpg', '/home/pi/Desktop/images/09012025/14/57/image_09012025_14_57_02_435386_0000.jpg', '/home/pi/Desktop/images/09012025/14/57/image_09012025_14_57_02_435386_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/56/image_09012025_14_56_02_131563_0000.jpg
/home/pi/Desktop/images/09012025/14/56/image_09012025_14_56_02_131563_0001.jpg
/home/pi/Desktop/images/09012025/14/56/image_09012025_14_56_02_131563_0002.jpg
/home/pi/Desktop/images/09012025/14/56/image_09012025_14_56_02_131563_0003.jpg
/home/pi/Desktop/images/09012025/14/57/image_09012025_14_57_02_435386_0000.jpg
/home/pi/Desktop/images/09012025/14/57/image_09012025_14_57_02_435386_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327670248","1327670241","1327670219","1327670210","1327670197","1327670201"],"photo_ids_order":["1327670197","1327670201","1327670210","1327670219","1327670241","1327670248"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/daf04516a7d7f0eb2d73ebdd64c73a09.jpg","text":"TemporaryFile(/tmp/multipartBody569358647397072757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442669082,"filename":"image_09012025_14_57_02_435386_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/432887c385681445d1680b8913372444.jpg","text":"TemporaryFile(/tmp/multipartBody8035895743545492413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442669082,"filename":"image_09012025_14_57_02_435386_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bd73374c66daff24299949fde5c77ac3.jpg","text":"TemporaryFile(/tmp/multipartBody685785041317663759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442669082,"filename":"image_09012025_14_56_02_131563_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/32d2b7665a68d8bb24a34931a68a83a8.jpg","text":"TemporaryFile(/tmp/multipartBody5198481496296276935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442669082,"filename":"image_09012025_14_56_02_131563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2d1a460c0ebe70d2c10745bb4d80309a.jpg","text":"TemporaryFile(/tmp/multipartBody3384496308698654983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442669082,"filename":"image_09012025_14_56_02_131563_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/559cddcf28bd81f77b303608d24dfca4.jpg","text":"TemporaryFile(/tmp/multipartBody5177935379415539902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442669082,"filename":"image_09012025_14_56_02_131563_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327670210","file1":"1327670201","file0":"1327670197","file4":"1327670241","file5":"1327670248","file3":"1327670219"},"map_files_photo_id_array":[{"photo_id":"1327670248","filename":"file5"},{"photo_id":"1327670210","filename":"file2"},{"photo_id":"1327670241","filename":"file4"},{"photo_id":"1327670201","filename":"file1"},{"photo_id":"1327670197","filename":"file0"},{"photo_id":"1327670219","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327670248":["hashtag1","hashtag2"]},{"1327670241":["hashtag1","hashtag2"]},{"1327670219":["hashtag1","hashtag2"]},{"1327670210":["hashtag1","hashtag2"]},{"1327670197":["hashtag1","hashtag2"]},{"1327670201":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327670248, 1327670241, 1327670219, 1327670210, 1327670197, 1327670201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.67949366569519 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 18:11:22.162509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/57/image_09012025_14_57_02_435386_0002.jpg', '/home/pi/Desktop/images/09012025/14/57/image_09012025_14_57_02_435386_0003.jpg', '/home/pi/Desktop/images/09012025/14/58/image_09012025_14_58_02_615851_0000.jpg', '/home/pi/Desktop/images/09012025/14/58/image_09012025_14_58_02_615851_0001.jpg', '/home/pi/Desktop/images/09012025/14/58/image_09012025_14_58_02_615851_0002.jpg', '/home/pi/Desktop/images/09012025/14/58/image_09012025_14_58_02_615851_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/57/image_09012025_14_57_02_435386_0002.jpg
/home/pi/Desktop/images/09012025/14/57/image_09012025_14_57_02_435386_0003.jpg
/home/pi/Desktop/images/09012025/14/58/image_09012025_14_58_02_615851_0000.jpg
/home/pi/Desktop/images/09012025/14/58/image_09012025_14_58_02_615851_0001.jpg
/home/pi/Desktop/images/09012025/14/58/image_09012025_14_58_02_615851_0002.jpg
/home/pi/Desktop/images/09012025/14/58/image_09012025_14_58_02_615851_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327671867","1327671855","1327671872","1327671863","1327671880","1327671847"],"photo_ids_order":["1327671847","1327671855","1327671863","1327671867","1327671872","1327671880"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/33abc7d66adc8ecfc495dc84f3689189.jpg","text":"TemporaryFile(/tmp/multipartBody6829483523194814133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442786718,"filename":"image_09012025_14_58_02_615851_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5dcc1b0ca4b644bf0aaf3cade5e6d18d.jpg","text":"TemporaryFile(/tmp/multipartBody3311497576561637365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442786718,"filename":"image_09012025_14_57_02_435386_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a5d89b225bf3ca0192f566130bd7ffc1.jpg","text":"TemporaryFile(/tmp/multipartBody2702757290367447531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442786718,"filename":"image_09012025_14_58_02_615851_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a3a6ed9834730e0c4c9069757dc3145b.jpg","text":"TemporaryFile(/tmp/multipartBody2476428129628553448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442786718,"filename":"image_09012025_14_58_02_615851_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d887868e97c68f9c176527765f29a690.jpg","text":"TemporaryFile(/tmp/multipartBody1457940891276594608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442786718,"filename":"image_09012025_14_58_02_615851_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9c527de11a228e26b987e2e8a201003c.jpg","text":"TemporaryFile(/tmp/multipartBody6325918840024861220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442786718,"filename":"image_09012025_14_57_02_435386_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327671863","file1":"1327671855","file0":"1327671847","file4":"1327671872","file5":"1327671880","file3":"1327671867"},"map_files_photo_id_array":[{"photo_id":"1327671880","filename":"file5"},{"photo_id":"1327671863","filename":"file2"},{"photo_id":"1327671872","filename":"file4"},{"photo_id":"1327671855","filename":"file1"},{"photo_id":"1327671847","filename":"file0"},{"photo_id":"1327671867","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327671867":["hashtag1","hashtag2"]},{"1327671855":["hashtag1","hashtag2"]},{"1327671872":["hashtag1","hashtag2"]},{"1327671863":["hashtag1","hashtag2"]},{"1327671880":["hashtag1","hashtag2"]},{"1327671847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327671867, 1327671855, 1327671872, 1327671863, 1327671880, 1327671847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.36631226539612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 18:13:22.563507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/14/59/image_09012025_14_59_02_774484_0000.jpg', '/home/pi/Desktop/images/09012025/14/59/image_09012025_14_59_02_774484_0001.jpg', '/home/pi/Desktop/images/09012025/14/59/image_09012025_14_59_02_774484_0002.jpg', '/home/pi/Desktop/images/09012025/14/59/image_09012025_14_59_02_774484_0003.jpg', '/home/pi/Desktop/images/09012025/15/00/image_09012025_15_00_02_944678_0000.jpg', '/home/pi/Desktop/images/09012025/15/00/image_09012025_15_00_02_944678_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/14/59/image_09012025_14_59_02_774484_0000.jpg
/home/pi/Desktop/images/09012025/14/59/image_09012025_14_59_02_774484_0001.jpg
/home/pi/Desktop/images/09012025/14/59/image_09012025_14_59_02_774484_0002.jpg
/home/pi/Desktop/images/09012025/14/59/image_09012025_14_59_02_774484_0003.jpg
/home/pi/Desktop/images/09012025/15/00/image_09012025_15_00_02_944678_0000.jpg
/home/pi/Desktop/images/09012025/15/00/image_09012025_15_00_02_944678_0001.jpg
 val : 1 : upload photos 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":["1327672467","1327672664","1327672592","1327672687","1327672462","1327672579"],"photo_ids_order":["1327672462","1327672467","1327672579","1327672592","1327672664","1327672687"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8b4a7887fe6a819af8fdf3698324ef37.jpg","text":"TemporaryFile(/tmp/multipartBody3007054700431691761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442896874,"filename":"image_09012025_14_59_02_774484_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/98e7d410dcdc60c10800ec75e817fdef.jpg","text":"TemporaryFile(/tmp/multipartBody3884268272527097549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442896874,"filename":"image_09012025_15_00_02_944678_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/157bdc89a1bebaf16cf4cbe895bf56f1.jpg","text":"TemporaryFile(/tmp/multipartBody6035759173728248359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442896874,"filename":"image_09012025_14_59_02_774484_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5725322f5158dbaf47430d62fa6b672e.jpg","text":"TemporaryFile(/tmp/multipartBody5547486706953596888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442896874,"filename":"image_09012025_15_00_02_944678_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e4a92297fabc5dc5ad57f656eeb8b137.jpg","text":"TemporaryFile(/tmp/multipartBody7454208980611000910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442896874,"filename":"image_09012025_14_59_02_774484_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/acfb9678d012ede7b1ef08f769d00371.jpg","text":"TemporaryFile(/tmp/multipartBody6301709623560266301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442896874,"filename":"image_09012025_14_59_02_774484_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327672579","file1":"1327672467","file0":"1327672462","file4":"1327672664","file5":"1327672687","file3":"1327672592"},"map_files_photo_id_array":[{"photo_id":"1327672687","filename":"file5"},{"photo_id":"1327672579","filename":"file2"},{"photo_id":"1327672664","filename":"file4"},{"photo_id":"1327672467","filename":"file1"},{"photo_id":"1327672462","filename":"file0"},{"photo_id":"1327672592","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327672467":["hashtag1","hashtag2"]},{"1327672664":["hashtag1","hashtag2"]},{"1327672592":["hashtag1","hashtag2"]},{"1327672687":["hashtag1","hashtag2"]},{"1327672462":["hashtag1","hashtag2"]},{"1327672579":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327672467, 1327672664, 1327672592, 1327672687, 1327672462, 1327672579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.18512964248657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 18:14:52.668460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/00/image_09012025_15_00_02_944678_0002.jpg', '/home/pi/Desktop/images/09012025/15/00/image_09012025_15_00_02_944678_0003.jpg', '/home/pi/Desktop/images/09012025/15/01/image_09012025_15_01_03_017168_0000.jpg', '/home/pi/Desktop/images/09012025/15/01/image_09012025_15_01_03_017168_0001.jpg', '/home/pi/Desktop/images/09012025/15/01/image_09012025_15_01_03_017168_0002.jpg', '/home/pi/Desktop/images/09012025/15/01/image_09012025_15_01_03_017168_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/00/image_09012025_15_00_02_944678_0002.jpg
/home/pi/Desktop/images/09012025/15/00/image_09012025_15_00_02_944678_0003.jpg
/home/pi/Desktop/images/09012025/15/01/image_09012025_15_01_03_017168_0000.jpg
/home/pi/Desktop/images/09012025/15/01/image_09012025_15_01_03_017168_0001.jpg
/home/pi/Desktop/images/09012025/15/01/image_09012025_15_01_03_017168_0002.jpg
/home/pi/Desktop/images/09012025/15/01/image_09012025_15_01_03_017168_0003.jpg
 val : 1 : upload photos 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":["1327672809","1327672839","1327672832","1327672820","1327672814","1327672827"],"photo_ids_order":["1327672809","1327672814","1327672820","1327672827","1327672832","1327672839"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/54d15130da3671e4715ec6d5e1163027.jpg","text":"TemporaryFile(/tmp/multipartBody3698270138121883254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442990819,"filename":"image_09012025_15_00_02_944678_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bcf05c6be49cba6b8f55c00bf9f05622.jpg","text":"TemporaryFile(/tmp/multipartBody2928801510588694224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442990819,"filename":"image_09012025_15_01_03_017168_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c0014acef866dbd619d619a707fccbaf.jpg","text":"TemporaryFile(/tmp/multipartBody4590168644786972169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442990819,"filename":"image_09012025_15_01_03_017168_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/794df1af340018455a7704314cc479c0.jpg","text":"TemporaryFile(/tmp/multipartBody1166717738202661693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442990819,"filename":"image_09012025_15_01_03_017168_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b3799f88f30da537578795ff0b1a1c6e.jpg","text":"TemporaryFile(/tmp/multipartBody6704853589868513577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442990819,"filename":"image_09012025_15_00_02_944678_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b0e50613b24931ff8946a0c18b22d392.jpg","text":"TemporaryFile(/tmp/multipartBody8090196307342148406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736442990819,"filename":"image_09012025_15_01_03_017168_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327672820","file1":"1327672814","file0":"1327672809","file4":"1327672832","file5":"1327672839","file3":"1327672827"},"map_files_photo_id_array":[{"photo_id":"1327672839","filename":"file5"},{"photo_id":"1327672820","filename":"file2"},{"photo_id":"1327672832","filename":"file4"},{"photo_id":"1327672814","filename":"file1"},{"photo_id":"1327672809","filename":"file0"},{"photo_id":"1327672827","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327672809":["hashtag1","hashtag2"]},{"1327672839":["hashtag1","hashtag2"]},{"1327672832":["hashtag1","hashtag2"]},{"1327672820":["hashtag1","hashtag2"]},{"1327672814":["hashtag1","hashtag2"]},{"1327672827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327672809, 1327672839, 1327672832, 1327672820, 1327672814, 1327672827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.49934887886047 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 18:16:32.044994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/02/image_09012025_15_02_02_250805_0000.jpg', '/home/pi/Desktop/images/09012025/15/02/image_09012025_15_02_02_250805_0001.jpg', '/home/pi/Desktop/images/09012025/15/02/image_09012025_15_02_02_250805_0002.jpg', '/home/pi/Desktop/images/09012025/15/02/image_09012025_15_02_02_250805_0003.jpg', '/home/pi/Desktop/images/09012025/15/03/image_09012025_15_03_02_430051_0000.jpg', '/home/pi/Desktop/images/09012025/15/03/image_09012025_15_03_02_430051_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/02/image_09012025_15_02_02_250805_0000.jpg
/home/pi/Desktop/images/09012025/15/02/image_09012025_15_02_02_250805_0001.jpg
/home/pi/Desktop/images/09012025/15/02/image_09012025_15_02_02_250805_0002.jpg
/home/pi/Desktop/images/09012025/15/02/image_09012025_15_02_02_250805_0003.jpg
/home/pi/Desktop/images/09012025/15/03/image_09012025_15_03_02_430051_0000.jpg
/home/pi/Desktop/images/09012025/15/03/image_09012025_15_03_02_430051_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327673316","1327673180","1327673234","1327673227","1327672900","1327672944"],"photo_ids_order":["1327672900","1327672944","1327673180","1327673227","1327673234","1327673316"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2bb3b0e7758166df85dce9f058b47480.jpg","text":"TemporaryFile(/tmp/multipartBody6826952419631722534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443095524,"filename":"image_09012025_15_03_02_430051_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/41dd4b60f8455af2b427234962f5c057.jpg","text":"TemporaryFile(/tmp/multipartBody7531897615706852288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443095524,"filename":"image_09012025_15_02_02_250805_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e0e8df53b33dfeaf5f0601b74c82a59a.jpg","text":"TemporaryFile(/tmp/multipartBody8314266210838870979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443095524,"filename":"image_09012025_15_03_02_430051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/98ba7936e59d7a4ee9cd045a7bb14ae0.jpg","text":"TemporaryFile(/tmp/multipartBody1284052325378041261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443095524,"filename":"image_09012025_15_02_02_250805_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/82f3f5edf9e8e9d6f64dccb58d9895b6.jpg","text":"TemporaryFile(/tmp/multipartBody5867929595834835982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443095524,"filename":"image_09012025_15_02_02_250805_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/39011fab765ed58b0b9bd893b44d0f36.jpg","text":"TemporaryFile(/tmp/multipartBody224074569497108524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443095524,"filename":"image_09012025_15_02_02_250805_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327673180","file1":"1327672944","file0":"1327672900","file4":"1327673234","file5":"1327673316","file3":"1327673227"},"map_files_photo_id_array":[{"photo_id":"1327673316","filename":"file5"},{"photo_id":"1327673180","filename":"file2"},{"photo_id":"1327673234","filename":"file4"},{"photo_id":"1327672944","filename":"file1"},{"photo_id":"1327672900","filename":"file0"},{"photo_id":"1327673227","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327673316":["hashtag1","hashtag2"]},{"1327673180":["hashtag1","hashtag2"]},{"1327673234":["hashtag1","hashtag2"]},{"1327673227":["hashtag1","hashtag2"]},{"1327672900":["hashtag1","hashtag2"]},{"1327672944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327673316, 1327673180, 1327673234, 1327673227, 1327672900, 1327672944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.69906973838806 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 18:18:22.412750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/03/image_09012025_15_03_02_430051_0002.jpg', '/home/pi/Desktop/images/09012025/15/03/image_09012025_15_03_02_430051_0003.jpg', '/home/pi/Desktop/images/09012025/15/04/image_09012025_15_04_02_577336_0000.jpg', '/home/pi/Desktop/images/09012025/15/04/image_09012025_15_04_02_577336_0001.jpg', '/home/pi/Desktop/images/09012025/15/04/image_09012025_15_04_02_577336_0002.jpg', '/home/pi/Desktop/images/09012025/15/04/image_09012025_15_04_02_577336_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/03/image_09012025_15_03_02_430051_0002.jpg
/home/pi/Desktop/images/09012025/15/03/image_09012025_15_03_02_430051_0003.jpg
/home/pi/Desktop/images/09012025/15/04/image_09012025_15_04_02_577336_0000.jpg
/home/pi/Desktop/images/09012025/15/04/image_09012025_15_04_02_577336_0001.jpg
/home/pi/Desktop/images/09012025/15/04/image_09012025_15_04_02_577336_0002.jpg
/home/pi/Desktop/images/09012025/15/04/image_09012025_15_04_02_577336_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 21.38721013069153 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 18:18:52.360134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/03/image_09012025_15_03_02_430051_0002.jpg', '/home/pi/Desktop/images/09012025/15/03/image_09012025_15_03_02_430051_0003.jpg', '/home/pi/Desktop/images/09012025/15/04/image_09012025_15_04_02_577336_0000.jpg', '/home/pi/Desktop/images/09012025/15/04/image_09012025_15_04_02_577336_0001.jpg', '/home/pi/Desktop/images/09012025/15/04/image_09012025_15_04_02_577336_0002.jpg', '/home/pi/Desktop/images/09012025/15/04/image_09012025_15_04_02_577336_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/03/image_09012025_15_03_02_430051_0002.jpg
/home/pi/Desktop/images/09012025/15/03/image_09012025_15_03_02_430051_0003.jpg
/home/pi/Desktop/images/09012025/15/04/image_09012025_15_04_02_577336_0000.jpg
/home/pi/Desktop/images/09012025/15/04/image_09012025_15_04_02_577336_0001.jpg
/home/pi/Desktop/images/09012025/15/04/image_09012025_15_04_02_577336_0002.jpg
/home/pi/Desktop/images/09012025/15/04/image_09012025_15_04_02_577336_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327673624","1327673615","1327673647","1327673641","1327673631","1327673637"],"photo_ids_order":["1327673615","1327673624","1327673631","1327673637","1327673641","1327673647"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/af1482db4d5a911f31a67b4578899f52.jpg","text":"TemporaryFile(/tmp/multipartBody7857862986472573348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443238108,"filename":"image_09012025_15_03_02_430051_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e746a774f0ef6627e3ac29ba32f6d8ed.jpg","text":"TemporaryFile(/tmp/multipartBody7670437940775306961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443238108,"filename":"image_09012025_15_03_02_430051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/433a9ab5a738a79124a7ed9dbbcff722.jpg","text":"TemporaryFile(/tmp/multipartBody8440613824670300587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443238108,"filename":"image_09012025_15_04_02_577336_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dc84661d6d6fa87f73704b025158e5e7.jpg","text":"TemporaryFile(/tmp/multipartBody4094374927817072438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443238108,"filename":"image_09012025_15_04_02_577336_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/69f848a7352996bffc67ca6ed995160f.jpg","text":"TemporaryFile(/tmp/multipartBody5389203872661273089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443238108,"filename":"image_09012025_15_04_02_577336_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/64b55b682579e7e60e56b919466b7629.jpg","text":"TemporaryFile(/tmp/multipartBody6952118430750544572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443238108,"filename":"image_09012025_15_04_02_577336_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327673631","file1":"1327673624","file0":"1327673615","file4":"1327673641","file5":"1327673647","file3":"1327673637"},"map_files_photo_id_array":[{"photo_id":"1327673647","filename":"file5"},{"photo_id":"1327673631","filename":"file2"},{"photo_id":"1327673641","filename":"file4"},{"photo_id":"1327673624","filename":"file1"},{"photo_id":"1327673615","filename":"file0"},{"photo_id":"1327673637","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327673624":["hashtag1","hashtag2"]},{"1327673615":["hashtag1","hashtag2"]},{"1327673647":["hashtag1","hashtag2"]},{"1327673641":["hashtag1","hashtag2"]},{"1327673631":["hashtag1","hashtag2"]},{"1327673637":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327673624, 1327673615, 1327673647, 1327673641, 1327673631, 1327673637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.70869827270508 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 18:20:42.775734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/05/image_09012025_15_05_02_816898_0000.jpg', '/home/pi/Desktop/images/09012025/15/05/image_09012025_15_05_02_816898_0001.jpg', '/home/pi/Desktop/images/09012025/15/05/image_09012025_15_05_02_816898_0002.jpg', '/home/pi/Desktop/images/09012025/15/05/image_09012025_15_05_02_816898_0003.jpg', '/home/pi/Desktop/images/09012025/15/06/image_09012025_15_06_02_983648_0000.jpg', '/home/pi/Desktop/images/09012025/15/06/image_09012025_15_06_02_983648_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/05/image_09012025_15_05_02_816898_0000.jpg
/home/pi/Desktop/images/09012025/15/05/image_09012025_15_05_02_816898_0001.jpg
/home/pi/Desktop/images/09012025/15/05/image_09012025_15_05_02_816898_0002.jpg
/home/pi/Desktop/images/09012025/15/05/image_09012025_15_05_02_816898_0003.jpg
/home/pi/Desktop/images/09012025/15/06/image_09012025_15_06_02_983648_0000.jpg
/home/pi/Desktop/images/09012025/15/06/image_09012025_15_06_02_983648_0001.jpg
 val : 1 : upload photos 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":["1327673690","1327673705","1327673714","1327673686","1327673694","1327673699"],"photo_ids_order":["1327673686","1327673690","1327673694","1327673699","1327673705","1327673714"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bbcf482e95c83474a8985a2170ca1682.jpg","text":"TemporaryFile(/tmp/multipartBody6898529088095224543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443330347,"filename":"image_09012025_15_05_02_816898_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/890e7bf1800ccda2622b33b949688d0a.jpg","text":"TemporaryFile(/tmp/multipartBody5632436715120654073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443330347,"filename":"image_09012025_15_06_02_983648_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2b4fed708b0f6affb6bc76060baf075f.jpg","text":"TemporaryFile(/tmp/multipartBody8543990341904182587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443330347,"filename":"image_09012025_15_06_02_983648_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e9ab06503ab0e8d731555036419cf36e.jpg","text":"TemporaryFile(/tmp/multipartBody5449198765872682907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443330347,"filename":"image_09012025_15_05_02_816898_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e5487f70e01f40a908e9e2dfced6cbb5.jpg","text":"TemporaryFile(/tmp/multipartBody5746250969630829076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443330347,"filename":"image_09012025_15_05_02_816898_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e372bf62cfe3d085cf18a47df7c3fae9.jpg","text":"TemporaryFile(/tmp/multipartBody3156138904193444834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443330347,"filename":"image_09012025_15_05_02_816898_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327673694","file1":"1327673690","file0":"1327673686","file4":"1327673705","file5":"1327673714","file3":"1327673699"},"map_files_photo_id_array":[{"photo_id":"1327673714","filename":"file5"},{"photo_id":"1327673694","filename":"file2"},{"photo_id":"1327673705","filename":"file4"},{"photo_id":"1327673690","filename":"file1"},{"photo_id":"1327673686","filename":"file0"},{"photo_id":"1327673699","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327673690":["hashtag1","hashtag2"]},{"1327673705":["hashtag1","hashtag2"]},{"1327673714":["hashtag1","hashtag2"]},{"1327673686":["hashtag1","hashtag2"]},{"1327673694":["hashtag1","hashtag2"]},{"1327673699":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327673690, 1327673705, 1327673714, 1327673686, 1327673694, 1327673699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.00422811508179 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 18:22:22.166371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/06/image_09012025_15_06_02_983648_0002.jpg', '/home/pi/Desktop/images/09012025/15/06/image_09012025_15_06_02_983648_0003.jpg', '/home/pi/Desktop/images/09012025/15/07/image_09012025_15_07_03_169969_0000.jpg', '/home/pi/Desktop/images/09012025/15/07/image_09012025_15_07_03_169969_0002.jpg', '/home/pi/Desktop/images/09012025/15/07/image_09012025_15_07_03_169969_0003.jpg', '/home/pi/Desktop/images/09012025/15/08/image_09012025_15_08_02_267009_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/06/image_09012025_15_06_02_983648_0002.jpg
/home/pi/Desktop/images/09012025/15/06/image_09012025_15_06_02_983648_0003.jpg
/home/pi/Desktop/images/09012025/15/07/image_09012025_15_07_03_169969_0000.jpg
/home/pi/Desktop/images/09012025/15/07/image_09012025_15_07_03_169969_0002.jpg
/home/pi/Desktop/images/09012025/15/07/image_09012025_15_07_03_169969_0003.jpg
/home/pi/Desktop/images/09012025/15/08/image_09012025_15_08_02_267009_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327673821","1327673812","1327673781","1327673799","1327673787","1327673792"],"photo_ids_order":["1327673781","1327673787","1327673792","1327673799","1327673812","1327673821"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/37d4b7ecd8d84f998fef028f2960aef4.jpg","text":"TemporaryFile(/tmp/multipartBody2030973878187150115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443442961,"filename":"image_09012025_15_08_02_267009_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/564bc0bfba2e948af9dce22698e2a31e.jpg","text":"TemporaryFile(/tmp/multipartBody6678752204421424943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443442961,"filename":"image_09012025_15_07_03_169969_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2a717796a7f7cd9417fdb4b5ac1f4fc3.jpg","text":"TemporaryFile(/tmp/multipartBody1526319066724782366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443442961,"filename":"image_09012025_15_06_02_983648_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4a6d70f47d8432158f9d3ce3ddadaf1c.jpg","text":"TemporaryFile(/tmp/multipartBody2454355676526980692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443442961,"filename":"image_09012025_15_07_03_169969_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bc4b2e6e135e8a0bcd1ef5f8f7b3dad3.jpg","text":"TemporaryFile(/tmp/multipartBody1758030681984972567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443442961,"filename":"image_09012025_15_06_02_983648_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/514035002220e7b70aacbd52b2f060fd.jpg","text":"TemporaryFile(/tmp/multipartBody6131577391379954604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443442961,"filename":"image_09012025_15_07_03_169969_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327673792","file1":"1327673787","file0":"1327673781","file4":"1327673812","file5":"1327673821","file3":"1327673799"},"map_files_photo_id_array":[{"photo_id":"1327673821","filename":"file5"},{"photo_id":"1327673792","filename":"file2"},{"photo_id":"1327673812","filename":"file4"},{"photo_id":"1327673787","filename":"file1"},{"photo_id":"1327673781","filename":"file0"},{"photo_id":"1327673799","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327673821":["hashtag1","hashtag2"]},{"1327673812":["hashtag1","hashtag2"]},{"1327673781":["hashtag1","hashtag2"]},{"1327673799":["hashtag1","hashtag2"]},{"1327673787":["hashtag1","hashtag2"]},{"1327673792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327673821, 1327673812, 1327673781, 1327673799, 1327673787, 1327673792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.10181736946106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 18:24:02.950477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/08/image_09012025_15_08_02_267009_0001.jpg', '/home/pi/Desktop/images/09012025/15/08/image_09012025_15_08_02_267009_0002.jpg', '/home/pi/Desktop/images/09012025/15/08/image_09012025_15_08_02_267009_0003.jpg', '/home/pi/Desktop/images/09012025/15/09/image_09012025_15_09_02_445136_0000.jpg', '/home/pi/Desktop/images/09012025/15/09/image_09012025_15_09_02_445136_0001.jpg', '/home/pi/Desktop/images/09012025/15/09/image_09012025_15_09_02_445136_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/08/image_09012025_15_08_02_267009_0001.jpg
/home/pi/Desktop/images/09012025/15/08/image_09012025_15_08_02_267009_0002.jpg
/home/pi/Desktop/images/09012025/15/08/image_09012025_15_08_02_267009_0003.jpg
/home/pi/Desktop/images/09012025/15/09/image_09012025_15_09_02_445136_0000.jpg
/home/pi/Desktop/images/09012025/15/09/image_09012025_15_09_02_445136_0001.jpg
/home/pi/Desktop/images/09012025/15/09/image_09012025_15_09_02_445136_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 39.04581594467163 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 18:24:52.509160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/08/image_09012025_15_08_02_267009_0001.jpg', '/home/pi/Desktop/images/09012025/15/08/image_09012025_15_08_02_267009_0002.jpg', '/home/pi/Desktop/images/09012025/15/08/image_09012025_15_08_02_267009_0003.jpg', '/home/pi/Desktop/images/09012025/15/09/image_09012025_15_09_02_445136_0000.jpg', '/home/pi/Desktop/images/09012025/15/09/image_09012025_15_09_02_445136_0001.jpg', '/home/pi/Desktop/images/09012025/15/09/image_09012025_15_09_02_445136_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/08/image_09012025_15_08_02_267009_0001.jpg
/home/pi/Desktop/images/09012025/15/08/image_09012025_15_08_02_267009_0002.jpg
/home/pi/Desktop/images/09012025/15/08/image_09012025_15_08_02_267009_0003.jpg
/home/pi/Desktop/images/09012025/15/09/image_09012025_15_09_02_445136_0000.jpg
/home/pi/Desktop/images/09012025/15/09/image_09012025_15_09_02_445136_0001.jpg
/home/pi/Desktop/images/09012025/15/09/image_09012025_15_09_02_445136_0002.jpg
 val : 1 : upload photos 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":["1327673993","1327673948","1327673980","1327673986","1327673961","1327673952"],"photo_ids_order":["1327673948","1327673952","1327673961","1327673980","1327673986","1327673993"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d9514fad4b4117d3ba2eb79f842f70cf.jpg","text":"TemporaryFile(/tmp/multipartBody1443121200607897026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443590607,"filename":"image_09012025_15_09_02_445136_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/351b8beca49356b41fb4be642d4e07a3.jpg","text":"TemporaryFile(/tmp/multipartBody5578089352816912624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443590607,"filename":"image_09012025_15_08_02_267009_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aba3d0b9630e4bc4fef5a0ef40753680.jpg","text":"TemporaryFile(/tmp/multipartBody6086785963250614681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443590607,"filename":"image_09012025_15_09_02_445136_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/53f017b8fcb95b8fc627607c389597e3.jpg","text":"TemporaryFile(/tmp/multipartBody2077092664693786673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443590607,"filename":"image_09012025_15_09_02_445136_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3a599cf9e0ec5b39dd32396b973d2135.jpg","text":"TemporaryFile(/tmp/multipartBody2040599093599225172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443590607,"filename":"image_09012025_15_08_02_267009_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fcf4054f07974e5e035d6560c5f596cd.jpg","text":"TemporaryFile(/tmp/multipartBody1633902240211680500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443590607,"filename":"image_09012025_15_08_02_267009_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327673961","file1":"1327673952","file0":"1327673948","file4":"1327673986","file5":"1327673993","file3":"1327673980"},"map_files_photo_id_array":[{"photo_id":"1327673993","filename":"file5"},{"photo_id":"1327673961","filename":"file2"},{"photo_id":"1327673986","filename":"file4"},{"photo_id":"1327673952","filename":"file1"},{"photo_id":"1327673948","filename":"file0"},{"photo_id":"1327673980","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327673993":["hashtag1","hashtag2"]},{"1327673948":["hashtag1","hashtag2"]},{"1327673980":["hashtag1","hashtag2"]},{"1327673986":["hashtag1","hashtag2"]},{"1327673961":["hashtag1","hashtag2"]},{"1327673952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327673993, 1327673948, 1327673980, 1327673986, 1327673961, 1327673952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.54545092582703 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 18:26:31.881876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/09/image_09012025_15_09_02_445136_0003.jpg', '/home/pi/Desktop/images/09012025/15/10/image_09012025_15_10_02_651477_0000.jpg', '/home/pi/Desktop/images/09012025/15/10/image_09012025_15_10_02_651477_0001.jpg', '/home/pi/Desktop/images/09012025/15/10/image_09012025_15_10_02_651477_0002.jpg', '/home/pi/Desktop/images/09012025/15/10/image_09012025_15_10_02_651477_0003.jpg', '/home/pi/Desktop/images/09012025/15/11/image_09012025_15_11_02_831220_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/09/image_09012025_15_09_02_445136_0003.jpg
/home/pi/Desktop/images/09012025/15/10/image_09012025_15_10_02_651477_0000.jpg
/home/pi/Desktop/images/09012025/15/10/image_09012025_15_10_02_651477_0001.jpg
/home/pi/Desktop/images/09012025/15/10/image_09012025_15_10_02_651477_0002.jpg
/home/pi/Desktop/images/09012025/15/10/image_09012025_15_10_02_651477_0003.jpg
/home/pi/Desktop/images/09012025/15/11/image_09012025_15_11_02_831220_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327674104","1327674124","1327674112","1327674055","1327674120","1327674071"],"photo_ids_order":["1327674055","1327674071","1327674104","1327674112","1327674120","1327674124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/30fd3f563e1c6f24680f3b0e65a7af4b.jpg","text":"TemporaryFile(/tmp/multipartBody822263350743933310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443693668,"filename":"image_09012025_15_10_02_651477_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/60bc2657c95436bccd99b2cde8fb7ce3.jpg","text":"TemporaryFile(/tmp/multipartBody1568692290047734607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443693668,"filename":"image_09012025_15_11_02_831220_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5c6810ea61aca92d84b8aca85835b498.jpg","text":"TemporaryFile(/tmp/multipartBody5596427591392212362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443693668,"filename":"image_09012025_15_10_02_651477_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/23908f914e8a58934f16d976d54aa4e8.jpg","text":"TemporaryFile(/tmp/multipartBody3594331072039191218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443693668,"filename":"image_09012025_15_09_02_445136_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8295484f8568f963082b5b16e06a9708.jpg","text":"TemporaryFile(/tmp/multipartBody5193221875628622485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443693668,"filename":"image_09012025_15_10_02_651477_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8b2184df28e6b5e697d6a1b5ab04c4d5.jpg","text":"TemporaryFile(/tmp/multipartBody6989580198870594569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443693668,"filename":"image_09012025_15_10_02_651477_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327674104","file1":"1327674071","file0":"1327674055","file4":"1327674120","file5":"1327674124","file3":"1327674112"},"map_files_photo_id_array":[{"photo_id":"1327674124","filename":"file5"},{"photo_id":"1327674104","filename":"file2"},{"photo_id":"1327674120","filename":"file4"},{"photo_id":"1327674071","filename":"file1"},{"photo_id":"1327674055","filename":"file0"},{"photo_id":"1327674112","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327674104":["hashtag1","hashtag2"]},{"1327674124":["hashtag1","hashtag2"]},{"1327674112":["hashtag1","hashtag2"]},{"1327674055":["hashtag1","hashtag2"]},{"1327674120":["hashtag1","hashtag2"]},{"1327674071":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327674104, 1327674124, 1327674112, 1327674055, 1327674120, 1327674071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.9739420413971 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 18:28:22.215639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/11/image_09012025_15_11_02_831220_0001.jpg', '/home/pi/Desktop/images/09012025/15/11/image_09012025_15_11_02_831220_0002.jpg', '/home/pi/Desktop/images/09012025/15/11/image_09012025_15_11_02_831220_0003.jpg', '/home/pi/Desktop/images/09012025/15/12/image_09012025_15_12_03_025233_0000.jpg', '/home/pi/Desktop/images/09012025/15/12/image_09012025_15_12_03_025233_0001.jpg', '/home/pi/Desktop/images/09012025/15/12/image_09012025_15_12_03_025233_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/11/image_09012025_15_11_02_831220_0001.jpg
/home/pi/Desktop/images/09012025/15/11/image_09012025_15_11_02_831220_0002.jpg
/home/pi/Desktop/images/09012025/15/11/image_09012025_15_11_02_831220_0003.jpg
/home/pi/Desktop/images/09012025/15/12/image_09012025_15_12_03_025233_0000.jpg
/home/pi/Desktop/images/09012025/15/12/image_09012025_15_12_03_025233_0001.jpg
/home/pi/Desktop/images/09012025/15/12/image_09012025_15_12_03_025233_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327674347","1327674341","1327674322","1327674313","1327674330","1327674359"],"photo_ids_order":["1327674313","1327674322","1327674330","1327674341","1327674347","1327674359"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bc2d3a67ccc8af59cec5730aa57c3711.jpg","text":"TemporaryFile(/tmp/multipartBody1380760550771152326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443802877,"filename":"image_09012025_15_12_03_025233_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e0b9ddd85ed6f54dbd48920d95615fa8.jpg","text":"TemporaryFile(/tmp/multipartBody7185561919989557748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443802877,"filename":"image_09012025_15_12_03_025233_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c87ac40f6a66cb17126cc67e55249a4c.jpg","text":"TemporaryFile(/tmp/multipartBody2955024583894214938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443802877,"filename":"image_09012025_15_11_02_831220_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6de698a44f3d6b1dbbee24a5a694713b.jpg","text":"TemporaryFile(/tmp/multipartBody705633887349927336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443802877,"filename":"image_09012025_15_11_02_831220_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a55bb52cd8346e73c54b5c0cb66eb82e.jpg","text":"TemporaryFile(/tmp/multipartBody6342795865649273542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443802877,"filename":"image_09012025_15_11_02_831220_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9d0c7c015be0c0251434da7ab2cbc609.jpg","text":"TemporaryFile(/tmp/multipartBody7580300017036419477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443802877,"filename":"image_09012025_15_12_03_025233_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327674330","file1":"1327674322","file0":"1327674313","file4":"1327674347","file5":"1327674359","file3":"1327674341"},"map_files_photo_id_array":[{"photo_id":"1327674359","filename":"file5"},{"photo_id":"1327674330","filename":"file2"},{"photo_id":"1327674347","filename":"file4"},{"photo_id":"1327674322","filename":"file1"},{"photo_id":"1327674313","filename":"file0"},{"photo_id":"1327674341","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327674347":["hashtag1","hashtag2"]},{"1327674341":["hashtag1","hashtag2"]},{"1327674322":["hashtag1","hashtag2"]},{"1327674313":["hashtag1","hashtag2"]},{"1327674330":["hashtag1","hashtag2"]},{"1327674359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327674347, 1327674341, 1327674322, 1327674313, 1327674330, 1327674359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.84411120414734 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 18:30:02.955785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/12/image_09012025_15_12_03_025233_0003.jpg', '/home/pi/Desktop/images/09012025/15/13/image_09012025_15_13_02_269773_0000.jpg', '/home/pi/Desktop/images/09012025/15/13/image_09012025_15_13_02_269773_0001.jpg', '/home/pi/Desktop/images/09012025/15/13/image_09012025_15_13_02_269773_0002.jpg', '/home/pi/Desktop/images/09012025/15/13/image_09012025_15_13_02_269773_0003.jpg', '/home/pi/Desktop/images/09012025/15/14/image_09012025_15_14_02_484870_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/12/image_09012025_15_12_03_025233_0003.jpg
/home/pi/Desktop/images/09012025/15/13/image_09012025_15_13_02_269773_0000.jpg
/home/pi/Desktop/images/09012025/15/13/image_09012025_15_13_02_269773_0001.jpg
/home/pi/Desktop/images/09012025/15/13/image_09012025_15_13_02_269773_0002.jpg
/home/pi/Desktop/images/09012025/15/13/image_09012025_15_13_02_269773_0003.jpg
/home/pi/Desktop/images/09012025/15/14/image_09012025_15_14_02_484870_0000.jpg
 val : 1 : upload photos 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":["1327674431","1327674428","1327674422","1327674427","1327674441","1327674435"],"photo_ids_order":["1327674422","1327674427","1327674428","1327674431","1327674435","1327674441"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a2e645e5044b2bccb65f627fd864c65c.jpg","text":"TemporaryFile(/tmp/multipartBody4505495473207170741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443901647,"filename":"image_09012025_15_13_02_269773_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9fdea5da2ec134d5c87563c948e197de.jpg","text":"TemporaryFile(/tmp/multipartBody2206351277646531982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443901647,"filename":"image_09012025_15_13_02_269773_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1418e22c6123fdcc16cdf2471d005f70.jpg","text":"TemporaryFile(/tmp/multipartBody139180212741099919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443901647,"filename":"image_09012025_15_12_03_025233_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5122900fca42265d093acf2e52631196.jpg","text":"TemporaryFile(/tmp/multipartBody8842639186032601443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443901647,"filename":"image_09012025_15_13_02_269773_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/921e5426ea32e1a727b399a0cd94185f.jpg","text":"TemporaryFile(/tmp/multipartBody2317012530848289011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443901647,"filename":"image_09012025_15_14_02_484870_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b92a8c3d0e273c489ffab64ae0e0d0fb.jpg","text":"TemporaryFile(/tmp/multipartBody1837899533576930907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736443901647,"filename":"image_09012025_15_13_02_269773_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327674428","file1":"1327674427","file0":"1327674422","file4":"1327674435","file5":"1327674441","file3":"1327674431"},"map_files_photo_id_array":[{"photo_id":"1327674441","filename":"file5"},{"photo_id":"1327674428","filename":"file2"},{"photo_id":"1327674435","filename":"file4"},{"photo_id":"1327674427","filename":"file1"},{"photo_id":"1327674422","filename":"file0"},{"photo_id":"1327674431","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327674431":["hashtag1","hashtag2"]},{"1327674428":["hashtag1","hashtag2"]},{"1327674422":["hashtag1","hashtag2"]},{"1327674427":["hashtag1","hashtag2"]},{"1327674441":["hashtag1","hashtag2"]},{"1327674435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327674431, 1327674428, 1327674422, 1327674427, 1327674441, 1327674435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.25871443748474 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 18:31:42.729359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/14/image_09012025_15_14_02_484870_0001.jpg', '/home/pi/Desktop/images/09012025/15/14/image_09012025_15_14_02_484870_0002.jpg', '/home/pi/Desktop/images/09012025/15/14/image_09012025_15_14_02_484870_0003.jpg', '/home/pi/Desktop/images/09012025/15/15/image_09012025_15_15_02_643995_0000.jpg', '/home/pi/Desktop/images/09012025/15/15/image_09012025_15_15_02_643995_0001.jpg', '/home/pi/Desktop/images/09012025/15/15/image_09012025_15_15_02_643995_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/14/image_09012025_15_14_02_484870_0001.jpg
/home/pi/Desktop/images/09012025/15/14/image_09012025_15_14_02_484870_0002.jpg
/home/pi/Desktop/images/09012025/15/14/image_09012025_15_14_02_484870_0003.jpg
/home/pi/Desktop/images/09012025/15/15/image_09012025_15_15_02_643995_0000.jpg
/home/pi/Desktop/images/09012025/15/15/image_09012025_15_15_02_643995_0001.jpg
/home/pi/Desktop/images/09012025/15/15/image_09012025_15_15_02_643995_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327674493","1327674541","1327674514","1327674480","1327674501","1327674485"],"photo_ids_order":["1327674480","1327674485","1327674493","1327674501","1327674514","1327674541"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4d9c84dc6f3d09cbac6d2db205b7c17a.jpg","text":"TemporaryFile(/tmp/multipartBody7603185703192620617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444004881,"filename":"image_09012025_15_14_02_484870_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e1a55cfcd95a76c07ff0de318f9ca345.jpg","text":"TemporaryFile(/tmp/multipartBody3299417593976097263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444004881,"filename":"image_09012025_15_15_02_643995_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/716506f1f3570239f67bd9ba397f9180.jpg","text":"TemporaryFile(/tmp/multipartBody7211604759115191095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444004881,"filename":"image_09012025_15_15_02_643995_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/57dd8ead5e29ecca76acbc621ee32d1d.jpg","text":"TemporaryFile(/tmp/multipartBody7789238321198195190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444004881,"filename":"image_09012025_15_14_02_484870_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b678587157e13224dd5a0456062abff9.jpg","text":"TemporaryFile(/tmp/multipartBody7752927073511898147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444004881,"filename":"image_09012025_15_15_02_643995_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8375523cf80847568f1dbdf6102d988f.jpg","text":"TemporaryFile(/tmp/multipartBody4139291641128725174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444004881,"filename":"image_09012025_15_14_02_484870_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327674493","file1":"1327674485","file0":"1327674480","file4":"1327674514","file5":"1327674541","file3":"1327674501"},"map_files_photo_id_array":[{"photo_id":"1327674541","filename":"file5"},{"photo_id":"1327674493","filename":"file2"},{"photo_id":"1327674514","filename":"file4"},{"photo_id":"1327674485","filename":"file1"},{"photo_id":"1327674480","filename":"file0"},{"photo_id":"1327674501","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327674493":["hashtag1","hashtag2"]},{"1327674541":["hashtag1","hashtag2"]},{"1327674514":["hashtag1","hashtag2"]},{"1327674480":["hashtag1","hashtag2"]},{"1327674501":["hashtag1","hashtag2"]},{"1327674485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327674493, 1327674541, 1327674514, 1327674480, 1327674501, 1327674485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.0918653011322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 18:33:32.033499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/16/image_09012025_15_16_02_807578_0000.jpg', '/home/pi/Desktop/images/09012025/15/16/image_09012025_15_16_02_807578_0001.jpg', '/home/pi/Desktop/images/09012025/15/16/image_09012025_15_16_02_807578_0002.jpg', '/home/pi/Desktop/images/09012025/15/16/image_09012025_15_16_02_807578_0003.jpg', '/home/pi/Desktop/images/09012025/15/17/image_09012025_15_17_03_080580_0000.jpg', '/home/pi/Desktop/images/09012025/15/17/image_09012025_15_17_03_080580_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/16/image_09012025_15_16_02_807578_0000.jpg
/home/pi/Desktop/images/09012025/15/16/image_09012025_15_16_02_807578_0001.jpg
/home/pi/Desktop/images/09012025/15/16/image_09012025_15_16_02_807578_0002.jpg
/home/pi/Desktop/images/09012025/15/16/image_09012025_15_16_02_807578_0003.jpg
/home/pi/Desktop/images/09012025/15/17/image_09012025_15_17_03_080580_0000.jpg
/home/pi/Desktop/images/09012025/15/17/image_09012025_15_17_03_080580_0001.jpg
 val : 1 : upload photos 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":["1327674610","1327674594","1327674645","1327674603","1327674986","1327675282"],"photo_ids_order":["1327674594","1327674603","1327674610","1327674645","1327674986","1327675282"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bc6e323241eae26f3e025ad0d8575a0a.jpg","text":"TemporaryFile(/tmp/multipartBody2919761291650989661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444106978,"filename":"image_09012025_15_16_02_807578_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6a9e2aaf2a4aa81fb34a681b085acdb3.jpg","text":"TemporaryFile(/tmp/multipartBody5596648793095865560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444106978,"filename":"image_09012025_15_16_02_807578_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6190f65940024ef725d62f808d224c9f.jpg","text":"TemporaryFile(/tmp/multipartBody5394505377528966761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444106978,"filename":"image_09012025_15_16_02_807578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ef797a54983aebbd6409e72ed899a34b.jpg","text":"TemporaryFile(/tmp/multipartBody2590768671534686569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444106978,"filename":"image_09012025_15_16_02_807578_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4a9af51567aedb28fce63836b7a65bcf.jpg","text":"TemporaryFile(/tmp/multipartBody473657779031911975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444106978,"filename":"image_09012025_15_17_03_080580_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0889b05c180246e8f5a927dcf01174a6.jpg","text":"TemporaryFile(/tmp/multipartBody1652258050618986662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444106978,"filename":"image_09012025_15_17_03_080580_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327674610","file1":"1327674603","file0":"1327674594","file4":"1327674986","file5":"1327675282","file3":"1327674645"},"map_files_photo_id_array":[{"photo_id":"1327675282","filename":"file5"},{"photo_id":"1327674610","filename":"file2"},{"photo_id":"1327674986","filename":"file4"},{"photo_id":"1327674603","filename":"file1"},{"photo_id":"1327674594","filename":"file0"},{"photo_id":"1327674645","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327674610":["hashtag1","hashtag2"]},{"1327674594":["hashtag1","hashtag2"]},{"1327674645":["hashtag1","hashtag2"]},{"1327674603":["hashtag1","hashtag2"]},{"1327674986":["hashtag1","hashtag2"]},{"1327675282":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327674610, 1327674594, 1327674645, 1327674603, 1327674986, 1327675282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.88169145584106 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 18:35:22.480156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/17/image_09012025_15_17_03_080580_0002.jpg', '/home/pi/Desktop/images/09012025/15/17/image_09012025_15_17_03_080580_0003.jpg', '/home/pi/Desktop/images/09012025/15/18/image_09012025_15_18_02_226425_0000.jpg', '/home/pi/Desktop/images/09012025/15/18/image_09012025_15_18_02_226425_0001.jpg', '/home/pi/Desktop/images/09012025/15/18/image_09012025_15_18_02_226425_0002.jpg', '/home/pi/Desktop/images/09012025/15/18/image_09012025_15_18_02_226425_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/17/image_09012025_15_17_03_080580_0002.jpg
/home/pi/Desktop/images/09012025/15/17/image_09012025_15_17_03_080580_0003.jpg
/home/pi/Desktop/images/09012025/15/18/image_09012025_15_18_02_226425_0000.jpg
/home/pi/Desktop/images/09012025/15/18/image_09012025_15_18_02_226425_0001.jpg
/home/pi/Desktop/images/09012025/15/18/image_09012025_15_18_02_226425_0002.jpg
/home/pi/Desktop/images/09012025/15/18/image_09012025_15_18_02_226425_0003.jpg
 val : 1 : upload photos 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":["1327675585","1327675570","1327675590","1327675578","1327675598","1327675580"],"photo_ids_order":["1327675570","1327675578","1327675580","1327675585","1327675590","1327675598"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d6a58f0accecf49bb07697960679a28b.jpg","text":"TemporaryFile(/tmp/multipartBody1985642776303405013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444204053,"filename":"image_09012025_15_18_02_226425_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c25b692aed5f50e6bfb9eef64da96740.jpg","text":"TemporaryFile(/tmp/multipartBody3104922121010262174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444204053,"filename":"image_09012025_15_17_03_080580_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/28063d98a7c394eccd7d1785cfbf4837.jpg","text":"TemporaryFile(/tmp/multipartBody7137241035564000626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444204053,"filename":"image_09012025_15_18_02_226425_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/efec07cf7cd92df46c657796afdcdbd9.jpg","text":"TemporaryFile(/tmp/multipartBody2373817161709170904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444204053,"filename":"image_09012025_15_17_03_080580_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/77a387fb4f582ea1b431379278ccbbf1.jpg","text":"TemporaryFile(/tmp/multipartBody3570072799843260566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444204053,"filename":"image_09012025_15_18_02_226425_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/324f026b7b3cf34c0c79bac3121159dc.jpg","text":"TemporaryFile(/tmp/multipartBody8877996097473403742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444204053,"filename":"image_09012025_15_18_02_226425_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327675580","file1":"1327675578","file0":"1327675570","file4":"1327675590","file5":"1327675598","file3":"1327675585"},"map_files_photo_id_array":[{"photo_id":"1327675598","filename":"file5"},{"photo_id":"1327675580","filename":"file2"},{"photo_id":"1327675590","filename":"file4"},{"photo_id":"1327675578","filename":"file1"},{"photo_id":"1327675570","filename":"file0"},{"photo_id":"1327675585","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327675585":["hashtag1","hashtag2"]},{"1327675570":["hashtag1","hashtag2"]},{"1327675590":["hashtag1","hashtag2"]},{"1327675578":["hashtag1","hashtag2"]},{"1327675598":["hashtag1","hashtag2"]},{"1327675580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327675585, 1327675570, 1327675590, 1327675578, 1327675598, 1327675580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 76.95268988609314 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 18:36:42.025535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/19/image_09012025_15_19_02_394889_0000.jpg', '/home/pi/Desktop/images/09012025/15/19/image_09012025_15_19_02_394889_0001.jpg', '/home/pi/Desktop/images/09012025/15/19/image_09012025_15_19_02_394889_0002.jpg', '/home/pi/Desktop/images/09012025/15/19/image_09012025_15_19_02_394889_0003.jpg', '/home/pi/Desktop/images/09012025/15/20/image_09012025_15_20_02_667232_0000.jpg', '/home/pi/Desktop/images/09012025/15/20/image_09012025_15_20_02_667232_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/19/image_09012025_15_19_02_394889_0000.jpg
/home/pi/Desktop/images/09012025/15/19/image_09012025_15_19_02_394889_0001.jpg
/home/pi/Desktop/images/09012025/15/19/image_09012025_15_19_02_394889_0002.jpg
/home/pi/Desktop/images/09012025/15/19/image_09012025_15_19_02_394889_0003.jpg
/home/pi/Desktop/images/09012025/15/20/image_09012025_15_20_02_667232_0000.jpg
/home/pi/Desktop/images/09012025/15/20/image_09012025_15_20_02_667232_0001.jpg
 val : 1 : upload photos 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":["1327675660","1327675668","1327675647","1327675670","1327675664","1327675634"],"photo_ids_order":["1327675634","1327675647","1327675660","1327675664","1327675668","1327675670"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d67d5a88f5c153d8eab0f076ab013ddc.jpg","text":"TemporaryFile(/tmp/multipartBody4098363968895537823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444294526,"filename":"image_09012025_15_19_02_394889_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a5fe4ae50941c8cc515bfc848fefb9cd.jpg","text":"TemporaryFile(/tmp/multipartBody5726593072935233918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444294526,"filename":"image_09012025_15_20_02_667232_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/392b072f21fde2b73deb353e5a70d5b8.jpg","text":"TemporaryFile(/tmp/multipartBody3365179921882060220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444294526,"filename":"image_09012025_15_19_02_394889_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7a31e2e21c524691b691539cf2f35ab2.jpg","text":"TemporaryFile(/tmp/multipartBody3138299756092602084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444294526,"filename":"image_09012025_15_20_02_667232_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a2db9dedfcf530f04e37e650f2f7d6d4.jpg","text":"TemporaryFile(/tmp/multipartBody5136933602580277560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444294526,"filename":"image_09012025_15_19_02_394889_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/916aa7801b446264a8da7e718d61b62f.jpg","text":"TemporaryFile(/tmp/multipartBody3505845229643589719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444294526,"filename":"image_09012025_15_19_02_394889_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327675660","file1":"1327675647","file0":"1327675634","file4":"1327675668","file5":"1327675670","file3":"1327675664"},"map_files_photo_id_array":[{"photo_id":"1327675670","filename":"file5"},{"photo_id":"1327675660","filename":"file2"},{"photo_id":"1327675668","filename":"file4"},{"photo_id":"1327675647","filename":"file1"},{"photo_id":"1327675634","filename":"file0"},{"photo_id":"1327675664","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327675660":["hashtag1","hashtag2"]},{"1327675668":["hashtag1","hashtag2"]},{"1327675647":["hashtag1","hashtag2"]},{"1327675670":["hashtag1","hashtag2"]},{"1327675664":["hashtag1","hashtag2"]},{"1327675634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327675660, 1327675668, 1327675647, 1327675670, 1327675664, 1327675634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.31010127067566 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 18:38:22.411691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/20/image_09012025_15_20_02_667232_0002.jpg', '/home/pi/Desktop/images/09012025/15/20/image_09012025_15_20_02_667232_0003.jpg', '/home/pi/Desktop/images/09012025/15/21/image_09012025_15_21_02_775766_0000.jpg', '/home/pi/Desktop/images/09012025/15/21/image_09012025_15_21_02_775766_0001.jpg', '/home/pi/Desktop/images/09012025/15/21/image_09012025_15_21_02_775766_0002.jpg', '/home/pi/Desktop/images/09012025/15/21/image_09012025_15_21_02_775766_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/20/image_09012025_15_20_02_667232_0002.jpg
/home/pi/Desktop/images/09012025/15/20/image_09012025_15_20_02_667232_0003.jpg
/home/pi/Desktop/images/09012025/15/21/image_09012025_15_21_02_775766_0000.jpg
/home/pi/Desktop/images/09012025/15/21/image_09012025_15_21_02_775766_0001.jpg
/home/pi/Desktop/images/09012025/15/21/image_09012025_15_21_02_775766_0002.jpg
/home/pi/Desktop/images/09012025/15/21/image_09012025_15_21_02_775766_0003.jpg
 val : 1 : upload photos 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":["1327675741","1327675750","1327675732","1327675728","1327675763","1327675757"],"photo_ids_order":["1327675728","1327675732","1327675741","1327675750","1327675757","1327675763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6e8967cfc9f546d42b781dbd16d3e76b.jpg","text":"TemporaryFile(/tmp/multipartBody4020519924435443151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444394722,"filename":"image_09012025_15_21_02_775766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1d0d2b2cef928b9e5087ba17392c7abd.jpg","text":"TemporaryFile(/tmp/multipartBody6160850208581094825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444394722,"filename":"image_09012025_15_21_02_775766_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5d539a70e87218ff946482dbdac2ef98.jpg","text":"TemporaryFile(/tmp/multipartBody8503225720500343248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444394722,"filename":"image_09012025_15_20_02_667232_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/40f9b1bf87766bd6902a0c5a4160664a.jpg","text":"TemporaryFile(/tmp/multipartBody9047808296270446906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444394722,"filename":"image_09012025_15_20_02_667232_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/07df60590e82b55e20959d80909bcb10.jpg","text":"TemporaryFile(/tmp/multipartBody6426623255787530432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444394722,"filename":"image_09012025_15_21_02_775766_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f8aa2071e42cb326dcd64ad31565fec4.jpg","text":"TemporaryFile(/tmp/multipartBody3780567952811332570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444394722,"filename":"image_09012025_15_21_02_775766_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327675741","file1":"1327675732","file0":"1327675728","file4":"1327675757","file5":"1327675763","file3":"1327675750"},"map_files_photo_id_array":[{"photo_id":"1327675763","filename":"file5"},{"photo_id":"1327675741","filename":"file2"},{"photo_id":"1327675757","filename":"file4"},{"photo_id":"1327675732","filename":"file1"},{"photo_id":"1327675728","filename":"file0"},{"photo_id":"1327675750","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327675741":["hashtag1","hashtag2"]},{"1327675750":["hashtag1","hashtag2"]},{"1327675732":["hashtag1","hashtag2"]},{"1327675728":["hashtag1","hashtag2"]},{"1327675763":["hashtag1","hashtag2"]},{"1327675757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327675741, 1327675750, 1327675732, 1327675728, 1327675763, 1327675757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.22232747077942 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 18:39:52.548775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/22/image_09012025_15_22_02_976445_0000.jpg', '/home/pi/Desktop/images/09012025/15/22/image_09012025_15_22_02_976445_0001.jpg', '/home/pi/Desktop/images/09012025/15/22/image_09012025_15_22_02_976445_0002.jpg', '/home/pi/Desktop/images/09012025/15/22/image_09012025_15_22_02_976445_0003.jpg', '/home/pi/Desktop/images/09012025/15/23/image_09012025_15_23_02_147331_0001.jpg', '/home/pi/Desktop/images/09012025/15/23/image_09012025_15_23_02_147331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/22/image_09012025_15_22_02_976445_0000.jpg
/home/pi/Desktop/images/09012025/15/22/image_09012025_15_22_02_976445_0001.jpg
/home/pi/Desktop/images/09012025/15/22/image_09012025_15_22_02_976445_0002.jpg
/home/pi/Desktop/images/09012025/15/22/image_09012025_15_22_02_976445_0003.jpg
/home/pi/Desktop/images/09012025/15/23/image_09012025_15_23_02_147331_0001.jpg
/home/pi/Desktop/images/09012025/15/23/image_09012025_15_23_02_147331_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 41.643882513046265 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 18:40:41.831939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/22/image_09012025_15_22_02_976445_0000.jpg', '/home/pi/Desktop/images/09012025/15/22/image_09012025_15_22_02_976445_0001.jpg', '/home/pi/Desktop/images/09012025/15/22/image_09012025_15_22_02_976445_0002.jpg', '/home/pi/Desktop/images/09012025/15/22/image_09012025_15_22_02_976445_0003.jpg', '/home/pi/Desktop/images/09012025/15/23/image_09012025_15_23_02_147331_0001.jpg', '/home/pi/Desktop/images/09012025/15/23/image_09012025_15_23_02_147331_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/22/image_09012025_15_22_02_976445_0000.jpg
/home/pi/Desktop/images/09012025/15/22/image_09012025_15_22_02_976445_0001.jpg
/home/pi/Desktop/images/09012025/15/22/image_09012025_15_22_02_976445_0002.jpg
/home/pi/Desktop/images/09012025/15/22/image_09012025_15_22_02_976445_0003.jpg
/home/pi/Desktop/images/09012025/15/23/image_09012025_15_23_02_147331_0001.jpg
/home/pi/Desktop/images/09012025/15/23/image_09012025_15_23_02_147331_0002.jpg
 val : 1 : upload photos 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":["1327675921","1327675918","1327675926","1327675914","1327675905","1327675931"],"photo_ids_order":["1327675905","1327675914","1327675918","1327675921","1327675926","1327675931"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6a98867a2a9522097f7f3aa96093d08f.jpg","text":"TemporaryFile(/tmp/multipartBody2656839025911497334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444537523,"filename":"image_09012025_15_22_02_976445_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1a376b814fd42f4b0af1341fec21a33f.jpg","text":"TemporaryFile(/tmp/multipartBody5164140703860849082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444537523,"filename":"image_09012025_15_22_02_976445_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f0195389ed1ea79ab47adc7e73a05840.jpg","text":"TemporaryFile(/tmp/multipartBody2783977643159225188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444537523,"filename":"image_09012025_15_23_02_147331_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8dd715a7642eda6832628921d75d61d5.jpg","text":"TemporaryFile(/tmp/multipartBody2464656840773690464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444537523,"filename":"image_09012025_15_22_02_976445_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/806ca92c55984630d01e68fa911c5bae.jpg","text":"TemporaryFile(/tmp/multipartBody5184026812099188829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444537523,"filename":"image_09012025_15_22_02_976445_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ba6c9f0861e87b2d4c20d1438283dec1.jpg","text":"TemporaryFile(/tmp/multipartBody3352828955595712612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444537523,"filename":"image_09012025_15_23_02_147331_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327675918","file1":"1327675914","file0":"1327675905","file4":"1327675926","file5":"1327675931","file3":"1327675921"},"map_files_photo_id_array":[{"photo_id":"1327675931","filename":"file5"},{"photo_id":"1327675918","filename":"file2"},{"photo_id":"1327675926","filename":"file4"},{"photo_id":"1327675914","filename":"file1"},{"photo_id":"1327675905","filename":"file0"},{"photo_id":"1327675921","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327675921":["hashtag1","hashtag2"]},{"1327675918":["hashtag1","hashtag2"]},{"1327675926":["hashtag1","hashtag2"]},{"1327675914":["hashtag1","hashtag2"]},{"1327675905":["hashtag1","hashtag2"]},{"1327675931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327675921, 1327675918, 1327675926, 1327675914, 1327675905, 1327675931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.67867374420166 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 18:42:22.216326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/23/image_09012025_15_23_02_147331_0003.jpg', '/home/pi/Desktop/images/09012025/15/24/image_09012025_15_24_02_431758_0000.jpg', '/home/pi/Desktop/images/09012025/15/24/image_09012025_15_24_02_431758_0001.jpg', '/home/pi/Desktop/images/09012025/15/24/image_09012025_15_24_02_431758_0002.jpg', '/home/pi/Desktop/images/09012025/15/24/image_09012025_15_24_02_431758_0003.jpg', '/home/pi/Desktop/images/09012025/15/25/image_09012025_15_25_02_554870_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/23/image_09012025_15_23_02_147331_0003.jpg
/home/pi/Desktop/images/09012025/15/24/image_09012025_15_24_02_431758_0000.jpg
/home/pi/Desktop/images/09012025/15/24/image_09012025_15_24_02_431758_0001.jpg
/home/pi/Desktop/images/09012025/15/24/image_09012025_15_24_02_431758_0002.jpg
/home/pi/Desktop/images/09012025/15/24/image_09012025_15_24_02_431758_0003.jpg
/home/pi/Desktop/images/09012025/15/25/image_09012025_15_25_02_554870_0000.jpg
 val : 1 : upload photos 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":["1327676066","1327676051","1327676024","1327676018","1327676059","1327676047"],"photo_ids_order":["1327676018","1327676024","1327676047","1327676051","1327676059","1327676066"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dee43f78ff07792a284775ea34079d57.jpg","text":"TemporaryFile(/tmp/multipartBody3031514699021167227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444620918,"filename":"image_09012025_15_25_02_554870_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7671199196ecaf5f7f42c04afb354196.jpg","text":"TemporaryFile(/tmp/multipartBody9164440935795030022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444620918,"filename":"image_09012025_15_24_02_431758_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2810904e5252e70365228828aa9f95e2.jpg","text":"TemporaryFile(/tmp/multipartBody612477053714791513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444620918,"filename":"image_09012025_15_24_02_431758_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2a959c8fcf5c0d060adcdc9d78e553fc.jpg","text":"TemporaryFile(/tmp/multipartBody8125393205051145932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444620918,"filename":"image_09012025_15_23_02_147331_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/89c8175072f6f5392a83453e9c9bb4ea.jpg","text":"TemporaryFile(/tmp/multipartBody1420265595349836944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444620918,"filename":"image_09012025_15_24_02_431758_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8df454017ea8da4d9d98fa7b2b248897.jpg","text":"TemporaryFile(/tmp/multipartBody815720850726163830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444620918,"filename":"image_09012025_15_24_02_431758_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327676047","file1":"1327676024","file0":"1327676018","file4":"1327676059","file5":"1327676066","file3":"1327676051"},"map_files_photo_id_array":[{"photo_id":"1327676066","filename":"file5"},{"photo_id":"1327676047","filename":"file2"},{"photo_id":"1327676059","filename":"file4"},{"photo_id":"1327676024","filename":"file1"},{"photo_id":"1327676018","filename":"file0"},{"photo_id":"1327676051","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327676066":["hashtag1","hashtag2"]},{"1327676051":["hashtag1","hashtag2"]},{"1327676024":["hashtag1","hashtag2"]},{"1327676018":["hashtag1","hashtag2"]},{"1327676059":["hashtag1","hashtag2"]},{"1327676047":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327676066, 1327676051, 1327676024, 1327676018, 1327676059, 1327676047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.21824741363525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 18:43:42.331647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/25/image_09012025_15_25_02_554870_0001.jpg', '/home/pi/Desktop/images/09012025/15/25/image_09012025_15_25_02_554870_0002.jpg', '/home/pi/Desktop/images/09012025/15/25/image_09012025_15_25_02_554870_0003.jpg', '/home/pi/Desktop/images/09012025/15/26/image_09012025_15_26_02_750318_0000.jpg', '/home/pi/Desktop/images/09012025/15/26/image_09012025_15_26_02_750318_0002.jpg', '/home/pi/Desktop/images/09012025/15/27/image_09012025_15_27_02_984632_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/25/image_09012025_15_25_02_554870_0001.jpg
/home/pi/Desktop/images/09012025/15/25/image_09012025_15_25_02_554870_0002.jpg
/home/pi/Desktop/images/09012025/15/25/image_09012025_15_25_02_554870_0003.jpg
/home/pi/Desktop/images/09012025/15/26/image_09012025_15_26_02_750318_0000.jpg
/home/pi/Desktop/images/09012025/15/26/image_09012025_15_26_02_750318_0002.jpg
/home/pi/Desktop/images/09012025/15/27/image_09012025_15_27_02_984632_0001.jpg
 val : 1 : upload photos 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":["1327676302","1327676286","1327676265","1327676238","1327676226","1327676249"],"photo_ids_order":["1327676226","1327676238","1327676249","1327676265","1327676286","1327676302"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/561b458ef03cdc81881987364d163474.jpg","text":"TemporaryFile(/tmp/multipartBody7744377172450557945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444718246,"filename":"image_09012025_15_27_02_984632_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/98edc46d451db51960dee6c5affb7a25.jpg","text":"TemporaryFile(/tmp/multipartBody8459390995194087585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444718246,"filename":"image_09012025_15_26_02_750318_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/471d93d8588f021cbc8dd42d13576216.jpg","text":"TemporaryFile(/tmp/multipartBody3110254236387619056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444718246,"filename":"image_09012025_15_26_02_750318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/12451e1012e18ab60dbdedbc8af9cb12.jpg","text":"TemporaryFile(/tmp/multipartBody1393060897849461760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444718246,"filename":"image_09012025_15_25_02_554870_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3b9002a640ba7e3f5865ad9c6f962021.jpg","text":"TemporaryFile(/tmp/multipartBody5412388205383844710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444718246,"filename":"image_09012025_15_25_02_554870_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a6013f6140d154c54be189f031943195.jpg","text":"TemporaryFile(/tmp/multipartBody7181029239543414935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444718246,"filename":"image_09012025_15_25_02_554870_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327676249","file1":"1327676238","file0":"1327676226","file4":"1327676286","file5":"1327676302","file3":"1327676265"},"map_files_photo_id_array":[{"photo_id":"1327676302","filename":"file5"},{"photo_id":"1327676249","filename":"file2"},{"photo_id":"1327676286","filename":"file4"},{"photo_id":"1327676238","filename":"file1"},{"photo_id":"1327676226","filename":"file0"},{"photo_id":"1327676265","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327676302":["hashtag1","hashtag2"]},{"1327676286":["hashtag1","hashtag2"]},{"1327676265":["hashtag1","hashtag2"]},{"1327676238":["hashtag1","hashtag2"]},{"1327676226":["hashtag1","hashtag2"]},{"1327676249":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327676302, 1327676286, 1327676265, 1327676238, 1327676226, 1327676249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.83129048347473 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 18:45:21.841480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/27/image_09012025_15_27_02_984632_0002.jpg', '/home/pi/Desktop/images/09012025/15/27/image_09012025_15_27_02_984632_0003.jpg', '/home/pi/Desktop/images/09012025/15/28/image_09012025_15_28_03_157710_0001.jpg', '/home/pi/Desktop/images/09012025/15/28/image_09012025_15_28_03_157710_0002.jpg', '/home/pi/Desktop/images/09012025/15/29/image_09012025_15_29_02_357359_0000.jpg', '/home/pi/Desktop/images/09012025/15/29/image_09012025_15_29_02_357359_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/27/image_09012025_15_27_02_984632_0002.jpg
/home/pi/Desktop/images/09012025/15/27/image_09012025_15_27_02_984632_0003.jpg
/home/pi/Desktop/images/09012025/15/28/image_09012025_15_28_03_157710_0001.jpg
/home/pi/Desktop/images/09012025/15/28/image_09012025_15_28_03_157710_0002.jpg
/home/pi/Desktop/images/09012025/15/29/image_09012025_15_29_02_357359_0000.jpg
/home/pi/Desktop/images/09012025/15/29/image_09012025_15_29_02_357359_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327676496","1327676428","1327676472","1327676433","1327676468","1327676423"],"photo_ids_order":["1327676423","1327676428","1327676433","1327676468","1327676472","1327676496"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/07bce2b518a0ef43db7fbce94f2bb965.jpg","text":"TemporaryFile(/tmp/multipartBody1995085810147308480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444817278,"filename":"image_09012025_15_29_02_357359_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/929c7613617add2d802b7dac8c91a8fa.jpg","text":"TemporaryFile(/tmp/multipartBody7780231119718827967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444817278,"filename":"image_09012025_15_27_02_984632_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fc483f0e9cd573421872211d51d2e8dd.jpg","text":"TemporaryFile(/tmp/multipartBody4733552790993617348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444817278,"filename":"image_09012025_15_29_02_357359_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6636a50a2e8b9764b8474b7df2d88022.jpg","text":"TemporaryFile(/tmp/multipartBody6182420541807037762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444817278,"filename":"image_09012025_15_28_03_157710_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c979baad5ad6bdb17c1d4019772457b7.jpg","text":"TemporaryFile(/tmp/multipartBody5010462176815506961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444817278,"filename":"image_09012025_15_28_03_157710_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/565050a19f1d4ba93306b2434adf1ef5.jpg","text":"TemporaryFile(/tmp/multipartBody7795732522817759462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444817278,"filename":"image_09012025_15_27_02_984632_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327676433","file1":"1327676428","file0":"1327676423","file4":"1327676472","file5":"1327676496","file3":"1327676468"},"map_files_photo_id_array":[{"photo_id":"1327676496","filename":"file5"},{"photo_id":"1327676433","filename":"file2"},{"photo_id":"1327676472","filename":"file4"},{"photo_id":"1327676428","filename":"file1"},{"photo_id":"1327676423","filename":"file0"},{"photo_id":"1327676468","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327676496":["hashtag1","hashtag2"]},{"1327676428":["hashtag1","hashtag2"]},{"1327676472":["hashtag1","hashtag2"]},{"1327676433":["hashtag1","hashtag2"]},{"1327676468":["hashtag1","hashtag2"]},{"1327676423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327676496, 1327676428, 1327676472, 1327676433, 1327676468, 1327676423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.54934024810791 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 18:47:02.757209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/29/image_09012025_15_29_02_357359_0002.jpg', '/home/pi/Desktop/images/09012025/15/29/image_09012025_15_29_02_357359_0003.jpg', '/home/pi/Desktop/images/09012025/15/30/image_09012025_15_30_02_508345_0000.jpg', '/home/pi/Desktop/images/09012025/15/30/image_09012025_15_30_02_508345_0001.jpg', '/home/pi/Desktop/images/09012025/15/30/image_09012025_15_30_02_508345_0002.jpg', '/home/pi/Desktop/images/09012025/15/31/image_09012025_15_31_02_780831_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/29/image_09012025_15_29_02_357359_0002.jpg
/home/pi/Desktop/images/09012025/15/29/image_09012025_15_29_02_357359_0003.jpg
/home/pi/Desktop/images/09012025/15/30/image_09012025_15_30_02_508345_0000.jpg
/home/pi/Desktop/images/09012025/15/30/image_09012025_15_30_02_508345_0001.jpg
/home/pi/Desktop/images/09012025/15/30/image_09012025_15_30_02_508345_0002.jpg
/home/pi/Desktop/images/09012025/15/31/image_09012025_15_31_02_780831_0001.jpg
 val : 1 : upload photos 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":["1327676550","1327676556","1327676544","1327676538","1327676561","1327676534"],"photo_ids_order":["1327676534","1327676538","1327676544","1327676550","1327676556","1327676561"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/662ead935b5f25246e61586dfb8fd966.jpg","text":"TemporaryFile(/tmp/multipartBody128763237593506057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444908112,"filename":"image_09012025_15_30_02_508345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9717942cbc70540967ebb0fa1fdc9e96.jpg","text":"TemporaryFile(/tmp/multipartBody7456775666033587365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444908112,"filename":"image_09012025_15_30_02_508345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e7aa201263e96b03a6253ab97a215ab3.jpg","text":"TemporaryFile(/tmp/multipartBody6687094014846051768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444908112,"filename":"image_09012025_15_30_02_508345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b4720378396cac0d93ea58fbb02ac12f.jpg","text":"TemporaryFile(/tmp/multipartBody6139876608603722031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444908112,"filename":"image_09012025_15_29_02_357359_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bfbf1a05989903f38df0a3d7723ccd63.jpg","text":"TemporaryFile(/tmp/multipartBody6901992785199465402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444908112,"filename":"image_09012025_15_31_02_780831_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4043f1b86de7d2d7637937f7f27bb7ed.jpg","text":"TemporaryFile(/tmp/multipartBody5113495481682029788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736444908112,"filename":"image_09012025_15_29_02_357359_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327676544","file1":"1327676538","file0":"1327676534","file4":"1327676556","file5":"1327676561","file3":"1327676550"},"map_files_photo_id_array":[{"photo_id":"1327676561","filename":"file5"},{"photo_id":"1327676544","filename":"file2"},{"photo_id":"1327676556","filename":"file4"},{"photo_id":"1327676538","filename":"file1"},{"photo_id":"1327676534","filename":"file0"},{"photo_id":"1327676550","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327676550":["hashtag1","hashtag2"]},{"1327676556":["hashtag1","hashtag2"]},{"1327676544":["hashtag1","hashtag2"]},{"1327676538":["hashtag1","hashtag2"]},{"1327676561":["hashtag1","hashtag2"]},{"1327676534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327676550, 1327676556, 1327676544, 1327676538, 1327676561, 1327676534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.05561017990112 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 18:48:22.307078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/31/image_09012025_15_31_02_780831_0002.jpg', '/home/pi/Desktop/images/09012025/15/31/image_09012025_15_31_02_780831_0003.jpg', '/home/pi/Desktop/images/09012025/15/33/image_09012025_15_33_03_165550_0000.jpg', '/home/pi/Desktop/images/09012025/15/33/image_09012025_15_33_03_165550_0001.jpg', '/home/pi/Desktop/images/09012025/15/33/image_09012025_15_33_03_165550_0002.jpg', '/home/pi/Desktop/images/09012025/15/33/image_09012025_15_33_03_165550_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/31/image_09012025_15_31_02_780831_0002.jpg
/home/pi/Desktop/images/09012025/15/31/image_09012025_15_31_02_780831_0003.jpg
/home/pi/Desktop/images/09012025/15/33/image_09012025_15_33_03_165550_0000.jpg
/home/pi/Desktop/images/09012025/15/33/image_09012025_15_33_03_165550_0001.jpg
/home/pi/Desktop/images/09012025/15/33/image_09012025_15_33_03_165550_0002.jpg
/home/pi/Desktop/images/09012025/15/33/image_09012025_15_33_03_165550_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 35.676172733306885 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 18:49:03.154810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/31/image_09012025_15_31_02_780831_0002.jpg', '/home/pi/Desktop/images/09012025/15/31/image_09012025_15_31_02_780831_0003.jpg', '/home/pi/Desktop/images/09012025/15/33/image_09012025_15_33_03_165550_0000.jpg', '/home/pi/Desktop/images/09012025/15/33/image_09012025_15_33_03_165550_0001.jpg', '/home/pi/Desktop/images/09012025/15/33/image_09012025_15_33_03_165550_0002.jpg', '/home/pi/Desktop/images/09012025/15/33/image_09012025_15_33_03_165550_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/31/image_09012025_15_31_02_780831_0002.jpg
/home/pi/Desktop/images/09012025/15/31/image_09012025_15_31_02_780831_0003.jpg
/home/pi/Desktop/images/09012025/15/33/image_09012025_15_33_03_165550_0000.jpg
/home/pi/Desktop/images/09012025/15/33/image_09012025_15_33_03_165550_0001.jpg
/home/pi/Desktop/images/09012025/15/33/image_09012025_15_33_03_165550_0002.jpg
/home/pi/Desktop/images/09012025/15/33/image_09012025_15_33_03_165550_0003.jpg
 val : 1 : upload photos 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":["1327676639","1327676648","1327676633","1327676627","1327676621","1327676653"],"photo_ids_order":["1327676621","1327676627","1327676633","1327676639","1327676648","1327676653"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f6338265eac67a111dfb0a27a37e7370.jpg","text":"TemporaryFile(/tmp/multipartBody2911376047366260457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445043273,"filename":"image_09012025_15_33_03_165550_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d3d0537c19fc278cd0b7ff7ffaf6026f.jpg","text":"TemporaryFile(/tmp/multipartBody8015082636328820333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445043273,"filename":"image_09012025_15_33_03_165550_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2521bc76febe3d89ea7b21f961ce3895.jpg","text":"TemporaryFile(/tmp/multipartBody7215054995811437417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445043273,"filename":"image_09012025_15_33_03_165550_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0dc6ee62d377a5d1fc402d2d4ac44e86.jpg","text":"TemporaryFile(/tmp/multipartBody4604006691947097339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445043273,"filename":"image_09012025_15_31_02_780831_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/39df905281f425e8abe1450471623872.jpg","text":"TemporaryFile(/tmp/multipartBody5048687064020659090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445043273,"filename":"image_09012025_15_31_02_780831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5fd969f888ebd01797f01b4f7d6167e5.jpg","text":"TemporaryFile(/tmp/multipartBody9001582335893558267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445043273,"filename":"image_09012025_15_33_03_165550_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327676633","file1":"1327676627","file0":"1327676621","file4":"1327676648","file5":"1327676653","file3":"1327676639"},"map_files_photo_id_array":[{"photo_id":"1327676653","filename":"file5"},{"photo_id":"1327676633","filename":"file2"},{"photo_id":"1327676648","filename":"file4"},{"photo_id":"1327676627","filename":"file1"},{"photo_id":"1327676621","filename":"file0"},{"photo_id":"1327676639","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327676639":["hashtag1","hashtag2"]},{"1327676648":["hashtag1","hashtag2"]},{"1327676633":["hashtag1","hashtag2"]},{"1327676627":["hashtag1","hashtag2"]},{"1327676621":["hashtag1","hashtag2"]},{"1327676653":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327676639, 1327676648, 1327676633, 1327676627, 1327676621, 1327676653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.67971396446228 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 18:50:32.633436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/34/image_09012025_15_34_02_316572_0000.jpg', '/home/pi/Desktop/images/09012025/15/34/image_09012025_15_34_02_316572_0001.jpg', '/home/pi/Desktop/images/09012025/15/34/image_09012025_15_34_02_316572_0002.jpg', '/home/pi/Desktop/images/09012025/15/34/image_09012025_15_34_02_316572_0003.jpg', '/home/pi/Desktop/images/09012025/15/35/image_09012025_15_35_02_478187_0000.jpg', '/home/pi/Desktop/images/09012025/15/35/image_09012025_15_35_02_478187_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/34/image_09012025_15_34_02_316572_0000.jpg
/home/pi/Desktop/images/09012025/15/34/image_09012025_15_34_02_316572_0001.jpg
/home/pi/Desktop/images/09012025/15/34/image_09012025_15_34_02_316572_0002.jpg
/home/pi/Desktop/images/09012025/15/34/image_09012025_15_34_02_316572_0003.jpg
/home/pi/Desktop/images/09012025/15/35/image_09012025_15_35_02_478187_0000.jpg
/home/pi/Desktop/images/09012025/15/35/image_09012025_15_35_02_478187_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327676701","1327676713","1327676705","1327676683","1327676702","1327676692"],"photo_ids_order":["1327676683","1327676692","1327676701","1327676702","1327676705","1327676713"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a7e5ba0c0dfbef3cc5efdb34bc9a9779.jpg","text":"TemporaryFile(/tmp/multipartBody1084829768456836013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445131589,"filename":"image_09012025_15_34_02_316572_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/24126983998ad4a4a63f696c0904eafe.jpg","text":"TemporaryFile(/tmp/multipartBody6167726857569757324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445131589,"filename":"image_09012025_15_35_02_478187_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/67ad47ef001ea85fe33d1572dad2a070.jpg","text":"TemporaryFile(/tmp/multipartBody1828370887272262074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445131589,"filename":"image_09012025_15_35_02_478187_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4c9ea15c765f21d4c47858cfe305ffe8.jpg","text":"TemporaryFile(/tmp/multipartBody4164923533967601326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445131589,"filename":"image_09012025_15_34_02_316572_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/15c775149e250a615d402c0972b451a1.jpg","text":"TemporaryFile(/tmp/multipartBody8110309611227678638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445131589,"filename":"image_09012025_15_34_02_316572_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b193d8bd2aa4a0cda51598e30b6a99c.jpg","text":"TemporaryFile(/tmp/multipartBody3823611096391799262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445131589,"filename":"image_09012025_15_34_02_316572_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327676701","file1":"1327676692","file0":"1327676683","file4":"1327676705","file5":"1327676713","file3":"1327676702"},"map_files_photo_id_array":[{"photo_id":"1327676713","filename":"file5"},{"photo_id":"1327676701","filename":"file2"},{"photo_id":"1327676705","filename":"file4"},{"photo_id":"1327676692","filename":"file1"},{"photo_id":"1327676683","filename":"file0"},{"photo_id":"1327676702","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327676701":["hashtag1","hashtag2"]},{"1327676713":["hashtag1","hashtag2"]},{"1327676705":["hashtag1","hashtag2"]},{"1327676683":["hashtag1","hashtag2"]},{"1327676702":["hashtag1","hashtag2"]},{"1327676692":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327676701, 1327676713, 1327676705, 1327676683, 1327676702, 1327676692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.74911570549011 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 18:52:22.165191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/35/image_09012025_15_35_02_478187_0002.jpg', '/home/pi/Desktop/images/09012025/15/35/image_09012025_15_35_02_478187_0003.jpg', '/home/pi/Desktop/images/09012025/15/36/image_09012025_15_36_02_765394_0000.jpg', '/home/pi/Desktop/images/09012025/15/36/image_09012025_15_36_02_765394_0001.jpg', '/home/pi/Desktop/images/09012025/15/36/image_09012025_15_36_02_765394_0002.jpg', '/home/pi/Desktop/images/09012025/15/36/image_09012025_15_36_02_765394_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/35/image_09012025_15_35_02_478187_0002.jpg
/home/pi/Desktop/images/09012025/15/35/image_09012025_15_35_02_478187_0003.jpg
/home/pi/Desktop/images/09012025/15/36/image_09012025_15_36_02_765394_0000.jpg
/home/pi/Desktop/images/09012025/15/36/image_09012025_15_36_02_765394_0001.jpg
/home/pi/Desktop/images/09012025/15/36/image_09012025_15_36_02_765394_0002.jpg
/home/pi/Desktop/images/09012025/15/36/image_09012025_15_36_02_765394_0003.jpg
 val : 1 : upload photos 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":["1327676784","1327676757","1327676751","1327676786","1327676768","1327676777"],"photo_ids_order":["1327676751","1327676757","1327676768","1327676777","1327676784","1327676786"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d74c8349ef0da5b2491b5c4e928de3bc.jpg","text":"TemporaryFile(/tmp/multipartBody9096265545224072489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445236431,"filename":"image_09012025_15_36_02_765394_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fa3293683b2885d140875f5f01ec2c9a.jpg","text":"TemporaryFile(/tmp/multipartBody912334297203093126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445236431,"filename":"image_09012025_15_35_02_478187_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/76ce225877d620e5c8d1b4b1970f8914.jpg","text":"TemporaryFile(/tmp/multipartBody5769517713660095821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445236431,"filename":"image_09012025_15_35_02_478187_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ffedd996dbede45a9247610523709e19.jpg","text":"TemporaryFile(/tmp/multipartBody3682546686475124515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445236431,"filename":"image_09012025_15_36_02_765394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9a6e0e3d11841c8ac686265d4e77febf.jpg","text":"TemporaryFile(/tmp/multipartBody7912742189905307060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445236431,"filename":"image_09012025_15_36_02_765394_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ee2e9b1feabd1773fcdbd5d54d02eec3.jpg","text":"TemporaryFile(/tmp/multipartBody5283910463794091237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445236431,"filename":"image_09012025_15_36_02_765394_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327676768","file1":"1327676757","file0":"1327676751","file4":"1327676784","file5":"1327676786","file3":"1327676777"},"map_files_photo_id_array":[{"photo_id":"1327676786","filename":"file5"},{"photo_id":"1327676768","filename":"file2"},{"photo_id":"1327676784","filename":"file4"},{"photo_id":"1327676757","filename":"file1"},{"photo_id":"1327676751","filename":"file0"},{"photo_id":"1327676777","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327676784":["hashtag1","hashtag2"]},{"1327676757":["hashtag1","hashtag2"]},{"1327676751":["hashtag1","hashtag2"]},{"1327676786":["hashtag1","hashtag2"]},{"1327676768":["hashtag1","hashtag2"]},{"1327676777":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327676784, 1327676757, 1327676751, 1327676786, 1327676768, 1327676777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.6886875629425 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 18:53:52.321432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/37/image_09012025_15_37_02_802120_0000.jpg', '/home/pi/Desktop/images/09012025/15/37/image_09012025_15_37_02_802120_0001.jpg', '/home/pi/Desktop/images/09012025/15/37/image_09012025_15_37_02_802120_0002.jpg', '/home/pi/Desktop/images/09012025/15/37/image_09012025_15_37_02_802120_0003.jpg', '/home/pi/Desktop/images/09012025/15/38/image_09012025_15_38_02_996849_0001.jpg', '/home/pi/Desktop/images/09012025/15/38/image_09012025_15_38_02_996849_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/37/image_09012025_15_37_02_802120_0000.jpg
/home/pi/Desktop/images/09012025/15/37/image_09012025_15_37_02_802120_0001.jpg
/home/pi/Desktop/images/09012025/15/37/image_09012025_15_37_02_802120_0002.jpg
/home/pi/Desktop/images/09012025/15/37/image_09012025_15_37_02_802120_0003.jpg
/home/pi/Desktop/images/09012025/15/38/image_09012025_15_38_02_996849_0001.jpg
/home/pi/Desktop/images/09012025/15/38/image_09012025_15_38_02_996849_0002.jpg
 val : 1 : upload photos 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":["1327676818","1327676844","1327676814","1327676831","1327676825","1327676833"],"photo_ids_order":["1327676814","1327676818","1327676825","1327676831","1327676833","1327676844"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e1f6a2392030c1988f5dd14d9957bd2a.jpg","text":"TemporaryFile(/tmp/multipartBody2365538831576871507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445329527,"filename":"image_09012025_15_37_02_802120_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/63c6d38294ab39f6b9de43b455aabbcf.jpg","text":"TemporaryFile(/tmp/multipartBody1565605197009375618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445329527,"filename":"image_09012025_15_38_02_996849_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f181cc4614bf9961def5b2b55796b944.jpg","text":"TemporaryFile(/tmp/multipartBody7165163939449158067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445329527,"filename":"image_09012025_15_37_02_802120_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8bd1ae9f0041215e64496902d1534c99.jpg","text":"TemporaryFile(/tmp/multipartBody1222826058166670737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445329527,"filename":"image_09012025_15_37_02_802120_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0fb1ae8baa3c533fc4b955f050649b1c.jpg","text":"TemporaryFile(/tmp/multipartBody1410695008465692247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445329527,"filename":"image_09012025_15_37_02_802120_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4d7d1c939a949895ff935c9185a49ecb.jpg","text":"TemporaryFile(/tmp/multipartBody1306982117472468367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445329527,"filename":"image_09012025_15_38_02_996849_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327676825","file1":"1327676818","file0":"1327676814","file4":"1327676833","file5":"1327676844","file3":"1327676831"},"map_files_photo_id_array":[{"photo_id":"1327676844","filename":"file5"},{"photo_id":"1327676825","filename":"file2"},{"photo_id":"1327676833","filename":"file4"},{"photo_id":"1327676818","filename":"file1"},{"photo_id":"1327676814","filename":"file0"},{"photo_id":"1327676831","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327676818":["hashtag1","hashtag2"]},{"1327676844":["hashtag1","hashtag2"]},{"1327676814":["hashtag1","hashtag2"]},{"1327676831":["hashtag1","hashtag2"]},{"1327676825":["hashtag1","hashtag2"]},{"1327676833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327676818, 1327676844, 1327676814, 1327676831, 1327676825, 1327676833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.20632839202881 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 18:55:32.697336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/38/image_09012025_15_38_02_996849_0003.jpg', '/home/pi/Desktop/images/09012025/15/39/image_09012025_15_39_02_272603_0000.jpg', '/home/pi/Desktop/images/09012025/15/39/image_09012025_15_39_02_272603_0001.jpg', '/home/pi/Desktop/images/09012025/15/39/image_09012025_15_39_02_272603_0002.jpg', '/home/pi/Desktop/images/09012025/15/39/image_09012025_15_39_02_272603_0003.jpg', '/home/pi/Desktop/images/09012025/15/40/image_09012025_15_40_02_408401_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/38/image_09012025_15_38_02_996849_0003.jpg
/home/pi/Desktop/images/09012025/15/39/image_09012025_15_39_02_272603_0000.jpg
/home/pi/Desktop/images/09012025/15/39/image_09012025_15_39_02_272603_0001.jpg
/home/pi/Desktop/images/09012025/15/39/image_09012025_15_39_02_272603_0002.jpg
/home/pi/Desktop/images/09012025/15/39/image_09012025_15_39_02_272603_0003.jpg
/home/pi/Desktop/images/09012025/15/40/image_09012025_15_40_02_408401_0000.jpg
 val : 1 : upload photos 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":["1327676925","1327676907","1327676894","1327676942","1327676939","1327676932"],"photo_ids_order":["1327676894","1327676907","1327676925","1327676932","1327676939","1327676942"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f361ef46f85884d7af9497ab2665412a.jpg","text":"TemporaryFile(/tmp/multipartBody8649762983902299045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445416879,"filename":"image_09012025_15_39_02_272603_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7c7fa20fd32a91c4e8b44ffd46e1526d.jpg","text":"TemporaryFile(/tmp/multipartBody4785549622670555385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445416879,"filename":"image_09012025_15_39_02_272603_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/38f7b8698f8b09343ef2350f0ad5c33b.jpg","text":"TemporaryFile(/tmp/multipartBody1810462268259737204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445416879,"filename":"image_09012025_15_38_02_996849_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e47ead0e6b4e0dd3b201660ba5267bd4.jpg","text":"TemporaryFile(/tmp/multipartBody7962817314497330188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445416879,"filename":"image_09012025_15_40_02_408401_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/768a7b0f20b8ae2aa50d8707f3928eb5.jpg","text":"TemporaryFile(/tmp/multipartBody856951929826351791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445416879,"filename":"image_09012025_15_39_02_272603_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/504d6de534a32b5f4b3ba8694009e8b5.jpg","text":"TemporaryFile(/tmp/multipartBody1957497713491446201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445416879,"filename":"image_09012025_15_39_02_272603_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327676925","file1":"1327676907","file0":"1327676894","file4":"1327676939","file5":"1327676942","file3":"1327676932"},"map_files_photo_id_array":[{"photo_id":"1327676942","filename":"file5"},{"photo_id":"1327676925","filename":"file2"},{"photo_id":"1327676939","filename":"file4"},{"photo_id":"1327676907","filename":"file1"},{"photo_id":"1327676894","filename":"file0"},{"photo_id":"1327676932","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327676925":["hashtag1","hashtag2"]},{"1327676907":["hashtag1","hashtag2"]},{"1327676894":["hashtag1","hashtag2"]},{"1327676942":["hashtag1","hashtag2"]},{"1327676939":["hashtag1","hashtag2"]},{"1327676932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327676925, 1327676907, 1327676894, 1327676942, 1327676939, 1327676932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.28965878486633 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 18:57:02.527948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/40/image_09012025_15_40_02_408401_0001.jpg', '/home/pi/Desktop/images/09012025/15/40/image_09012025_15_40_02_408401_0002.jpg', '/home/pi/Desktop/images/09012025/15/40/image_09012025_15_40_02_408401_0003.jpg', '/home/pi/Desktop/images/09012025/15/41/image_09012025_15_41_02_605280_0001.jpg', '/home/pi/Desktop/images/09012025/15/41/image_09012025_15_41_02_605280_0002.jpg', '/home/pi/Desktop/images/09012025/15/41/image_09012025_15_41_02_605280_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/40/image_09012025_15_40_02_408401_0001.jpg
/home/pi/Desktop/images/09012025/15/40/image_09012025_15_40_02_408401_0002.jpg
/home/pi/Desktop/images/09012025/15/40/image_09012025_15_40_02_408401_0003.jpg
/home/pi/Desktop/images/09012025/15/41/image_09012025_15_41_02_605280_0001.jpg
/home/pi/Desktop/images/09012025/15/41/image_09012025_15_41_02_605280_0002.jpg
/home/pi/Desktop/images/09012025/15/41/image_09012025_15_41_02_605280_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 18:59:02.949798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/40/image_09012025_15_40_02_408401_0001.jpg', '/home/pi/Desktop/images/09012025/15/40/image_09012025_15_40_02_408401_0002.jpg', '/home/pi/Desktop/images/09012025/15/40/image_09012025_15_40_02_408401_0003.jpg', '/home/pi/Desktop/images/09012025/15/41/image_09012025_15_41_02_605280_0001.jpg', '/home/pi/Desktop/images/09012025/15/41/image_09012025_15_41_02_605280_0002.jpg', '/home/pi/Desktop/images/09012025/15/41/image_09012025_15_41_02_605280_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/40/image_09012025_15_40_02_408401_0001.jpg
/home/pi/Desktop/images/09012025/15/40/image_09012025_15_40_02_408401_0002.jpg
/home/pi/Desktop/images/09012025/15/40/image_09012025_15_40_02_408401_0003.jpg
/home/pi/Desktop/images/09012025/15/41/image_09012025_15_41_02_605280_0001.jpg
/home/pi/Desktop/images/09012025/15/41/image_09012025_15_41_02_605280_0002.jpg
/home/pi/Desktop/images/09012025/15/41/image_09012025_15_41_02_605280_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327677426","1327677435","1327677485","1327677492","1327677424","1327677474"],"photo_ids_order":["1327677424","1327677426","1327677435","1327677474","1327677485","1327677492"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7ef0ae921d4cbfbbbbee21abe555b650.jpg","text":"TemporaryFile(/tmp/multipartBody4762666354917292826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445652455,"filename":"image_09012025_15_40_02_408401_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ad305c97b6dfb1cae2639ce23c8f0367.jpg","text":"TemporaryFile(/tmp/multipartBody2658221532512947451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445652455,"filename":"image_09012025_15_40_02_408401_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b99da4005c3304224688dc8632eb2e7.jpg","text":"TemporaryFile(/tmp/multipartBody5603043382882428353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445652455,"filename":"image_09012025_15_41_02_605280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/999ca3dc15e429f6ea4b2e5d2bc412c5.jpg","text":"TemporaryFile(/tmp/multipartBody1603641552711247083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445652455,"filename":"image_09012025_15_41_02_605280_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f21b9932e45b4879e5eefb91d2a4ec42.jpg","text":"TemporaryFile(/tmp/multipartBody1786651410073479211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445652455,"filename":"image_09012025_15_40_02_408401_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/536ad0f615a5308dc4dcd4599ca26280.jpg","text":"TemporaryFile(/tmp/multipartBody3828819300498457127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445652455,"filename":"image_09012025_15_41_02_605280_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327677435","file1":"1327677426","file0":"1327677424","file4":"1327677485","file5":"1327677492","file3":"1327677474"},"map_files_photo_id_array":[{"photo_id":"1327677492","filename":"file5"},{"photo_id":"1327677435","filename":"file2"},{"photo_id":"1327677485","filename":"file4"},{"photo_id":"1327677426","filename":"file1"},{"photo_id":"1327677424","filename":"file0"},{"photo_id":"1327677474","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327677426":["hashtag1","hashtag2"]},{"1327677435":["hashtag1","hashtag2"]},{"1327677485":["hashtag1","hashtag2"]},{"1327677492":["hashtag1","hashtag2"]},{"1327677424":["hashtag1","hashtag2"]},{"1327677474":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327677426, 1327677435, 1327677485, 1327677492, 1327677424, 1327677474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.14374327659607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 19:00:52.608106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/42/image_09012025_15_42_02_754728_0000.jpg', '/home/pi/Desktop/images/09012025/15/42/image_09012025_15_42_02_754728_0001.jpg', '/home/pi/Desktop/images/09012025/15/42/image_09012025_15_42_02_754728_0002.jpg', '/home/pi/Desktop/images/09012025/15/43/image_09012025_15_43_02_939969_0000.jpg', '/home/pi/Desktop/images/09012025/15/43/image_09012025_15_43_02_939969_0001.jpg', '/home/pi/Desktop/images/09012025/15/43/image_09012025_15_43_02_939969_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/42/image_09012025_15_42_02_754728_0000.jpg
/home/pi/Desktop/images/09012025/15/42/image_09012025_15_42_02_754728_0001.jpg
/home/pi/Desktop/images/09012025/15/42/image_09012025_15_42_02_754728_0002.jpg
/home/pi/Desktop/images/09012025/15/43/image_09012025_15_43_02_939969_0000.jpg
/home/pi/Desktop/images/09012025/15/43/image_09012025_15_43_02_939969_0001.jpg
/home/pi/Desktop/images/09012025/15/43/image_09012025_15_43_02_939969_0002.jpg
 val : 1 : upload photos 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":["1327677513","1327677536","1327677524","1327677520","1327677508","1327677517"],"photo_ids_order":["1327677508","1327677513","1327677517","1327677520","1327677524","1327677536"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d117f618bc332e19c57784ce82fc37af.jpg","text":"TemporaryFile(/tmp/multipartBody1710903143665498833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445735826,"filename":"image_09012025_15_42_02_754728_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4bc4dc25b8a28f043b62773d399ff780.jpg","text":"TemporaryFile(/tmp/multipartBody1841327120020537941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445735826,"filename":"image_09012025_15_43_02_939969_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1caf2ebc254dd9191abf479043d685fc.jpg","text":"TemporaryFile(/tmp/multipartBody3247617380940428023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445735826,"filename":"image_09012025_15_43_02_939969_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e5c691d0bd3b7f261c178bc756bf6e66.jpg","text":"TemporaryFile(/tmp/multipartBody7176213177955133644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445735826,"filename":"image_09012025_15_43_02_939969_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d3c8fb26169bd9f6b23148677130ee53.jpg","text":"TemporaryFile(/tmp/multipartBody1745405862659434135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445735826,"filename":"image_09012025_15_42_02_754728_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eb5e2171b02d91eef1f60e9fe78ea99b.jpg","text":"TemporaryFile(/tmp/multipartBody5847431495403593431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445735826,"filename":"image_09012025_15_42_02_754728_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327677517","file1":"1327677513","file0":"1327677508","file4":"1327677524","file5":"1327677536","file3":"1327677520"},"map_files_photo_id_array":[{"photo_id":"1327677536","filename":"file5"},{"photo_id":"1327677517","filename":"file2"},{"photo_id":"1327677524","filename":"file4"},{"photo_id":"1327677513","filename":"file1"},{"photo_id":"1327677508","filename":"file0"},{"photo_id":"1327677520","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327677513":["hashtag1","hashtag2"]},{"1327677536":["hashtag1","hashtag2"]},{"1327677524":["hashtag1","hashtag2"]},{"1327677520":["hashtag1","hashtag2"]},{"1327677508":["hashtag1","hashtag2"]},{"1327677517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327677513, 1327677536, 1327677524, 1327677520, 1327677508, 1327677517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.1475088596344 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 19:02:21.950980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/43/image_09012025_15_43_02_939969_0003.jpg', '/home/pi/Desktop/images/09012025/15/44/image_09012025_15_44_02_212648_0000.jpg', '/home/pi/Desktop/images/09012025/15/44/image_09012025_15_44_02_212648_0001.jpg', '/home/pi/Desktop/images/09012025/15/44/image_09012025_15_44_02_212648_0002.jpg', '/home/pi/Desktop/images/09012025/15/44/image_09012025_15_44_02_212648_0003.jpg', '/home/pi/Desktop/images/09012025/15/45/image_09012025_15_45_02_311878_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/43/image_09012025_15_43_02_939969_0003.jpg
/home/pi/Desktop/images/09012025/15/44/image_09012025_15_44_02_212648_0000.jpg
/home/pi/Desktop/images/09012025/15/44/image_09012025_15_44_02_212648_0001.jpg
/home/pi/Desktop/images/09012025/15/44/image_09012025_15_44_02_212648_0002.jpg
/home/pi/Desktop/images/09012025/15/44/image_09012025_15_44_02_212648_0003.jpg
/home/pi/Desktop/images/09012025/15/45/image_09012025_15_45_02_311878_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327677582","1327677576","1327677587","1327677572","1327677568","1327677591"],"photo_ids_order":["1327677568","1327677572","1327677576","1327677582","1327677587","1327677591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9756b6b4539a0aacf21877807a9949e8.jpg","text":"TemporaryFile(/tmp/multipartBody9020650472951446065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445847958,"filename":"image_09012025_15_44_02_212648_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4183194f9bc30c71a9d4adcd6dca047d.jpg","text":"TemporaryFile(/tmp/multipartBody6252317545834211046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445847958,"filename":"image_09012025_15_44_02_212648_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/19969f6c21db2de1acac6da6a7620ede.jpg","text":"TemporaryFile(/tmp/multipartBody3969111801737552879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445847958,"filename":"image_09012025_15_44_02_212648_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eaf621a9a51efe7c7d90d7c66a90bd4f.jpg","text":"TemporaryFile(/tmp/multipartBody6260095292900661765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445847958,"filename":"image_09012025_15_44_02_212648_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/65ace7abe9fdf4327b1ad0e0823d6ca9.jpg","text":"TemporaryFile(/tmp/multipartBody7479213860557459681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445847958,"filename":"image_09012025_15_43_02_939969_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a021a37e8c7657c518ff6df1fa85c7a6.jpg","text":"TemporaryFile(/tmp/multipartBody5481675644808875216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445847958,"filename":"image_09012025_15_45_02_311878_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327677576","file1":"1327677572","file0":"1327677568","file4":"1327677587","file5":"1327677591","file3":"1327677582"},"map_files_photo_id_array":[{"photo_id":"1327677591","filename":"file5"},{"photo_id":"1327677576","filename":"file2"},{"photo_id":"1327677587","filename":"file4"},{"photo_id":"1327677572","filename":"file1"},{"photo_id":"1327677568","filename":"file0"},{"photo_id":"1327677582","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327677582":["hashtag1","hashtag2"]},{"1327677576":["hashtag1","hashtag2"]},{"1327677587":["hashtag1","hashtag2"]},{"1327677572":["hashtag1","hashtag2"]},{"1327677568":["hashtag1","hashtag2"]},{"1327677591":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327677582, 1327677576, 1327677587, 1327677572, 1327677568, 1327677591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.92705750465393 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 19:04:22.409116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/45/image_09012025_15_45_02_311878_0001.jpg', '/home/pi/Desktop/images/09012025/15/45/image_09012025_15_45_02_311878_0002.jpg', '/home/pi/Desktop/images/09012025/15/45/image_09012025_15_45_02_311878_0003.jpg', '/home/pi/Desktop/images/09012025/15/46/image_09012025_15_46_02_612971_0000.jpg', '/home/pi/Desktop/images/09012025/15/46/image_09012025_15_46_02_612971_0001.jpg', '/home/pi/Desktop/images/09012025/15/46/image_09012025_15_46_02_612971_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/45/image_09012025_15_45_02_311878_0001.jpg
/home/pi/Desktop/images/09012025/15/45/image_09012025_15_45_02_311878_0002.jpg
/home/pi/Desktop/images/09012025/15/45/image_09012025_15_45_02_311878_0003.jpg
/home/pi/Desktop/images/09012025/15/46/image_09012025_15_46_02_612971_0000.jpg
/home/pi/Desktop/images/09012025/15/46/image_09012025_15_46_02_612971_0001.jpg
/home/pi/Desktop/images/09012025/15/46/image_09012025_15_46_02_612971_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327678367","1327678433","1327678430","1327678424","1327678412","1327678438"],"photo_ids_order":["1327678367","1327678412","1327678424","1327678430","1327678433","1327678438"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6797e5b4f4fe3773b6074abd21bd1191.jpg","text":"TemporaryFile(/tmp/multipartBody2988708107333881929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445957449,"filename":"image_09012025_15_45_02_311878_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7649dd9aaaa877b489f4c640b2dc9773.jpg","text":"TemporaryFile(/tmp/multipartBody3441257178662614350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445957449,"filename":"image_09012025_15_46_02_612971_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0595f33f34e718a7c13b6df08568572b.jpg","text":"TemporaryFile(/tmp/multipartBody8011658966914581705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445957449,"filename":"image_09012025_15_46_02_612971_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e4d7e6a093a8415c168d5199dc13592.jpg","text":"TemporaryFile(/tmp/multipartBody7634144788960593951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445957449,"filename":"image_09012025_15_45_02_311878_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5c194261ac48f7816bbca7151ef5d5dc.jpg","text":"TemporaryFile(/tmp/multipartBody4046550299433362966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445957449,"filename":"image_09012025_15_45_02_311878_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9c1e696ddc6927b0504794c98897ae08.jpg","text":"TemporaryFile(/tmp/multipartBody5281330623282901008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736445957449,"filename":"image_09012025_15_46_02_612971_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327678424","file1":"1327678412","file0":"1327678367","file4":"1327678433","file5":"1327678438","file3":"1327678430"},"map_files_photo_id_array":[{"photo_id":"1327678438","filename":"file5"},{"photo_id":"1327678424","filename":"file2"},{"photo_id":"1327678433","filename":"file4"},{"photo_id":"1327678412","filename":"file1"},{"photo_id":"1327678367","filename":"file0"},{"photo_id":"1327678430","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327678367":["hashtag1","hashtag2"]},{"1327678433":["hashtag1","hashtag2"]},{"1327678430":["hashtag1","hashtag2"]},{"1327678424":["hashtag1","hashtag2"]},{"1327678412":["hashtag1","hashtag2"]},{"1327678438":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327678367, 1327678433, 1327678430, 1327678424, 1327678412, 1327678438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.24700951576233 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 19:06:03.227505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/46/image_09012025_15_46_02_612971_0003.jpg', '/home/pi/Desktop/images/09012025/15/47/image_09012025_15_47_02_685477_0000.jpg', '/home/pi/Desktop/images/09012025/15/47/image_09012025_15_47_02_685477_0001.jpg', '/home/pi/Desktop/images/09012025/15/47/image_09012025_15_47_02_685477_0002.jpg', '/home/pi/Desktop/images/09012025/15/47/image_09012025_15_47_02_685477_0003.jpg', '/home/pi/Desktop/images/09012025/15/48/image_09012025_15_48_02_923081_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/46/image_09012025_15_46_02_612971_0003.jpg
/home/pi/Desktop/images/09012025/15/47/image_09012025_15_47_02_685477_0000.jpg
/home/pi/Desktop/images/09012025/15/47/image_09012025_15_47_02_685477_0001.jpg
/home/pi/Desktop/images/09012025/15/47/image_09012025_15_47_02_685477_0002.jpg
/home/pi/Desktop/images/09012025/15/47/image_09012025_15_47_02_685477_0003.jpg
/home/pi/Desktop/images/09012025/15/48/image_09012025_15_48_02_923081_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327678724","1327678705","1327678708","1327678702","1327678734","1327678728"],"photo_ids_order":["1327678702","1327678705","1327678708","1327678724","1327678728","1327678734"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c32a68b0ab4fe2efed8bde65a14af382.jpg","text":"TemporaryFile(/tmp/multipartBody1377597091391047845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446064989,"filename":"image_09012025_15_47_02_685477_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/026b76ef172698430eb08e2061a891c3.jpg","text":"TemporaryFile(/tmp/multipartBody469387596785679729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446064989,"filename":"image_09012025_15_47_02_685477_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5a317d0976cfed84307e91dda8406ec6.jpg","text":"TemporaryFile(/tmp/multipartBody7911422922414590063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446064989,"filename":"image_09012025_15_47_02_685477_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/20425a83323228a6777f76adfe6b107e.jpg","text":"TemporaryFile(/tmp/multipartBody5981154513945256361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446064989,"filename":"image_09012025_15_46_02_612971_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c99406f4ee2f0a342e8b4684b9f17c3c.jpg","text":"TemporaryFile(/tmp/multipartBody3830602170950998399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446064989,"filename":"image_09012025_15_48_02_923081_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/364d008fa4bd9e08d8e15cf663dab0d3.jpg","text":"TemporaryFile(/tmp/multipartBody6642354932028731646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446064989,"filename":"image_09012025_15_47_02_685477_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327678708","file1":"1327678705","file0":"1327678702","file4":"1327678728","file5":"1327678734","file3":"1327678724"},"map_files_photo_id_array":[{"photo_id":"1327678734","filename":"file5"},{"photo_id":"1327678708","filename":"file2"},{"photo_id":"1327678728","filename":"file4"},{"photo_id":"1327678705","filename":"file1"},{"photo_id":"1327678702","filename":"file0"},{"photo_id":"1327678724","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327678724":["hashtag1","hashtag2"]},{"1327678705":["hashtag1","hashtag2"]},{"1327678708":["hashtag1","hashtag2"]},{"1327678702":["hashtag1","hashtag2"]},{"1327678734":["hashtag1","hashtag2"]},{"1327678728":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327678724, 1327678705, 1327678708, 1327678702, 1327678734, 1327678728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.17321157455444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 19:07:51.913934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/48/image_09012025_15_48_02_923081_0002.jpg', '/home/pi/Desktop/images/09012025/15/48/image_09012025_15_48_02_923081_0003.jpg', '/home/pi/Desktop/images/09012025/15/49/image_09012025_15_49_03_104241_0000.jpg', '/home/pi/Desktop/images/09012025/15/49/image_09012025_15_49_03_104241_0001.jpg', '/home/pi/Desktop/images/09012025/15/49/image_09012025_15_49_03_104241_0002.jpg', '/home/pi/Desktop/images/09012025/15/49/image_09012025_15_49_03_104241_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/48/image_09012025_15_48_02_923081_0002.jpg
/home/pi/Desktop/images/09012025/15/48/image_09012025_15_48_02_923081_0003.jpg
/home/pi/Desktop/images/09012025/15/49/image_09012025_15_49_03_104241_0000.jpg
/home/pi/Desktop/images/09012025/15/49/image_09012025_15_49_03_104241_0001.jpg
/home/pi/Desktop/images/09012025/15/49/image_09012025_15_49_03_104241_0002.jpg
/home/pi/Desktop/images/09012025/15/49/image_09012025_15_49_03_104241_0003.jpg
 val : 1 : upload photos 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":["1327678796","1327678790","1327678801","1327678810","1327678807","1327678827"],"photo_ids_order":["1327678790","1327678796","1327678801","1327678807","1327678810","1327678827"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/911f2df304916aea74ba74825ed97a98.jpg","text":"TemporaryFile(/tmp/multipartBody5317725420461861616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446162817,"filename":"image_09012025_15_48_02_923081_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cb594604ddb6e7c894947c8056f53fbb.jpg","text":"TemporaryFile(/tmp/multipartBody4728993375174964355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446162817,"filename":"image_09012025_15_48_02_923081_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/08c29da10cd020a84c70839ced037916.jpg","text":"TemporaryFile(/tmp/multipartBody4945233285731904768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446162817,"filename":"image_09012025_15_49_03_104241_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bca6229dc04052d36965fd9e7d45e023.jpg","text":"TemporaryFile(/tmp/multipartBody1936544391869418322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446162817,"filename":"image_09012025_15_49_03_104241_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/733dc6dca9d9c0f8e4b7dbf73ae23993.jpg","text":"TemporaryFile(/tmp/multipartBody8018257644789465439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446162817,"filename":"image_09012025_15_49_03_104241_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d100e76231ced82eb4cc908e372df844.jpg","text":"TemporaryFile(/tmp/multipartBody63354817836734585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446162817,"filename":"image_09012025_15_49_03_104241_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327678801","file1":"1327678796","file0":"1327678790","file4":"1327678810","file5":"1327678827","file3":"1327678807"},"map_files_photo_id_array":[{"photo_id":"1327678827","filename":"file5"},{"photo_id":"1327678801","filename":"file2"},{"photo_id":"1327678810","filename":"file4"},{"photo_id":"1327678796","filename":"file1"},{"photo_id":"1327678790","filename":"file0"},{"photo_id":"1327678807","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327678796":["hashtag1","hashtag2"]},{"1327678790":["hashtag1","hashtag2"]},{"1327678801":["hashtag1","hashtag2"]},{"1327678810":["hashtag1","hashtag2"]},{"1327678807":["hashtag1","hashtag2"]},{"1327678827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327678796, 1327678790, 1327678801, 1327678810, 1327678807, 1327678827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.44070267677307 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 19:09:22.306420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/50/image_09012025_15_50_02_367639_0000.jpg', '/home/pi/Desktop/images/09012025/15/50/image_09012025_15_50_02_367639_0001.jpg', '/home/pi/Desktop/images/09012025/15/50/image_09012025_15_50_02_367639_0002.jpg', '/home/pi/Desktop/images/09012025/15/51/image_09012025_15_51_02_433138_0000.jpg', '/home/pi/Desktop/images/09012025/15/51/image_09012025_15_51_02_433138_0001.jpg', '/home/pi/Desktop/images/09012025/15/51/image_09012025_15_51_02_433138_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/50/image_09012025_15_50_02_367639_0000.jpg
/home/pi/Desktop/images/09012025/15/50/image_09012025_15_50_02_367639_0001.jpg
/home/pi/Desktop/images/09012025/15/50/image_09012025_15_50_02_367639_0002.jpg
/home/pi/Desktop/images/09012025/15/51/image_09012025_15_51_02_433138_0000.jpg
/home/pi/Desktop/images/09012025/15/51/image_09012025_15_51_02_433138_0001.jpg
/home/pi/Desktop/images/09012025/15/51/image_09012025_15_51_02_433138_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327678941","1327678895","1327678897","1327678945","1327678950","1327678938"],"photo_ids_order":["1327678895","1327678897","1327678938","1327678941","1327678945","1327678950"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0bd380cfd18c9a3e49ff6782f6f55150.jpg","text":"TemporaryFile(/tmp/multipartBody7396338318806215001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446266948,"filename":"image_09012025_15_51_02_433138_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b20fde5664c4575a3b0b68c99e23f916.jpg","text":"TemporaryFile(/tmp/multipartBody9016901069723671735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446266948,"filename":"image_09012025_15_50_02_367639_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/af685587a1b90f183d66abd91e300c37.jpg","text":"TemporaryFile(/tmp/multipartBody2453561754086175902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446266948,"filename":"image_09012025_15_50_02_367639_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4bbca6581a4a9c0de43e7f3c280d8c59.jpg","text":"TemporaryFile(/tmp/multipartBody7631508142581226306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446266948,"filename":"image_09012025_15_51_02_433138_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cb8157d33aff922fdb195ff4d7ddd5cb.jpg","text":"TemporaryFile(/tmp/multipartBody3395675345248572389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446266948,"filename":"image_09012025_15_51_02_433138_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fb1c2e3cfcf63436fa4849cb3ed2bce2.jpg","text":"TemporaryFile(/tmp/multipartBody308081115196821509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446266948,"filename":"image_09012025_15_50_02_367639_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327678938","file1":"1327678897","file0":"1327678895","file4":"1327678945","file5":"1327678950","file3":"1327678941"},"map_files_photo_id_array":[{"photo_id":"1327678950","filename":"file5"},{"photo_id":"1327678938","filename":"file2"},{"photo_id":"1327678945","filename":"file4"},{"photo_id":"1327678897","filename":"file1"},{"photo_id":"1327678895","filename":"file0"},{"photo_id":"1327678941","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327678941":["hashtag1","hashtag2"]},{"1327678895":["hashtag1","hashtag2"]},{"1327678897":["hashtag1","hashtag2"]},{"1327678945":["hashtag1","hashtag2"]},{"1327678950":["hashtag1","hashtag2"]},{"1327678938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327678941, 1327678895, 1327678897, 1327678945, 1327678950, 1327678938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.39889693260193 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 19:11:22.740418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/51/image_09012025_15_51_02_433138_0003.jpg', '/home/pi/Desktop/images/09012025/15/52/image_09012025_15_52_02_726262_0000.jpg', '/home/pi/Desktop/images/09012025/15/52/image_09012025_15_52_02_726262_0001.jpg', '/home/pi/Desktop/images/09012025/15/52/image_09012025_15_52_02_726262_0002.jpg', '/home/pi/Desktop/images/09012025/15/52/image_09012025_15_52_02_726262_0003.jpg', '/home/pi/Desktop/images/09012025/15/53/image_09012025_15_53_02_837966_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/51/image_09012025_15_51_02_433138_0003.jpg
/home/pi/Desktop/images/09012025/15/52/image_09012025_15_52_02_726262_0000.jpg
/home/pi/Desktop/images/09012025/15/52/image_09012025_15_52_02_726262_0001.jpg
/home/pi/Desktop/images/09012025/15/52/image_09012025_15_52_02_726262_0002.jpg
/home/pi/Desktop/images/09012025/15/52/image_09012025_15_52_02_726262_0003.jpg
/home/pi/Desktop/images/09012025/15/53/image_09012025_15_53_02_837966_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327679039","1327679056","1327679029","1327679043","1327679052","1327679034"],"photo_ids_order":["1327679029","1327679034","1327679039","1327679043","1327679052","1327679056"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9c3bcb0f8d5494b8ebb112dbe2a412b3.jpg","text":"TemporaryFile(/tmp/multipartBody5618189107292864372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446385137,"filename":"image_09012025_15_52_02_726262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f045535d136705171a0053d45e4fe329.jpg","text":"TemporaryFile(/tmp/multipartBody67986435119151072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446385137,"filename":"image_09012025_15_53_02_837966_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/74e275d7d6b5c520e3955b6080539307.jpg","text":"TemporaryFile(/tmp/multipartBody4946585990544055226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446385137,"filename":"image_09012025_15_51_02_433138_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7606dfd396caf44e5c727101e2fe4f13.jpg","text":"TemporaryFile(/tmp/multipartBody73519977115754079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446385137,"filename":"image_09012025_15_52_02_726262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/05f932f1a959d9c53c41c89ed036180f.jpg","text":"TemporaryFile(/tmp/multipartBody9043829817815589567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446385137,"filename":"image_09012025_15_52_02_726262_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4faecfe3a28d75817e0fc3a733c1bde2.jpg","text":"TemporaryFile(/tmp/multipartBody3959650521372599002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446385137,"filename":"image_09012025_15_52_02_726262_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327679039","file1":"1327679034","file0":"1327679029","file4":"1327679052","file5":"1327679056","file3":"1327679043"},"map_files_photo_id_array":[{"photo_id":"1327679056","filename":"file5"},{"photo_id":"1327679039","filename":"file2"},{"photo_id":"1327679052","filename":"file4"},{"photo_id":"1327679034","filename":"file1"},{"photo_id":"1327679029","filename":"file0"},{"photo_id":"1327679043","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327679039":["hashtag1","hashtag2"]},{"1327679056":["hashtag1","hashtag2"]},{"1327679029":["hashtag1","hashtag2"]},{"1327679043":["hashtag1","hashtag2"]},{"1327679052":["hashtag1","hashtag2"]},{"1327679034":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327679039, 1327679056, 1327679029, 1327679043, 1327679052, 1327679034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.67152500152588 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 19:13:02.471090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/53/image_09012025_15_53_02_837966_0001.jpg', '/home/pi/Desktop/images/09012025/15/53/image_09012025_15_53_02_837966_0002.jpg', '/home/pi/Desktop/images/09012025/15/53/image_09012025_15_53_02_837966_0003.jpg', '/home/pi/Desktop/images/09012025/15/54/image_09012025_15_54_03_138554_0000.jpg', '/home/pi/Desktop/images/09012025/15/54/image_09012025_15_54_03_138554_0001.jpg', '/home/pi/Desktop/images/09012025/15/54/image_09012025_15_54_03_138554_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/53/image_09012025_15_53_02_837966_0001.jpg
/home/pi/Desktop/images/09012025/15/53/image_09012025_15_53_02_837966_0002.jpg
/home/pi/Desktop/images/09012025/15/53/image_09012025_15_53_02_837966_0003.jpg
/home/pi/Desktop/images/09012025/15/54/image_09012025_15_54_03_138554_0000.jpg
/home/pi/Desktop/images/09012025/15/54/image_09012025_15_54_03_138554_0001.jpg
/home/pi/Desktop/images/09012025/15/54/image_09012025_15_54_03_138554_0002.jpg
 val : 1 : upload photos 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":["1327679093","1327679138","1327679123","1327679131","1327679107","1327679084"],"photo_ids_order":["1327679084","1327679093","1327679107","1327679123","1327679131","1327679138"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/839b21b49edc5bfafe3f507e54dd08f3.jpg","text":"TemporaryFile(/tmp/multipartBody7439752339936057278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446479817,"filename":"image_09012025_15_53_02_837966_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b67daceb993f14223bd2e66ea5c4ca25.jpg","text":"TemporaryFile(/tmp/multipartBody875063194481975133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446479817,"filename":"image_09012025_15_54_03_138554_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dce609916f88afc7ca0672937805d103.jpg","text":"TemporaryFile(/tmp/multipartBody3038318058425980131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446479817,"filename":"image_09012025_15_54_03_138554_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7228764badd37bcfe902dff0ff414305.jpg","text":"TemporaryFile(/tmp/multipartBody8201849951053423999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446479817,"filename":"image_09012025_15_54_03_138554_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/78b886f4f8886b4ae9f53c37fd7ed74c.jpg","text":"TemporaryFile(/tmp/multipartBody316769775331830248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446479817,"filename":"image_09012025_15_53_02_837966_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/62ad1f8920f52def540202b0dfdcf1ec.jpg","text":"TemporaryFile(/tmp/multipartBody5476362708106511123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446479817,"filename":"image_09012025_15_53_02_837966_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327679107","file1":"1327679093","file0":"1327679084","file4":"1327679131","file5":"1327679138","file3":"1327679123"},"map_files_photo_id_array":[{"photo_id":"1327679138","filename":"file5"},{"photo_id":"1327679107","filename":"file2"},{"photo_id":"1327679131","filename":"file4"},{"photo_id":"1327679093","filename":"file1"},{"photo_id":"1327679084","filename":"file0"},{"photo_id":"1327679123","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327679093":["hashtag1","hashtag2"]},{"1327679138":["hashtag1","hashtag2"]},{"1327679123":["hashtag1","hashtag2"]},{"1327679131":["hashtag1","hashtag2"]},{"1327679107":["hashtag1","hashtag2"]},{"1327679084":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327679093, 1327679138, 1327679123, 1327679131, 1327679107, 1327679084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.83988499641418 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 19:14:42.278103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/54/image_09012025_15_54_03_138554_0003.jpg', '/home/pi/Desktop/images/09012025/15/55/image_09012025_15_55_02_311061_0000.jpg', '/home/pi/Desktop/images/09012025/15/55/image_09012025_15_55_02_311061_0001.jpg', '/home/pi/Desktop/images/09012025/15/55/image_09012025_15_55_02_311061_0002.jpg', '/home/pi/Desktop/images/09012025/15/55/image_09012025_15_55_02_311061_0003.jpg', '/home/pi/Desktop/images/09012025/15/56/image_09012025_15_56_02_432082_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/54/image_09012025_15_54_03_138554_0003.jpg
/home/pi/Desktop/images/09012025/15/55/image_09012025_15_55_02_311061_0000.jpg
/home/pi/Desktop/images/09012025/15/55/image_09012025_15_55_02_311061_0001.jpg
/home/pi/Desktop/images/09012025/15/55/image_09012025_15_55_02_311061_0002.jpg
/home/pi/Desktop/images/09012025/15/55/image_09012025_15_55_02_311061_0003.jpg
/home/pi/Desktop/images/09012025/15/56/image_09012025_15_56_02_432082_0000.jpg
 val : 1 : upload photos 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":["1327679189","1327679179","1327679200","1327679184","1327679196","1327679175"],"photo_ids_order":["1327679175","1327679179","1327679184","1327679189","1327679196","1327679200"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2acdf09058f1c88c4d2dae195d3bb591.jpg","text":"TemporaryFile(/tmp/multipartBody7897684111574384291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446585232,"filename":"image_09012025_15_55_02_311061_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/da3408a1a012c3c3215a028343658031.jpg","text":"TemporaryFile(/tmp/multipartBody7377648475094094532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446585232,"filename":"image_09012025_15_55_02_311061_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/328910bcb9e26dd869af43aa81386a1b.jpg","text":"TemporaryFile(/tmp/multipartBody8013064026739769536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446585232,"filename":"image_09012025_15_56_02_432082_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ae96b830f37e09825ffd121203b98b84.jpg","text":"TemporaryFile(/tmp/multipartBody539211329034200145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446585232,"filename":"image_09012025_15_55_02_311061_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4cbc28439619d1c07720418ce9a496f8.jpg","text":"TemporaryFile(/tmp/multipartBody2842937007222529060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446585232,"filename":"image_09012025_15_55_02_311061_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c71d6b793e4e56f7af7a5562a6865063.jpg","text":"TemporaryFile(/tmp/multipartBody3309888517639548265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446585232,"filename":"image_09012025_15_54_03_138554_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327679184","file1":"1327679179","file0":"1327679175","file4":"1327679196","file5":"1327679200","file3":"1327679189"},"map_files_photo_id_array":[{"photo_id":"1327679200","filename":"file5"},{"photo_id":"1327679184","filename":"file2"},{"photo_id":"1327679196","filename":"file4"},{"photo_id":"1327679179","filename":"file1"},{"photo_id":"1327679175","filename":"file0"},{"photo_id":"1327679189","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327679189":["hashtag1","hashtag2"]},{"1327679179":["hashtag1","hashtag2"]},{"1327679200":["hashtag1","hashtag2"]},{"1327679184":["hashtag1","hashtag2"]},{"1327679196":["hashtag1","hashtag2"]},{"1327679175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327679189, 1327679179, 1327679200, 1327679184, 1327679196, 1327679175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.38116455078125 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 19:16:22.597717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/56/image_09012025_15_56_02_432082_0001.jpg', '/home/pi/Desktop/images/09012025/15/56/image_09012025_15_56_02_432082_0002.jpg', '/home/pi/Desktop/images/09012025/15/56/image_09012025_15_56_02_432082_0003.jpg', '/home/pi/Desktop/images/09012025/15/57/image_09012025_15_57_02_644098_0000.jpg', '/home/pi/Desktop/images/09012025/15/57/image_09012025_15_57_02_644098_0001.jpg', '/home/pi/Desktop/images/09012025/15/57/image_09012025_15_57_02_644098_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/56/image_09012025_15_56_02_432082_0001.jpg
/home/pi/Desktop/images/09012025/15/56/image_09012025_15_56_02_432082_0002.jpg
/home/pi/Desktop/images/09012025/15/56/image_09012025_15_56_02_432082_0003.jpg
/home/pi/Desktop/images/09012025/15/57/image_09012025_15_57_02_644098_0000.jpg
/home/pi/Desktop/images/09012025/15/57/image_09012025_15_57_02_644098_0001.jpg
/home/pi/Desktop/images/09012025/15/57/image_09012025_15_57_02_644098_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327679240","1327679237","1327679230","1327679224","1327679283","1327679280"],"photo_ids_order":["1327679224","1327679230","1327679237","1327679240","1327679280","1327679283"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b92c64f809a8fad3bb7323c02b7febbc.jpg","text":"TemporaryFile(/tmp/multipartBody1432133320822988000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446686742,"filename":"image_09012025_15_57_02_644098_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4fa22c8b3c1860e1ef25736f5c2db349.jpg","text":"TemporaryFile(/tmp/multipartBody2893636486998883780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446686742,"filename":"image_09012025_15_56_02_432082_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0e01efd0b176483ed7c1a78bda585565.jpg","text":"TemporaryFile(/tmp/multipartBody1787292787991689932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446686742,"filename":"image_09012025_15_56_02_432082_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3075d65af91e7d2030dc7bed458dfb0b.jpg","text":"TemporaryFile(/tmp/multipartBody7136898935859647184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446686742,"filename":"image_09012025_15_56_02_432082_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5cad7f93890043cbb1535a0884c92459.jpg","text":"TemporaryFile(/tmp/multipartBody3880252449846520960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446686742,"filename":"image_09012025_15_57_02_644098_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d11e46d931b4d1d6b77e25ee1e1bd4aa.jpg","text":"TemporaryFile(/tmp/multipartBody147755343158358810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446686742,"filename":"image_09012025_15_57_02_644098_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327679237","file1":"1327679230","file0":"1327679224","file4":"1327679280","file5":"1327679283","file3":"1327679240"},"map_files_photo_id_array":[{"photo_id":"1327679283","filename":"file5"},{"photo_id":"1327679237","filename":"file2"},{"photo_id":"1327679280","filename":"file4"},{"photo_id":"1327679230","filename":"file1"},{"photo_id":"1327679224","filename":"file0"},{"photo_id":"1327679240","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327679240":["hashtag1","hashtag2"]},{"1327679237":["hashtag1","hashtag2"]},{"1327679230":["hashtag1","hashtag2"]},{"1327679224":["hashtag1","hashtag2"]},{"1327679283":["hashtag1","hashtag2"]},{"1327679280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327679240, 1327679237, 1327679230, 1327679224, 1327679283, 1327679280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.30784201622009 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 19:18:22.039484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/57/image_09012025_15_57_02_644098_0003.jpg', '/home/pi/Desktop/images/09012025/15/58/image_09012025_15_58_02_904510_0000.jpg', '/home/pi/Desktop/images/09012025/15/58/image_09012025_15_58_02_904510_0001.jpg', '/home/pi/Desktop/images/09012025/15/58/image_09012025_15_58_02_904510_0002.jpg', '/home/pi/Desktop/images/09012025/15/58/image_09012025_15_58_02_904510_0003.jpg', '/home/pi/Desktop/images/09012025/15/59/image_09012025_15_59_03_054030_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/57/image_09012025_15_57_02_644098_0003.jpg
/home/pi/Desktop/images/09012025/15/58/image_09012025_15_58_02_904510_0000.jpg
/home/pi/Desktop/images/09012025/15/58/image_09012025_15_58_02_904510_0001.jpg
/home/pi/Desktop/images/09012025/15/58/image_09012025_15_58_02_904510_0002.jpg
/home/pi/Desktop/images/09012025/15/58/image_09012025_15_58_02_904510_0003.jpg
/home/pi/Desktop/images/09012025/15/59/image_09012025_15_59_03_054030_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327679345","1327679348","1327679338","1327679332","1327679349","1327679328"],"photo_ids_order":["1327679328","1327679332","1327679338","1327679345","1327679348","1327679349"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/03ea45fa37b9ea622f26cc6441df8ea1.jpg","text":"TemporaryFile(/tmp/multipartBody1672839240188348724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446792659,"filename":"image_09012025_15_58_02_904510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d3d311aad2bf414ece0e8229999522b8.jpg","text":"TemporaryFile(/tmp/multipartBody4983436652005622239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446792659,"filename":"image_09012025_15_58_02_904510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9fde3b716339d166890c8dcffc84c17b.jpg","text":"TemporaryFile(/tmp/multipartBody4177188977576866577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446792659,"filename":"image_09012025_15_58_02_904510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7443b403ae5f90406e08821c07695d47.jpg","text":"TemporaryFile(/tmp/multipartBody2947882121416993518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446792659,"filename":"image_09012025_15_58_02_904510_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1c54424b2ab484308478bde42f9d350e.jpg","text":"TemporaryFile(/tmp/multipartBody5911584148187823978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446792659,"filename":"image_09012025_15_59_03_054030_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/49bf52035e62fe1327350a96ead7fcb9.jpg","text":"TemporaryFile(/tmp/multipartBody4261582860855295422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446792659,"filename":"image_09012025_15_57_02_644098_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327679338","file1":"1327679332","file0":"1327679328","file4":"1327679348","file5":"1327679349","file3":"1327679345"},"map_files_photo_id_array":[{"photo_id":"1327679349","filename":"file5"},{"photo_id":"1327679338","filename":"file2"},{"photo_id":"1327679348","filename":"file4"},{"photo_id":"1327679332","filename":"file1"},{"photo_id":"1327679328","filename":"file0"},{"photo_id":"1327679345","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327679345":["hashtag1","hashtag2"]},{"1327679348":["hashtag1","hashtag2"]},{"1327679338":["hashtag1","hashtag2"]},{"1327679332":["hashtag1","hashtag2"]},{"1327679349":["hashtag1","hashtag2"]},{"1327679328":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327679345, 1327679348, 1327679338, 1327679332, 1327679349, 1327679328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.6323971748352 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 19:20:02.820431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/15/59/image_09012025_15_59_03_054030_0001.jpg', '/home/pi/Desktop/images/09012025/15/59/image_09012025_15_59_03_054030_0002.jpg', '/home/pi/Desktop/images/09012025/15/59/image_09012025_15_59_03_054030_0003.jpg', '/home/pi/Desktop/images/09012025/16/00/image_09012025_16_00_02_330538_0000.jpg', '/home/pi/Desktop/images/09012025/16/00/image_09012025_16_00_02_330538_0001.jpg', '/home/pi/Desktop/images/09012025/16/00/image_09012025_16_00_02_330538_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/15/59/image_09012025_15_59_03_054030_0001.jpg
/home/pi/Desktop/images/09012025/15/59/image_09012025_15_59_03_054030_0002.jpg
/home/pi/Desktop/images/09012025/15/59/image_09012025_15_59_03_054030_0003.jpg
/home/pi/Desktop/images/09012025/16/00/image_09012025_16_00_02_330538_0000.jpg
/home/pi/Desktop/images/09012025/16/00/image_09012025_16_00_02_330538_0001.jpg
/home/pi/Desktop/images/09012025/16/00/image_09012025_16_00_02_330538_0002.jpg
 val : 1 : upload photos 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":["1327679387","1327679372","1327679370","1327679376","1327679393","1327679381"],"photo_ids_order":["1327679370","1327679372","1327679376","1327679381","1327679387","1327679393"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bfe5a5aab926b366550acab79bfd8a88.jpg","text":"TemporaryFile(/tmp/multipartBody268178608136518263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446905569,"filename":"image_09012025_16_00_02_330538_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9f6da534565a9f48447484a776a0910b.jpg","text":"TemporaryFile(/tmp/multipartBody4575829386384614757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446905569,"filename":"image_09012025_15_59_03_054030_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c73af0430b0fae0b47b90ba65dbeb2ba.jpg","text":"TemporaryFile(/tmp/multipartBody5262495728482834935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446905569,"filename":"image_09012025_15_59_03_054030_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8259709aa6d63c991bb68dd213a95d21.jpg","text":"TemporaryFile(/tmp/multipartBody3895812631764604326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446905569,"filename":"image_09012025_15_59_03_054030_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5689511bddc843b888316b241160c88c.jpg","text":"TemporaryFile(/tmp/multipartBody9105446606136856062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446905569,"filename":"image_09012025_16_00_02_330538_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7e2ca6ea517901655924a2deda1b9f43.jpg","text":"TemporaryFile(/tmp/multipartBody2223971455152508660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446905569,"filename":"image_09012025_16_00_02_330538_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327679376","file1":"1327679372","file0":"1327679370","file4":"1327679387","file5":"1327679393","file3":"1327679381"},"map_files_photo_id_array":[{"photo_id":"1327679393","filename":"file5"},{"photo_id":"1327679376","filename":"file2"},{"photo_id":"1327679387","filename":"file4"},{"photo_id":"1327679372","filename":"file1"},{"photo_id":"1327679370","filename":"file0"},{"photo_id":"1327679381","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327679387":["hashtag1","hashtag2"]},{"1327679372":["hashtag1","hashtag2"]},{"1327679370":["hashtag1","hashtag2"]},{"1327679376":["hashtag1","hashtag2"]},{"1327679393":["hashtag1","hashtag2"]},{"1327679381":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327679387, 1327679372, 1327679370, 1327679376, 1327679393, 1327679381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.86801934242249 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 19:21:42.487784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/00/image_09012025_16_00_02_330538_0003.jpg', '/home/pi/Desktop/images/09012025/16/01/image_09012025_16_01_02_375107_0000.jpg', '/home/pi/Desktop/images/09012025/16/01/image_09012025_16_01_02_375107_0001.jpg', '/home/pi/Desktop/images/09012025/16/01/image_09012025_16_01_02_375107_0002.jpg', '/home/pi/Desktop/images/09012025/16/01/image_09012025_16_01_02_375107_0003.jpg', '/home/pi/Desktop/images/09012025/16/02/image_09012025_16_02_02_554407_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/00/image_09012025_16_00_02_330538_0003.jpg
/home/pi/Desktop/images/09012025/16/01/image_09012025_16_01_02_375107_0000.jpg
/home/pi/Desktop/images/09012025/16/01/image_09012025_16_01_02_375107_0001.jpg
/home/pi/Desktop/images/09012025/16/01/image_09012025_16_01_02_375107_0002.jpg
/home/pi/Desktop/images/09012025/16/01/image_09012025_16_01_02_375107_0003.jpg
/home/pi/Desktop/images/09012025/16/02/image_09012025_16_02_02_554407_0000.jpg
 val : 1 : upload photos 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":["1327679462","1327679464","1327679446","1327679451","1327679457","1327679421"],"photo_ids_order":["1327679421","1327679446","1327679451","1327679457","1327679462","1327679464"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/490a571dc09c1d6cb90cebbbc58a4847.jpg","text":"TemporaryFile(/tmp/multipartBody2990935945705701466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446997478,"filename":"image_09012025_16_01_02_375107_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/40ed2566588c79087df66ad743d21a57.jpg","text":"TemporaryFile(/tmp/multipartBody8479542373274291271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446997478,"filename":"image_09012025_16_02_02_554407_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ae4cf06d10eaa573dae4811bdc8f1c7e.jpg","text":"TemporaryFile(/tmp/multipartBody938920518367845369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446997478,"filename":"image_09012025_16_01_02_375107_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2a5a2fbe2fcb70a641a52f21076ebda1.jpg","text":"TemporaryFile(/tmp/multipartBody4866840755939439190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446997478,"filename":"image_09012025_16_01_02_375107_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1f8455a8fb878fffc93c84f393c72894.jpg","text":"TemporaryFile(/tmp/multipartBody5014929203210316222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446997478,"filename":"image_09012025_16_01_02_375107_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2eaaa3be88611adbb14060a460d0a1a4.jpg","text":"TemporaryFile(/tmp/multipartBody8651042354999805577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736446997478,"filename":"image_09012025_16_00_02_330538_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327679451","file1":"1327679446","file0":"1327679421","file4":"1327679462","file5":"1327679464","file3":"1327679457"},"map_files_photo_id_array":[{"photo_id":"1327679464","filename":"file5"},{"photo_id":"1327679451","filename":"file2"},{"photo_id":"1327679462","filename":"file4"},{"photo_id":"1327679446","filename":"file1"},{"photo_id":"1327679421","filename":"file0"},{"photo_id":"1327679457","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327679462":["hashtag1","hashtag2"]},{"1327679464":["hashtag1","hashtag2"]},{"1327679446":["hashtag1","hashtag2"]},{"1327679451":["hashtag1","hashtag2"]},{"1327679457":["hashtag1","hashtag2"]},{"1327679421":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327679462, 1327679464, 1327679446, 1327679451, 1327679457, 1327679421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.93039298057556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 19:23:21.908556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/02/image_09012025_16_02_02_554407_0001.jpg', '/home/pi/Desktop/images/09012025/16/02/image_09012025_16_02_02_554407_0002.jpg', '/home/pi/Desktop/images/09012025/16/02/image_09012025_16_02_02_554407_0003.jpg', '/home/pi/Desktop/images/09012025/16/03/image_09012025_16_03_02_799300_0000.jpg', '/home/pi/Desktop/images/09012025/16/03/image_09012025_16_03_02_799300_0002.jpg', '/home/pi/Desktop/images/09012025/16/03/image_09012025_16_03_02_799300_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/02/image_09012025_16_02_02_554407_0001.jpg
/home/pi/Desktop/images/09012025/16/02/image_09012025_16_02_02_554407_0002.jpg
/home/pi/Desktop/images/09012025/16/02/image_09012025_16_02_02_554407_0003.jpg
/home/pi/Desktop/images/09012025/16/03/image_09012025_16_03_02_799300_0000.jpg
/home/pi/Desktop/images/09012025/16/03/image_09012025_16_03_02_799300_0002.jpg
/home/pi/Desktop/images/09012025/16/03/image_09012025_16_03_02_799300_0003.jpg
 val : 1 : upload photos 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":["1327679498","1327679504","1327679490","1327679492","1327679486","1327679495"],"photo_ids_order":["1327679486","1327679490","1327679492","1327679495","1327679498","1327679504"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4075f45fdb1ec2d2e6340be6f59269df.jpg","text":"TemporaryFile(/tmp/multipartBody3892107677597746221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447095708,"filename":"image_09012025_16_03_02_799300_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e76c31cd36e12bad4824b7b43bd55238.jpg","text":"TemporaryFile(/tmp/multipartBody2156363592943783092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447095708,"filename":"image_09012025_16_03_02_799300_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/21f17a5b64999c90c354d8664a61ae19.jpg","text":"TemporaryFile(/tmp/multipartBody786737812617179569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447095708,"filename":"image_09012025_16_02_02_554407_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2a203f8100fd48e0053e687d56f548eb.jpg","text":"TemporaryFile(/tmp/multipartBody8821117776244956821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447095708,"filename":"image_09012025_16_02_02_554407_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b5583f501ea5120c67cc1890af3d4140.jpg","text":"TemporaryFile(/tmp/multipartBody806868473041877401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447095708,"filename":"image_09012025_16_02_02_554407_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/57bc05a0f03a51e3b7e9a2e5cdca0afb.jpg","text":"TemporaryFile(/tmp/multipartBody5120453843955408950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447095708,"filename":"image_09012025_16_03_02_799300_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327679492","file1":"1327679490","file0":"1327679486","file4":"1327679498","file5":"1327679504","file3":"1327679495"},"map_files_photo_id_array":[{"photo_id":"1327679504","filename":"file5"},{"photo_id":"1327679492","filename":"file2"},{"photo_id":"1327679498","filename":"file4"},{"photo_id":"1327679490","filename":"file1"},{"photo_id":"1327679486","filename":"file0"},{"photo_id":"1327679495","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327679498":["hashtag1","hashtag2"]},{"1327679504":["hashtag1","hashtag2"]},{"1327679490":["hashtag1","hashtag2"]},{"1327679492":["hashtag1","hashtag2"]},{"1327679486":["hashtag1","hashtag2"]},{"1327679495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327679498, 1327679504, 1327679490, 1327679492, 1327679486, 1327679495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.08996176719666 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 19:24:52.026683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/04/image_09012025_16_04_02_989616_0000.jpg', '/home/pi/Desktop/images/09012025/16/04/image_09012025_16_04_02_989616_0001.jpg', '/home/pi/Desktop/images/09012025/16/04/image_09012025_16_04_02_989616_0002.jpg', '/home/pi/Desktop/images/09012025/16/04/image_09012025_16_04_02_989616_0003.jpg', '/home/pi/Desktop/images/09012025/16/05/image_09012025_16_05_02_145047_0000.jpg', '/home/pi/Desktop/images/09012025/16/05/image_09012025_16_05_02_145047_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/04/image_09012025_16_04_02_989616_0000.jpg
/home/pi/Desktop/images/09012025/16/04/image_09012025_16_04_02_989616_0001.jpg
/home/pi/Desktop/images/09012025/16/04/image_09012025_16_04_02_989616_0002.jpg
/home/pi/Desktop/images/09012025/16/04/image_09012025_16_04_02_989616_0003.jpg
/home/pi/Desktop/images/09012025/16/05/image_09012025_16_05_02_145047_0000.jpg
/home/pi/Desktop/images/09012025/16/05/image_09012025_16_05_02_145047_0001.jpg
 val : 1 : upload photos 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":["1327679543","1327679578","1327679566","1327679560","1327679547","1327679585"],"photo_ids_order":["1327679543","1327679547","1327679560","1327679566","1327679578","1327679585"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6282392294e3f667c91498c00b037fa7.jpg","text":"TemporaryFile(/tmp/multipartBody9074048549230197822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447193575,"filename":"image_09012025_16_04_02_989616_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/69ff4f6542d6b75945aa59498c220481.jpg","text":"TemporaryFile(/tmp/multipartBody129252165329767216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447193575,"filename":"image_09012025_16_05_02_145047_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/17df8c081396360f9ed186877310866a.jpg","text":"TemporaryFile(/tmp/multipartBody2477105008108932276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447193575,"filename":"image_09012025_16_04_02_989616_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e8d4dbace05935b4959c11f5bb4d487.jpg","text":"TemporaryFile(/tmp/multipartBody4159945891078608886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447193575,"filename":"image_09012025_16_04_02_989616_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0a5d527c328e1b7802f82ad3514d8ec3.jpg","text":"TemporaryFile(/tmp/multipartBody5600187324106374535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447193575,"filename":"image_09012025_16_04_02_989616_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0119b453843038479456a07de00e343c.jpg","text":"TemporaryFile(/tmp/multipartBody2381312637690543238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447193575,"filename":"image_09012025_16_05_02_145047_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327679560","file1":"1327679547","file0":"1327679543","file4":"1327679578","file5":"1327679585","file3":"1327679566"},"map_files_photo_id_array":[{"photo_id":"1327679585","filename":"file5"},{"photo_id":"1327679560","filename":"file2"},{"photo_id":"1327679578","filename":"file4"},{"photo_id":"1327679547","filename":"file1"},{"photo_id":"1327679543","filename":"file0"},{"photo_id":"1327679566","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327679543":["hashtag1","hashtag2"]},{"1327679578":["hashtag1","hashtag2"]},{"1327679566":["hashtag1","hashtag2"]},{"1327679560":["hashtag1","hashtag2"]},{"1327679547":["hashtag1","hashtag2"]},{"1327679585":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327679543, 1327679578, 1327679566, 1327679560, 1327679547, 1327679585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.34234118461609 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 19:26:32.353927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/05/image_09012025_16_05_02_145047_0002.jpg', '/home/pi/Desktop/images/09012025/16/05/image_09012025_16_05_02_145047_0003.jpg', '/home/pi/Desktop/images/09012025/16/06/image_09012025_16_06_02_358823_0000.jpg', '/home/pi/Desktop/images/09012025/16/06/image_09012025_16_06_02_358823_0001.jpg', '/home/pi/Desktop/images/09012025/16/06/image_09012025_16_06_02_358823_0002.jpg', '/home/pi/Desktop/images/09012025/16/06/image_09012025_16_06_02_358823_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/05/image_09012025_16_05_02_145047_0002.jpg
/home/pi/Desktop/images/09012025/16/05/image_09012025_16_05_02_145047_0003.jpg
/home/pi/Desktop/images/09012025/16/06/image_09012025_16_06_02_358823_0000.jpg
/home/pi/Desktop/images/09012025/16/06/image_09012025_16_06_02_358823_0001.jpg
/home/pi/Desktop/images/09012025/16/06/image_09012025_16_06_02_358823_0002.jpg
/home/pi/Desktop/images/09012025/16/06/image_09012025_16_06_02_358823_0003.jpg
 val : 1 : upload photos 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":["1327679747","1327679756","1327679750","1327679609","1327679740","1327679743"],"photo_ids_order":["1327679609","1327679740","1327679743","1327679747","1327679750","1327679756"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0cdaa5f1cba48de87c70fd40e1f18188.jpg","text":"TemporaryFile(/tmp/multipartBody8849445922385057096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447288927,"filename":"image_09012025_16_06_02_358823_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a852d1c0761b6094191453016c16d8cf.jpg","text":"TemporaryFile(/tmp/multipartBody3144569100397445876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447288927,"filename":"image_09012025_16_06_02_358823_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0a1126972e1ea7dfeb33d2c4ee9a7a8e.jpg","text":"TemporaryFile(/tmp/multipartBody4435462147917521025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447288927,"filename":"image_09012025_16_06_02_358823_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6804c5ef7b1f693654fffedd98cf0f6f.jpg","text":"TemporaryFile(/tmp/multipartBody814825883138533102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447288927,"filename":"image_09012025_16_05_02_145047_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/68cc482673cc17d03a3f4f37eca190cc.jpg","text":"TemporaryFile(/tmp/multipartBody920504794956824172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447288927,"filename":"image_09012025_16_05_02_145047_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b2109c50f07049280d2d52be462dd05d.jpg","text":"TemporaryFile(/tmp/multipartBody1497756081572892763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447288927,"filename":"image_09012025_16_06_02_358823_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327679743","file1":"1327679740","file0":"1327679609","file4":"1327679750","file5":"1327679756","file3":"1327679747"},"map_files_photo_id_array":[{"photo_id":"1327679756","filename":"file5"},{"photo_id":"1327679743","filename":"file2"},{"photo_id":"1327679750","filename":"file4"},{"photo_id":"1327679740","filename":"file1"},{"photo_id":"1327679609","filename":"file0"},{"photo_id":"1327679747","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327679747":["hashtag1","hashtag2"]},{"1327679756":["hashtag1","hashtag2"]},{"1327679750":["hashtag1","hashtag2"]},{"1327679609":["hashtag1","hashtag2"]},{"1327679740":["hashtag1","hashtag2"]},{"1327679743":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327679747, 1327679756, 1327679750, 1327679609, 1327679740, 1327679743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.60194182395935 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 19:28:03.123082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/07/image_09012025_16_07_02_592256_0000.jpg', '/home/pi/Desktop/images/09012025/16/07/image_09012025_16_07_02_592256_0001.jpg', '/home/pi/Desktop/images/09012025/16/07/image_09012025_16_07_02_592256_0002.jpg', '/home/pi/Desktop/images/09012025/16/07/image_09012025_16_07_02_592256_0003.jpg', '/home/pi/Desktop/images/09012025/16/08/image_09012025_16_08_02_686105_0000.jpg', '/home/pi/Desktop/images/09012025/16/08/image_09012025_16_08_02_686105_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/07/image_09012025_16_07_02_592256_0000.jpg
/home/pi/Desktop/images/09012025/16/07/image_09012025_16_07_02_592256_0001.jpg
/home/pi/Desktop/images/09012025/16/07/image_09012025_16_07_02_592256_0002.jpg
/home/pi/Desktop/images/09012025/16/07/image_09012025_16_07_02_592256_0003.jpg
/home/pi/Desktop/images/09012025/16/08/image_09012025_16_08_02_686105_0000.jpg
/home/pi/Desktop/images/09012025/16/08/image_09012025_16_08_02_686105_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327679795","1327679815","1327679799","1327679844","1327679808","1327679792"],"photo_ids_order":["1327679792","1327679795","1327679799","1327679808","1327679815","1327679844"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bb7b029eb94bc36654971db5ee33b099.jpg","text":"TemporaryFile(/tmp/multipartBody7619103070774468775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447387324,"filename":"image_09012025_16_07_02_592256_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a5a08b4b3fb01ebbdec1dd4cc6c9ea70.jpg","text":"TemporaryFile(/tmp/multipartBody4533846953114735910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447387324,"filename":"image_09012025_16_08_02_686105_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6e2102bcffb17be28dbceae458b27d5e.jpg","text":"TemporaryFile(/tmp/multipartBody8529934719588577130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447387324,"filename":"image_09012025_16_07_02_592256_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/96c9b04391d3506a61e73aca649a7d57.jpg","text":"TemporaryFile(/tmp/multipartBody5428852044989233975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447387324,"filename":"image_09012025_16_08_02_686105_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/16cf75f3fb3ae0fa663bb1ec3c7daa0e.jpg","text":"TemporaryFile(/tmp/multipartBody944644590738179969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447387324,"filename":"image_09012025_16_07_02_592256_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7e921019ba226c052174100d5d506e2b.jpg","text":"TemporaryFile(/tmp/multipartBody3275987915879655507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447387324,"filename":"image_09012025_16_07_02_592256_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327679799","file1":"1327679795","file0":"1327679792","file4":"1327679815","file5":"1327679844","file3":"1327679808"},"map_files_photo_id_array":[{"photo_id":"1327679844","filename":"file5"},{"photo_id":"1327679799","filename":"file2"},{"photo_id":"1327679815","filename":"file4"},{"photo_id":"1327679795","filename":"file1"},{"photo_id":"1327679792","filename":"file0"},{"photo_id":"1327679808","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327679795":["hashtag1","hashtag2"]},{"1327679815":["hashtag1","hashtag2"]},{"1327679799":["hashtag1","hashtag2"]},{"1327679844":["hashtag1","hashtag2"]},{"1327679808":["hashtag1","hashtag2"]},{"1327679792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327679795, 1327679815, 1327679799, 1327679844, 1327679808, 1327679792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.36830520629883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 19:29:51.796666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/08/image_09012025_16_08_02_686105_0002.jpg', '/home/pi/Desktop/images/09012025/16/08/image_09012025_16_08_02_686105_0003.jpg', '/home/pi/Desktop/images/09012025/16/09/image_09012025_16_09_03_040736_0000.jpg', '/home/pi/Desktop/images/09012025/16/09/image_09012025_16_09_03_040736_0001.jpg', '/home/pi/Desktop/images/09012025/16/09/image_09012025_16_09_03_040736_0002.jpg', '/home/pi/Desktop/images/09012025/16/09/image_09012025_16_09_03_040736_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/08/image_09012025_16_08_02_686105_0002.jpg
/home/pi/Desktop/images/09012025/16/08/image_09012025_16_08_02_686105_0003.jpg
/home/pi/Desktop/images/09012025/16/09/image_09012025_16_09_03_040736_0000.jpg
/home/pi/Desktop/images/09012025/16/09/image_09012025_16_09_03_040736_0001.jpg
/home/pi/Desktop/images/09012025/16/09/image_09012025_16_09_03_040736_0002.jpg
/home/pi/Desktop/images/09012025/16/09/image_09012025_16_09_03_040736_0003.jpg
 val : 1 : upload photos 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":["1327679945","1327679948","1327679939","1327679959","1327679932","1327679952"],"photo_ids_order":["1327679932","1327679939","1327679945","1327679948","1327679952","1327679959"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/936c80d8198bb029bcc81f0427bf01ad.jpg","text":"TemporaryFile(/tmp/multipartBody2902462040720565511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447490529,"filename":"image_09012025_16_09_03_040736_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5405ba67c7a4d7f9c605a92e306bf361.jpg","text":"TemporaryFile(/tmp/multipartBody3535382825465810590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447490529,"filename":"image_09012025_16_09_03_040736_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3047d9f36df89cbd34d50e20d356adde.jpg","text":"TemporaryFile(/tmp/multipartBody5464367153852831133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447490529,"filename":"image_09012025_16_08_02_686105_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/064600369d48dd73309647bf509133a0.jpg","text":"TemporaryFile(/tmp/multipartBody8535574503989149199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447490529,"filename":"image_09012025_16_09_03_040736_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/19696dbdd4b0be0c2358629a8387f0c6.jpg","text":"TemporaryFile(/tmp/multipartBody1503552147788756788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447490529,"filename":"image_09012025_16_08_02_686105_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6bea1c899364fd97b183a78295f11e63.jpg","text":"TemporaryFile(/tmp/multipartBody6857434729764480917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447490529,"filename":"image_09012025_16_09_03_040736_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327679945","file1":"1327679939","file0":"1327679932","file4":"1327679952","file5":"1327679959","file3":"1327679948"},"map_files_photo_id_array":[{"photo_id":"1327679959","filename":"file5"},{"photo_id":"1327679945","filename":"file2"},{"photo_id":"1327679952","filename":"file4"},{"photo_id":"1327679939","filename":"file1"},{"photo_id":"1327679932","filename":"file0"},{"photo_id":"1327679948","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327679945":["hashtag1","hashtag2"]},{"1327679948":["hashtag1","hashtag2"]},{"1327679939":["hashtag1","hashtag2"]},{"1327679959":["hashtag1","hashtag2"]},{"1327679932":["hashtag1","hashtag2"]},{"1327679952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327679945, 1327679948, 1327679939, 1327679959, 1327679932, 1327679952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.42073392868042 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 19:31:32.224574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/10/image_09012025_16_10_03_095574_0000.jpg', '/home/pi/Desktop/images/09012025/16/10/image_09012025_16_10_03_095574_0001.jpg', '/home/pi/Desktop/images/09012025/16/10/image_09012025_16_10_03_095574_0002.jpg', '/home/pi/Desktop/images/09012025/16/10/image_09012025_16_10_03_095574_0003.jpg', '/home/pi/Desktop/images/09012025/16/11/image_09012025_16_11_02_299202_0000.jpg', '/home/pi/Desktop/images/09012025/16/11/image_09012025_16_11_02_299202_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/10/image_09012025_16_10_03_095574_0000.jpg
/home/pi/Desktop/images/09012025/16/10/image_09012025_16_10_03_095574_0001.jpg
/home/pi/Desktop/images/09012025/16/10/image_09012025_16_10_03_095574_0002.jpg
/home/pi/Desktop/images/09012025/16/10/image_09012025_16_10_03_095574_0003.jpg
/home/pi/Desktop/images/09012025/16/11/image_09012025_16_11_02_299202_0000.jpg
/home/pi/Desktop/images/09012025/16/11/image_09012025_16_11_02_299202_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327680095","1327680092","1327680104","1327680085","1327680100","1327680087"],"photo_ids_order":["1327680085","1327680087","1327680092","1327680095","1327680100","1327680104"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e687de49e452d99961f3dfd0dd0d7e31.jpg","text":"TemporaryFile(/tmp/multipartBody1413724712441369832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447589466,"filename":"image_09012025_16_10_03_095574_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cbe41ddc5f0f522af2be14d527871be3.jpg","text":"TemporaryFile(/tmp/multipartBody2410673871857817638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447589466,"filename":"image_09012025_16_10_03_095574_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1be5d4440c341a6c4a609b569e6d39e9.jpg","text":"TemporaryFile(/tmp/multipartBody3951759441446538658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447589466,"filename":"image_09012025_16_11_02_299202_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ef30751141084386313a7d3925cdee96.jpg","text":"TemporaryFile(/tmp/multipartBody4035697510510135686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447589466,"filename":"image_09012025_16_10_03_095574_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/58cb6e161ea98461c9f169456453c54e.jpg","text":"TemporaryFile(/tmp/multipartBody2846066901040675998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447589466,"filename":"image_09012025_16_11_02_299202_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/150d8d172bef96588dcca8348945ecbc.jpg","text":"TemporaryFile(/tmp/multipartBody7428404583137847657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447589466,"filename":"image_09012025_16_10_03_095574_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327680092","file1":"1327680087","file0":"1327680085","file4":"1327680100","file5":"1327680104","file3":"1327680095"},"map_files_photo_id_array":[{"photo_id":"1327680104","filename":"file5"},{"photo_id":"1327680092","filename":"file2"},{"photo_id":"1327680100","filename":"file4"},{"photo_id":"1327680087","filename":"file1"},{"photo_id":"1327680085","filename":"file0"},{"photo_id":"1327680095","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327680095":["hashtag1","hashtag2"]},{"1327680092":["hashtag1","hashtag2"]},{"1327680104":["hashtag1","hashtag2"]},{"1327680085":["hashtag1","hashtag2"]},{"1327680100":["hashtag1","hashtag2"]},{"1327680087":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327680095, 1327680092, 1327680104, 1327680085, 1327680100, 1327680087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.02147817611694 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 19:33:22.522459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/11/image_09012025_16_11_02_299202_0002.jpg', '/home/pi/Desktop/images/09012025/16/11/image_09012025_16_11_02_299202_0003.jpg', '/home/pi/Desktop/images/09012025/16/12/image_09012025_16_12_02_538971_0000.jpg', '/home/pi/Desktop/images/09012025/16/12/image_09012025_16_12_02_538971_0001.jpg', '/home/pi/Desktop/images/09012025/16/12/image_09012025_16_12_02_538971_0002.jpg', '/home/pi/Desktop/images/09012025/16/12/image_09012025_16_12_02_538971_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/11/image_09012025_16_11_02_299202_0002.jpg
/home/pi/Desktop/images/09012025/16/11/image_09012025_16_11_02_299202_0003.jpg
/home/pi/Desktop/images/09012025/16/12/image_09012025_16_12_02_538971_0000.jpg
/home/pi/Desktop/images/09012025/16/12/image_09012025_16_12_02_538971_0001.jpg
/home/pi/Desktop/images/09012025/16/12/image_09012025_16_12_02_538971_0002.jpg
/home/pi/Desktop/images/09012025/16/12/image_09012025_16_12_02_538971_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327680176","1327680164","1327680193","1327680181","1327680157","1327680133"],"photo_ids_order":["1327680133","1327680157","1327680164","1327680176","1327680181","1327680193"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/371a882949d646354cedc17cca5ce07f.jpg","text":"TemporaryFile(/tmp/multipartBody5744164737793765594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447701644,"filename":"image_09012025_16_12_02_538971_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b406bb84b056ef640f12e9bb113fa1f7.jpg","text":"TemporaryFile(/tmp/multipartBody4467106946390251443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447701644,"filename":"image_09012025_16_12_02_538971_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c292b9e3215c6eb647c07dcf9bd82dcf.jpg","text":"TemporaryFile(/tmp/multipartBody6202101273642488258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447701644,"filename":"image_09012025_16_12_02_538971_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c8437a428d00f1b47d472209c201d67c.jpg","text":"TemporaryFile(/tmp/multipartBody6903647198974237723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447701644,"filename":"image_09012025_16_12_02_538971_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/106c66fa17cfd45827c09a0d40552a98.jpg","text":"TemporaryFile(/tmp/multipartBody3557433553164924523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447701644,"filename":"image_09012025_16_11_02_299202_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/383f5d866a3d486e157ef4a0c9490fb4.jpg","text":"TemporaryFile(/tmp/multipartBody3871865417794836058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447701644,"filename":"image_09012025_16_11_02_299202_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327680164","file1":"1327680157","file0":"1327680133","file4":"1327680181","file5":"1327680193","file3":"1327680176"},"map_files_photo_id_array":[{"photo_id":"1327680193","filename":"file5"},{"photo_id":"1327680164","filename":"file2"},{"photo_id":"1327680181","filename":"file4"},{"photo_id":"1327680157","filename":"file1"},{"photo_id":"1327680133","filename":"file0"},{"photo_id":"1327680176","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327680176":["hashtag1","hashtag2"]},{"1327680164":["hashtag1","hashtag2"]},{"1327680193":["hashtag1","hashtag2"]},{"1327680181":["hashtag1","hashtag2"]},{"1327680157":["hashtag1","hashtag2"]},{"1327680133":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327680176, 1327680164, 1327680193, 1327680181, 1327680157, 1327680133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.92381381988525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 19:35:02.435895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/13/image_09012025_16_13_02_628865_0000.jpg', '/home/pi/Desktop/images/09012025/16/13/image_09012025_16_13_02_628865_0001.jpg', '/home/pi/Desktop/images/09012025/16/13/image_09012025_16_13_02_628865_0002.jpg', '/home/pi/Desktop/images/09012025/16/13/image_09012025_16_13_02_628865_0003.jpg', '/home/pi/Desktop/images/09012025/16/14/image_09012025_16_14_02_817174_0000.jpg', '/home/pi/Desktop/images/09012025/16/14/image_09012025_16_14_02_817174_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/13/image_09012025_16_13_02_628865_0000.jpg
/home/pi/Desktop/images/09012025/16/13/image_09012025_16_13_02_628865_0001.jpg
/home/pi/Desktop/images/09012025/16/13/image_09012025_16_13_02_628865_0002.jpg
/home/pi/Desktop/images/09012025/16/13/image_09012025_16_13_02_628865_0003.jpg
/home/pi/Desktop/images/09012025/16/14/image_09012025_16_14_02_817174_0000.jpg
/home/pi/Desktop/images/09012025/16/14/image_09012025_16_14_02_817174_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327680245","1327680230","1327680253","1327680229","1327680249","1327680234"],"photo_ids_order":["1327680229","1327680230","1327680234","1327680245","1327680249","1327680253"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0f512e554e3a2e5e6868a4eceed46a15.jpg","text":"TemporaryFile(/tmp/multipartBody5733002222600860601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447804082,"filename":"image_09012025_16_13_02_628865_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7b4fb9738e5d6c8d8a9441ef65d09277.jpg","text":"TemporaryFile(/tmp/multipartBody4396174571985293677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447804082,"filename":"image_09012025_16_13_02_628865_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1d1a1896ea64f8ca9170590ddea8d45f.jpg","text":"TemporaryFile(/tmp/multipartBody1358277481394630065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447804082,"filename":"image_09012025_16_14_02_817174_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/59432bd578e424076e02ae5f96cf84df.jpg","text":"TemporaryFile(/tmp/multipartBody9139649815351850732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447804082,"filename":"image_09012025_16_13_02_628865_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8d54ee96ed7e1f927eebf3548630112d.jpg","text":"TemporaryFile(/tmp/multipartBody7896430046911792642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447804082,"filename":"image_09012025_16_14_02_817174_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/08d4b930d43b1bfa17e47fc0fac60e03.jpg","text":"TemporaryFile(/tmp/multipartBody2302763692321909225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447804082,"filename":"image_09012025_16_13_02_628865_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327680234","file1":"1327680230","file0":"1327680229","file4":"1327680249","file5":"1327680253","file3":"1327680245"},"map_files_photo_id_array":[{"photo_id":"1327680253","filename":"file5"},{"photo_id":"1327680234","filename":"file2"},{"photo_id":"1327680249","filename":"file4"},{"photo_id":"1327680230","filename":"file1"},{"photo_id":"1327680229","filename":"file0"},{"photo_id":"1327680245","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327680245":["hashtag1","hashtag2"]},{"1327680230":["hashtag1","hashtag2"]},{"1327680253":["hashtag1","hashtag2"]},{"1327680229":["hashtag1","hashtag2"]},{"1327680249":["hashtag1","hashtag2"]},{"1327680234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327680245, 1327680230, 1327680253, 1327680229, 1327680249, 1327680234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.46682572364807 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 19:36:52.078545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/14/image_09012025_16_14_02_817174_0002.jpg', '/home/pi/Desktop/images/09012025/16/14/image_09012025_16_14_02_817174_0003.jpg', '/home/pi/Desktop/images/09012025/16/15/image_09012025_16_15_03_031868_0000.jpg', '/home/pi/Desktop/images/09012025/16/15/image_09012025_16_15_03_031868_0001.jpg', '/home/pi/Desktop/images/09012025/16/15/image_09012025_16_15_03_031868_0002.jpg', '/home/pi/Desktop/images/09012025/16/15/image_09012025_16_15_03_031868_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/14/image_09012025_16_14_02_817174_0002.jpg
/home/pi/Desktop/images/09012025/16/14/image_09012025_16_14_02_817174_0003.jpg
/home/pi/Desktop/images/09012025/16/15/image_09012025_16_15_03_031868_0000.jpg
/home/pi/Desktop/images/09012025/16/15/image_09012025_16_15_03_031868_0001.jpg
/home/pi/Desktop/images/09012025/16/15/image_09012025_16_15_03_031868_0002.jpg
/home/pi/Desktop/images/09012025/16/15/image_09012025_16_15_03_031868_0003.jpg
 val : 1 : upload photos 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":["1327681118","1327681099","1327681125","1327681128","1327681122","1327681104"],"photo_ids_order":["1327681099","1327681104","1327681118","1327681122","1327681125","1327681128"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c70af9aa168bc2c38131aa5223d2e94d.jpg","text":"TemporaryFile(/tmp/multipartBody4147337343628921771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447912647,"filename":"image_09012025_16_15_03_031868_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1721efc27264ae0b6f748c0be2a33666.jpg","text":"TemporaryFile(/tmp/multipartBody4010138467497601637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447912647,"filename":"image_09012025_16_14_02_817174_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/14d13c1aa14e87e3fb64d09915c34f81.jpg","text":"TemporaryFile(/tmp/multipartBody8784926996140235500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447912647,"filename":"image_09012025_16_15_03_031868_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a2526f370314cb2b44f88e8c56307506.jpg","text":"TemporaryFile(/tmp/multipartBody2837642504126237002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447912647,"filename":"image_09012025_16_15_03_031868_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f769291752d9f6e76fbaa9c3df4be551.jpg","text":"TemporaryFile(/tmp/multipartBody3925480939247739899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447912647,"filename":"image_09012025_16_15_03_031868_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e04a0c775eecb69b5ddd79ec530ed9d6.jpg","text":"TemporaryFile(/tmp/multipartBody7733725498564513164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736447912647,"filename":"image_09012025_16_14_02_817174_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327681118","file1":"1327681104","file0":"1327681099","file4":"1327681125","file5":"1327681128","file3":"1327681122"},"map_files_photo_id_array":[{"photo_id":"1327681128","filename":"file5"},{"photo_id":"1327681118","filename":"file2"},{"photo_id":"1327681125","filename":"file4"},{"photo_id":"1327681104","filename":"file1"},{"photo_id":"1327681099","filename":"file0"},{"photo_id":"1327681122","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327681118":["hashtag1","hashtag2"]},{"1327681099":["hashtag1","hashtag2"]},{"1327681125":["hashtag1","hashtag2"]},{"1327681128":["hashtag1","hashtag2"]},{"1327681122":["hashtag1","hashtag2"]},{"1327681104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327681118, 1327681099, 1327681125, 1327681128, 1327681122, 1327681104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.20578742027283 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 19:38:32.577653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/16/image_09012025_16_16_02_298365_0000.jpg', '/home/pi/Desktop/images/09012025/16/16/image_09012025_16_16_02_298365_0001.jpg', '/home/pi/Desktop/images/09012025/16/16/image_09012025_16_16_02_298365_0002.jpg', '/home/pi/Desktop/images/09012025/16/16/image_09012025_16_16_02_298365_0003.jpg', '/home/pi/Desktop/images/09012025/16/17/image_09012025_16_17_02_559907_0000.jpg', '/home/pi/Desktop/images/09012025/16/17/image_09012025_16_17_02_559907_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/16/image_09012025_16_16_02_298365_0000.jpg
/home/pi/Desktop/images/09012025/16/16/image_09012025_16_16_02_298365_0001.jpg
/home/pi/Desktop/images/09012025/16/16/image_09012025_16_16_02_298365_0002.jpg
/home/pi/Desktop/images/09012025/16/16/image_09012025_16_16_02_298365_0003.jpg
/home/pi/Desktop/images/09012025/16/17/image_09012025_16_17_02_559907_0000.jpg
/home/pi/Desktop/images/09012025/16/17/image_09012025_16_17_02_559907_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327681466","1327681724","1327681721","1327681672","1327681230","1327681716"],"photo_ids_order":["1327681230","1327681466","1327681672","1327681716","1327681721","1327681724"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cc92f7d87e383b18964e5a32fce525e2.jpg","text":"TemporaryFile(/tmp/multipartBody6788907120898386761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448009207,"filename":"image_09012025_16_16_02_298365_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/34644c00aac851a6fba1ed70b0737962.jpg","text":"TemporaryFile(/tmp/multipartBody1070401108234671265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448009207,"filename":"image_09012025_16_17_02_559907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/38da5621b1c2100e2cfff45b1fbb7a3b.jpg","text":"TemporaryFile(/tmp/multipartBody7879008832339469895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448009207,"filename":"image_09012025_16_17_02_559907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1058a260cfd03af5653a0a369fa0ac22.jpg","text":"TemporaryFile(/tmp/multipartBody7645418315663183962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448009207,"filename":"image_09012025_16_16_02_298365_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/971d9ddb26ebc4ecde56b335adc6fd29.jpg","text":"TemporaryFile(/tmp/multipartBody7479884447414754020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448009207,"filename":"image_09012025_16_16_02_298365_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d61de5f1b6109ba963b246af5bdebd09.jpg","text":"TemporaryFile(/tmp/multipartBody6273513819752933394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448009207,"filename":"image_09012025_16_16_02_298365_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327681672","file1":"1327681466","file0":"1327681230","file4":"1327681721","file5":"1327681724","file3":"1327681716"},"map_files_photo_id_array":[{"photo_id":"1327681724","filename":"file5"},{"photo_id":"1327681672","filename":"file2"},{"photo_id":"1327681721","filename":"file4"},{"photo_id":"1327681466","filename":"file1"},{"photo_id":"1327681230","filename":"file0"},{"photo_id":"1327681716","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327681466":["hashtag1","hashtag2"]},{"1327681724":["hashtag1","hashtag2"]},{"1327681721":["hashtag1","hashtag2"]},{"1327681672":["hashtag1","hashtag2"]},{"1327681230":["hashtag1","hashtag2"]},{"1327681716":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327681466, 1327681724, 1327681721, 1327681672, 1327681230, 1327681716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.23126029968262 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 19:40:21.913032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/17/image_09012025_16_17_02_559907_0002.jpg', '/home/pi/Desktop/images/09012025/16/17/image_09012025_16_17_02_559907_0003.jpg', '/home/pi/Desktop/images/09012025/16/18/image_09012025_16_18_02_760543_0000.jpg', '/home/pi/Desktop/images/09012025/16/18/image_09012025_16_18_02_760543_0001.jpg', '/home/pi/Desktop/images/09012025/16/18/image_09012025_16_18_02_760543_0002.jpg', '/home/pi/Desktop/images/09012025/16/18/image_09012025_16_18_02_760543_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/17/image_09012025_16_17_02_559907_0002.jpg
/home/pi/Desktop/images/09012025/16/17/image_09012025_16_17_02_559907_0003.jpg
/home/pi/Desktop/images/09012025/16/18/image_09012025_16_18_02_760543_0000.jpg
/home/pi/Desktop/images/09012025/16/18/image_09012025_16_18_02_760543_0001.jpg
/home/pi/Desktop/images/09012025/16/18/image_09012025_16_18_02_760543_0002.jpg
/home/pi/Desktop/images/09012025/16/18/image_09012025_16_18_02_760543_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327681949","1327681958","1327681918","1327681962","1327681947","1327681914"],"photo_ids_order":["1327681914","1327681918","1327681947","1327681949","1327681958","1327681962"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eb3c7d1bcd3f9cd4e660ffb9fa761db1.jpg","text":"TemporaryFile(/tmp/multipartBody6900401186866751515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448129433,"filename":"image_09012025_16_18_02_760543_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2e1cda0c534e15ac6a09235b684a7fa8.jpg","text":"TemporaryFile(/tmp/multipartBody1746738660374866115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448129433,"filename":"image_09012025_16_18_02_760543_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/31e16fe5d0cfabea6220fc9e520e4795.jpg","text":"TemporaryFile(/tmp/multipartBody8250854450179423697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448129433,"filename":"image_09012025_16_17_02_559907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4b174b8546e10b17955f43d029c30767.jpg","text":"TemporaryFile(/tmp/multipartBody5849994365293232796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448129433,"filename":"image_09012025_16_18_02_760543_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/de6db1d8eee85a84423d4c1d7c56ad0a.jpg","text":"TemporaryFile(/tmp/multipartBody6303347730428201580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448129433,"filename":"image_09012025_16_18_02_760543_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ccdf518eecb03577fa188c8b3d8d0085.jpg","text":"TemporaryFile(/tmp/multipartBody6846420458148846303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448129433,"filename":"image_09012025_16_17_02_559907_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327681947","file1":"1327681918","file0":"1327681914","file4":"1327681958","file5":"1327681962","file3":"1327681949"},"map_files_photo_id_array":[{"photo_id":"1327681962","filename":"file5"},{"photo_id":"1327681947","filename":"file2"},{"photo_id":"1327681958","filename":"file4"},{"photo_id":"1327681918","filename":"file1"},{"photo_id":"1327681914","filename":"file0"},{"photo_id":"1327681949","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327681949":["hashtag1","hashtag2"]},{"1327681958":["hashtag1","hashtag2"]},{"1327681918":["hashtag1","hashtag2"]},{"1327681962":["hashtag1","hashtag2"]},{"1327681947":["hashtag1","hashtag2"]},{"1327681914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327681949, 1327681958, 1327681918, 1327681962, 1327681947, 1327681914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.8346517086029 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 19:42:22.465344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/19/image_09012025_16_19_02_865357_0000.jpg', '/home/pi/Desktop/images/09012025/16/19/image_09012025_16_19_02_865357_0001.jpg', '/home/pi/Desktop/images/09012025/16/19/image_09012025_16_19_02_865357_0002.jpg', '/home/pi/Desktop/images/09012025/16/19/image_09012025_16_19_02_865357_0003.jpg', '/home/pi/Desktop/images/09012025/16/20/image_09012025_16_20_03_010313_0000.jpg', '/home/pi/Desktop/images/09012025/16/20/image_09012025_16_20_03_010313_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/19/image_09012025_16_19_02_865357_0000.jpg
/home/pi/Desktop/images/09012025/16/19/image_09012025_16_19_02_865357_0001.jpg
/home/pi/Desktop/images/09012025/16/19/image_09012025_16_19_02_865357_0002.jpg
/home/pi/Desktop/images/09012025/16/19/image_09012025_16_19_02_865357_0003.jpg
/home/pi/Desktop/images/09012025/16/20/image_09012025_16_20_03_010313_0000.jpg
/home/pi/Desktop/images/09012025/16/20/image_09012025_16_20_03_010313_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327682126","1327682173","1327682139","1327682171","1327682141","1327682120"],"photo_ids_order":["1327682120","1327682126","1327682139","1327682141","1327682171","1327682173"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eef0083455cde9e5538341d5c9402e2b.jpg","text":"TemporaryFile(/tmp/multipartBody5812484809214801752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448243803,"filename":"image_09012025_16_19_02_865357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e84389fe8c8e52ca385737129df58d3c.jpg","text":"TemporaryFile(/tmp/multipartBody5570282492413851239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448243803,"filename":"image_09012025_16_20_03_010313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5a0f6f34239684769aa0b752e712fdae.jpg","text":"TemporaryFile(/tmp/multipartBody6705558165375673154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448243803,"filename":"image_09012025_16_19_02_865357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/729388f587512eade325de43ce989962.jpg","text":"TemporaryFile(/tmp/multipartBody5846549688594682139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448243803,"filename":"image_09012025_16_20_03_010313_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8a462527495c9d7eb588450d6b436a27.jpg","text":"TemporaryFile(/tmp/multipartBody3912211329369276684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448243803,"filename":"image_09012025_16_19_02_865357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/946f7bafb212ac759bbd3201f53a49b3.jpg","text":"TemporaryFile(/tmp/multipartBody2540536042523193944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448243803,"filename":"image_09012025_16_19_02_865357_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327682139","file1":"1327682126","file0":"1327682120","file4":"1327682171","file5":"1327682173","file3":"1327682141"},"map_files_photo_id_array":[{"photo_id":"1327682173","filename":"file5"},{"photo_id":"1327682139","filename":"file2"},{"photo_id":"1327682171","filename":"file4"},{"photo_id":"1327682126","filename":"file1"},{"photo_id":"1327682120","filename":"file0"},{"photo_id":"1327682141","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327682126":["hashtag1","hashtag2"]},{"1327682173":["hashtag1","hashtag2"]},{"1327682139":["hashtag1","hashtag2"]},{"1327682171":["hashtag1","hashtag2"]},{"1327682141":["hashtag1","hashtag2"]},{"1327682120":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327682126, 1327682173, 1327682139, 1327682171, 1327682141, 1327682120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.75115060806274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 19:44:03.135707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/20/image_09012025_16_20_03_010313_0002.jpg', '/home/pi/Desktop/images/09012025/16/20/image_09012025_16_20_03_010313_0003.jpg', '/home/pi/Desktop/images/09012025/16/21/image_09012025_16_21_02_205911_0000.jpg', '/home/pi/Desktop/images/09012025/16/21/image_09012025_16_21_02_205911_0001.jpg', '/home/pi/Desktop/images/09012025/16/21/image_09012025_16_21_02_205911_0002.jpg', '/home/pi/Desktop/images/09012025/16/21/image_09012025_16_21_02_205911_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/20/image_09012025_16_20_03_010313_0002.jpg
/home/pi/Desktop/images/09012025/16/20/image_09012025_16_20_03_010313_0003.jpg
/home/pi/Desktop/images/09012025/16/21/image_09012025_16_21_02_205911_0000.jpg
/home/pi/Desktop/images/09012025/16/21/image_09012025_16_21_02_205911_0001.jpg
/home/pi/Desktop/images/09012025/16/21/image_09012025_16_21_02_205911_0002.jpg
/home/pi/Desktop/images/09012025/16/21/image_09012025_16_21_02_205911_0003.jpg
 val : 1 : upload photos 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":["1327682398","1327682455","1327682452","1327682466","1327682460","1327682442"],"photo_ids_order":["1327682398","1327682442","1327682452","1327682455","1327682460","1327682466"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8fd3aff4c3b0930a377f9bd8084eea1c.jpg","text":"TemporaryFile(/tmp/multipartBody9166397156188313736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448331454,"filename":"image_09012025_16_20_03_010313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/296300eb8c810a648578f4065b5f819b.jpg","text":"TemporaryFile(/tmp/multipartBody6268330501157240405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448331454,"filename":"image_09012025_16_21_02_205911_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c679ffd9e8e06fbb2656889f2b28dcdc.jpg","text":"TemporaryFile(/tmp/multipartBody4848771227314794919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448331454,"filename":"image_09012025_16_21_02_205911_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fa0c1e237e1f2df118ef1935e911e305.jpg","text":"TemporaryFile(/tmp/multipartBody5112964187506659994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448331454,"filename":"image_09012025_16_21_02_205911_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1220635369f42e752868412d2b68841b.jpg","text":"TemporaryFile(/tmp/multipartBody130870277700525683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448331454,"filename":"image_09012025_16_21_02_205911_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f8f8d4fb5a66076ff23b8ba688546ca7.jpg","text":"TemporaryFile(/tmp/multipartBody874451948050969556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448331454,"filename":"image_09012025_16_20_03_010313_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327682452","file1":"1327682442","file0":"1327682398","file4":"1327682460","file5":"1327682466","file3":"1327682455"},"map_files_photo_id_array":[{"photo_id":"1327682466","filename":"file5"},{"photo_id":"1327682452","filename":"file2"},{"photo_id":"1327682460","filename":"file4"},{"photo_id":"1327682442","filename":"file1"},{"photo_id":"1327682398","filename":"file0"},{"photo_id":"1327682455","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327682398":["hashtag1","hashtag2"]},{"1327682455":["hashtag1","hashtag2"]},{"1327682452":["hashtag1","hashtag2"]},{"1327682466":["hashtag1","hashtag2"]},{"1327682460":["hashtag1","hashtag2"]},{"1327682442":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327682398, 1327682455, 1327682452, 1327682466, 1327682460, 1327682442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 83.10343909263611 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 19:45:31.855630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/22/image_09012025_16_22_02_386292_0000.jpg', '/home/pi/Desktop/images/09012025/16/22/image_09012025_16_22_02_386292_0001.jpg', '/home/pi/Desktop/images/09012025/16/22/image_09012025_16_22_02_386292_0003.jpg', '/home/pi/Desktop/images/09012025/16/23/image_09012025_16_23_02_626066_0000.jpg', '/home/pi/Desktop/images/09012025/16/23/image_09012025_16_23_02_626066_0001.jpg', '/home/pi/Desktop/images/09012025/16/23/image_09012025_16_23_02_626066_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/22/image_09012025_16_22_02_386292_0000.jpg
/home/pi/Desktop/images/09012025/16/22/image_09012025_16_22_02_386292_0001.jpg
/home/pi/Desktop/images/09012025/16/22/image_09012025_16_22_02_386292_0003.jpg
/home/pi/Desktop/images/09012025/16/23/image_09012025_16_23_02_626066_0000.jpg
/home/pi/Desktop/images/09012025/16/23/image_09012025_16_23_02_626066_0001.jpg
/home/pi/Desktop/images/09012025/16/23/image_09012025_16_23_02_626066_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327682569","1327682563","1327682559","1327682591","1327682588","1327682573"],"photo_ids_order":["1327682559","1327682563","1327682569","1327682573","1327682588","1327682591"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/78456e405a524ba9d2ec3abe58959912.jpg","text":"TemporaryFile(/tmp/multipartBody5653115863545346181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448429055,"filename":"image_09012025_16_22_02_386292_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/181c464e8ea9f3dc9026ebb140bd3660.jpg","text":"TemporaryFile(/tmp/multipartBody8675822095848992118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448429055,"filename":"image_09012025_16_22_02_386292_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bcf1e2650988443b0662a67f08da0cf1.jpg","text":"TemporaryFile(/tmp/multipartBody6648969943657202724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448429055,"filename":"image_09012025_16_22_02_386292_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b302105f12d808150ad8132ac221e5a0.jpg","text":"TemporaryFile(/tmp/multipartBody7786028663348801452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448429055,"filename":"image_09012025_16_23_02_626066_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/42a40817b727e116cb87e9be17cb2da4.jpg","text":"TemporaryFile(/tmp/multipartBody3242873075909215876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448429055,"filename":"image_09012025_16_23_02_626066_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f015a613afaed218dc49d15b82fe9391.jpg","text":"TemporaryFile(/tmp/multipartBody2890069578658917988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448429055,"filename":"image_09012025_16_23_02_626066_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327682569","file1":"1327682563","file0":"1327682559","file4":"1327682588","file5":"1327682591","file3":"1327682573"},"map_files_photo_id_array":[{"photo_id":"1327682591","filename":"file5"},{"photo_id":"1327682569","filename":"file2"},{"photo_id":"1327682588","filename":"file4"},{"photo_id":"1327682563","filename":"file1"},{"photo_id":"1327682559","filename":"file0"},{"photo_id":"1327682573","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327682569":["hashtag1","hashtag2"]},{"1327682563":["hashtag1","hashtag2"]},{"1327682559":["hashtag1","hashtag2"]},{"1327682591":["hashtag1","hashtag2"]},{"1327682588":["hashtag1","hashtag2"]},{"1327682573":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327682569, 1327682563, 1327682559, 1327682591, 1327682588, 1327682573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.42215728759766 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 19:47:22.255598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/23/image_09012025_16_23_02_626066_0003.jpg', '/home/pi/Desktop/images/09012025/16/24/image_09012025_16_24_02_727741_0000.jpg', '/home/pi/Desktop/images/09012025/16/24/image_09012025_16_24_02_727741_0001.jpg', '/home/pi/Desktop/images/09012025/16/24/image_09012025_16_24_02_727741_0002.jpg', '/home/pi/Desktop/images/09012025/16/24/image_09012025_16_24_02_727741_0003.jpg', '/home/pi/Desktop/images/09012025/16/25/image_09012025_16_25_02_898497_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/23/image_09012025_16_23_02_626066_0003.jpg
/home/pi/Desktop/images/09012025/16/24/image_09012025_16_24_02_727741_0000.jpg
/home/pi/Desktop/images/09012025/16/24/image_09012025_16_24_02_727741_0001.jpg
/home/pi/Desktop/images/09012025/16/24/image_09012025_16_24_02_727741_0002.jpg
/home/pi/Desktop/images/09012025/16/24/image_09012025_16_24_02_727741_0003.jpg
/home/pi/Desktop/images/09012025/16/25/image_09012025_16_25_02_898497_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327682656","1327682682","1327682673","1327682666","1327682678","1327682663"],"photo_ids_order":["1327682656","1327682663","1327682666","1327682673","1327682678","1327682682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/42e31f96da63afa9fc59417956e36348.jpg","text":"TemporaryFile(/tmp/multipartBody4830328310033638405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448543682,"filename":"image_09012025_16_23_02_626066_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/056ad883506c9488552236153ee93257.jpg","text":"TemporaryFile(/tmp/multipartBody5844274213435656578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448543682,"filename":"image_09012025_16_25_02_898497_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/258ce833230c424f31dfac57b3c7a243.jpg","text":"TemporaryFile(/tmp/multipartBody4944487352285237184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448543682,"filename":"image_09012025_16_24_02_727741_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9c3fc9fcbd76132f2b48223c12c89555.jpg","text":"TemporaryFile(/tmp/multipartBody5313032783219184276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448543682,"filename":"image_09012025_16_24_02_727741_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/236b9713d44df9ef32c4fb4f5bc50824.jpg","text":"TemporaryFile(/tmp/multipartBody8349863126984035653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448543682,"filename":"image_09012025_16_24_02_727741_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7bbb3cf1828063d633ddc72e9c33aba7.jpg","text":"TemporaryFile(/tmp/multipartBody6591339498917621388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448543682,"filename":"image_09012025_16_24_02_727741_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327682666","file1":"1327682663","file0":"1327682656","file4":"1327682678","file5":"1327682682","file3":"1327682673"},"map_files_photo_id_array":[{"photo_id":"1327682682","filename":"file5"},{"photo_id":"1327682666","filename":"file2"},{"photo_id":"1327682678","filename":"file4"},{"photo_id":"1327682663","filename":"file1"},{"photo_id":"1327682656","filename":"file0"},{"photo_id":"1327682673","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327682656":["hashtag1","hashtag2"]},{"1327682682":["hashtag1","hashtag2"]},{"1327682673":["hashtag1","hashtag2"]},{"1327682666":["hashtag1","hashtag2"]},{"1327682678":["hashtag1","hashtag2"]},{"1327682663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327682656, 1327682682, 1327682673, 1327682666, 1327682678, 1327682663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.68190407752991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 19:49:03.199257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/25/image_09012025_16_25_02_898497_0001.jpg', '/home/pi/Desktop/images/09012025/16/25/image_09012025_16_25_02_898497_0002.jpg', '/home/pi/Desktop/images/09012025/16/25/image_09012025_16_25_02_898497_0003.jpg', '/home/pi/Desktop/images/09012025/16/26/image_09012025_16_26_03_067831_0000.jpg', '/home/pi/Desktop/images/09012025/16/26/image_09012025_16_26_03_067831_0001.jpg', '/home/pi/Desktop/images/09012025/16/26/image_09012025_16_26_03_067831_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/25/image_09012025_16_25_02_898497_0001.jpg
/home/pi/Desktop/images/09012025/16/25/image_09012025_16_25_02_898497_0002.jpg
/home/pi/Desktop/images/09012025/16/25/image_09012025_16_25_02_898497_0003.jpg
/home/pi/Desktop/images/09012025/16/26/image_09012025_16_26_03_067831_0000.jpg
/home/pi/Desktop/images/09012025/16/26/image_09012025_16_26_03_067831_0001.jpg
/home/pi/Desktop/images/09012025/16/26/image_09012025_16_26_03_067831_0002.jpg
 val : 1 : upload photos 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":["1327682767","1327682752","1327682755","1327682749","1327682757","1327682745"],"photo_ids_order":["1327682745","1327682749","1327682752","1327682755","1327682757","1327682767"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/732903c2b96deabae1c2f3dd77e3b52c.jpg","text":"TemporaryFile(/tmp/multipartBody823295745120461449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448647404,"filename":"image_09012025_16_26_03_067831_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b76176cf9f2a3f5ec5f312853f5bc797.jpg","text":"TemporaryFile(/tmp/multipartBody5028978116493766843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448647404,"filename":"image_09012025_16_25_02_898497_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/88996cd92b4176b2f9d9fe415f183674.jpg","text":"TemporaryFile(/tmp/multipartBody7034723344345007815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448647404,"filename":"image_09012025_16_26_03_067831_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/84f874c4c919bfe94b8a5931f869e469.jpg","text":"TemporaryFile(/tmp/multipartBody2193305485129382298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448647404,"filename":"image_09012025_16_25_02_898497_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9de4fb495c8c969e03113e88745e7d8f.jpg","text":"TemporaryFile(/tmp/multipartBody3891349388456441854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448647404,"filename":"image_09012025_16_26_03_067831_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e06417ea9c07acb6f16946cbcbdd0c93.jpg","text":"TemporaryFile(/tmp/multipartBody8932750710560669465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448647404,"filename":"image_09012025_16_25_02_898497_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327682752","file1":"1327682749","file0":"1327682745","file4":"1327682757","file5":"1327682767","file3":"1327682755"},"map_files_photo_id_array":[{"photo_id":"1327682767","filename":"file5"},{"photo_id":"1327682752","filename":"file2"},{"photo_id":"1327682757","filename":"file4"},{"photo_id":"1327682749","filename":"file1"},{"photo_id":"1327682745","filename":"file0"},{"photo_id":"1327682755","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327682767":["hashtag1","hashtag2"]},{"1327682752":["hashtag1","hashtag2"]},{"1327682755":["hashtag1","hashtag2"]},{"1327682749":["hashtag1","hashtag2"]},{"1327682757":["hashtag1","hashtag2"]},{"1327682745":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327682767, 1327682752, 1327682755, 1327682749, 1327682757, 1327682745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.64784169197083 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 19:50:42.783099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/26/image_09012025_16_26_03_067831_0003.jpg', '/home/pi/Desktop/images/09012025/16/27/image_09012025_16_27_02_274487_0000.jpg', '/home/pi/Desktop/images/09012025/16/27/image_09012025_16_27_02_274487_0001.jpg', '/home/pi/Desktop/images/09012025/16/27/image_09012025_16_27_02_274487_0002.jpg', '/home/pi/Desktop/images/09012025/16/27/image_09012025_16_27_02_274487_0003.jpg', '/home/pi/Desktop/images/09012025/16/28/image_09012025_16_28_02_366814_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/26/image_09012025_16_26_03_067831_0003.jpg
/home/pi/Desktop/images/09012025/16/27/image_09012025_16_27_02_274487_0000.jpg
/home/pi/Desktop/images/09012025/16/27/image_09012025_16_27_02_274487_0001.jpg
/home/pi/Desktop/images/09012025/16/27/image_09012025_16_27_02_274487_0002.jpg
/home/pi/Desktop/images/09012025/16/27/image_09012025_16_27_02_274487_0003.jpg
/home/pi/Desktop/images/09012025/16/28/image_09012025_16_28_02_366814_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327683043","1327683112","1327683021","1327682913","1327682972","1327683166"],"photo_ids_order":["1327682913","1327682972","1327683021","1327683043","1327683112","1327683166"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5a6fc7cb1f1d5660caeea0c2d821ed05.jpg","text":"TemporaryFile(/tmp/multipartBody2519576509453303604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448747694,"filename":"image_09012025_16_27_02_274487_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b577bc5b49d124d6eb2de6b61612e806.jpg","text":"TemporaryFile(/tmp/multipartBody2951669405675147162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448747694,"filename":"image_09012025_16_27_02_274487_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/96910f4e13988660d356232c11e0a511.jpg","text":"TemporaryFile(/tmp/multipartBody8082905610144136394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448747694,"filename":"image_09012025_16_27_02_274487_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e584ca4f388121d800af902f825dff09.jpg","text":"TemporaryFile(/tmp/multipartBody3351583124630198885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448747694,"filename":"image_09012025_16_26_03_067831_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ee96bb1559a8960b0ea42adf8cfee7d1.jpg","text":"TemporaryFile(/tmp/multipartBody5725274132440159361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448747694,"filename":"image_09012025_16_27_02_274487_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/575a8b55626ace3f9f8fe0d652e12cbd.jpg","text":"TemporaryFile(/tmp/multipartBody5652985610768971697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448747694,"filename":"image_09012025_16_28_02_366814_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327683021","file1":"1327682972","file0":"1327682913","file4":"1327683112","file5":"1327683166","file3":"1327683043"},"map_files_photo_id_array":[{"photo_id":"1327683166","filename":"file5"},{"photo_id":"1327683021","filename":"file2"},{"photo_id":"1327683112","filename":"file4"},{"photo_id":"1327682972","filename":"file1"},{"photo_id":"1327682913","filename":"file0"},{"photo_id":"1327683043","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327683043":["hashtag1","hashtag2"]},{"1327683112":["hashtag1","hashtag2"]},{"1327683021":["hashtag1","hashtag2"]},{"1327682913":["hashtag1","hashtag2"]},{"1327682972":["hashtag1","hashtag2"]},{"1327683166":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327683043, 1327683112, 1327683021, 1327682913, 1327682972, 1327683166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.43817353248596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 19:52:32.047490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/28/image_09012025_16_28_02_366814_0001.jpg', '/home/pi/Desktop/images/09012025/16/28/image_09012025_16_28_02_366814_0002.jpg', '/home/pi/Desktop/images/09012025/16/28/image_09012025_16_28_02_366814_0003.jpg', '/home/pi/Desktop/images/09012025/16/29/image_09012025_16_29_02_587485_0000.jpg', '/home/pi/Desktop/images/09012025/16/29/image_09012025_16_29_02_587485_0001.jpg', '/home/pi/Desktop/images/09012025/16/29/image_09012025_16_29_02_587485_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/28/image_09012025_16_28_02_366814_0001.jpg
/home/pi/Desktop/images/09012025/16/28/image_09012025_16_28_02_366814_0002.jpg
/home/pi/Desktop/images/09012025/16/28/image_09012025_16_28_02_366814_0003.jpg
/home/pi/Desktop/images/09012025/16/29/image_09012025_16_29_02_587485_0000.jpg
/home/pi/Desktop/images/09012025/16/29/image_09012025_16_29_02_587485_0001.jpg
/home/pi/Desktop/images/09012025/16/29/image_09012025_16_29_02_587485_0002.jpg
 val : 1 : upload photos 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":["1327684711","1327684435","1327684708","1327684713","1327684716","1327684646"],"photo_ids_order":["1327684435","1327684646","1327684708","1327684711","1327684713","1327684716"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/01bd925ce770814df0691951df73b24f.jpg","text":"TemporaryFile(/tmp/multipartBody2696449771775485808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448845914,"filename":"image_09012025_16_29_02_587485_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cdd0bc88702ea662b5c357c6b4f1b319.jpg","text":"TemporaryFile(/tmp/multipartBody229843106523017386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448845914,"filename":"image_09012025_16_28_02_366814_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/78fb9c503f68ff012c2e414eb113360b.jpg","text":"TemporaryFile(/tmp/multipartBody2460753285635352598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448845914,"filename":"image_09012025_16_28_02_366814_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/98a03d1121d0de2d8e8e5cc5d51936f9.jpg","text":"TemporaryFile(/tmp/multipartBody550331323672839874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448845914,"filename":"image_09012025_16_29_02_587485_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/132bd6047349a15792782b72e86a95a8.jpg","text":"TemporaryFile(/tmp/multipartBody6313168647778200332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448845914,"filename":"image_09012025_16_29_02_587485_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/584fae37b4aa69dc5c2c38a500eec007.jpg","text":"TemporaryFile(/tmp/multipartBody2904005683046576022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448845914,"filename":"image_09012025_16_28_02_366814_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327684708","file1":"1327684646","file0":"1327684435","file4":"1327684713","file5":"1327684716","file3":"1327684711"},"map_files_photo_id_array":[{"photo_id":"1327684716","filename":"file5"},{"photo_id":"1327684708","filename":"file2"},{"photo_id":"1327684713","filename":"file4"},{"photo_id":"1327684646","filename":"file1"},{"photo_id":"1327684435","filename":"file0"},{"photo_id":"1327684711","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327684711":["hashtag1","hashtag2"]},{"1327684435":["hashtag1","hashtag2"]},{"1327684708":["hashtag1","hashtag2"]},{"1327684713":["hashtag1","hashtag2"]},{"1327684716":["hashtag1","hashtag2"]},{"1327684646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327684711, 1327684435, 1327684708, 1327684713, 1327684716, 1327684646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.40585112571716 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 19:54:02.780669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/29/image_09012025_16_29_02_587485_0003.jpg', '/home/pi/Desktop/images/09012025/16/30/image_09012025_16_30_02_873781_0000.jpg', '/home/pi/Desktop/images/09012025/16/30/image_09012025_16_30_02_873781_0001.jpg', '/home/pi/Desktop/images/09012025/16/30/image_09012025_16_30_02_873781_0002.jpg', '/home/pi/Desktop/images/09012025/16/30/image_09012025_16_30_02_873781_0003.jpg', '/home/pi/Desktop/images/09012025/16/31/image_09012025_16_31_02_911056_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/29/image_09012025_16_29_02_587485_0003.jpg
/home/pi/Desktop/images/09012025/16/30/image_09012025_16_30_02_873781_0000.jpg
/home/pi/Desktop/images/09012025/16/30/image_09012025_16_30_02_873781_0001.jpg
/home/pi/Desktop/images/09012025/16/30/image_09012025_16_30_02_873781_0002.jpg
/home/pi/Desktop/images/09012025/16/30/image_09012025_16_30_02_873781_0003.jpg
/home/pi/Desktop/images/09012025/16/31/image_09012025_16_31_02_911056_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 39.34707832336426 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 19:54:52.458027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/29/image_09012025_16_29_02_587485_0003.jpg', '/home/pi/Desktop/images/09012025/16/30/image_09012025_16_30_02_873781_0000.jpg', '/home/pi/Desktop/images/09012025/16/30/image_09012025_16_30_02_873781_0001.jpg', '/home/pi/Desktop/images/09012025/16/30/image_09012025_16_30_02_873781_0002.jpg', '/home/pi/Desktop/images/09012025/16/30/image_09012025_16_30_02_873781_0003.jpg', '/home/pi/Desktop/images/09012025/16/31/image_09012025_16_31_02_911056_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/29/image_09012025_16_29_02_587485_0003.jpg
/home/pi/Desktop/images/09012025/16/30/image_09012025_16_30_02_873781_0000.jpg
/home/pi/Desktop/images/09012025/16/30/image_09012025_16_30_02_873781_0001.jpg
/home/pi/Desktop/images/09012025/16/30/image_09012025_16_30_02_873781_0002.jpg
/home/pi/Desktop/images/09012025/16/30/image_09012025_16_30_02_873781_0003.jpg
/home/pi/Desktop/images/09012025/16/31/image_09012025_16_31_02_911056_0000.jpg
 val : 1 : upload photos 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":["1327685367","1327685399","1327685560","1327685499","1327685370","1327685364"],"photo_ids_order":["1327685364","1327685367","1327685370","1327685399","1327685499","1327685560"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9e6e983462907d2f778c0b9c7ff131a9.jpg","text":"TemporaryFile(/tmp/multipartBody4714253031044736110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448992284,"filename":"image_09012025_16_30_02_873781_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c633fd9afcf3c5ac6af30e1805d5da12.jpg","text":"TemporaryFile(/tmp/multipartBody3094194159709718280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448992284,"filename":"image_09012025_16_30_02_873781_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d99f3a079b4daffb34c0a5953eb779d6.jpg","text":"TemporaryFile(/tmp/multipartBody281568863114672201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448992284,"filename":"image_09012025_16_31_02_911056_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aa3ea3c4c410aafa4efc909e278202b1.jpg","text":"TemporaryFile(/tmp/multipartBody4913765207245862079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448992284,"filename":"image_09012025_16_30_02_873781_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d35e4972119dcfb7440e5690813edb38.jpg","text":"TemporaryFile(/tmp/multipartBody7616712106995909112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448992284,"filename":"image_09012025_16_30_02_873781_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ba3ff6c4576ec81057b1a9089878ff1a.jpg","text":"TemporaryFile(/tmp/multipartBody8589533199928763903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736448992284,"filename":"image_09012025_16_29_02_587485_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327685370","file1":"1327685367","file0":"1327685364","file4":"1327685499","file5":"1327685560","file3":"1327685399"},"map_files_photo_id_array":[{"photo_id":"1327685560","filename":"file5"},{"photo_id":"1327685370","filename":"file2"},{"photo_id":"1327685499","filename":"file4"},{"photo_id":"1327685367","filename":"file1"},{"photo_id":"1327685364","filename":"file0"},{"photo_id":"1327685399","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327685367":["hashtag1","hashtag2"]},{"1327685399":["hashtag1","hashtag2"]},{"1327685560":["hashtag1","hashtag2"]},{"1327685499":["hashtag1","hashtag2"]},{"1327685370":["hashtag1","hashtag2"]},{"1327685364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327685367, 1327685399, 1327685560, 1327685499, 1327685370, 1327685364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.65808057785034 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 19:56:31.809998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/31/image_09012025_16_31_02_911056_0001.jpg', '/home/pi/Desktop/images/09012025/16/31/image_09012025_16_31_02_911056_0002.jpg', '/home/pi/Desktop/images/09012025/16/31/image_09012025_16_31_02_911056_0003.jpg', '/home/pi/Desktop/images/09012025/16/32/image_09012025_16_32_03_093242_0000.jpg', '/home/pi/Desktop/images/09012025/16/32/image_09012025_16_32_03_093242_0001.jpg', '/home/pi/Desktop/images/09012025/16/32/image_09012025_16_32_03_093242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/31/image_09012025_16_31_02_911056_0001.jpg
/home/pi/Desktop/images/09012025/16/31/image_09012025_16_31_02_911056_0002.jpg
/home/pi/Desktop/images/09012025/16/31/image_09012025_16_31_02_911056_0003.jpg
/home/pi/Desktop/images/09012025/16/32/image_09012025_16_32_03_093242_0000.jpg
/home/pi/Desktop/images/09012025/16/32/image_09012025_16_32_03_093242_0001.jpg
/home/pi/Desktop/images/09012025/16/32/image_09012025_16_32_03_093242_0002.jpg
 val : 1 : upload photos 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! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 19:59:03.061355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/31/image_09012025_16_31_02_911056_0001.jpg', '/home/pi/Desktop/images/09012025/16/31/image_09012025_16_31_02_911056_0002.jpg', '/home/pi/Desktop/images/09012025/16/31/image_09012025_16_31_02_911056_0003.jpg', '/home/pi/Desktop/images/09012025/16/32/image_09012025_16_32_03_093242_0000.jpg', '/home/pi/Desktop/images/09012025/16/32/image_09012025_16_32_03_093242_0001.jpg', '/home/pi/Desktop/images/09012025/16/32/image_09012025_16_32_03_093242_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/31/image_09012025_16_31_02_911056_0001.jpg
/home/pi/Desktop/images/09012025/16/31/image_09012025_16_31_02_911056_0002.jpg
/home/pi/Desktop/images/09012025/16/31/image_09012025_16_31_02_911056_0003.jpg
/home/pi/Desktop/images/09012025/16/32/image_09012025_16_32_03_093242_0000.jpg
/home/pi/Desktop/images/09012025/16/32/image_09012025_16_32_03_093242_0001.jpg
/home/pi/Desktop/images/09012025/16/32/image_09012025_16_32_03_093242_0002.jpg
 val : 1 : upload photos 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":["1327685724","1327685718","1327685703","1327685708","1327685713","1327685737"],"photo_ids_order":["1327685703","1327685708","1327685713","1327685718","1327685724","1327685737"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/889aeed8c90abf333670c93fa3660eca.jpg","text":"TemporaryFile(/tmp/multipartBody155648276311124141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449240837,"filename":"image_09012025_16_32_03_093242_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dbe7567e58b1d2309e58ab720880316e.jpg","text":"TemporaryFile(/tmp/multipartBody715205230559277474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449240837,"filename":"image_09012025_16_32_03_093242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/436e9123414e88f1a40e8a1074a5adff.jpg","text":"TemporaryFile(/tmp/multipartBody2000513118034073104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449240837,"filename":"image_09012025_16_31_02_911056_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/27c928d5547df7dac85d6d317a974da1.jpg","text":"TemporaryFile(/tmp/multipartBody654765961199467260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449240837,"filename":"image_09012025_16_31_02_911056_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/19899002c5ef5f8d650d0040fb421ac3.jpg","text":"TemporaryFile(/tmp/multipartBody1136570063918999413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449240837,"filename":"image_09012025_16_31_02_911056_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/52937ced0db4d6b2a036f8e972a46a36.jpg","text":"TemporaryFile(/tmp/multipartBody3017038247789780714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449240837,"filename":"image_09012025_16_32_03_093242_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327685713","file1":"1327685708","file0":"1327685703","file4":"1327685724","file5":"1327685737","file3":"1327685718"},"map_files_photo_id_array":[{"photo_id":"1327685737","filename":"file5"},{"photo_id":"1327685713","filename":"file2"},{"photo_id":"1327685724","filename":"file4"},{"photo_id":"1327685708","filename":"file1"},{"photo_id":"1327685703","filename":"file0"},{"photo_id":"1327685718","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327685724":["hashtag1","hashtag2"]},{"1327685718":["hashtag1","hashtag2"]},{"1327685703":["hashtag1","hashtag2"]},{"1327685708":["hashtag1","hashtag2"]},{"1327685713":["hashtag1","hashtag2"]},{"1327685737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327685724, 1327685718, 1327685703, 1327685708, 1327685713, 1327685737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.72982668876648 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 20:00:42.578335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/32/image_09012025_16_32_03_093242_0003.jpg', '/home/pi/Desktop/images/09012025/16/33/image_09012025_16_33_02_223422_0000.jpg', '/home/pi/Desktop/images/09012025/16/33/image_09012025_16_33_02_223422_0001.jpg', '/home/pi/Desktop/images/09012025/16/33/image_09012025_16_33_02_223422_0002.jpg', '/home/pi/Desktop/images/09012025/16/33/image_09012025_16_33_02_223422_0003.jpg', '/home/pi/Desktop/images/09012025/16/34/image_09012025_16_34_02_441545_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/32/image_09012025_16_32_03_093242_0003.jpg
/home/pi/Desktop/images/09012025/16/33/image_09012025_16_33_02_223422_0000.jpg
/home/pi/Desktop/images/09012025/16/33/image_09012025_16_33_02_223422_0001.jpg
/home/pi/Desktop/images/09012025/16/33/image_09012025_16_33_02_223422_0002.jpg
/home/pi/Desktop/images/09012025/16/33/image_09012025_16_33_02_223422_0003.jpg
/home/pi/Desktop/images/09012025/16/34/image_09012025_16_34_02_441545_0000.jpg
 val : 1 : upload photos 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":["1327685841","1327685835","1327685832","1327685826","1327685837","1327685819"],"photo_ids_order":["1327685819","1327685826","1327685832","1327685835","1327685837","1327685841"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/018fb531d5a75081d544fd234401ddf3.jpg","text":"TemporaryFile(/tmp/multipartBody5596995888087998714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449332850,"filename":"image_09012025_16_34_02_441545_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1eaf60943206f34d55e48eca1083b4e7.jpg","text":"TemporaryFile(/tmp/multipartBody3431004755753983486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449332850,"filename":"image_09012025_16_33_02_223422_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/131d3b4249fcbf875a400733e862b67f.jpg","text":"TemporaryFile(/tmp/multipartBody3064470558235844945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449332850,"filename":"image_09012025_16_33_02_223422_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/405a596719c3062e4ba389c344557ad4.jpg","text":"TemporaryFile(/tmp/multipartBody1293507892886295305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449332850,"filename":"image_09012025_16_33_02_223422_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/73181311b9555423dd8153c676b72db2.jpg","text":"TemporaryFile(/tmp/multipartBody4078888854806516083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449332850,"filename":"image_09012025_16_33_02_223422_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4c99a695b03c1fdebe1c6759c41780b0.jpg","text":"TemporaryFile(/tmp/multipartBody1347365975482870457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449332850,"filename":"image_09012025_16_32_03_093242_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327685832","file1":"1327685826","file0":"1327685819","file4":"1327685837","file5":"1327685841","file3":"1327685835"},"map_files_photo_id_array":[{"photo_id":"1327685841","filename":"file5"},{"photo_id":"1327685832","filename":"file2"},{"photo_id":"1327685837","filename":"file4"},{"photo_id":"1327685826","filename":"file1"},{"photo_id":"1327685819","filename":"file0"},{"photo_id":"1327685835","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327685841":["hashtag1","hashtag2"]},{"1327685835":["hashtag1","hashtag2"]},{"1327685832":["hashtag1","hashtag2"]},{"1327685826":["hashtag1","hashtag2"]},{"1327685837":["hashtag1","hashtag2"]},{"1327685819":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327685841, 1327685835, 1327685832, 1327685826, 1327685837, 1327685819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.77420330047607 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 20:02:21.879380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/34/image_09012025_16_34_02_441545_0001.jpg', '/home/pi/Desktop/images/09012025/16/34/image_09012025_16_34_02_441545_0002.jpg', '/home/pi/Desktop/images/09012025/16/34/image_09012025_16_34_02_441545_0003.jpg', '/home/pi/Desktop/images/09012025/16/35/image_09012025_16_35_02_599188_0000.jpg', '/home/pi/Desktop/images/09012025/16/35/image_09012025_16_35_02_599188_0001.jpg', '/home/pi/Desktop/images/09012025/16/35/image_09012025_16_35_02_599188_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/34/image_09012025_16_34_02_441545_0001.jpg
/home/pi/Desktop/images/09012025/16/34/image_09012025_16_34_02_441545_0002.jpg
/home/pi/Desktop/images/09012025/16/34/image_09012025_16_34_02_441545_0003.jpg
/home/pi/Desktop/images/09012025/16/35/image_09012025_16_35_02_599188_0000.jpg
/home/pi/Desktop/images/09012025/16/35/image_09012025_16_35_02_599188_0001.jpg
/home/pi/Desktop/images/09012025/16/35/image_09012025_16_35_02_599188_0002.jpg
 val : 1 : upload photos 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":["1327686003","1327686009","1327686011","1327685992","1327685989","1327685997"],"photo_ids_order":["1327685989","1327685992","1327685997","1327686003","1327686009","1327686011"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/492b5ddc2938c1f4177bd043a864954d.jpg","text":"TemporaryFile(/tmp/multipartBody5746265758146873495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449437654,"filename":"image_09012025_16_35_02_599188_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d7644256c78d67ec7ef81861719d4a9b.jpg","text":"TemporaryFile(/tmp/multipartBody3346268672753622369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449437654,"filename":"image_09012025_16_35_02_599188_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e0586c2f9d2c8cba29498df6731217f8.jpg","text":"TemporaryFile(/tmp/multipartBody4025555404397514228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449437654,"filename":"image_09012025_16_35_02_599188_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3516a8a07e9632e3c1aac61c00f9f726.jpg","text":"TemporaryFile(/tmp/multipartBody4099887655417226064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449437654,"filename":"image_09012025_16_34_02_441545_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/db27585751ad9a1b756b62a487ca18f3.jpg","text":"TemporaryFile(/tmp/multipartBody887901171817966372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449437654,"filename":"image_09012025_16_34_02_441545_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1f0107a1831e8d20487a074f7e89c753.jpg","text":"TemporaryFile(/tmp/multipartBody3296213960092866336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449437654,"filename":"image_09012025_16_34_02_441545_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327685997","file1":"1327685992","file0":"1327685989","file4":"1327686009","file5":"1327686011","file3":"1327686003"},"map_files_photo_id_array":[{"photo_id":"1327686011","filename":"file5"},{"photo_id":"1327685997","filename":"file2"},{"photo_id":"1327686009","filename":"file4"},{"photo_id":"1327685992","filename":"file1"},{"photo_id":"1327685989","filename":"file0"},{"photo_id":"1327686003","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327686003":["hashtag1","hashtag2"]},{"1327686009":["hashtag1","hashtag2"]},{"1327686011":["hashtag1","hashtag2"]},{"1327685992":["hashtag1","hashtag2"]},{"1327685989":["hashtag1","hashtag2"]},{"1327685997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327686003, 1327686009, 1327686011, 1327685992, 1327685989, 1327685997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.43517136573792 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 20:03:51.996329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/35/image_09012025_16_35_02_599188_0003.jpg', '/home/pi/Desktop/images/09012025/16/36/image_09012025_16_36_02_763423_0000.jpg', '/home/pi/Desktop/images/09012025/16/36/image_09012025_16_36_02_763423_0001.jpg', '/home/pi/Desktop/images/09012025/16/36/image_09012025_16_36_02_763423_0002.jpg', '/home/pi/Desktop/images/09012025/16/36/image_09012025_16_36_02_763423_0003.jpg', '/home/pi/Desktop/images/09012025/16/37/image_09012025_16_37_02_975755_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/35/image_09012025_16_35_02_599188_0003.jpg
/home/pi/Desktop/images/09012025/16/36/image_09012025_16_36_02_763423_0000.jpg
/home/pi/Desktop/images/09012025/16/36/image_09012025_16_36_02_763423_0001.jpg
/home/pi/Desktop/images/09012025/16/36/image_09012025_16_36_02_763423_0002.jpg
/home/pi/Desktop/images/09012025/16/36/image_09012025_16_36_02_763423_0003.jpg
/home/pi/Desktop/images/09012025/16/37/image_09012025_16_37_02_975755_0000.jpg
 val : 1 : upload photos 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":["1327686612","1327686632","1327686626","1327686616","1327686468","1327686621"],"photo_ids_order":["1327686468","1327686612","1327686616","1327686621","1327686626","1327686632"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9495052edfc0e7cb4c792a84985db10b.jpg","text":"TemporaryFile(/tmp/multipartBody130104061341387551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449534099,"filename":"image_09012025_16_36_02_763423_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f7448797532bbe06082ebb7f0eb05f0b.jpg","text":"TemporaryFile(/tmp/multipartBody2474629063300941730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449534099,"filename":"image_09012025_16_37_02_975755_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f815cbe7c3d308fe49d69b6640b6f2bf.jpg","text":"TemporaryFile(/tmp/multipartBody7418124686998283742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449534099,"filename":"image_09012025_16_36_02_763423_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f0cc544d1f1f5a2bcd15101d2a7d2cb7.jpg","text":"TemporaryFile(/tmp/multipartBody5308845580836922542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449534099,"filename":"image_09012025_16_36_02_763423_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/701866b649674d206e917b0497fb1968.jpg","text":"TemporaryFile(/tmp/multipartBody6616895244496129102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449534099,"filename":"image_09012025_16_35_02_599188_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/83c764db16816af5d1eff590f497cbcf.jpg","text":"TemporaryFile(/tmp/multipartBody2236554159108633901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449534099,"filename":"image_09012025_16_36_02_763423_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327686616","file1":"1327686612","file0":"1327686468","file4":"1327686626","file5":"1327686632","file3":"1327686621"},"map_files_photo_id_array":[{"photo_id":"1327686632","filename":"file5"},{"photo_id":"1327686616","filename":"file2"},{"photo_id":"1327686626","filename":"file4"},{"photo_id":"1327686612","filename":"file1"},{"photo_id":"1327686468","filename":"file0"},{"photo_id":"1327686621","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327686612":["hashtag1","hashtag2"]},{"1327686632":["hashtag1","hashtag2"]},{"1327686626":["hashtag1","hashtag2"]},{"1327686616":["hashtag1","hashtag2"]},{"1327686468":["hashtag1","hashtag2"]},{"1327686621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327686612, 1327686632, 1327686626, 1327686616, 1327686468, 1327686621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.44044065475464 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 20:05:32.360285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/37/image_09012025_16_37_02_975755_0001.jpg', '/home/pi/Desktop/images/09012025/16/37/image_09012025_16_37_02_975755_0002.jpg', '/home/pi/Desktop/images/09012025/16/37/image_09012025_16_37_02_975755_0003.jpg', '/home/pi/Desktop/images/09012025/16/38/image_09012025_16_38_02_199996_0000.jpg', '/home/pi/Desktop/images/09012025/16/38/image_09012025_16_38_02_199996_0002.jpg', '/home/pi/Desktop/images/09012025/16/38/image_09012025_16_38_02_199996_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/37/image_09012025_16_37_02_975755_0001.jpg
/home/pi/Desktop/images/09012025/16/37/image_09012025_16_37_02_975755_0002.jpg
/home/pi/Desktop/images/09012025/16/37/image_09012025_16_37_02_975755_0003.jpg
/home/pi/Desktop/images/09012025/16/38/image_09012025_16_38_02_199996_0000.jpg
/home/pi/Desktop/images/09012025/16/38/image_09012025_16_38_02_199996_0002.jpg
/home/pi/Desktop/images/09012025/16/38/image_09012025_16_38_02_199996_0003.jpg
 val : 1 : upload photos 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":["1327686695","1327686653","1327686656","1327686719","1327686706","1327686681"],"photo_ids_order":["1327686653","1327686656","1327686681","1327686695","1327686706","1327686719"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ba9f1ddbd453f9eab78dad08781a36c0.jpg","text":"TemporaryFile(/tmp/multipartBody7060247195066763041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449608232,"filename":"image_09012025_16_38_02_199996_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/305d85e60af61af431435b753cc6cbcc.jpg","text":"TemporaryFile(/tmp/multipartBody9074299763126465882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449608232,"filename":"image_09012025_16_37_02_975755_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8f8477f2851d3c72244c781f296367ed.jpg","text":"TemporaryFile(/tmp/multipartBody4491395152936131849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449608232,"filename":"image_09012025_16_37_02_975755_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f617f455ddcebc1b19e7a55952996940.jpg","text":"TemporaryFile(/tmp/multipartBody4243968703103670241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449608232,"filename":"image_09012025_16_38_02_199996_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/63ef35e18ad0b8a9282493b243ffec6c.jpg","text":"TemporaryFile(/tmp/multipartBody8374929484484513980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449608232,"filename":"image_09012025_16_38_02_199996_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0ffa10ef9e808a3faea20d75a060e06b.jpg","text":"TemporaryFile(/tmp/multipartBody3236237549111236752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449608232,"filename":"image_09012025_16_37_02_975755_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327686681","file1":"1327686656","file0":"1327686653","file4":"1327686706","file5":"1327686719","file3":"1327686695"},"map_files_photo_id_array":[{"photo_id":"1327686719","filename":"file5"},{"photo_id":"1327686681","filename":"file2"},{"photo_id":"1327686706","filename":"file4"},{"photo_id":"1327686656","filename":"file1"},{"photo_id":"1327686653","filename":"file0"},{"photo_id":"1327686695","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327686695":["hashtag1","hashtag2"]},{"1327686653":["hashtag1","hashtag2"]},{"1327686656":["hashtag1","hashtag2"]},{"1327686719":["hashtag1","hashtag2"]},{"1327686706":["hashtag1","hashtag2"]},{"1327686681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327686695, 1327686653, 1327686656, 1327686719, 1327686706, 1327686681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.87237501144409 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 20:06:52.555222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/39/image_09012025_16_39_02_318461_0000.jpg', '/home/pi/Desktop/images/09012025/16/39/image_09012025_16_39_02_318461_0002.jpg', '/home/pi/Desktop/images/09012025/16/39/image_09012025_16_39_02_318461_0003.jpg', '/home/pi/Desktop/images/09012025/16/40/image_09012025_16_40_02_572961_0001.jpg', '/home/pi/Desktop/images/09012025/16/40/image_09012025_16_40_02_572961_0002.jpg', '/home/pi/Desktop/images/09012025/16/40/image_09012025_16_40_02_572961_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/39/image_09012025_16_39_02_318461_0000.jpg
/home/pi/Desktop/images/09012025/16/39/image_09012025_16_39_02_318461_0002.jpg
/home/pi/Desktop/images/09012025/16/39/image_09012025_16_39_02_318461_0003.jpg
/home/pi/Desktop/images/09012025/16/40/image_09012025_16_40_02_572961_0001.jpg
/home/pi/Desktop/images/09012025/16/40/image_09012025_16_40_02_572961_0002.jpg
/home/pi/Desktop/images/09012025/16/40/image_09012025_16_40_02_572961_0003.jpg
 val : 1 : upload photos 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":["1327687160","1327687177","1327687162","1327687165","1327687170","1327687167"],"photo_ids_order":["1327687160","1327687162","1327687165","1327687167","1327687170","1327687177"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bf377033572d5918f561a9188163b733.jpg","text":"TemporaryFile(/tmp/multipartBody2549391724055017391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449713993,"filename":"image_09012025_16_39_02_318461_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/69e55459a5a42fc7401ab09985dc00f1.jpg","text":"TemporaryFile(/tmp/multipartBody760033248323036391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449713993,"filename":"image_09012025_16_40_02_572961_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/54beac08ddfa9894cf2852b9fe4f6637.jpg","text":"TemporaryFile(/tmp/multipartBody5736712052853673196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449713993,"filename":"image_09012025_16_39_02_318461_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/316c47e3525476ead541d1eda94ddc2c.jpg","text":"TemporaryFile(/tmp/multipartBody3870955260835392376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449713993,"filename":"image_09012025_16_39_02_318461_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e8169ed9a6684af036209318c122583d.jpg","text":"TemporaryFile(/tmp/multipartBody1073729548843061667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449713993,"filename":"image_09012025_16_40_02_572961_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/280be3d3174e2b814437449205ac2635.jpg","text":"TemporaryFile(/tmp/multipartBody8008948223254440567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449713993,"filename":"image_09012025_16_40_02_572961_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327687165","file1":"1327687162","file0":"1327687160","file4":"1327687170","file5":"1327687177","file3":"1327687167"},"map_files_photo_id_array":[{"photo_id":"1327687177","filename":"file5"},{"photo_id":"1327687165","filename":"file2"},{"photo_id":"1327687170","filename":"file4"},{"photo_id":"1327687162","filename":"file1"},{"photo_id":"1327687160","filename":"file0"},{"photo_id":"1327687167","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327687160":["hashtag1","hashtag2"]},{"1327687177":["hashtag1","hashtag2"]},{"1327687162":["hashtag1","hashtag2"]},{"1327687165":["hashtag1","hashtag2"]},{"1327687170":["hashtag1","hashtag2"]},{"1327687167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327687160, 1327687177, 1327687162, 1327687165, 1327687170, 1327687167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.54917192459106 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 20:08:31.946575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/41/image_09012025_16_41_02_708238_0000.jpg', '/home/pi/Desktop/images/09012025/16/41/image_09012025_16_41_02_708238_0001.jpg', '/home/pi/Desktop/images/09012025/16/41/image_09012025_16_41_02_708238_0002.jpg', '/home/pi/Desktop/images/09012025/16/41/image_09012025_16_41_02_708238_0003.jpg', '/home/pi/Desktop/images/09012025/16/42/image_09012025_16_42_02_826908_0000.jpg', '/home/pi/Desktop/images/09012025/16/42/image_09012025_16_42_02_826908_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/41/image_09012025_16_41_02_708238_0000.jpg
/home/pi/Desktop/images/09012025/16/41/image_09012025_16_41_02_708238_0001.jpg
/home/pi/Desktop/images/09012025/16/41/image_09012025_16_41_02_708238_0002.jpg
/home/pi/Desktop/images/09012025/16/41/image_09012025_16_41_02_708238_0003.jpg
/home/pi/Desktop/images/09012025/16/42/image_09012025_16_42_02_826908_0000.jpg
/home/pi/Desktop/images/09012025/16/42/image_09012025_16_42_02_826908_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327687244","1327687238","1327687225","1327687254","1327687263","1327687250"],"photo_ids_order":["1327687225","1327687238","1327687244","1327687250","1327687254","1327687263"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/23130cd0d01a5e6e9f57f2577f67c877.jpg","text":"TemporaryFile(/tmp/multipartBody2823378559616642608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449820274,"filename":"image_09012025_16_41_02_708238_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f921a2875d3f7eb3880fda146ad5b995.jpg","text":"TemporaryFile(/tmp/multipartBody7274952950945822202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449820274,"filename":"image_09012025_16_41_02_708238_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/50515a0528693f8718a8275d2698a41c.jpg","text":"TemporaryFile(/tmp/multipartBody6360691528246360749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449820274,"filename":"image_09012025_16_41_02_708238_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d57fbd66a3cbb849a2adcf42447fc548.jpg","text":"TemporaryFile(/tmp/multipartBody4244821167986338740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449820274,"filename":"image_09012025_16_42_02_826908_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/22143d89330ae774075d77262d2117d4.jpg","text":"TemporaryFile(/tmp/multipartBody5186327427150110266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449820274,"filename":"image_09012025_16_42_02_826908_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6fd0598002186ee3b479ebb1e54465b5.jpg","text":"TemporaryFile(/tmp/multipartBody8719257689422275275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449820274,"filename":"image_09012025_16_41_02_708238_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327687244","file1":"1327687238","file0":"1327687225","file4":"1327687254","file5":"1327687263","file3":"1327687250"},"map_files_photo_id_array":[{"photo_id":"1327687263","filename":"file5"},{"photo_id":"1327687244","filename":"file2"},{"photo_id":"1327687254","filename":"file4"},{"photo_id":"1327687238","filename":"file1"},{"photo_id":"1327687225","filename":"file0"},{"photo_id":"1327687250","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327687244":["hashtag1","hashtag2"]},{"1327687238":["hashtag1","hashtag2"]},{"1327687225":["hashtag1","hashtag2"]},{"1327687254":["hashtag1","hashtag2"]},{"1327687263":["hashtag1","hashtag2"]},{"1327687250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327687244, 1327687238, 1327687225, 1327687254, 1327687263, 1327687250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 103.66198015213013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 20:10:22.243023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/42/image_09012025_16_42_02_826908_0002.jpg', '/home/pi/Desktop/images/09012025/16/42/image_09012025_16_42_02_826908_0003.jpg', '/home/pi/Desktop/images/09012025/16/43/image_09012025_16_43_03_027608_0000.jpg', '/home/pi/Desktop/images/09012025/16/43/image_09012025_16_43_03_027608_0001.jpg', '/home/pi/Desktop/images/09012025/16/43/image_09012025_16_43_03_027608_0002.jpg', '/home/pi/Desktop/images/09012025/16/43/image_09012025_16_43_03_027608_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/42/image_09012025_16_42_02_826908_0002.jpg
/home/pi/Desktop/images/09012025/16/42/image_09012025_16_42_02_826908_0003.jpg
/home/pi/Desktop/images/09012025/16/43/image_09012025_16_43_03_027608_0000.jpg
/home/pi/Desktop/images/09012025/16/43/image_09012025_16_43_03_027608_0001.jpg
/home/pi/Desktop/images/09012025/16/43/image_09012025_16_43_03_027608_0002.jpg
/home/pi/Desktop/images/09012025/16/43/image_09012025_16_43_03_027608_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327687406","1327687414","1327687398","1327687365","1327687359","1327687379"],"photo_ids_order":["1327687359","1327687365","1327687379","1327687398","1327687406","1327687414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8fc52aec60fef2c1bd07a681046ccd65.jpg","text":"TemporaryFile(/tmp/multipartBody3734025008441500485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449924166,"filename":"image_09012025_16_43_03_027608_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e53ecf545872d475e0832e2f3b7576ce.jpg","text":"TemporaryFile(/tmp/multipartBody9059917788125084216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449924166,"filename":"image_09012025_16_43_03_027608_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4cfea55cebedc721c3b6ad59e13152eb.jpg","text":"TemporaryFile(/tmp/multipartBody9059593997666700530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449924166,"filename":"image_09012025_16_43_03_027608_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/57b393eeb7f785785e215911e0dd4fef.jpg","text":"TemporaryFile(/tmp/multipartBody6589090216811917632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449924166,"filename":"image_09012025_16_42_02_826908_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9ad60bdb9c9a4ee79a336a6a3ee5fa79.jpg","text":"TemporaryFile(/tmp/multipartBody7264845728843121034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449924166,"filename":"image_09012025_16_42_02_826908_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e32a08186c0d8ff89a19223702be1564.jpg","text":"TemporaryFile(/tmp/multipartBody4506503900127239375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736449924166,"filename":"image_09012025_16_43_03_027608_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327687379","file1":"1327687365","file0":"1327687359","file4":"1327687406","file5":"1327687414","file3":"1327687398"},"map_files_photo_id_array":[{"photo_id":"1327687414","filename":"file5"},{"photo_id":"1327687379","filename":"file2"},{"photo_id":"1327687406","filename":"file4"},{"photo_id":"1327687365","filename":"file1"},{"photo_id":"1327687359","filename":"file0"},{"photo_id":"1327687398","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327687406":["hashtag1","hashtag2"]},{"1327687414":["hashtag1","hashtag2"]},{"1327687398":["hashtag1","hashtag2"]},{"1327687365":["hashtag1","hashtag2"]},{"1327687359":["hashtag1","hashtag2"]},{"1327687379":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327687406, 1327687414, 1327687398, 1327687365, 1327687359, 1327687379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.59107780456543 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 20:12:03.108583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/44/image_09012025_16_44_02_221542_0000.jpg', '/home/pi/Desktop/images/09012025/16/44/image_09012025_16_44_02_221542_0003.jpg', '/home/pi/Desktop/images/09012025/16/45/image_09012025_16_45_02_383076_0000.jpg', '/home/pi/Desktop/images/09012025/16/45/image_09012025_16_45_02_383076_0001.jpg', '/home/pi/Desktop/images/09012025/16/45/image_09012025_16_45_02_383076_0002.jpg', '/home/pi/Desktop/images/09012025/16/45/image_09012025_16_45_02_383076_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/44/image_09012025_16_44_02_221542_0000.jpg
/home/pi/Desktop/images/09012025/16/44/image_09012025_16_44_02_221542_0003.jpg
/home/pi/Desktop/images/09012025/16/45/image_09012025_16_45_02_383076_0000.jpg
/home/pi/Desktop/images/09012025/16/45/image_09012025_16_45_02_383076_0001.jpg
/home/pi/Desktop/images/09012025/16/45/image_09012025_16_45_02_383076_0002.jpg
/home/pi/Desktop/images/09012025/16/45/image_09012025_16_45_02_383076_0003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 28.76766800880432 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 20:12:32.684639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/44/image_09012025_16_44_02_221542_0000.jpg', '/home/pi/Desktop/images/09012025/16/44/image_09012025_16_44_02_221542_0003.jpg', '/home/pi/Desktop/images/09012025/16/45/image_09012025_16_45_02_383076_0000.jpg', '/home/pi/Desktop/images/09012025/16/45/image_09012025_16_45_02_383076_0001.jpg', '/home/pi/Desktop/images/09012025/16/45/image_09012025_16_45_02_383076_0002.jpg', '/home/pi/Desktop/images/09012025/16/45/image_09012025_16_45_02_383076_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/44/image_09012025_16_44_02_221542_0000.jpg
/home/pi/Desktop/images/09012025/16/44/image_09012025_16_44_02_221542_0003.jpg
/home/pi/Desktop/images/09012025/16/45/image_09012025_16_45_02_383076_0000.jpg
/home/pi/Desktop/images/09012025/16/45/image_09012025_16_45_02_383076_0001.jpg
/home/pi/Desktop/images/09012025/16/45/image_09012025_16_45_02_383076_0002.jpg
/home/pi/Desktop/images/09012025/16/45/image_09012025_16_45_02_383076_0003.jpg
 val : 1 : upload photos 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":["1327687634","1327687601","1327687585","1327687594","1327687590","1327687605"],"photo_ids_order":["1327687585","1327687590","1327687594","1327687601","1327687605","1327687634"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/24ba64486a7b0eae3dbc73bb6c29c89f.jpg","text":"TemporaryFile(/tmp/multipartBody766103239592785675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450042550,"filename":"image_09012025_16_45_02_383076_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a533373130a0bcb708f6fed3f8bb4647.jpg","text":"TemporaryFile(/tmp/multipartBody2017445297810320625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450042550,"filename":"image_09012025_16_45_02_383076_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b3f23a5c1c1877617bab56a18baed426.jpg","text":"TemporaryFile(/tmp/multipartBody5862812987046253322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450042550,"filename":"image_09012025_16_44_02_221542_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0545cc16f9198109bb68f64ff6ae2e08.jpg","text":"TemporaryFile(/tmp/multipartBody412118329649514337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450042550,"filename":"image_09012025_16_45_02_383076_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/46f78d7cc2521cd4816927e161945f81.jpg","text":"TemporaryFile(/tmp/multipartBody4855143199917961813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450042550,"filename":"image_09012025_16_44_02_221542_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a6a675460ac80974502a0ab2448de261.jpg","text":"TemporaryFile(/tmp/multipartBody5170971003207534560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450042550,"filename":"image_09012025_16_45_02_383076_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327687594","file1":"1327687590","file0":"1327687585","file4":"1327687605","file5":"1327687634","file3":"1327687601"},"map_files_photo_id_array":[{"photo_id":"1327687634","filename":"file5"},{"photo_id":"1327687594","filename":"file2"},{"photo_id":"1327687605","filename":"file4"},{"photo_id":"1327687590","filename":"file1"},{"photo_id":"1327687585","filename":"file0"},{"photo_id":"1327687601","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327687634":["hashtag1","hashtag2"]},{"1327687601":["hashtag1","hashtag2"]},{"1327687585":["hashtag1","hashtag2"]},{"1327687594":["hashtag1","hashtag2"]},{"1327687590":["hashtag1","hashtag2"]},{"1327687605":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327687634, 1327687601, 1327687585, 1327687594, 1327687590, 1327687605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.05494976043701 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 20:14:02.500918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/46/image_09012025_16_46_02_588342_0000.jpg', '/home/pi/Desktop/images/09012025/16/46/image_09012025_16_46_02_588342_0001.jpg', '/home/pi/Desktop/images/09012025/16/46/image_09012025_16_46_02_588342_0002.jpg', '/home/pi/Desktop/images/09012025/16/46/image_09012025_16_46_02_588342_0003.jpg', '/home/pi/Desktop/images/09012025/16/47/image_09012025_16_47_02_781276_0000.jpg', '/home/pi/Desktop/images/09012025/16/47/image_09012025_16_47_02_781276_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/46/image_09012025_16_46_02_588342_0000.jpg
/home/pi/Desktop/images/09012025/16/46/image_09012025_16_46_02_588342_0001.jpg
/home/pi/Desktop/images/09012025/16/46/image_09012025_16_46_02_588342_0002.jpg
/home/pi/Desktop/images/09012025/16/46/image_09012025_16_46_02_588342_0003.jpg
/home/pi/Desktop/images/09012025/16/47/image_09012025_16_47_02_781276_0000.jpg
/home/pi/Desktop/images/09012025/16/47/image_09012025_16_47_02_781276_0001.jpg
 val : 1 : upload photos 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":["1327687687","1327687680","1327687698","1327687683","1327687692","1327687694"],"photo_ids_order":["1327687680","1327687683","1327687687","1327687692","1327687694","1327687698"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/869498c07104c49e1cab6748c2a36424.jpg","text":"TemporaryFile(/tmp/multipartBody936570403180730504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450148911,"filename":"image_09012025_16_46_02_588342_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cf4a4e88dd2179c299b7d0ba03f6b3b3.jpg","text":"TemporaryFile(/tmp/multipartBody1367324410488388454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450148911,"filename":"image_09012025_16_46_02_588342_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bc7a38e8f17a57b74f7d6bb643b82164.jpg","text":"TemporaryFile(/tmp/multipartBody5100679976188662033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450148911,"filename":"image_09012025_16_47_02_781276_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9beda6cb550e490ac9583d50f560bf8f.jpg","text":"TemporaryFile(/tmp/multipartBody9025776454129672598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450148911,"filename":"image_09012025_16_46_02_588342_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/660aea2eec9646174eea31ac8321c440.jpg","text":"TemporaryFile(/tmp/multipartBody5677486427682098453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450148911,"filename":"image_09012025_16_46_02_588342_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e2a9d1c67c29b118adfbd003affdd4ac.jpg","text":"TemporaryFile(/tmp/multipartBody4316341851510460598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450148911,"filename":"image_09012025_16_47_02_781276_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327687687","file1":"1327687683","file0":"1327687680","file4":"1327687694","file5":"1327687698","file3":"1327687692"},"map_files_photo_id_array":[{"photo_id":"1327687698","filename":"file5"},{"photo_id":"1327687687","filename":"file2"},{"photo_id":"1327687694","filename":"file4"},{"photo_id":"1327687683","filename":"file1"},{"photo_id":"1327687680","filename":"file0"},{"photo_id":"1327687692","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327687687":["hashtag1","hashtag2"]},{"1327687680":["hashtag1","hashtag2"]},{"1327687698":["hashtag1","hashtag2"]},{"1327687683":["hashtag1","hashtag2"]},{"1327687692":["hashtag1","hashtag2"]},{"1327687694":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327687687, 1327687680, 1327687698, 1327687683, 1327687692, 1327687694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.10214471817017 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 20:15:42.317801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/47/image_09012025_16_47_02_781276_0002.jpg', '/home/pi/Desktop/images/09012025/16/47/image_09012025_16_47_02_781276_0003.jpg', '/home/pi/Desktop/images/09012025/16/48/image_09012025_16_48_02_999406_0000.jpg', '/home/pi/Desktop/images/09012025/16/48/image_09012025_16_48_02_999406_0001.jpg', '/home/pi/Desktop/images/09012025/16/48/image_09012025_16_48_02_999406_0002.jpg', '/home/pi/Desktop/images/09012025/16/48/image_09012025_16_48_02_999406_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/47/image_09012025_16_47_02_781276_0002.jpg
/home/pi/Desktop/images/09012025/16/47/image_09012025_16_47_02_781276_0003.jpg
/home/pi/Desktop/images/09012025/16/48/image_09012025_16_48_02_999406_0000.jpg
/home/pi/Desktop/images/09012025/16/48/image_09012025_16_48_02_999406_0001.jpg
/home/pi/Desktop/images/09012025/16/48/image_09012025_16_48_02_999406_0002.jpg
/home/pi/Desktop/images/09012025/16/48/image_09012025_16_48_02_999406_0003.jpg
 val : 1 : upload photos 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":["1327687757","1327687751","1327687727","1327687765","1327687753","1327687762"],"photo_ids_order":["1327687727","1327687751","1327687753","1327687757","1327687762","1327687765"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fc93a2f2909fba9e4e23337789254b52.jpg","text":"TemporaryFile(/tmp/multipartBody5062178391491342019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450238183,"filename":"image_09012025_16_48_02_999406_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/73166b959db9f9f4da3e154f123f8ab4.jpg","text":"TemporaryFile(/tmp/multipartBody3335388850800090740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450238183,"filename":"image_09012025_16_47_02_781276_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1f3d34ded7f3c67df9d4adaeebdd5538.jpg","text":"TemporaryFile(/tmp/multipartBody5631188575351031360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450238183,"filename":"image_09012025_16_47_02_781276_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8f3e29c62989d39d46ee061a0e7beb80.jpg","text":"TemporaryFile(/tmp/multipartBody7161234030312823414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450238183,"filename":"image_09012025_16_48_02_999406_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/acaf5605d8117ff4a4ccada2866a9405.jpg","text":"TemporaryFile(/tmp/multipartBody1863632068242488409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450238183,"filename":"image_09012025_16_48_02_999406_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/69f587cc305ee7d2e3d93af03637551c.jpg","text":"TemporaryFile(/tmp/multipartBody5329243961079097523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450238183,"filename":"image_09012025_16_48_02_999406_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327687753","file1":"1327687751","file0":"1327687727","file4":"1327687762","file5":"1327687765","file3":"1327687757"},"map_files_photo_id_array":[{"photo_id":"1327687765","filename":"file5"},{"photo_id":"1327687753","filename":"file2"},{"photo_id":"1327687762","filename":"file4"},{"photo_id":"1327687751","filename":"file1"},{"photo_id":"1327687727","filename":"file0"},{"photo_id":"1327687757","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327687757":["hashtag1","hashtag2"]},{"1327687751":["hashtag1","hashtag2"]},{"1327687727":["hashtag1","hashtag2"]},{"1327687765":["hashtag1","hashtag2"]},{"1327687753":["hashtag1","hashtag2"]},{"1327687762":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327687757, 1327687751, 1327687727, 1327687765, 1327687753, 1327687762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.12742710113525 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 20:17:21.703294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/49/image_09012025_16_49_02_290563_0000.jpg', '/home/pi/Desktop/images/09012025/16/49/image_09012025_16_49_02_290563_0001.jpg', '/home/pi/Desktop/images/09012025/16/49/image_09012025_16_49_02_290563_0002.jpg', '/home/pi/Desktop/images/09012025/16/49/image_09012025_16_49_02_290563_0003.jpg', '/home/pi/Desktop/images/09012025/16/50/image_09012025_16_50_02_399743_0000.jpg', '/home/pi/Desktop/images/09012025/16/50/image_09012025_16_50_02_399743_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/49/image_09012025_16_49_02_290563_0000.jpg
/home/pi/Desktop/images/09012025/16/49/image_09012025_16_49_02_290563_0001.jpg
/home/pi/Desktop/images/09012025/16/49/image_09012025_16_49_02_290563_0002.jpg
/home/pi/Desktop/images/09012025/16/49/image_09012025_16_49_02_290563_0003.jpg
/home/pi/Desktop/images/09012025/16/50/image_09012025_16_50_02_399743_0000.jpg
/home/pi/Desktop/images/09012025/16/50/image_09012025_16_50_02_399743_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327687835","1327687850","1327687844","1327687826","1327687840","1327687830"],"photo_ids_order":["1327687826","1327687830","1327687835","1327687840","1327687844","1327687850"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4a8f5d6c42afb082dbf164545549fcd7.jpg","text":"TemporaryFile(/tmp/multipartBody7815927693294267591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450343007,"filename":"image_09012025_16_49_02_290563_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/972cdfa31811955b65608aecfb949749.jpg","text":"TemporaryFile(/tmp/multipartBody4876539147126451120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450343007,"filename":"image_09012025_16_50_02_399743_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/92781650fcda4c590a0b7fdb862aeea6.jpg","text":"TemporaryFile(/tmp/multipartBody4033668520222255759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450343007,"filename":"image_09012025_16_50_02_399743_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/32c1bbd70d0b97f6999aa4e5438ec444.jpg","text":"TemporaryFile(/tmp/multipartBody2341323772919255089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450343007,"filename":"image_09012025_16_49_02_290563_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/71d2f362f065d39dc8dbdb76a91d1c14.jpg","text":"TemporaryFile(/tmp/multipartBody3229883249529086020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450343007,"filename":"image_09012025_16_49_02_290563_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6232baaa7b34fdc13f8ba51d3aa98b0d.jpg","text":"TemporaryFile(/tmp/multipartBody6593133112297657477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450343007,"filename":"image_09012025_16_49_02_290563_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327687835","file1":"1327687830","file0":"1327687826","file4":"1327687844","file5":"1327687850","file3":"1327687840"},"map_files_photo_id_array":[{"photo_id":"1327687850","filename":"file5"},{"photo_id":"1327687835","filename":"file2"},{"photo_id":"1327687844","filename":"file4"},{"photo_id":"1327687830","filename":"file1"},{"photo_id":"1327687826","filename":"file0"},{"photo_id":"1327687840","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327687835":["hashtag1","hashtag2"]},{"1327687850":["hashtag1","hashtag2"]},{"1327687844":["hashtag1","hashtag2"]},{"1327687826":["hashtag1","hashtag2"]},{"1327687840":["hashtag1","hashtag2"]},{"1327687830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327687835, 1327687850, 1327687844, 1327687826, 1327687840, 1327687830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.66556334495544 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 20:19:02.757259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/50/image_09012025_16_50_02_399743_0002.jpg', '/home/pi/Desktop/images/09012025/16/50/image_09012025_16_50_02_399743_0003.jpg', '/home/pi/Desktop/images/09012025/16/51/image_09012025_16_51_02_554153_0000.jpg', '/home/pi/Desktop/images/09012025/16/51/image_09012025_16_51_02_554153_0001.jpg', '/home/pi/Desktop/images/09012025/16/51/image_09012025_16_51_02_554153_0002.jpg', '/home/pi/Desktop/images/09012025/16/51/image_09012025_16_51_02_554153_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/50/image_09012025_16_50_02_399743_0002.jpg
/home/pi/Desktop/images/09012025/16/50/image_09012025_16_50_02_399743_0003.jpg
/home/pi/Desktop/images/09012025/16/51/image_09012025_16_51_02_554153_0000.jpg
/home/pi/Desktop/images/09012025/16/51/image_09012025_16_51_02_554153_0001.jpg
/home/pi/Desktop/images/09012025/16/51/image_09012025_16_51_02_554153_0002.jpg
/home/pi/Desktop/images/09012025/16/51/image_09012025_16_51_02_554153_0003.jpg
 val : 1 : upload photos 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":["1327687912","1327687921","1327687909","1327687875","1327687917","1327687908"],"photo_ids_order":["1327687875","1327687908","1327687909","1327687912","1327687917","1327687921"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/85771853bd10c12a0d0942df1dae784c.jpg","text":"TemporaryFile(/tmp/multipartBody7337354382309962682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450441045,"filename":"image_09012025_16_51_02_554153_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/980358d0a565e304b3538942849994f5.jpg","text":"TemporaryFile(/tmp/multipartBody4305199540401668615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450441045,"filename":"image_09012025_16_51_02_554153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8093f0f818baa65eca2f69fee2f922fb.jpg","text":"TemporaryFile(/tmp/multipartBody6334565320841540301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450441045,"filename":"image_09012025_16_51_02_554153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b39ddaaf950073d87d1ee91b899d7c9f.jpg","text":"TemporaryFile(/tmp/multipartBody1453678767110656678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450441045,"filename":"image_09012025_16_50_02_399743_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/81a207197b4f1a7291d4bde82d36492f.jpg","text":"TemporaryFile(/tmp/multipartBody8307924876559213254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450441045,"filename":"image_09012025_16_51_02_554153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a6a8ab109d5ce8a84fb9a61573e99540.jpg","text":"TemporaryFile(/tmp/multipartBody3978340832781421873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450441045,"filename":"image_09012025_16_50_02_399743_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327687909","file1":"1327687908","file0":"1327687875","file4":"1327687917","file5":"1327687921","file3":"1327687912"},"map_files_photo_id_array":[{"photo_id":"1327687921","filename":"file5"},{"photo_id":"1327687909","filename":"file2"},{"photo_id":"1327687917","filename":"file4"},{"photo_id":"1327687908","filename":"file1"},{"photo_id":"1327687875","filename":"file0"},{"photo_id":"1327687912","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327687912":["hashtag1","hashtag2"]},{"1327687921":["hashtag1","hashtag2"]},{"1327687909":["hashtag1","hashtag2"]},{"1327687875":["hashtag1","hashtag2"]},{"1327687917":["hashtag1","hashtag2"]},{"1327687908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327687912, 1327687921, 1327687909, 1327687875, 1327687917, 1327687908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.4824447631836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 20:20:42.388716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/52/image_09012025_16_52_02_866027_0000.jpg', '/home/pi/Desktop/images/09012025/16/52/image_09012025_16_52_02_866027_0001.jpg', '/home/pi/Desktop/images/09012025/16/52/image_09012025_16_52_02_866027_0002.jpg', '/home/pi/Desktop/images/09012025/16/52/image_09012025_16_52_02_866027_0003.jpg', '/home/pi/Desktop/images/09012025/16/53/image_09012025_16_53_02_915391_0000.jpg', '/home/pi/Desktop/images/09012025/16/53/image_09012025_16_53_02_915391_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/52/image_09012025_16_52_02_866027_0000.jpg
/home/pi/Desktop/images/09012025/16/52/image_09012025_16_52_02_866027_0001.jpg
/home/pi/Desktop/images/09012025/16/52/image_09012025_16_52_02_866027_0002.jpg
/home/pi/Desktop/images/09012025/16/52/image_09012025_16_52_02_866027_0003.jpg
/home/pi/Desktop/images/09012025/16/53/image_09012025_16_53_02_915391_0000.jpg
/home/pi/Desktop/images/09012025/16/53/image_09012025_16_53_02_915391_0001.jpg
 val : 1 : upload photos 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":["1327687955","1327687998","1327687974","1327687953","1327687964","1327687994"],"photo_ids_order":["1327687953","1327687955","1327687964","1327687974","1327687994","1327687998"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/33d49f748e59cc5c30e75e3e3ee9a79c.jpg","text":"TemporaryFile(/tmp/multipartBody1860125991147684402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450545868,"filename":"image_09012025_16_52_02_866027_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/abbc512c3b81c0acd6832b98696b0fc4.jpg","text":"TemporaryFile(/tmp/multipartBody1358675765964063623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450545868,"filename":"image_09012025_16_53_02_915391_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5ed3a233e251e4210746ed7e0e18d9d5.jpg","text":"TemporaryFile(/tmp/multipartBody5761768881966575144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450545868,"filename":"image_09012025_16_52_02_866027_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a55760f6936012d98da98c4c53cb34ee.jpg","text":"TemporaryFile(/tmp/multipartBody8569079653834651533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450545868,"filename":"image_09012025_16_52_02_866027_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d67c3497e8b5a2bf90bdf67f987f0e03.jpg","text":"TemporaryFile(/tmp/multipartBody6931421687822545357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450545868,"filename":"image_09012025_16_52_02_866027_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/351e896cfb8a888a5fabb42025bbf86b.jpg","text":"TemporaryFile(/tmp/multipartBody2752679891014242401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450545868,"filename":"image_09012025_16_53_02_915391_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327687964","file1":"1327687955","file0":"1327687953","file4":"1327687994","file5":"1327687998","file3":"1327687974"},"map_files_photo_id_array":[{"photo_id":"1327687998","filename":"file5"},{"photo_id":"1327687964","filename":"file2"},{"photo_id":"1327687994","filename":"file4"},{"photo_id":"1327687955","filename":"file1"},{"photo_id":"1327687953","filename":"file0"},{"photo_id":"1327687974","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327687955":["hashtag1","hashtag2"]},{"1327687998":["hashtag1","hashtag2"]},{"1327687974":["hashtag1","hashtag2"]},{"1327687953":["hashtag1","hashtag2"]},{"1327687964":["hashtag1","hashtag2"]},{"1327687994":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327687955, 1327687998, 1327687974, 1327687953, 1327687964, 1327687994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.28678369522095 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 20:22:22.726773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/53/image_09012025_16_53_02_915391_0002.jpg', '/home/pi/Desktop/images/09012025/16/53/image_09012025_16_53_02_915391_0003.jpg', '/home/pi/Desktop/images/09012025/16/54/image_09012025_16_54_03_115168_0000.jpg', '/home/pi/Desktop/images/09012025/16/54/image_09012025_16_54_03_115168_0001.jpg', '/home/pi/Desktop/images/09012025/16/54/image_09012025_16_54_03_115168_0002.jpg', '/home/pi/Desktop/images/09012025/16/54/image_09012025_16_54_03_115168_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/53/image_09012025_16_53_02_915391_0002.jpg
/home/pi/Desktop/images/09012025/16/53/image_09012025_16_53_02_915391_0003.jpg
/home/pi/Desktop/images/09012025/16/54/image_09012025_16_54_03_115168_0000.jpg
/home/pi/Desktop/images/09012025/16/54/image_09012025_16_54_03_115168_0001.jpg
/home/pi/Desktop/images/09012025/16/54/image_09012025_16_54_03_115168_0002.jpg
/home/pi/Desktop/images/09012025/16/54/image_09012025_16_54_03_115168_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 36.410170555114746 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 20:23:02.484892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/53/image_09012025_16_53_02_915391_0002.jpg', '/home/pi/Desktop/images/09012025/16/53/image_09012025_16_53_02_915391_0003.jpg', '/home/pi/Desktop/images/09012025/16/54/image_09012025_16_54_03_115168_0000.jpg', '/home/pi/Desktop/images/09012025/16/54/image_09012025_16_54_03_115168_0001.jpg', '/home/pi/Desktop/images/09012025/16/54/image_09012025_16_54_03_115168_0002.jpg', '/home/pi/Desktop/images/09012025/16/54/image_09012025_16_54_03_115168_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/53/image_09012025_16_53_02_915391_0002.jpg
/home/pi/Desktop/images/09012025/16/53/image_09012025_16_53_02_915391_0003.jpg
/home/pi/Desktop/images/09012025/16/54/image_09012025_16_54_03_115168_0000.jpg
/home/pi/Desktop/images/09012025/16/54/image_09012025_16_54_03_115168_0001.jpg
/home/pi/Desktop/images/09012025/16/54/image_09012025_16_54_03_115168_0002.jpg
/home/pi/Desktop/images/09012025/16/54/image_09012025_16_54_03_115168_0003.jpg
 val : 1 : upload photos 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":["1327688083","1327688077","1327688068","1327688073","1327688081","1327688063"],"photo_ids_order":["1327688063","1327688068","1327688073","1327688077","1327688081","1327688083"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ade07ce995ddc24489d57b4cd4b831bb.jpg","text":"TemporaryFile(/tmp/multipartBody2064180685383292122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450679206,"filename":"image_09012025_16_54_03_115168_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/58a0c8995565afb1826fa2095a30f1bc.jpg","text":"TemporaryFile(/tmp/multipartBody4767805843442232159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450679206,"filename":"image_09012025_16_54_03_115168_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e35202adf2851a1e467aa32845dea118.jpg","text":"TemporaryFile(/tmp/multipartBody493744481886402881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450679206,"filename":"image_09012025_16_53_02_915391_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/58af7f09740f6ea98b98c071ad1c8bc9.jpg","text":"TemporaryFile(/tmp/multipartBody3585137679493198473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450679206,"filename":"image_09012025_16_54_03_115168_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/73f97a65787fa3bbade4e9b5302c0613.jpg","text":"TemporaryFile(/tmp/multipartBody7553813620838684397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450679206,"filename":"image_09012025_16_54_03_115168_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6698cb11ab667623230409732c29cd4f.jpg","text":"TemporaryFile(/tmp/multipartBody8411863371094310073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450679206,"filename":"image_09012025_16_53_02_915391_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327688073","file1":"1327688068","file0":"1327688063","file4":"1327688081","file5":"1327688083","file3":"1327688077"},"map_files_photo_id_array":[{"photo_id":"1327688083","filename":"file5"},{"photo_id":"1327688073","filename":"file2"},{"photo_id":"1327688081","filename":"file4"},{"photo_id":"1327688068","filename":"file1"},{"photo_id":"1327688063","filename":"file0"},{"photo_id":"1327688077","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327688083":["hashtag1","hashtag2"]},{"1327688077":["hashtag1","hashtag2"]},{"1327688068":["hashtag1","hashtag2"]},{"1327688073":["hashtag1","hashtag2"]},{"1327688081":["hashtag1","hashtag2"]},{"1327688063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327688083, 1327688077, 1327688068, 1327688073, 1327688081, 1327688063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.44030380249023 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 20:24:42.017883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/55/image_09012025_16_55_02_325313_0000.jpg', '/home/pi/Desktop/images/09012025/16/55/image_09012025_16_55_02_325313_0001.jpg', '/home/pi/Desktop/images/09012025/16/55/image_09012025_16_55_02_325313_0002.jpg', '/home/pi/Desktop/images/09012025/16/55/image_09012025_16_55_02_325313_0003.jpg', '/home/pi/Desktop/images/09012025/16/56/image_09012025_16_56_02_486829_0000.jpg', '/home/pi/Desktop/images/09012025/16/56/image_09012025_16_56_02_486829_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/55/image_09012025_16_55_02_325313_0000.jpg
/home/pi/Desktop/images/09012025/16/55/image_09012025_16_55_02_325313_0001.jpg
/home/pi/Desktop/images/09012025/16/55/image_09012025_16_55_02_325313_0002.jpg
/home/pi/Desktop/images/09012025/16/55/image_09012025_16_55_02_325313_0003.jpg
/home/pi/Desktop/images/09012025/16/56/image_09012025_16_56_02_486829_0000.jpg
/home/pi/Desktop/images/09012025/16/56/image_09012025_16_56_02_486829_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327688179","1327688230","1327688235","1327688214","1327688205","1327688171"],"photo_ids_order":["1327688171","1327688179","1327688205","1327688214","1327688230","1327688235"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/51f80cdec567062a904c6c4744c5d612.jpg","text":"TemporaryFile(/tmp/multipartBody3978628578477580202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450785964,"filename":"image_09012025_16_55_02_325313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/52ee9d4158870a9c6c4823ceac5b4fc4.jpg","text":"TemporaryFile(/tmp/multipartBody167873328366429116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450785964,"filename":"image_09012025_16_56_02_486829_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/15f12a1aab9bffb37eb30daafa51682c.jpg","text":"TemporaryFile(/tmp/multipartBody3389983439891790707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450785964,"filename":"image_09012025_16_56_02_486829_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2748c4fcaf82c9c1c97f6768991119ad.jpg","text":"TemporaryFile(/tmp/multipartBody410755372409874860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450785964,"filename":"image_09012025_16_55_02_325313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8604966adc3acfdc2c145c994c049fb5.jpg","text":"TemporaryFile(/tmp/multipartBody5847414340097075770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450785964,"filename":"image_09012025_16_55_02_325313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f950b056e8d5fa9bba41911777088209.jpg","text":"TemporaryFile(/tmp/multipartBody7625360040769774242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450785964,"filename":"image_09012025_16_55_02_325313_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327688205","file1":"1327688179","file0":"1327688171","file4":"1327688230","file5":"1327688235","file3":"1327688214"},"map_files_photo_id_array":[{"photo_id":"1327688235","filename":"file5"},{"photo_id":"1327688205","filename":"file2"},{"photo_id":"1327688230","filename":"file4"},{"photo_id":"1327688179","filename":"file1"},{"photo_id":"1327688171","filename":"file0"},{"photo_id":"1327688214","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327688179":["hashtag1","hashtag2"]},{"1327688230":["hashtag1","hashtag2"]},{"1327688235":["hashtag1","hashtag2"]},{"1327688214":["hashtag1","hashtag2"]},{"1327688205":["hashtag1","hashtag2"]},{"1327688171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327688179, 1327688230, 1327688235, 1327688214, 1327688205, 1327688171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.72349858283997 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 20:26:32.447224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/56/image_09012025_16_56_02_486829_0002.jpg', '/home/pi/Desktop/images/09012025/16/56/image_09012025_16_56_02_486829_0003.jpg', '/home/pi/Desktop/images/09012025/16/57/image_09012025_16_57_02_664450_0000.jpg', '/home/pi/Desktop/images/09012025/16/57/image_09012025_16_57_02_664450_0001.jpg', '/home/pi/Desktop/images/09012025/16/57/image_09012025_16_57_02_664450_0002.jpg', '/home/pi/Desktop/images/09012025/16/57/image_09012025_16_57_02_664450_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/56/image_09012025_16_56_02_486829_0002.jpg
/home/pi/Desktop/images/09012025/16/56/image_09012025_16_56_02_486829_0003.jpg
/home/pi/Desktop/images/09012025/16/57/image_09012025_16_57_02_664450_0000.jpg
/home/pi/Desktop/images/09012025/16/57/image_09012025_16_57_02_664450_0001.jpg
/home/pi/Desktop/images/09012025/16/57/image_09012025_16_57_02_664450_0002.jpg
/home/pi/Desktop/images/09012025/16/57/image_09012025_16_57_02_664450_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327688295","1327688304","1327688307","1327688282","1327688264","1327688258"],"photo_ids_order":["1327688258","1327688264","1327688282","1327688295","1327688304","1327688307"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d0dacf7c948de3603336acfab7a767bc.jpg","text":"TemporaryFile(/tmp/multipartBody8256035959576057061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450889232,"filename":"image_09012025_16_57_02_664450_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ef69c66c1bc2a7e92c504abcf62d9316.jpg","text":"TemporaryFile(/tmp/multipartBody6355737452830402505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450889232,"filename":"image_09012025_16_57_02_664450_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4dda9d120a3a151f0c1e287e1db78cd8.jpg","text":"TemporaryFile(/tmp/multipartBody4673674685251693362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450889232,"filename":"image_09012025_16_57_02_664450_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/17b86d19f89e638a45f6e62343cd30dc.jpg","text":"TemporaryFile(/tmp/multipartBody7645912294012324819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450889232,"filename":"image_09012025_16_57_02_664450_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/91d292c5a1c0abf8cdce53258365608d.jpg","text":"TemporaryFile(/tmp/multipartBody1793585797773739152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450889232,"filename":"image_09012025_16_56_02_486829_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c86cc1d2b09e3ee78216a6ff575d76ea.jpg","text":"TemporaryFile(/tmp/multipartBody6990756692193132987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736450889232,"filename":"image_09012025_16_56_02_486829_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327688282","file1":"1327688264","file0":"1327688258","file4":"1327688304","file5":"1327688307","file3":"1327688295"},"map_files_photo_id_array":[{"photo_id":"1327688307","filename":"file5"},{"photo_id":"1327688282","filename":"file2"},{"photo_id":"1327688304","filename":"file4"},{"photo_id":"1327688264","filename":"file1"},{"photo_id":"1327688258","filename":"file0"},{"photo_id":"1327688295","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327688295":["hashtag1","hashtag2"]},{"1327688304":["hashtag1","hashtag2"]},{"1327688307":["hashtag1","hashtag2"]},{"1327688282":["hashtag1","hashtag2"]},{"1327688264":["hashtag1","hashtag2"]},{"1327688258":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327688295, 1327688304, 1327688307, 1327688282, 1327688264, 1327688258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.93778896331787 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 20:28:21.817178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/16/58/image_09012025_16_58_02_912691_0000.jpg', '/home/pi/Desktop/images/09012025/16/58/image_09012025_16_58_02_912691_0001.jpg', '/home/pi/Desktop/images/09012025/16/58/image_09012025_16_58_02_912691_0002.jpg', '/home/pi/Desktop/images/09012025/16/58/image_09012025_16_58_02_912691_0003.jpg', '/home/pi/Desktop/images/09012025/16/59/image_09012025_16_59_03_120099_0000.jpg', '/home/pi/Desktop/images/09012025/16/59/image_09012025_16_59_03_120099_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/16/58/image_09012025_16_58_02_912691_0000.jpg
/home/pi/Desktop/images/09012025/16/58/image_09012025_16_58_02_912691_0001.jpg
/home/pi/Desktop/images/09012025/16/58/image_09012025_16_58_02_912691_0002.jpg
/home/pi/Desktop/images/09012025/16/58/image_09012025_16_58_02_912691_0003.jpg
/home/pi/Desktop/images/09012025/16/59/image_09012025_16_59_03_120099_0000.jpg
/home/pi/Desktop/images/09012025/16/59/image_09012025_16_59_03_120099_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327688501","1327688362","1327688332","1327688512","1327688506","1327688490"],"photo_ids_order":["1327688332","1327688362","1327688490","1327688501","1327688506","1327688512"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2def7aea8532148da9256def63df05ce.jpg","text":"TemporaryFile(/tmp/multipartBody118113555067251412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451000691,"filename":"image_09012025_16_58_02_912691_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/619128beb2446bdc294282ccad0dd1c8.jpg","text":"TemporaryFile(/tmp/multipartBody8283821422370791870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451000691,"filename":"image_09012025_16_58_02_912691_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/210fde721fe38b7c88bdc2fb9aedfa27.jpg","text":"TemporaryFile(/tmp/multipartBody2658804212625318074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451000691,"filename":"image_09012025_16_58_02_912691_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b6022d97a3a7228cc7ce1d553ceecd33.jpg","text":"TemporaryFile(/tmp/multipartBody2050603125953883096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451000691,"filename":"image_09012025_16_59_03_120099_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/20129d3dbc34d6d693789a952c48dcde.jpg","text":"TemporaryFile(/tmp/multipartBody3456729139982812028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451000691,"filename":"image_09012025_16_59_03_120099_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f5a108442b289b8e27285ab3147d6d80.jpg","text":"TemporaryFile(/tmp/multipartBody3810508696005081855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451000691,"filename":"image_09012025_16_58_02_912691_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327688490","file1":"1327688362","file0":"1327688332","file4":"1327688506","file5":"1327688512","file3":"1327688501"},"map_files_photo_id_array":[{"photo_id":"1327688512","filename":"file5"},{"photo_id":"1327688490","filename":"file2"},{"photo_id":"1327688506","filename":"file4"},{"photo_id":"1327688362","filename":"file1"},{"photo_id":"1327688332","filename":"file0"},{"photo_id":"1327688501","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327688501":["hashtag1","hashtag2"]},{"1327688362":["hashtag1","hashtag2"]},{"1327688332":["hashtag1","hashtag2"]},{"1327688512":["hashtag1","hashtag2"]},{"1327688506":["hashtag1","hashtag2"]},{"1327688490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327688501, 1327688362, 1327688332, 1327688512, 1327688506, 1327688490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.26214241981506 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 20:30:02.590172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/17/00/image_09012025_17_00_02_303319_0000.jpg', '/home/pi/Desktop/images/09012025/17/00/image_09012025_17_00_02_303319_0001.jpg', '/home/pi/Desktop/images/09012025/17/00/image_09012025_17_00_02_303319_0002.jpg', '/home/pi/Desktop/images/09012025/17/00/image_09012025_17_00_02_303319_0003.jpg', '/home/pi/Desktop/images/09012025/18/00/image_09012025_18_00_02_386108_0000.jpg', '/home/pi/Desktop/images/09012025/18/00/image_09012025_18_00_02_386108_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/17/00/image_09012025_17_00_02_303319_0000.jpg
/home/pi/Desktop/images/09012025/17/00/image_09012025_17_00_02_303319_0001.jpg
/home/pi/Desktop/images/09012025/17/00/image_09012025_17_00_02_303319_0002.jpg
/home/pi/Desktop/images/09012025/17/00/image_09012025_17_00_02_303319_0003.jpg
/home/pi/Desktop/images/09012025/18/00/image_09012025_18_00_02_386108_0000.jpg
/home/pi/Desktop/images/09012025/18/00/image_09012025_18_00_02_386108_0001.jpg
 val : 1 : upload photos 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":["1327688575","1327688568","1327688565","1327688582","1327688561","1327688555"],"photo_ids_order":["1327688555","1327688561","1327688565","1327688568","1327688575","1327688582"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9bd4124b5d26dfa4f3005533f24ad494.jpg","text":"TemporaryFile(/tmp/multipartBody5297011764626051822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451097887,"filename":"image_09012025_18_00_02_386108_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b5a472aec76566b8a1c843848c94e2f2.jpg","text":"TemporaryFile(/tmp/multipartBody5357795124079833906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451097887,"filename":"image_09012025_17_00_02_303319_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5bb0b9de348117f6832b720aa1f67348.jpg","text":"TemporaryFile(/tmp/multipartBody3700925582595087296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451097887,"filename":"image_09012025_17_00_02_303319_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/05829ae9874e5a05347a12be440d634a.jpg","text":"TemporaryFile(/tmp/multipartBody8984846058515979401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451097887,"filename":"image_09012025_18_00_02_386108_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bb4f750de1688eb72ba12db0e4dcb47f.jpg","text":"TemporaryFile(/tmp/multipartBody6739773570861049393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451097887,"filename":"image_09012025_17_00_02_303319_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4fc0b470a8c2ff996084398328818b44.jpg","text":"TemporaryFile(/tmp/multipartBody7626116478668210266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451097887,"filename":"image_09012025_17_00_02_303319_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327688565","file1":"1327688561","file0":"1327688555","file4":"1327688575","file5":"1327688582","file3":"1327688568"},"map_files_photo_id_array":[{"photo_id":"1327688582","filename":"file5"},{"photo_id":"1327688565","filename":"file2"},{"photo_id":"1327688575","filename":"file4"},{"photo_id":"1327688561","filename":"file1"},{"photo_id":"1327688555","filename":"file0"},{"photo_id":"1327688568","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327688575":["hashtag1","hashtag2"]},{"1327688568":["hashtag1","hashtag2"]},{"1327688565":["hashtag1","hashtag2"]},{"1327688582":["hashtag1","hashtag2"]},{"1327688561":["hashtag1","hashtag2"]},{"1327688555":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327688575, 1327688568, 1327688565, 1327688582, 1327688561, 1327688555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.56515908241272 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 20:31:42.334582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/00/image_09012025_18_00_02_386108_0002.jpg', '/home/pi/Desktop/images/09012025/18/00/image_09012025_18_00_02_386108_0003.jpg', '/home/pi/Desktop/images/09012025/18/01/image_09012025_18_01_02_639614_0000.jpg', '/home/pi/Desktop/images/09012025/18/01/image_09012025_18_01_02_639614_0001.jpg', '/home/pi/Desktop/images/09012025/18/01/image_09012025_18_01_02_639614_0002.jpg', '/home/pi/Desktop/images/09012025/18/01/image_09012025_18_01_02_639614_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/00/image_09012025_18_00_02_386108_0002.jpg
/home/pi/Desktop/images/09012025/18/00/image_09012025_18_00_02_386108_0003.jpg
/home/pi/Desktop/images/09012025/18/01/image_09012025_18_01_02_639614_0000.jpg
/home/pi/Desktop/images/09012025/18/01/image_09012025_18_01_02_639614_0001.jpg
/home/pi/Desktop/images/09012025/18/01/image_09012025_18_01_02_639614_0002.jpg
/home/pi/Desktop/images/09012025/18/01/image_09012025_18_01_02_639614_0003.jpg
 val : 1 : upload photos 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":["1327688606","1327688782","1327688637","1327688745","1327688724","1327688717"],"photo_ids_order":["1327688606","1327688637","1327688717","1327688724","1327688745","1327688782"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/669a0c3d47c20293afa7b8c6259f2d4e.jpg","text":"TemporaryFile(/tmp/multipartBody8851100951195081914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451182337,"filename":"image_09012025_18_00_02_386108_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d7c33faf595537bed126ac1bc11e0ba4.jpg","text":"TemporaryFile(/tmp/multipartBody2370780932977574522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451182337,"filename":"image_09012025_18_01_02_639614_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/36949bf5585c3879ce001942f4e281d0.jpg","text":"TemporaryFile(/tmp/multipartBody2377472411190295251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451182337,"filename":"image_09012025_18_00_02_386108_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/52cc1745553644382466d62c3287ef29.jpg","text":"TemporaryFile(/tmp/multipartBody6661723878349936373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451182337,"filename":"image_09012025_18_01_02_639614_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/77f65c59027dbb369737f71fe58ae91d.jpg","text":"TemporaryFile(/tmp/multipartBody6884959544806540236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451182337,"filename":"image_09012025_18_01_02_639614_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2c3a1110c85d631adf5c2c3684a6f580.jpg","text":"TemporaryFile(/tmp/multipartBody8803285749196791900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451182337,"filename":"image_09012025_18_01_02_639614_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327688717","file1":"1327688637","file0":"1327688606","file4":"1327688745","file5":"1327688782","file3":"1327688724"},"map_files_photo_id_array":[{"photo_id":"1327688782","filename":"file5"},{"photo_id":"1327688717","filename":"file2"},{"photo_id":"1327688745","filename":"file4"},{"photo_id":"1327688637","filename":"file1"},{"photo_id":"1327688606","filename":"file0"},{"photo_id":"1327688724","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327688606":["hashtag1","hashtag2"]},{"1327688782":["hashtag1","hashtag2"]},{"1327688637":["hashtag1","hashtag2"]},{"1327688745":["hashtag1","hashtag2"]},{"1327688724":["hashtag1","hashtag2"]},{"1327688717":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327688606, 1327688782, 1327688637, 1327688745, 1327688724, 1327688717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.4023666381836 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 20:33:03.210883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/02/image_09012025_18_02_02_738125_0000.jpg', '/home/pi/Desktop/images/09012025/18/02/image_09012025_18_02_02_738125_0001.jpg', '/home/pi/Desktop/images/09012025/18/02/image_09012025_18_02_02_738125_0002.jpg', '/home/pi/Desktop/images/09012025/18/02/image_09012025_18_02_02_738125_0003.jpg', '/home/pi/Desktop/images/09012025/18/03/image_09012025_18_03_03_028085_0000.jpg', '/home/pi/Desktop/images/09012025/18/03/image_09012025_18_03_03_028085_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/02/image_09012025_18_02_02_738125_0000.jpg
/home/pi/Desktop/images/09012025/18/02/image_09012025_18_02_02_738125_0001.jpg
/home/pi/Desktop/images/09012025/18/02/image_09012025_18_02_02_738125_0002.jpg
/home/pi/Desktop/images/09012025/18/02/image_09012025_18_02_02_738125_0003.jpg
/home/pi/Desktop/images/09012025/18/03/image_09012025_18_03_03_028085_0000.jpg
/home/pi/Desktop/images/09012025/18/03/image_09012025_18_03_03_028085_0001.jpg
 val : 1 : upload photos 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":["1327688881","1327688911","1327688871","1327688868","1327688876","1327688873"],"photo_ids_order":["1327688868","1327688871","1327688873","1327688876","1327688881","1327688911"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7981a7f53e6157c4635656287f96ff55.jpg","text":"TemporaryFile(/tmp/multipartBody6277536674703997639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451281415,"filename":"image_09012025_18_03_03_028085_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e3f3076b9c1ee1c347fd6ff61e351637.jpg","text":"TemporaryFile(/tmp/multipartBody3970963977857099848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451281415,"filename":"image_09012025_18_03_03_028085_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/182be917fa3d6db962f8df16b9a2f8e6.jpg","text":"TemporaryFile(/tmp/multipartBody2861712497399728566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451281415,"filename":"image_09012025_18_02_02_738125_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0eae8c6cf7256546620fb04ee5a27ee0.jpg","text":"TemporaryFile(/tmp/multipartBody4420354607418170949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451281415,"filename":"image_09012025_18_02_02_738125_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d7947a6f9935d2e39fcfb5cbce50a1db.jpg","text":"TemporaryFile(/tmp/multipartBody7888646819277088169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451281415,"filename":"image_09012025_18_02_02_738125_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6e2762c085e4ba4e2661fdf58d390ea0.jpg","text":"TemporaryFile(/tmp/multipartBody738283032598306489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451281415,"filename":"image_09012025_18_02_02_738125_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327688873","file1":"1327688871","file0":"1327688868","file4":"1327688881","file5":"1327688911","file3":"1327688876"},"map_files_photo_id_array":[{"photo_id":"1327688911","filename":"file5"},{"photo_id":"1327688873","filename":"file2"},{"photo_id":"1327688881","filename":"file4"},{"photo_id":"1327688871","filename":"file1"},{"photo_id":"1327688868","filename":"file0"},{"photo_id":"1327688876","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327688881":["hashtag1","hashtag2"]},{"1327688911":["hashtag1","hashtag2"]},{"1327688871":["hashtag1","hashtag2"]},{"1327688868":["hashtag1","hashtag2"]},{"1327688876":["hashtag1","hashtag2"]},{"1327688873":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327688881, 1327688911, 1327688871, 1327688868, 1327688876, 1327688873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.38471293449402 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 20:34:41.967028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/03/image_09012025_18_03_03_028085_0002.jpg', '/home/pi/Desktop/images/09012025/18/03/image_09012025_18_03_03_028085_0003.jpg', '/home/pi/Desktop/images/09012025/18/04/image_09012025_18_04_02_140200_0000.jpg', '/home/pi/Desktop/images/09012025/18/04/image_09012025_18_04_02_140200_0001.jpg', '/home/pi/Desktop/images/09012025/18/04/image_09012025_18_04_02_140200_0002.jpg', '/home/pi/Desktop/images/09012025/18/04/image_09012025_18_04_02_140200_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/03/image_09012025_18_03_03_028085_0002.jpg
/home/pi/Desktop/images/09012025/18/03/image_09012025_18_03_03_028085_0003.jpg
/home/pi/Desktop/images/09012025/18/04/image_09012025_18_04_02_140200_0000.jpg
/home/pi/Desktop/images/09012025/18/04/image_09012025_18_04_02_140200_0001.jpg
/home/pi/Desktop/images/09012025/18/04/image_09012025_18_04_02_140200_0002.jpg
/home/pi/Desktop/images/09012025/18/04/image_09012025_18_04_02_140200_0003.jpg
 val : 1 : upload photos 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":["1327688968","1327689132","1327688949","1327688975","1327688945","1327688954"],"photo_ids_order":["1327688945","1327688949","1327688954","1327688968","1327688975","1327689132"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/abd1e325f12f89c068b36b866608043b.jpg","text":"TemporaryFile(/tmp/multipartBody6992951715705760899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451363188,"filename":"image_09012025_18_04_02_140200_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/09bb95c10cd181f4d813d8036a115149.jpg","text":"TemporaryFile(/tmp/multipartBody6636699652818105398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451363188,"filename":"image_09012025_18_04_02_140200_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f5787b18654c27cb06e2e62c9116d428.jpg","text":"TemporaryFile(/tmp/multipartBody2903402800179632747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451363188,"filename":"image_09012025_18_03_03_028085_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/33f83b215952639a43d93a47edcb171c.jpg","text":"TemporaryFile(/tmp/multipartBody1388592797518844186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451363188,"filename":"image_09012025_18_04_02_140200_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/90b006576f6d4a1140c837e2c69aacf8.jpg","text":"TemporaryFile(/tmp/multipartBody5223561548406462964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451363188,"filename":"image_09012025_18_03_03_028085_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f6ad5bb281f91870ab30fb6940ed7f30.jpg","text":"TemporaryFile(/tmp/multipartBody1518734356275341214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451363188,"filename":"image_09012025_18_04_02_140200_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327688954","file1":"1327688949","file0":"1327688945","file4":"1327688975","file5":"1327689132","file3":"1327688968"},"map_files_photo_id_array":[{"photo_id":"1327689132","filename":"file5"},{"photo_id":"1327688954","filename":"file2"},{"photo_id":"1327688975","filename":"file4"},{"photo_id":"1327688949","filename":"file1"},{"photo_id":"1327688945","filename":"file0"},{"photo_id":"1327688968","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327688968":["hashtag1","hashtag2"]},{"1327689132":["hashtag1","hashtag2"]},{"1327688949":["hashtag1","hashtag2"]},{"1327688975":["hashtag1","hashtag2"]},{"1327688945":["hashtag1","hashtag2"]},{"1327688954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327688968, 1327689132, 1327688949, 1327688975, 1327688945, 1327688954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 76.4210889339447 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 20:36:02.740918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/05/image_09012025_18_05_02_313886_0000.jpg', '/home/pi/Desktop/images/09012025/18/05/image_09012025_18_05_02_313886_0001.jpg', '/home/pi/Desktop/images/09012025/18/05/image_09012025_18_05_02_313886_0002.jpg', '/home/pi/Desktop/images/09012025/18/05/image_09012025_18_05_02_313886_0003.jpg', '/home/pi/Desktop/images/09012025/18/06/image_09012025_18_06_02_557500_0000.jpg', '/home/pi/Desktop/images/09012025/18/06/image_09012025_18_06_02_557500_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/05/image_09012025_18_05_02_313886_0000.jpg
/home/pi/Desktop/images/09012025/18/05/image_09012025_18_05_02_313886_0001.jpg
/home/pi/Desktop/images/09012025/18/05/image_09012025_18_05_02_313886_0002.jpg
/home/pi/Desktop/images/09012025/18/05/image_09012025_18_05_02_313886_0003.jpg
/home/pi/Desktop/images/09012025/18/06/image_09012025_18_06_02_557500_0000.jpg
/home/pi/Desktop/images/09012025/18/06/image_09012025_18_06_02_557500_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327689987","1327689963","1327689890","1327689923","1327689958","1327689967"],"photo_ids_order":["1327689890","1327689923","1327689958","1327689963","1327689967","1327689987"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f64387f76e151b4a552c1becc3013bc3.jpg","text":"TemporaryFile(/tmp/multipartBody8577418547840813103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451471421,"filename":"image_09012025_18_06_02_557500_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eff8dcf7d7d98030fad3e2906053e232.jpg","text":"TemporaryFile(/tmp/multipartBody7536385956313875068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451471421,"filename":"image_09012025_18_05_02_313886_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2d787c4d674c65dfb6234695e6ccc437.jpg","text":"TemporaryFile(/tmp/multipartBody748275475603426494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451471421,"filename":"image_09012025_18_05_02_313886_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/345bb90fa5dc7ba6fe1e47786839f36b.jpg","text":"TemporaryFile(/tmp/multipartBody9205889621813954993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451471421,"filename":"image_09012025_18_05_02_313886_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dd665523f10575e24a721216b9317640.jpg","text":"TemporaryFile(/tmp/multipartBody1709906249889085151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451471421,"filename":"image_09012025_18_05_02_313886_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c84a239f59a5660e20fb654de963899e.jpg","text":"TemporaryFile(/tmp/multipartBody3869245726896625737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451471421,"filename":"image_09012025_18_06_02_557500_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327689958","file1":"1327689923","file0":"1327689890","file4":"1327689967","file5":"1327689987","file3":"1327689963"},"map_files_photo_id_array":[{"photo_id":"1327689987","filename":"file5"},{"photo_id":"1327689958","filename":"file2"},{"photo_id":"1327689967","filename":"file4"},{"photo_id":"1327689923","filename":"file1"},{"photo_id":"1327689890","filename":"file0"},{"photo_id":"1327689963","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327689987":["hashtag1","hashtag2"]},{"1327689963":["hashtag1","hashtag2"]},{"1327689890":["hashtag1","hashtag2"]},{"1327689923":["hashtag1","hashtag2"]},{"1327689958":["hashtag1","hashtag2"]},{"1327689967":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327689987, 1327689963, 1327689890, 1327689923, 1327689958, 1327689967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.19567394256592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 20:37:52.435309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/06/image_09012025_18_06_02_557500_0002.jpg', '/home/pi/Desktop/images/09012025/18/06/image_09012025_18_06_02_557500_0003.jpg', '/home/pi/Desktop/images/09012025/18/07/image_09012025_18_07_02_650464_0000.jpg', '/home/pi/Desktop/images/09012025/18/07/image_09012025_18_07_02_650464_0001.jpg', '/home/pi/Desktop/images/09012025/18/07/image_09012025_18_07_02_650464_0002.jpg', '/home/pi/Desktop/images/09012025/18/07/image_09012025_18_07_02_650464_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/06/image_09012025_18_06_02_557500_0002.jpg
/home/pi/Desktop/images/09012025/18/06/image_09012025_18_06_02_557500_0003.jpg
/home/pi/Desktop/images/09012025/18/07/image_09012025_18_07_02_650464_0000.jpg
/home/pi/Desktop/images/09012025/18/07/image_09012025_18_07_02_650464_0001.jpg
/home/pi/Desktop/images/09012025/18/07/image_09012025_18_07_02_650464_0002.jpg
/home/pi/Desktop/images/09012025/18/07/image_09012025_18_07_02_650464_0003.jpg
 val : 1 : upload photos 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":["1327691305","1327691298","1327691310","1327691270","1327691312","1327691266"],"photo_ids_order":["1327691266","1327691270","1327691298","1327691305","1327691310","1327691312"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/00f343440fe1f348304b6b05aacf35b9.jpg","text":"TemporaryFile(/tmp/multipartBody3852324057830527949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451567857,"filename":"image_09012025_18_07_02_650464_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/277caca6ffc9173aa23ea3c02dd8729a.jpg","text":"TemporaryFile(/tmp/multipartBody5449645464595148420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451567857,"filename":"image_09012025_18_07_02_650464_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5d6802db476775660e5448fcc4c78011.jpg","text":"TemporaryFile(/tmp/multipartBody8272749968241212399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451567857,"filename":"image_09012025_18_07_02_650464_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8c9dca29beecf26830992ca0d0ad0b6b.jpg","text":"TemporaryFile(/tmp/multipartBody1034921053089868383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451567857,"filename":"image_09012025_18_06_02_557500_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3d3b9de009e6178bbf100ad0bfb62063.jpg","text":"TemporaryFile(/tmp/multipartBody2003740748341049675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451567857,"filename":"image_09012025_18_07_02_650464_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b64d266c440c6537a4ec8e5cd60f44d7.jpg","text":"TemporaryFile(/tmp/multipartBody6440884183772002799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451567857,"filename":"image_09012025_18_06_02_557500_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327691298","file1":"1327691270","file0":"1327691266","file4":"1327691310","file5":"1327691312","file3":"1327691305"},"map_files_photo_id_array":[{"photo_id":"1327691312","filename":"file5"},{"photo_id":"1327691298","filename":"file2"},{"photo_id":"1327691310","filename":"file4"},{"photo_id":"1327691270","filename":"file1"},{"photo_id":"1327691266","filename":"file0"},{"photo_id":"1327691305","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327691305":["hashtag1","hashtag2"]},{"1327691298":["hashtag1","hashtag2"]},{"1327691310":["hashtag1","hashtag2"]},{"1327691270":["hashtag1","hashtag2"]},{"1327691312":["hashtag1","hashtag2"]},{"1327691266":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327691305, 1327691298, 1327691310, 1327691270, 1327691312, 1327691266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.56702733039856 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 20:39:21.899226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/08/image_09012025_18_08_02_830349_0000.jpg', '/home/pi/Desktop/images/09012025/18/08/image_09012025_18_08_02_830349_0001.jpg', '/home/pi/Desktop/images/09012025/18/08/image_09012025_18_08_02_830349_0002.jpg', '/home/pi/Desktop/images/09012025/18/08/image_09012025_18_08_02_830349_0003.jpg', '/home/pi/Desktop/images/09012025/18/09/image_09012025_18_09_03_034452_0000.jpg', '/home/pi/Desktop/images/09012025/18/09/image_09012025_18_09_03_034452_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/08/image_09012025_18_08_02_830349_0000.jpg
/home/pi/Desktop/images/09012025/18/08/image_09012025_18_08_02_830349_0001.jpg
/home/pi/Desktop/images/09012025/18/08/image_09012025_18_08_02_830349_0002.jpg
/home/pi/Desktop/images/09012025/18/08/image_09012025_18_08_02_830349_0003.jpg
/home/pi/Desktop/images/09012025/18/09/image_09012025_18_09_03_034452_0000.jpg
/home/pi/Desktop/images/09012025/18/09/image_09012025_18_09_03_034452_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327691839","1327691844","1327691931","1327691777","1327691936","1327691941"],"photo_ids_order":["1327691777","1327691839","1327691844","1327691931","1327691936","1327691941"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b215a711bbc7ae175d62ee808bcfe1c9.jpg","text":"TemporaryFile(/tmp/multipartBody7438869319599838672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451667464,"filename":"image_09012025_18_08_02_830349_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ec1c654dec3bdc0dbd0b7edc1e2d4b3f.jpg","text":"TemporaryFile(/tmp/multipartBody3748141599261360396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451667464,"filename":"image_09012025_18_08_02_830349_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d7980f4c0ba953e7c175dfb07d8aec0e.jpg","text":"TemporaryFile(/tmp/multipartBody8599657078110374517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451667464,"filename":"image_09012025_18_08_02_830349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d3d5381d9151ca0812ed84efb2986caa.jpg","text":"TemporaryFile(/tmp/multipartBody5702421831623242058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451667464,"filename":"image_09012025_18_08_02_830349_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9e0611ede98ada01570a68f7e8a71e45.jpg","text":"TemporaryFile(/tmp/multipartBody295487442653859141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451667464,"filename":"image_09012025_18_09_03_034452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/72aa0002e423e05eabeffe004afa7a74.jpg","text":"TemporaryFile(/tmp/multipartBody3551694500053164392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451667464,"filename":"image_09012025_18_09_03_034452_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327691844","file1":"1327691839","file0":"1327691777","file4":"1327691936","file5":"1327691941","file3":"1327691931"},"map_files_photo_id_array":[{"photo_id":"1327691941","filename":"file5"},{"photo_id":"1327691844","filename":"file2"},{"photo_id":"1327691936","filename":"file4"},{"photo_id":"1327691839","filename":"file1"},{"photo_id":"1327691777","filename":"file0"},{"photo_id":"1327691931","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327691839":["hashtag1","hashtag2"]},{"1327691844":["hashtag1","hashtag2"]},{"1327691931":["hashtag1","hashtag2"]},{"1327691777":["hashtag1","hashtag2"]},{"1327691936":["hashtag1","hashtag2"]},{"1327691941":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327691839, 1327691844, 1327691931, 1327691777, 1327691936, 1327691941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.88826632499695 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 20:41:22.326455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/09/image_09012025_18_09_03_034452_0002.jpg', '/home/pi/Desktop/images/09012025/18/09/image_09012025_18_09_03_034452_0003.jpg', '/home/pi/Desktop/images/09012025/18/10/image_09012025_18_10_02_267242_0000.jpg', '/home/pi/Desktop/images/09012025/18/10/image_09012025_18_10_02_267242_0001.jpg', '/home/pi/Desktop/images/09012025/18/10/image_09012025_18_10_02_267242_0002.jpg', '/home/pi/Desktop/images/09012025/18/10/image_09012025_18_10_02_267242_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/09/image_09012025_18_09_03_034452_0002.jpg
/home/pi/Desktop/images/09012025/18/09/image_09012025_18_09_03_034452_0003.jpg
/home/pi/Desktop/images/09012025/18/10/image_09012025_18_10_02_267242_0000.jpg
/home/pi/Desktop/images/09012025/18/10/image_09012025_18_10_02_267242_0001.jpg
/home/pi/Desktop/images/09012025/18/10/image_09012025_18_10_02_267242_0002.jpg
/home/pi/Desktop/images/09012025/18/10/image_09012025_18_10_02_267242_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327691970","1327691973","1327691975","1327692011","1327692005","1327691980"],"photo_ids_order":["1327691970","1327691973","1327691975","1327691980","1327692005","1327692011"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8b52fa3506369bcdf59f1ec2e50ef5ec.jpg","text":"TemporaryFile(/tmp/multipartBody2123269209674092394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451783125,"filename":"image_09012025_18_09_03_034452_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4326b967996c4676d1c19cc6252531f7.jpg","text":"TemporaryFile(/tmp/multipartBody2561794510282240841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451783125,"filename":"image_09012025_18_09_03_034452_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/39c7df8b301810bd9305ff21282bf9d8.jpg","text":"TemporaryFile(/tmp/multipartBody2580737956880303034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451783125,"filename":"image_09012025_18_10_02_267242_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6230423fd35201a2c040914abe8b2d86.jpg","text":"TemporaryFile(/tmp/multipartBody7301304726107910975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451783125,"filename":"image_09012025_18_10_02_267242_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/96d929a50f8c5dd229863db5059a4cc6.jpg","text":"TemporaryFile(/tmp/multipartBody4082434010012167292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451783125,"filename":"image_09012025_18_10_02_267242_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0dbc7d444714d2073364abfb57dcf6d8.jpg","text":"TemporaryFile(/tmp/multipartBody4341422851250087135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451783125,"filename":"image_09012025_18_10_02_267242_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327691975","file1":"1327691973","file0":"1327691970","file4":"1327692005","file5":"1327692011","file3":"1327691980"},"map_files_photo_id_array":[{"photo_id":"1327692011","filename":"file5"},{"photo_id":"1327691975","filename":"file2"},{"photo_id":"1327692005","filename":"file4"},{"photo_id":"1327691973","filename":"file1"},{"photo_id":"1327691970","filename":"file0"},{"photo_id":"1327691980","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327691970":["hashtag1","hashtag2"]},{"1327691973":["hashtag1","hashtag2"]},{"1327691975":["hashtag1","hashtag2"]},{"1327692011":["hashtag1","hashtag2"]},{"1327692005":["hashtag1","hashtag2"]},{"1327691980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327691970, 1327691973, 1327691975, 1327692011, 1327692005, 1327691980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.97519278526306 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 20:43:03.158480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/11/image_09012025_18_11_02_389186_0000.jpg', '/home/pi/Desktop/images/09012025/18/11/image_09012025_18_11_02_389186_0001.jpg', '/home/pi/Desktop/images/09012025/18/11/image_09012025_18_11_02_389186_0002.jpg', '/home/pi/Desktop/images/09012025/18/11/image_09012025_18_11_02_389186_0003.jpg', '/home/pi/Desktop/images/09012025/18/12/image_09012025_18_12_02_570766_0000.jpg', '/home/pi/Desktop/images/09012025/18/12/image_09012025_18_12_02_570766_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/11/image_09012025_18_11_02_389186_0000.jpg
/home/pi/Desktop/images/09012025/18/11/image_09012025_18_11_02_389186_0001.jpg
/home/pi/Desktop/images/09012025/18/11/image_09012025_18_11_02_389186_0002.jpg
/home/pi/Desktop/images/09012025/18/11/image_09012025_18_11_02_389186_0003.jpg
/home/pi/Desktop/images/09012025/18/12/image_09012025_18_12_02_570766_0000.jpg
/home/pi/Desktop/images/09012025/18/12/image_09012025_18_12_02_570766_0001.jpg
 val : 1 : upload photos 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":["1327692080","1327692071","1327692116","1327692104","1327692076","1327692124"],"photo_ids_order":["1327692071","1327692076","1327692080","1327692104","1327692116","1327692124"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cbf73c6429d5b20050599483bc5a8d42.jpg","text":"TemporaryFile(/tmp/multipartBody8652258515526838791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451886934,"filename":"image_09012025_18_11_02_389186_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f62dae776248af8d2ff1d4eea0e21a78.jpg","text":"TemporaryFile(/tmp/multipartBody7528303338945407983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451886934,"filename":"image_09012025_18_11_02_389186_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1dcb69aea8477801ead1cb6489eec4cc.jpg","text":"TemporaryFile(/tmp/multipartBody906908531982033402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451886934,"filename":"image_09012025_18_12_02_570766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/254c1b3d299f6de22da3613ab608b1f2.jpg","text":"TemporaryFile(/tmp/multipartBody6080943495135509446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451886934,"filename":"image_09012025_18_11_02_389186_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/23f4aae8f27cab68d29c70bf34e64197.jpg","text":"TemporaryFile(/tmp/multipartBody797988682627730532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451886934,"filename":"image_09012025_18_11_02_389186_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c94567a5f37d02f0f6dd3a296de0c8a4.jpg","text":"TemporaryFile(/tmp/multipartBody3796560981459289861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451886934,"filename":"image_09012025_18_12_02_570766_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327692080","file1":"1327692076","file0":"1327692071","file4":"1327692116","file5":"1327692124","file3":"1327692104"},"map_files_photo_id_array":[{"photo_id":"1327692124","filename":"file5"},{"photo_id":"1327692080","filename":"file2"},{"photo_id":"1327692116","filename":"file4"},{"photo_id":"1327692076","filename":"file1"},{"photo_id":"1327692071","filename":"file0"},{"photo_id":"1327692104","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327692080":["hashtag1","hashtag2"]},{"1327692071":["hashtag1","hashtag2"]},{"1327692116":["hashtag1","hashtag2"]},{"1327692104":["hashtag1","hashtag2"]},{"1327692076":["hashtag1","hashtag2"]},{"1327692124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327692080, 1327692071, 1327692116, 1327692104, 1327692076, 1327692124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.4128930568695 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 20:44:42.766439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/12/image_09012025_18_12_02_570766_0002.jpg', '/home/pi/Desktop/images/09012025/18/12/image_09012025_18_12_02_570766_0003.jpg', '/home/pi/Desktop/images/09012025/18/13/image_09012025_18_13_02_701318_0000.jpg', '/home/pi/Desktop/images/09012025/18/13/image_09012025_18_13_02_701318_0001.jpg', '/home/pi/Desktop/images/09012025/18/13/image_09012025_18_13_02_701318_0002.jpg', '/home/pi/Desktop/images/09012025/18/13/image_09012025_18_13_02_701318_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/12/image_09012025_18_12_02_570766_0002.jpg
/home/pi/Desktop/images/09012025/18/12/image_09012025_18_12_02_570766_0003.jpg
/home/pi/Desktop/images/09012025/18/13/image_09012025_18_13_02_701318_0000.jpg
/home/pi/Desktop/images/09012025/18/13/image_09012025_18_13_02_701318_0001.jpg
/home/pi/Desktop/images/09012025/18/13/image_09012025_18_13_02_701318_0002.jpg
/home/pi/Desktop/images/09012025/18/13/image_09012025_18_13_02_701318_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327692225","1327692207","1327692216","1327692203","1327692200","1327692220"],"photo_ids_order":["1327692200","1327692203","1327692207","1327692216","1327692220","1327692225"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6a46bad153de29fda2a6d85f5a4b88dd.jpg","text":"TemporaryFile(/tmp/multipartBody3105968504445520764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451988763,"filename":"image_09012025_18_13_02_701318_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0e912324e6dada4e0c9d9ad4cd0aa9c4.jpg","text":"TemporaryFile(/tmp/multipartBody3838637900480986442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451988763,"filename":"image_09012025_18_13_02_701318_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/28432306d1fd1ca15e97176cea0cfdfe.jpg","text":"TemporaryFile(/tmp/multipartBody5821485656215332411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451988763,"filename":"image_09012025_18_13_02_701318_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ca1a3eec5d1f4caec58da10f39ed5262.jpg","text":"TemporaryFile(/tmp/multipartBody859787438532035186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451988763,"filename":"image_09012025_18_12_02_570766_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/393d475755b0df1ed703389070bbd5aa.jpg","text":"TemporaryFile(/tmp/multipartBody4599151796274648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451988763,"filename":"image_09012025_18_12_02_570766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b5dbb707d23530151f9bb1d2ea32f06e.jpg","text":"TemporaryFile(/tmp/multipartBody7036716582046496607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736451988763,"filename":"image_09012025_18_13_02_701318_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327692207","file1":"1327692203","file0":"1327692200","file4":"1327692220","file5":"1327692225","file3":"1327692216"},"map_files_photo_id_array":[{"photo_id":"1327692225","filename":"file5"},{"photo_id":"1327692207","filename":"file2"},{"photo_id":"1327692220","filename":"file4"},{"photo_id":"1327692203","filename":"file1"},{"photo_id":"1327692200","filename":"file0"},{"photo_id":"1327692216","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327692225":["hashtag1","hashtag2"]},{"1327692207":["hashtag1","hashtag2"]},{"1327692216":["hashtag1","hashtag2"]},{"1327692203":["hashtag1","hashtag2"]},{"1327692200":["hashtag1","hashtag2"]},{"1327692220":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327692225, 1327692207, 1327692216, 1327692203, 1327692200, 1327692220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.28246784210205 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 20:46:32.065619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/14/image_09012025_18_14_02_893810_0000.jpg', '/home/pi/Desktop/images/09012025/18/14/image_09012025_18_14_02_893810_0001.jpg', '/home/pi/Desktop/images/09012025/18/14/image_09012025_18_14_02_893810_0002.jpg', '/home/pi/Desktop/images/09012025/18/14/image_09012025_18_14_02_893810_0003.jpg', '/home/pi/Desktop/images/09012025/18/15/image_09012025_18_15_03_017456_0000.jpg', '/home/pi/Desktop/images/09012025/18/15/image_09012025_18_15_03_017456_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/14/image_09012025_18_14_02_893810_0000.jpg
/home/pi/Desktop/images/09012025/18/14/image_09012025_18_14_02_893810_0001.jpg
/home/pi/Desktop/images/09012025/18/14/image_09012025_18_14_02_893810_0002.jpg
/home/pi/Desktop/images/09012025/18/14/image_09012025_18_14_02_893810_0003.jpg
/home/pi/Desktop/images/09012025/18/15/image_09012025_18_15_03_017456_0000.jpg
/home/pi/Desktop/images/09012025/18/15/image_09012025_18_15_03_017456_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327692747","1327692752","1327692754","1327692655","1327692484","1327692739"],"photo_ids_order":["1327692484","1327692655","1327692739","1327692747","1327692752","1327692754"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6bc1a7972bc02a896397fd7daa6949b4.jpg","text":"TemporaryFile(/tmp/multipartBody3632957343791700685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452089355,"filename":"image_09012025_18_14_02_893810_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8ceac4c16567c6a249bedd68aac7bfc9.jpg","text":"TemporaryFile(/tmp/multipartBody5831421332629994271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452089355,"filename":"image_09012025_18_15_03_017456_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ddd0277fb1503102e224cbcf276951a5.jpg","text":"TemporaryFile(/tmp/multipartBody3017746287992139239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452089355,"filename":"image_09012025_18_15_03_017456_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/733841c53502127dbe65340fe39d16ee.jpg","text":"TemporaryFile(/tmp/multipartBody355909438716230408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452089355,"filename":"image_09012025_18_14_02_893810_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c16b2d32587762ed3c828241c2bf847d.jpg","text":"TemporaryFile(/tmp/multipartBody2609598066054508398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452089355,"filename":"image_09012025_18_14_02_893810_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/905ea512933fd0442bd8f41495ceee4b.jpg","text":"TemporaryFile(/tmp/multipartBody6396401226278444680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452089355,"filename":"image_09012025_18_14_02_893810_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327692739","file1":"1327692655","file0":"1327692484","file4":"1327692752","file5":"1327692754","file3":"1327692747"},"map_files_photo_id_array":[{"photo_id":"1327692754","filename":"file5"},{"photo_id":"1327692739","filename":"file2"},{"photo_id":"1327692752","filename":"file4"},{"photo_id":"1327692655","filename":"file1"},{"photo_id":"1327692484","filename":"file0"},{"photo_id":"1327692747","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327692747":["hashtag1","hashtag2"]},{"1327692752":["hashtag1","hashtag2"]},{"1327692754":["hashtag1","hashtag2"]},{"1327692655":["hashtag1","hashtag2"]},{"1327692484":["hashtag1","hashtag2"]},{"1327692739":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327692747, 1327692752, 1327692754, 1327692655, 1327692484, 1327692739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.41431164741516 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 20:48:22.425614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/15/image_09012025_18_15_03_017456_0002.jpg', '/home/pi/Desktop/images/09012025/18/15/image_09012025_18_15_03_017456_0003.jpg', '/home/pi/Desktop/images/09012025/18/16/image_09012025_18_16_02_309907_0000.jpg', '/home/pi/Desktop/images/09012025/18/16/image_09012025_18_16_02_309907_0001.jpg', '/home/pi/Desktop/images/09012025/18/16/image_09012025_18_16_02_309907_0002.jpg', '/home/pi/Desktop/images/09012025/18/16/image_09012025_18_16_02_309907_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/15/image_09012025_18_15_03_017456_0002.jpg
/home/pi/Desktop/images/09012025/18/15/image_09012025_18_15_03_017456_0003.jpg
/home/pi/Desktop/images/09012025/18/16/image_09012025_18_16_02_309907_0000.jpg
/home/pi/Desktop/images/09012025/18/16/image_09012025_18_16_02_309907_0001.jpg
/home/pi/Desktop/images/09012025/18/16/image_09012025_18_16_02_309907_0002.jpg
/home/pi/Desktop/images/09012025/18/16/image_09012025_18_16_02_309907_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327693143","1327693160","1327693163","1327693156","1327693165","1327693153"],"photo_ids_order":["1327693143","1327693153","1327693156","1327693160","1327693163","1327693165"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b7c5d6b0bf320bcbcf32964a25436bc.jpg","text":"TemporaryFile(/tmp/multipartBody4483369452924222868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452200570,"filename":"image_09012025_18_15_03_017456_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d5ebd333f4c2c6f1cbf42a67ec399efe.jpg","text":"TemporaryFile(/tmp/multipartBody2325510165205691829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452200570,"filename":"image_09012025_18_16_02_309907_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4cff75a6339ed2d95d50d6e25840b915.jpg","text":"TemporaryFile(/tmp/multipartBody3195142969091378741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452200570,"filename":"image_09012025_18_16_02_309907_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b426b14f77bc58972dea8e71b1381373.jpg","text":"TemporaryFile(/tmp/multipartBody4488538139093652430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452200570,"filename":"image_09012025_18_16_02_309907_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5cbd316e6310b0650bab69e7d8707378.jpg","text":"TemporaryFile(/tmp/multipartBody2338311875857344351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452200570,"filename":"image_09012025_18_16_02_309907_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/deeadbdc222988eebf742fd5b27e72e5.jpg","text":"TemporaryFile(/tmp/multipartBody7141300990692744343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452200570,"filename":"image_09012025_18_15_03_017456_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327693156","file1":"1327693153","file0":"1327693143","file4":"1327693163","file5":"1327693165","file3":"1327693160"},"map_files_photo_id_array":[{"photo_id":"1327693165","filename":"file5"},{"photo_id":"1327693156","filename":"file2"},{"photo_id":"1327693163","filename":"file4"},{"photo_id":"1327693153","filename":"file1"},{"photo_id":"1327693143","filename":"file0"},{"photo_id":"1327693160","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327693143":["hashtag1","hashtag2"]},{"1327693160":["hashtag1","hashtag2"]},{"1327693163":["hashtag1","hashtag2"]},{"1327693156":["hashtag1","hashtag2"]},{"1327693165":["hashtag1","hashtag2"]},{"1327693153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327693143, 1327693160, 1327693163, 1327693156, 1327693165, 1327693153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.87369680404663 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 20:50:02.138976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/17/image_09012025_18_17_02_541357_0000.jpg', '/home/pi/Desktop/images/09012025/18/17/image_09012025_18_17_02_541357_0001.jpg', '/home/pi/Desktop/images/09012025/18/17/image_09012025_18_17_02_541357_0002.jpg', '/home/pi/Desktop/images/09012025/18/17/image_09012025_18_17_02_541357_0003.jpg', '/home/pi/Desktop/images/09012025/18/18/image_09012025_18_18_02_564965_0000.jpg', '/home/pi/Desktop/images/09012025/18/18/image_09012025_18_18_02_564965_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/17/image_09012025_18_17_02_541357_0000.jpg
/home/pi/Desktop/images/09012025/18/17/image_09012025_18_17_02_541357_0001.jpg
/home/pi/Desktop/images/09012025/18/17/image_09012025_18_17_02_541357_0002.jpg
/home/pi/Desktop/images/09012025/18/17/image_09012025_18_17_02_541357_0003.jpg
/home/pi/Desktop/images/09012025/18/18/image_09012025_18_18_02_564965_0000.jpg
/home/pi/Desktop/images/09012025/18/18/image_09012025_18_18_02_564965_0001.jpg
 val : 1 : upload photos 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":["1327693203","1327693212","1327693193","1327693189","1327693207","1327693216"],"photo_ids_order":["1327693189","1327693193","1327693203","1327693207","1327693212","1327693216"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c28d726409be01d206160ab09b6f7a57.jpg","text":"TemporaryFile(/tmp/multipartBody7793888563169144009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452301992,"filename":"image_09012025_18_17_02_541357_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f13113e593590e91afc289df0cef4c10.jpg","text":"TemporaryFile(/tmp/multipartBody1980619073627843041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452301992,"filename":"image_09012025_18_18_02_564965_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7c78bafd5d729e23152cd0df124f5f33.jpg","text":"TemporaryFile(/tmp/multipartBody5573654499820817850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452301992,"filename":"image_09012025_18_17_02_541357_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f05ff42959fa17837e66ca17ebaa1fb9.jpg","text":"TemporaryFile(/tmp/multipartBody4580913911319594243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452301992,"filename":"image_09012025_18_17_02_541357_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/01d3161d2202a78f689a403f88ab4c26.jpg","text":"TemporaryFile(/tmp/multipartBody742088982047262773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452301992,"filename":"image_09012025_18_17_02_541357_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9123636f26dca90dd389b531fc2ffac3.jpg","text":"TemporaryFile(/tmp/multipartBody9172809668097535163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452301992,"filename":"image_09012025_18_18_02_564965_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327693203","file1":"1327693193","file0":"1327693189","file4":"1327693212","file5":"1327693216","file3":"1327693207"},"map_files_photo_id_array":[{"photo_id":"1327693216","filename":"file5"},{"photo_id":"1327693203","filename":"file2"},{"photo_id":"1327693212","filename":"file4"},{"photo_id":"1327693193","filename":"file1"},{"photo_id":"1327693189","filename":"file0"},{"photo_id":"1327693207","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327693203":["hashtag1","hashtag2"]},{"1327693212":["hashtag1","hashtag2"]},{"1327693193":["hashtag1","hashtag2"]},{"1327693189":["hashtag1","hashtag2"]},{"1327693207":["hashtag1","hashtag2"]},{"1327693216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327693203, 1327693212, 1327693193, 1327693189, 1327693207, 1327693216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.52039527893066 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 20:51:31.914114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/18/image_09012025_18_18_02_564965_0002.jpg', '/home/pi/Desktop/images/09012025/18/18/image_09012025_18_18_02_564965_0003.jpg', '/home/pi/Desktop/images/09012025/18/19/image_09012025_18_19_02_735511_0000.jpg', '/home/pi/Desktop/images/09012025/18/19/image_09012025_18_19_02_735511_0001.jpg', '/home/pi/Desktop/images/09012025/18/19/image_09012025_18_19_02_735511_0002.jpg', '/home/pi/Desktop/images/09012025/18/19/image_09012025_18_19_02_735511_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/18/image_09012025_18_18_02_564965_0002.jpg
/home/pi/Desktop/images/09012025/18/18/image_09012025_18_18_02_564965_0003.jpg
/home/pi/Desktop/images/09012025/18/19/image_09012025_18_19_02_735511_0000.jpg
/home/pi/Desktop/images/09012025/18/19/image_09012025_18_19_02_735511_0001.jpg
/home/pi/Desktop/images/09012025/18/19/image_09012025_18_19_02_735511_0002.jpg
/home/pi/Desktop/images/09012025/18/19/image_09012025_18_19_02_735511_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327693401","1327693394","1327693332","1327693264","1327693258","1327693398"],"photo_ids_order":["1327693258","1327693264","1327693332","1327693394","1327693398","1327693401"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2cecbc02f0f25e0fd59f8742e849c1de.jpg","text":"TemporaryFile(/tmp/multipartBody4193673548979454743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452398246,"filename":"image_09012025_18_19_02_735511_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/996ea6d89dbcdbc481027b55a304a7ee.jpg","text":"TemporaryFile(/tmp/multipartBody6721644009313172788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452398246,"filename":"image_09012025_18_19_02_735511_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/334540a5d511fcac31ab6d216c8fc800.jpg","text":"TemporaryFile(/tmp/multipartBody7983192475513037266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452398246,"filename":"image_09012025_18_19_02_735511_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4956066213ec04f761d7674dd734b50e.jpg","text":"TemporaryFile(/tmp/multipartBody7485256021241824249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452398246,"filename":"image_09012025_18_18_02_564965_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/026926e4e266c43faf278b24fe5b55a2.jpg","text":"TemporaryFile(/tmp/multipartBody5886500916470671957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452398246,"filename":"image_09012025_18_18_02_564965_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8949f4cf65fe7e57ead31a8659fe07fb.jpg","text":"TemporaryFile(/tmp/multipartBody2798471146151970831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452398246,"filename":"image_09012025_18_19_02_735511_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327693332","file1":"1327693264","file0":"1327693258","file4":"1327693398","file5":"1327693401","file3":"1327693394"},"map_files_photo_id_array":[{"photo_id":"1327693401","filename":"file5"},{"photo_id":"1327693332","filename":"file2"},{"photo_id":"1327693398","filename":"file4"},{"photo_id":"1327693264","filename":"file1"},{"photo_id":"1327693258","filename":"file0"},{"photo_id":"1327693394","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327693401":["hashtag1","hashtag2"]},{"1327693394":["hashtag1","hashtag2"]},{"1327693332":["hashtag1","hashtag2"]},{"1327693264":["hashtag1","hashtag2"]},{"1327693258":["hashtag1","hashtag2"]},{"1327693398":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327693401, 1327693394, 1327693332, 1327693264, 1327693258, 1327693398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.36947798728943 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 20:53:22.339237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/20/image_09012025_18_20_02_977872_0000.jpg', '/home/pi/Desktop/images/09012025/18/20/image_09012025_18_20_02_977872_0001.jpg', '/home/pi/Desktop/images/09012025/18/20/image_09012025_18_20_02_977872_0002.jpg', '/home/pi/Desktop/images/09012025/18/20/image_09012025_18_20_02_977872_0003.jpg', '/home/pi/Desktop/images/09012025/18/21/image_09012025_18_21_03_068405_0000.jpg', '/home/pi/Desktop/images/09012025/18/21/image_09012025_18_21_03_068405_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/20/image_09012025_18_20_02_977872_0000.jpg
/home/pi/Desktop/images/09012025/18/20/image_09012025_18_20_02_977872_0001.jpg
/home/pi/Desktop/images/09012025/18/20/image_09012025_18_20_02_977872_0002.jpg
/home/pi/Desktop/images/09012025/18/20/image_09012025_18_20_02_977872_0003.jpg
/home/pi/Desktop/images/09012025/18/21/image_09012025_18_21_03_068405_0000.jpg
/home/pi/Desktop/images/09012025/18/21/image_09012025_18_21_03_068405_0001.jpg
 val : 1 : upload photos 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":["1327693560","1327693555","1327693558","1327693546","1327693563","1327693551"],"photo_ids_order":["1327693546","1327693551","1327693555","1327693558","1327693560","1327693563"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/60af61157c25fdb202bed69a8cf0361f.jpg","text":"TemporaryFile(/tmp/multipartBody850551064381178417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452488637,"filename":"image_09012025_18_21_03_068405_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/09fe484e2cb8c4999d821a9a948b60c4.jpg","text":"TemporaryFile(/tmp/multipartBody4108283930692861488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452488637,"filename":"image_09012025_18_20_02_977872_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/242f73d9110e1db155fb03af09bf99a5.jpg","text":"TemporaryFile(/tmp/multipartBody821328679883845891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452488637,"filename":"image_09012025_18_20_02_977872_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fa0aee05b6b8ab0ce06c82d025d4b804.jpg","text":"TemporaryFile(/tmp/multipartBody244909585133652966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452488637,"filename":"image_09012025_18_20_02_977872_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/60a514ebb8bee32ef8821e80533b729a.jpg","text":"TemporaryFile(/tmp/multipartBody1841591031825805061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452488637,"filename":"image_09012025_18_21_03_068405_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/75b1611afb6f38b688c630ed2c8a45f8.jpg","text":"TemporaryFile(/tmp/multipartBody6366905085415685285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452488637,"filename":"image_09012025_18_20_02_977872_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327693555","file1":"1327693551","file0":"1327693546","file4":"1327693560","file5":"1327693563","file3":"1327693558"},"map_files_photo_id_array":[{"photo_id":"1327693563","filename":"file5"},{"photo_id":"1327693555","filename":"file2"},{"photo_id":"1327693560","filename":"file4"},{"photo_id":"1327693551","filename":"file1"},{"photo_id":"1327693546","filename":"file0"},{"photo_id":"1327693558","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327693560":["hashtag1","hashtag2"]},{"1327693555":["hashtag1","hashtag2"]},{"1327693558":["hashtag1","hashtag2"]},{"1327693546":["hashtag1","hashtag2"]},{"1327693563":["hashtag1","hashtag2"]},{"1327693551":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327693560, 1327693555, 1327693558, 1327693546, 1327693563, 1327693551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.89303708076477 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 20:54:52.498365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/21/image_09012025_18_21_03_068405_0002.jpg', '/home/pi/Desktop/images/09012025/18/21/image_09012025_18_21_03_068405_0003.jpg', '/home/pi/Desktop/images/09012025/18/22/image_09012025_18_22_02_324504_0000.jpg', '/home/pi/Desktop/images/09012025/18/22/image_09012025_18_22_02_324504_0001.jpg', '/home/pi/Desktop/images/09012025/18/22/image_09012025_18_22_02_324504_0002.jpg', '/home/pi/Desktop/images/09012025/18/22/image_09012025_18_22_02_324504_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/21/image_09012025_18_21_03_068405_0002.jpg
/home/pi/Desktop/images/09012025/18/21/image_09012025_18_21_03_068405_0003.jpg
/home/pi/Desktop/images/09012025/18/22/image_09012025_18_22_02_324504_0000.jpg
/home/pi/Desktop/images/09012025/18/22/image_09012025_18_22_02_324504_0001.jpg
/home/pi/Desktop/images/09012025/18/22/image_09012025_18_22_02_324504_0002.jpg
/home/pi/Desktop/images/09012025/18/22/image_09012025_18_22_02_324504_0003.jpg
 val : 1 : upload photos 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":["1327693623","1327693598","1327693643","1327693604","1327693590","1327693587"],"photo_ids_order":["1327693587","1327693590","1327693598","1327693604","1327693623","1327693643"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8d54cbee88f72da8f582bebec77b346a.jpg","text":"TemporaryFile(/tmp/multipartBody3843648989132654342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452591310,"filename":"image_09012025_18_22_02_324504_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e5277b679501e4ab55bde2f0eab5b0f.jpg","text":"TemporaryFile(/tmp/multipartBody2793054352479213424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452591310,"filename":"image_09012025_18_22_02_324504_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/18f89aeff8d704ab7af5fc9e1bc02241.jpg","text":"TemporaryFile(/tmp/multipartBody6237049379596360510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452591310,"filename":"image_09012025_18_22_02_324504_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d710ed353a0d77f9faca5f4e09148db8.jpg","text":"TemporaryFile(/tmp/multipartBody1378821733947922983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452591310,"filename":"image_09012025_18_22_02_324504_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/32875ee6ab7f9265fdd79f302a8584e6.jpg","text":"TemporaryFile(/tmp/multipartBody4873320671601938679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452591310,"filename":"image_09012025_18_21_03_068405_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/80266856a455afce50acec1cfd0422ee.jpg","text":"TemporaryFile(/tmp/multipartBody3812557315766422974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452591310,"filename":"image_09012025_18_21_03_068405_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327693598","file1":"1327693590","file0":"1327693587","file4":"1327693623","file5":"1327693643","file3":"1327693604"},"map_files_photo_id_array":[{"photo_id":"1327693643","filename":"file5"},{"photo_id":"1327693598","filename":"file2"},{"photo_id":"1327693623","filename":"file4"},{"photo_id":"1327693590","filename":"file1"},{"photo_id":"1327693587","filename":"file0"},{"photo_id":"1327693604","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327693623":["hashtag1","hashtag2"]},{"1327693598":["hashtag1","hashtag2"]},{"1327693643":["hashtag1","hashtag2"]},{"1327693604":["hashtag1","hashtag2"]},{"1327693590":["hashtag1","hashtag2"]},{"1327693587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327693623, 1327693598, 1327693643, 1327693604, 1327693590, 1327693587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.85435342788696 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 20:56:31.878353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/23/image_09012025_18_23_02_533796_0000.jpg', '/home/pi/Desktop/images/09012025/18/23/image_09012025_18_23_02_533796_0001.jpg', '/home/pi/Desktop/images/09012025/18/23/image_09012025_18_23_02_533796_0002.jpg', '/home/pi/Desktop/images/09012025/18/23/image_09012025_18_23_02_533796_0003.jpg', '/home/pi/Desktop/images/09012025/18/24/image_09012025_18_24_02_777327_0000.jpg', '/home/pi/Desktop/images/09012025/18/24/image_09012025_18_24_02_777327_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/23/image_09012025_18_23_02_533796_0000.jpg
/home/pi/Desktop/images/09012025/18/23/image_09012025_18_23_02_533796_0001.jpg
/home/pi/Desktop/images/09012025/18/23/image_09012025_18_23_02_533796_0002.jpg
/home/pi/Desktop/images/09012025/18/23/image_09012025_18_23_02_533796_0003.jpg
/home/pi/Desktop/images/09012025/18/24/image_09012025_18_24_02_777327_0000.jpg
/home/pi/Desktop/images/09012025/18/24/image_09012025_18_24_02_777327_0001.jpg
 val : 1 : upload photos 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! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 20:59:03.100526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/23/image_09012025_18_23_02_533796_0000.jpg', '/home/pi/Desktop/images/09012025/18/23/image_09012025_18_23_02_533796_0001.jpg', '/home/pi/Desktop/images/09012025/18/23/image_09012025_18_23_02_533796_0002.jpg', '/home/pi/Desktop/images/09012025/18/23/image_09012025_18_23_02_533796_0003.jpg', '/home/pi/Desktop/images/09012025/18/24/image_09012025_18_24_02_777327_0000.jpg', '/home/pi/Desktop/images/09012025/18/24/image_09012025_18_24_02_777327_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/23/image_09012025_18_23_02_533796_0000.jpg
/home/pi/Desktop/images/09012025/18/23/image_09012025_18_23_02_533796_0001.jpg
/home/pi/Desktop/images/09012025/18/23/image_09012025_18_23_02_533796_0002.jpg
/home/pi/Desktop/images/09012025/18/23/image_09012025_18_23_02_533796_0003.jpg
/home/pi/Desktop/images/09012025/18/24/image_09012025_18_24_02_777327_0000.jpg
/home/pi/Desktop/images/09012025/18/24/image_09012025_18_24_02_777327_0001.jpg
 val : 1 : upload photos 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":["1327693886","1327693889","1327693894","1327693891","1327693915","1327693900"],"photo_ids_order":["1327693886","1327693889","1327693891","1327693894","1327693900","1327693915"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4fddbee8683815e8c69fccbaae50580c.jpg","text":"TemporaryFile(/tmp/multipartBody3419007677637103188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452848858,"filename":"image_09012025_18_23_02_533796_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/27658c9219a0e2c6c6a3bb4d530e24ec.jpg","text":"TemporaryFile(/tmp/multipartBody3552603545072826865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452848858,"filename":"image_09012025_18_23_02_533796_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5f14175c1281a61bd5e710dbb060b81e.jpg","text":"TemporaryFile(/tmp/multipartBody3607150097225440172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452848858,"filename":"image_09012025_18_23_02_533796_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7a1c43c3b5916cad169e9641727545b0.jpg","text":"TemporaryFile(/tmp/multipartBody3285714740498460893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452848858,"filename":"image_09012025_18_23_02_533796_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/57174a889e4958ee3b51c79f7000bdce.jpg","text":"TemporaryFile(/tmp/multipartBody898867058342733131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452848858,"filename":"image_09012025_18_24_02_777327_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/037bda883a2afffc32762811c413de3d.jpg","text":"TemporaryFile(/tmp/multipartBody7880006311944741515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452848858,"filename":"image_09012025_18_24_02_777327_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327693891","file1":"1327693889","file0":"1327693886","file4":"1327693900","file5":"1327693915","file3":"1327693894"},"map_files_photo_id_array":[{"photo_id":"1327693915","filename":"file5"},{"photo_id":"1327693891","filename":"file2"},{"photo_id":"1327693900","filename":"file4"},{"photo_id":"1327693889","filename":"file1"},{"photo_id":"1327693886","filename":"file0"},{"photo_id":"1327693894","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327693886":["hashtag1","hashtag2"]},{"1327693889":["hashtag1","hashtag2"]},{"1327693894":["hashtag1","hashtag2"]},{"1327693891":["hashtag1","hashtag2"]},{"1327693915":["hashtag1","hashtag2"]},{"1327693900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327693886, 1327693889, 1327693894, 1327693891, 1327693915, 1327693900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.8340904712677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 21:00:42.649877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/24/image_09012025_18_24_02_777327_0002.jpg', '/home/pi/Desktop/images/09012025/18/24/image_09012025_18_24_02_777327_0003.jpg', '/home/pi/Desktop/images/09012025/18/25/image_09012025_18_25_02_969051_0000.jpg', '/home/pi/Desktop/images/09012025/18/25/image_09012025_18_25_02_969051_0001.jpg', '/home/pi/Desktop/images/09012025/18/25/image_09012025_18_25_02_969051_0002.jpg', '/home/pi/Desktop/images/09012025/18/25/image_09012025_18_25_02_969051_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/24/image_09012025_18_24_02_777327_0002.jpg
/home/pi/Desktop/images/09012025/18/24/image_09012025_18_24_02_777327_0003.jpg
/home/pi/Desktop/images/09012025/18/25/image_09012025_18_25_02_969051_0000.jpg
/home/pi/Desktop/images/09012025/18/25/image_09012025_18_25_02_969051_0001.jpg
/home/pi/Desktop/images/09012025/18/25/image_09012025_18_25_02_969051_0002.jpg
/home/pi/Desktop/images/09012025/18/25/image_09012025_18_25_02_969051_0003.jpg
 val : 1 : upload photos 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":["1327693994","1327693997","1327694000","1327694003","1327694005","1327694008"],"photo_ids_order":["1327693994","1327693997","1327694000","1327694003","1327694005","1327694008"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d4a3f37bcbedefb752f319900416aba1.jpg","text":"TemporaryFile(/tmp/multipartBody1261031335010951514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452944189,"filename":"image_09012025_18_24_02_777327_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7a873e5264f1ae17caf62581610dc0ba.jpg","text":"TemporaryFile(/tmp/multipartBody3246474300516412150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452944189,"filename":"image_09012025_18_24_02_777327_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3f5e0733c3078c061b951edff9d81245.jpg","text":"TemporaryFile(/tmp/multipartBody1929553098935102404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452944189,"filename":"image_09012025_18_25_02_969051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/589c2aab08f5dbf2eba150828ad44eec.jpg","text":"TemporaryFile(/tmp/multipartBody3835650071560163916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452944189,"filename":"image_09012025_18_25_02_969051_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c96d8266cd86c8d08a99fd1144d60f12.jpg","text":"TemporaryFile(/tmp/multipartBody3133020144589671629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452944189,"filename":"image_09012025_18_25_02_969051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f6cb59be54874a8be664fdfd3f9c43c5.jpg","text":"TemporaryFile(/tmp/multipartBody6738621359704284918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736452944189,"filename":"image_09012025_18_25_02_969051_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327694000","file1":"1327693997","file0":"1327693994","file4":"1327694005","file5":"1327694008","file3":"1327694003"},"map_files_photo_id_array":[{"photo_id":"1327694008","filename":"file5"},{"photo_id":"1327694000","filename":"file2"},{"photo_id":"1327694005","filename":"file4"},{"photo_id":"1327693997","filename":"file1"},{"photo_id":"1327693994","filename":"file0"},{"photo_id":"1327694003","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327693994":["hashtag1","hashtag2"]},{"1327693997":["hashtag1","hashtag2"]},{"1327694000":["hashtag1","hashtag2"]},{"1327694003":["hashtag1","hashtag2"]},{"1327694005":["hashtag1","hashtag2"]},{"1327694008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327693994, 1327693997, 1327694000, 1327694003, 1327694005, 1327694008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.04538488388062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 21:02:22.083428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/26/image_09012025_18_26_03_040054_0000.jpg', '/home/pi/Desktop/images/09012025/18/26/image_09012025_18_26_03_040054_0001.jpg', '/home/pi/Desktop/images/09012025/18/26/image_09012025_18_26_03_040054_0002.jpg', '/home/pi/Desktop/images/09012025/18/26/image_09012025_18_26_03_040054_0003.jpg', '/home/pi/Desktop/images/09012025/18/27/image_09012025_18_27_02_276998_0000.jpg', '/home/pi/Desktop/images/09012025/18/27/image_09012025_18_27_02_276998_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/26/image_09012025_18_26_03_040054_0000.jpg
/home/pi/Desktop/images/09012025/18/26/image_09012025_18_26_03_040054_0001.jpg
/home/pi/Desktop/images/09012025/18/26/image_09012025_18_26_03_040054_0002.jpg
/home/pi/Desktop/images/09012025/18/26/image_09012025_18_26_03_040054_0003.jpg
/home/pi/Desktop/images/09012025/18/27/image_09012025_18_27_02_276998_0000.jpg
/home/pi/Desktop/images/09012025/18/27/image_09012025_18_27_02_276998_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327694096","1327694081","1327694099","1327694092","1327694055","1327694064"],"photo_ids_order":["1327694055","1327694064","1327694081","1327694092","1327694096","1327694099"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a7febb7c2a6ee0060b502c9b502d89b4.jpg","text":"TemporaryFile(/tmp/multipartBody2901104207416427857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453048693,"filename":"image_09012025_18_27_02_276998_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a99d9a344e571386105ef156178a056b.jpg","text":"TemporaryFile(/tmp/multipartBody63533050325888554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453048693,"filename":"image_09012025_18_26_03_040054_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ee881a6740823e76b193a7305e0a7932.jpg","text":"TemporaryFile(/tmp/multipartBody617567343235413812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453048693,"filename":"image_09012025_18_27_02_276998_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f17a7deeb5f61b9cded7b29aa3cdd5ae.jpg","text":"TemporaryFile(/tmp/multipartBody2435499465545328423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453048693,"filename":"image_09012025_18_26_03_040054_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3f199a359a8fa2e15b86d671ea0b4a41.jpg","text":"TemporaryFile(/tmp/multipartBody5036667549589982101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453048693,"filename":"image_09012025_18_26_03_040054_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d3a3eb9f4eea5cf73e97ac6cc2007388.jpg","text":"TemporaryFile(/tmp/multipartBody7463264016608348038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453048693,"filename":"image_09012025_18_26_03_040054_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327694081","file1":"1327694064","file0":"1327694055","file4":"1327694096","file5":"1327694099","file3":"1327694092"},"map_files_photo_id_array":[{"photo_id":"1327694099","filename":"file5"},{"photo_id":"1327694081","filename":"file2"},{"photo_id":"1327694096","filename":"file4"},{"photo_id":"1327694064","filename":"file1"},{"photo_id":"1327694055","filename":"file0"},{"photo_id":"1327694092","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327694096":["hashtag1","hashtag2"]},{"1327694081":["hashtag1","hashtag2"]},{"1327694099":["hashtag1","hashtag2"]},{"1327694092":["hashtag1","hashtag2"]},{"1327694055":["hashtag1","hashtag2"]},{"1327694064":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327694096, 1327694081, 1327694099, 1327694092, 1327694055, 1327694064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.3773546218872 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 21:04:22.488336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/27/image_09012025_18_27_02_276998_0002.jpg', '/home/pi/Desktop/images/09012025/18/27/image_09012025_18_27_02_276998_0003.jpg', '/home/pi/Desktop/images/09012025/18/28/image_09012025_18_28_02_455454_0000.jpg', '/home/pi/Desktop/images/09012025/18/28/image_09012025_18_28_02_455454_0001.jpg', '/home/pi/Desktop/images/09012025/18/28/image_09012025_18_28_02_455454_0002.jpg', '/home/pi/Desktop/images/09012025/18/28/image_09012025_18_28_02_455454_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/27/image_09012025_18_27_02_276998_0002.jpg
/home/pi/Desktop/images/09012025/18/27/image_09012025_18_27_02_276998_0003.jpg
/home/pi/Desktop/images/09012025/18/28/image_09012025_18_28_02_455454_0000.jpg
/home/pi/Desktop/images/09012025/18/28/image_09012025_18_28_02_455454_0001.jpg
/home/pi/Desktop/images/09012025/18/28/image_09012025_18_28_02_455454_0002.jpg
/home/pi/Desktop/images/09012025/18/28/image_09012025_18_28_02_455454_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327694180","1327694177","1327694225","1327694203","1327694232","1327694256"],"photo_ids_order":["1327694177","1327694180","1327694203","1327694225","1327694232","1327694256"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c536255f1788213993a85227f9c93c32.jpg","text":"TemporaryFile(/tmp/multipartBody371875005720825159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453160579,"filename":"image_09012025_18_27_02_276998_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0ea0653d74ef5597039dee13d05591ce.jpg","text":"TemporaryFile(/tmp/multipartBody2536638664970505034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453160579,"filename":"image_09012025_18_27_02_276998_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0899337cf02a1794f21b36a0e7d5d0b4.jpg","text":"TemporaryFile(/tmp/multipartBody358384428228602377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453160579,"filename":"image_09012025_18_28_02_455454_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/66a74601db5fe2773ef8f6a0c4b7d630.jpg","text":"TemporaryFile(/tmp/multipartBody9082487091330004178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453160579,"filename":"image_09012025_18_28_02_455454_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8280ad20ce7d270635c8a3c6012f2d62.jpg","text":"TemporaryFile(/tmp/multipartBody1059771950934579907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453160579,"filename":"image_09012025_18_28_02_455454_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8cbeb481aaaec55b7df63aaa1fa456b9.jpg","text":"TemporaryFile(/tmp/multipartBody3256780043621429813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453160579,"filename":"image_09012025_18_28_02_455454_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327694203","file1":"1327694180","file0":"1327694177","file4":"1327694232","file5":"1327694256","file3":"1327694225"},"map_files_photo_id_array":[{"photo_id":"1327694256","filename":"file5"},{"photo_id":"1327694203","filename":"file2"},{"photo_id":"1327694232","filename":"file4"},{"photo_id":"1327694180","filename":"file1"},{"photo_id":"1327694177","filename":"file0"},{"photo_id":"1327694225","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327694180":["hashtag1","hashtag2"]},{"1327694177":["hashtag1","hashtag2"]},{"1327694225":["hashtag1","hashtag2"]},{"1327694203":["hashtag1","hashtag2"]},{"1327694232":["hashtag1","hashtag2"]},{"1327694256":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327694180, 1327694177, 1327694225, 1327694203, 1327694232, 1327694256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.67419099807739 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 21:06:02.328862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/29/image_09012025_18_29_02_521062_0000.jpg', '/home/pi/Desktop/images/09012025/18/29/image_09012025_18_29_02_521062_0001.jpg', '/home/pi/Desktop/images/09012025/18/29/image_09012025_18_29_02_521062_0002.jpg', '/home/pi/Desktop/images/09012025/18/30/image_09012025_18_30_02_783124_0000.jpg', '/home/pi/Desktop/images/09012025/18/30/image_09012025_18_30_02_783124_0001.jpg', '/home/pi/Desktop/images/09012025/18/30/image_09012025_18_30_02_783124_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/29/image_09012025_18_29_02_521062_0000.jpg
/home/pi/Desktop/images/09012025/18/29/image_09012025_18_29_02_521062_0001.jpg
/home/pi/Desktop/images/09012025/18/29/image_09012025_18_29_02_521062_0002.jpg
/home/pi/Desktop/images/09012025/18/30/image_09012025_18_30_02_783124_0000.jpg
/home/pi/Desktop/images/09012025/18/30/image_09012025_18_30_02_783124_0001.jpg
/home/pi/Desktop/images/09012025/18/30/image_09012025_18_30_02_783124_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327695655","1327695625","1327694653","1327695645","1327695618","1327695176"],"photo_ids_order":["1327694653","1327695176","1327695618","1327695625","1327695645","1327695655"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5f4e2d7789b9a5566cfc1c921f4f7eba.jpg","text":"TemporaryFile(/tmp/multipartBody185518060677327494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453266758,"filename":"image_09012025_18_30_02_783124_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2b28decc391fc8e985285fb85ecddcf9.jpg","text":"TemporaryFile(/tmp/multipartBody2013844038318545071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453266758,"filename":"image_09012025_18_30_02_783124_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0fb7ea9891a29cfd10d5a47f7d1fa234.jpg","text":"TemporaryFile(/tmp/multipartBody2810228166462130361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453266758,"filename":"image_09012025_18_29_02_521062_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6e5e46919a560bb9a1797b886610b612.jpg","text":"TemporaryFile(/tmp/multipartBody8532315943795972099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453266758,"filename":"image_09012025_18_30_02_783124_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f068a3953fca94648a0d895acd34dfb8.jpg","text":"TemporaryFile(/tmp/multipartBody4238085343314323543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453266758,"filename":"image_09012025_18_29_02_521062_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7e5ece98bc0ceab6d4fdbd687b4c5243.jpg","text":"TemporaryFile(/tmp/multipartBody4637576546622274393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453266758,"filename":"image_09012025_18_29_02_521062_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327695618","file1":"1327695176","file0":"1327694653","file4":"1327695645","file5":"1327695655","file3":"1327695625"},"map_files_photo_id_array":[{"photo_id":"1327695655","filename":"file5"},{"photo_id":"1327695618","filename":"file2"},{"photo_id":"1327695645","filename":"file4"},{"photo_id":"1327695176","filename":"file1"},{"photo_id":"1327694653","filename":"file0"},{"photo_id":"1327695625","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327695655":["hashtag1","hashtag2"]},{"1327695625":["hashtag1","hashtag2"]},{"1327694653":["hashtag1","hashtag2"]},{"1327695645":["hashtag1","hashtag2"]},{"1327695618":["hashtag1","hashtag2"]},{"1327695176":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327695655, 1327695625, 1327694653, 1327695645, 1327695618, 1327695176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.30755496025085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 21:07:52.002726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/31/image_09012025_18_31_02_937830_0000.jpg', '/home/pi/Desktop/images/09012025/18/31/image_09012025_18_31_02_937830_0001.jpg', '/home/pi/Desktop/images/09012025/18/31/image_09012025_18_31_02_937830_0003.jpg', '/home/pi/Desktop/images/09012025/18/32/image_09012025_18_32_03_125528_0000.jpg', '/home/pi/Desktop/images/09012025/18/32/image_09012025_18_32_03_125528_0001.jpg', '/home/pi/Desktop/images/09012025/18/32/image_09012025_18_32_03_125528_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/31/image_09012025_18_31_02_937830_0000.jpg
/home/pi/Desktop/images/09012025/18/31/image_09012025_18_31_02_937830_0001.jpg
/home/pi/Desktop/images/09012025/18/31/image_09012025_18_31_02_937830_0003.jpg
/home/pi/Desktop/images/09012025/18/32/image_09012025_18_32_03_125528_0000.jpg
/home/pi/Desktop/images/09012025/18/32/image_09012025_18_32_03_125528_0001.jpg
/home/pi/Desktop/images/09012025/18/32/image_09012025_18_32_03_125528_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 40.964643478393555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 21:08:42.302253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/31/image_09012025_18_31_02_937830_0000.jpg', '/home/pi/Desktop/images/09012025/18/31/image_09012025_18_31_02_937830_0001.jpg', '/home/pi/Desktop/images/09012025/18/31/image_09012025_18_31_02_937830_0003.jpg', '/home/pi/Desktop/images/09012025/18/32/image_09012025_18_32_03_125528_0000.jpg', '/home/pi/Desktop/images/09012025/18/32/image_09012025_18_32_03_125528_0001.jpg', '/home/pi/Desktop/images/09012025/18/32/image_09012025_18_32_03_125528_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/31/image_09012025_18_31_02_937830_0000.jpg
/home/pi/Desktop/images/09012025/18/31/image_09012025_18_31_02_937830_0001.jpg
/home/pi/Desktop/images/09012025/18/31/image_09012025_18_31_02_937830_0003.jpg
/home/pi/Desktop/images/09012025/18/32/image_09012025_18_32_03_125528_0000.jpg
/home/pi/Desktop/images/09012025/18/32/image_09012025_18_32_03_125528_0001.jpg
/home/pi/Desktop/images/09012025/18/32/image_09012025_18_32_03_125528_0002.jpg
 val : 1 : upload photos 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":["1327697512","1327697146","1327696228","1327696332","1327697897","1327696731"],"photo_ids_order":["1327696228","1327696332","1327696731","1327697146","1327697512","1327697897"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ec08d1f6fb85003b412af1a8b0954177.jpg","text":"TemporaryFile(/tmp/multipartBody169257767116643766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453412080,"filename":"image_09012025_18_32_03_125528_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c292622085c33c1bcfe99e783bb7f361.jpg","text":"TemporaryFile(/tmp/multipartBody2704367510523221594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453412080,"filename":"image_09012025_18_32_03_125528_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5f936894c46571eb0cd99b3dfc6ae84f.jpg","text":"TemporaryFile(/tmp/multipartBody4988506077688435166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453412080,"filename":"image_09012025_18_31_02_937830_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/27ad21da143b73bbc7eb2ff5d27f0530.jpg","text":"TemporaryFile(/tmp/multipartBody1499604519404715365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453412080,"filename":"image_09012025_18_31_02_937830_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/69356c951460e8068efafc59c3aad925.jpg","text":"TemporaryFile(/tmp/multipartBody7535569373807102494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453412080,"filename":"image_09012025_18_32_03_125528_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/50e39fc1bef02b60da0761e325cba750.jpg","text":"TemporaryFile(/tmp/multipartBody2260899285279237650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453412080,"filename":"image_09012025_18_31_02_937830_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327696731","file1":"1327696332","file0":"1327696228","file4":"1327697512","file5":"1327697897","file3":"1327697146"},"map_files_photo_id_array":[{"photo_id":"1327697897","filename":"file5"},{"photo_id":"1327696731","filename":"file2"},{"photo_id":"1327697512","filename":"file4"},{"photo_id":"1327696332","filename":"file1"},{"photo_id":"1327696228","filename":"file0"},{"photo_id":"1327697146","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327697512":["hashtag1","hashtag2"]},{"1327697146":["hashtag1","hashtag2"]},{"1327696228":["hashtag1","hashtag2"]},{"1327696332":["hashtag1","hashtag2"]},{"1327697897":["hashtag1","hashtag2"]},{"1327696731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327697512, 1327697146, 1327696228, 1327696332, 1327697897, 1327696731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 83.05319285392761 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 21:10:22.646075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/32/image_09012025_18_32_03_125528_0003.jpg', '/home/pi/Desktop/images/09012025/18/33/image_09012025_18_33_02_343510_0000.jpg', '/home/pi/Desktop/images/09012025/18/33/image_09012025_18_33_02_343510_0001.jpg', '/home/pi/Desktop/images/09012025/18/33/image_09012025_18_33_02_343510_0002.jpg', '/home/pi/Desktop/images/09012025/18/33/image_09012025_18_33_02_343510_0003.jpg', '/home/pi/Desktop/images/09012025/18/34/image_09012025_18_34_02_444002_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/32/image_09012025_18_32_03_125528_0003.jpg
/home/pi/Desktop/images/09012025/18/33/image_09012025_18_33_02_343510_0000.jpg
/home/pi/Desktop/images/09012025/18/33/image_09012025_18_33_02_343510_0001.jpg
/home/pi/Desktop/images/09012025/18/33/image_09012025_18_33_02_343510_0002.jpg
/home/pi/Desktop/images/09012025/18/33/image_09012025_18_33_02_343510_0003.jpg
/home/pi/Desktop/images/09012025/18/34/image_09012025_18_34_02_444002_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327698528","1327698531","1327698092","1327698173","1327698107","1327698101"],"photo_ids_order":["1327698092","1327698101","1327698107","1327698173","1327698528","1327698531"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/de49bee6dafcbd051540dc150b6ebf3c.jpg","text":"TemporaryFile(/tmp/multipartBody8726411510764531081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453524566,"filename":"image_09012025_18_33_02_343510_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0789112166862a74f952b6ad27b8567f.jpg","text":"TemporaryFile(/tmp/multipartBody8045750553586273187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453524566,"filename":"image_09012025_18_34_02_444002_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a11700e433f741f9709217ba7774f664.jpg","text":"TemporaryFile(/tmp/multipartBody8294215653214450587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453524566,"filename":"image_09012025_18_32_03_125528_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f24603d2e4dfdf8e5b6a10fc3257d136.jpg","text":"TemporaryFile(/tmp/multipartBody2935658752782732414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453524566,"filename":"image_09012025_18_33_02_343510_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5490178b36acf97fc37a2dcc782b324e.jpg","text":"TemporaryFile(/tmp/multipartBody8467214539019062678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453524566,"filename":"image_09012025_18_33_02_343510_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e4b4a6802ddc1a0af47a1e952630b066.jpg","text":"TemporaryFile(/tmp/multipartBody578103953682604963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453524566,"filename":"image_09012025_18_33_02_343510_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327698107","file1":"1327698101","file0":"1327698092","file4":"1327698528","file5":"1327698531","file3":"1327698173"},"map_files_photo_id_array":[{"photo_id":"1327698531","filename":"file5"},{"photo_id":"1327698107","filename":"file2"},{"photo_id":"1327698528","filename":"file4"},{"photo_id":"1327698101","filename":"file1"},{"photo_id":"1327698092","filename":"file0"},{"photo_id":"1327698173","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327698528":["hashtag1","hashtag2"]},{"1327698531":["hashtag1","hashtag2"]},{"1327698092":["hashtag1","hashtag2"]},{"1327698173":["hashtag1","hashtag2"]},{"1327698107":["hashtag1","hashtag2"]},{"1327698101":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327698528, 1327698531, 1327698092, 1327698173, 1327698107, 1327698101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.2418601512909 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 21:12:02.364661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/34/image_09012025_18_34_02_444002_0001.jpg', '/home/pi/Desktop/images/09012025/18/34/image_09012025_18_34_02_444002_0003.jpg', '/home/pi/Desktop/images/09012025/18/35/image_09012025_18_35_02_583981_0000.jpg', '/home/pi/Desktop/images/09012025/18/35/image_09012025_18_35_02_583981_0003.jpg', '/home/pi/Desktop/images/09012025/18/36/image_09012025_18_36_02_789349_0001.jpg', '/home/pi/Desktop/images/09012025/18/36/image_09012025_18_36_02_789349_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/34/image_09012025_18_34_02_444002_0001.jpg
/home/pi/Desktop/images/09012025/18/34/image_09012025_18_34_02_444002_0003.jpg
/home/pi/Desktop/images/09012025/18/35/image_09012025_18_35_02_583981_0000.jpg
/home/pi/Desktop/images/09012025/18/35/image_09012025_18_35_02_583981_0003.jpg
/home/pi/Desktop/images/09012025/18/36/image_09012025_18_36_02_789349_0001.jpg
/home/pi/Desktop/images/09012025/18/36/image_09012025_18_36_02_789349_0002.jpg
 val : 1 : upload photos 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":["1327698768","1327698896","1327698761","1327698917","1327698772","1327698919"],"photo_ids_order":["1327698761","1327698768","1327698772","1327698896","1327698917","1327698919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0f46292c50e5b4f5459ae3bbfc63b347.jpg","text":"TemporaryFile(/tmp/multipartBody4171273904874728110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453602213,"filename":"image_09012025_18_34_02_444002_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fec867b62cb6ced74c5e2811b6fea549.jpg","text":"TemporaryFile(/tmp/multipartBody7046164152324981107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453602213,"filename":"image_09012025_18_35_02_583981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/60782071a0add40cd03a1dd129757673.jpg","text":"TemporaryFile(/tmp/multipartBody1618620122774500209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453602213,"filename":"image_09012025_18_34_02_444002_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ef4b4a1840c9aafda2318a4af6593d07.jpg","text":"TemporaryFile(/tmp/multipartBody2036866444030092379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453602213,"filename":"image_09012025_18_36_02_789349_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/14f8dcf073d583bde35284ee71c8be82.jpg","text":"TemporaryFile(/tmp/multipartBody9192053242277044496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453602213,"filename":"image_09012025_18_35_02_583981_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/434d5cf1ec9a1782ab971f315cc2db67.jpg","text":"TemporaryFile(/tmp/multipartBody7650224287701811780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453602213,"filename":"image_09012025_18_36_02_789349_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327698772","file1":"1327698768","file0":"1327698761","file4":"1327698917","file5":"1327698919","file3":"1327698896"},"map_files_photo_id_array":[{"photo_id":"1327698919","filename":"file5"},{"photo_id":"1327698772","filename":"file2"},{"photo_id":"1327698917","filename":"file4"},{"photo_id":"1327698768","filename":"file1"},{"photo_id":"1327698761","filename":"file0"},{"photo_id":"1327698896","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327698768":["hashtag1","hashtag2"]},{"1327698896":["hashtag1","hashtag2"]},{"1327698761":["hashtag1","hashtag2"]},{"1327698917":["hashtag1","hashtag2"]},{"1327698772":["hashtag1","hashtag2"]},{"1327698919":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327698768, 1327698896, 1327698761, 1327698917, 1327698772, 1327698919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.33480858802795 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 21:13:22.290222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/36/image_09012025_18_36_02_789349_0003.jpg', '/home/pi/Desktop/images/09012025/18/37/image_09012025_18_37_02_347321_0000.jpg', '/home/pi/Desktop/images/09012025/18/37/image_09012025_18_37_02_347321_0001.jpg', '/home/pi/Desktop/images/09012025/18/37/image_09012025_18_37_02_347321_0002.jpg', '/home/pi/Desktop/images/09012025/18/37/image_09012025_18_37_02_347321_0003.jpg', '/home/pi/Desktop/images/09012025/18/38/image_09012025_18_38_02_639370_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/36/image_09012025_18_36_02_789349_0003.jpg
/home/pi/Desktop/images/09012025/18/37/image_09012025_18_37_02_347321_0000.jpg
/home/pi/Desktop/images/09012025/18/37/image_09012025_18_37_02_347321_0001.jpg
/home/pi/Desktop/images/09012025/18/37/image_09012025_18_37_02_347321_0002.jpg
/home/pi/Desktop/images/09012025/18/37/image_09012025_18_37_02_347321_0003.jpg
/home/pi/Desktop/images/09012025/18/38/image_09012025_18_38_02_639370_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327699065","1327699107","1327699079","1327699073","1327699100","1327699092"],"photo_ids_order":["1327699065","1327699073","1327699079","1327699092","1327699100","1327699107"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9a9e3a12f642bcce51eef65f7f9e026f.jpg","text":"TemporaryFile(/tmp/multipartBody5618172431496925057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453708628,"filename":"image_09012025_18_36_02_789349_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8e069dddd1ef47c968b2d3d85bceeb8f.jpg","text":"TemporaryFile(/tmp/multipartBody6841440550272400557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453708628,"filename":"image_09012025_18_38_02_639370_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9d0df2876174d0d9236fd9ef7db14e84.jpg","text":"TemporaryFile(/tmp/multipartBody8179009016539238865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453708628,"filename":"image_09012025_18_37_02_347321_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e582ad7be1f063fae19fa0f663b1e1d6.jpg","text":"TemporaryFile(/tmp/multipartBody6222392274618605521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453708628,"filename":"image_09012025_18_37_02_347321_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b3a93f89d5771b88ae4804bee6a5cc52.jpg","text":"TemporaryFile(/tmp/multipartBody4450488202248830017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453708628,"filename":"image_09012025_18_37_02_347321_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/821cc20c37e966ebaad28e879bce9b4c.jpg","text":"TemporaryFile(/tmp/multipartBody7185528315749087258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453708628,"filename":"image_09012025_18_37_02_347321_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327699079","file1":"1327699073","file0":"1327699065","file4":"1327699100","file5":"1327699107","file3":"1327699092"},"map_files_photo_id_array":[{"photo_id":"1327699107","filename":"file5"},{"photo_id":"1327699079","filename":"file2"},{"photo_id":"1327699100","filename":"file4"},{"photo_id":"1327699073","filename":"file1"},{"photo_id":"1327699065","filename":"file0"},{"photo_id":"1327699092","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327699065":["hashtag1","hashtag2"]},{"1327699107":["hashtag1","hashtag2"]},{"1327699079":["hashtag1","hashtag2"]},{"1327699073":["hashtag1","hashtag2"]},{"1327699100":["hashtag1","hashtag2"]},{"1327699092":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327699065, 1327699107, 1327699079, 1327699073, 1327699100, 1327699092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.0103919506073 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 21:15:03.184157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/38/image_09012025_18_38_02_639370_0001.jpg', '/home/pi/Desktop/images/09012025/18/38/image_09012025_18_38_02_639370_0002.jpg', '/home/pi/Desktop/images/09012025/18/38/image_09012025_18_38_02_639370_0003.jpg', '/home/pi/Desktop/images/09012025/18/39/image_09012025_18_39_02_752047_0000.jpg', '/home/pi/Desktop/images/09012025/18/39/image_09012025_18_39_02_752047_0001.jpg', '/home/pi/Desktop/images/09012025/18/39/image_09012025_18_39_02_752047_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/38/image_09012025_18_38_02_639370_0001.jpg
/home/pi/Desktop/images/09012025/18/38/image_09012025_18_38_02_639370_0002.jpg
/home/pi/Desktop/images/09012025/18/38/image_09012025_18_38_02_639370_0003.jpg
/home/pi/Desktop/images/09012025/18/39/image_09012025_18_39_02_752047_0000.jpg
/home/pi/Desktop/images/09012025/18/39/image_09012025_18_39_02_752047_0001.jpg
/home/pi/Desktop/images/09012025/18/39/image_09012025_18_39_02_752047_0002.jpg
 val : 1 : upload photos 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":["1327699196","1327699187","1327699166","1327699165","1327699260","1327699155"],"photo_ids_order":["1327699155","1327699165","1327699166","1327699187","1327699196","1327699260"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bfee82f661b01654aad21fb07610f93d.jpg","text":"TemporaryFile(/tmp/multipartBody4528615600653804624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453802520,"filename":"image_09012025_18_39_02_752047_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d1b7167f8b158721a47549b7d7ef61ad.jpg","text":"TemporaryFile(/tmp/multipartBody5710134676526386723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453802520,"filename":"image_09012025_18_39_02_752047_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/65ec9fe8b73c510954e04def26e65a15.jpg","text":"TemporaryFile(/tmp/multipartBody2954158762614813506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453802520,"filename":"image_09012025_18_38_02_639370_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b3be06d1c7b7ab8674a57c59b34e94d9.jpg","text":"TemporaryFile(/tmp/multipartBody4696118302691455966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453802520,"filename":"image_09012025_18_38_02_639370_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6e6c319c8e64ce727061da66321edcef.jpg","text":"TemporaryFile(/tmp/multipartBody2794912300368971938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453802520,"filename":"image_09012025_18_39_02_752047_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6c312e61c060afc244f721109a1e3716.jpg","text":"TemporaryFile(/tmp/multipartBody1416444573549868840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453802520,"filename":"image_09012025_18_38_02_639370_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327699166","file1":"1327699165","file0":"1327699155","file4":"1327699196","file5":"1327699260","file3":"1327699187"},"map_files_photo_id_array":[{"photo_id":"1327699260","filename":"file5"},{"photo_id":"1327699166","filename":"file2"},{"photo_id":"1327699196","filename":"file4"},{"photo_id":"1327699165","filename":"file1"},{"photo_id":"1327699155","filename":"file0"},{"photo_id":"1327699187","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327699196":["hashtag1","hashtag2"]},{"1327699187":["hashtag1","hashtag2"]},{"1327699166":["hashtag1","hashtag2"]},{"1327699165":["hashtag1","hashtag2"]},{"1327699260":["hashtag1","hashtag2"]},{"1327699155":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327699196, 1327699187, 1327699166, 1327699165, 1327699260, 1327699155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.57943725585938 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 21:16:42.870291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/39/image_09012025_18_39_02_752047_0003.jpg', '/home/pi/Desktop/images/09012025/18/40/image_09012025_18_40_03_049826_0000.jpg', '/home/pi/Desktop/images/09012025/18/40/image_09012025_18_40_03_049826_0001.jpg', '/home/pi/Desktop/images/09012025/18/40/image_09012025_18_40_03_049826_0002.jpg', '/home/pi/Desktop/images/09012025/18/40/image_09012025_18_40_03_049826_0003.jpg', '/home/pi/Desktop/images/09012025/18/41/image_09012025_18_41_02_159188_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/39/image_09012025_18_39_02_752047_0003.jpg
/home/pi/Desktop/images/09012025/18/40/image_09012025_18_40_03_049826_0000.jpg
/home/pi/Desktop/images/09012025/18/40/image_09012025_18_40_03_049826_0001.jpg
/home/pi/Desktop/images/09012025/18/40/image_09012025_18_40_03_049826_0002.jpg
/home/pi/Desktop/images/09012025/18/40/image_09012025_18_40_03_049826_0003.jpg
/home/pi/Desktop/images/09012025/18/41/image_09012025_18_41_02_159188_0000.jpg
 val : 1 : upload photos 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":["1327700738","1327700764","1327700761","1327700749","1327700740","1327700710"],"photo_ids_order":["1327700710","1327700738","1327700740","1327700749","1327700761","1327700764"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aa4e49b8dec5a73204747ffa8a2c4fab.jpg","text":"TemporaryFile(/tmp/multipartBody5081484821562501505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453902707,"filename":"image_09012025_18_40_03_049826_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/68316b9237bedb2706266a3a0d873632.jpg","text":"TemporaryFile(/tmp/multipartBody3772724063525226899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453902707,"filename":"image_09012025_18_41_02_159188_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3957d1cdd4cbf82d77e6b2eb3b8685e2.jpg","text":"TemporaryFile(/tmp/multipartBody4660624725720497469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453902707,"filename":"image_09012025_18_40_03_049826_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9c35e5b4c14f5cddd0a54427c0685d31.jpg","text":"TemporaryFile(/tmp/multipartBody8028149000619495085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453902707,"filename":"image_09012025_18_40_03_049826_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4cf4262d392fbb5b81a6090a515176ef.jpg","text":"TemporaryFile(/tmp/multipartBody6084775422667082226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453902707,"filename":"image_09012025_18_40_03_049826_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d033d5663bc1c37a0235f0cb6ff28444.jpg","text":"TemporaryFile(/tmp/multipartBody8974100509196072144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736453902707,"filename":"image_09012025_18_39_02_752047_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327700740","file1":"1327700738","file0":"1327700710","file4":"1327700761","file5":"1327700764","file3":"1327700749"},"map_files_photo_id_array":[{"photo_id":"1327700764","filename":"file5"},{"photo_id":"1327700740","filename":"file2"},{"photo_id":"1327700761","filename":"file4"},{"photo_id":"1327700738","filename":"file1"},{"photo_id":"1327700710","filename":"file0"},{"photo_id":"1327700749","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327700738":["hashtag1","hashtag2"]},{"1327700764":["hashtag1","hashtag2"]},{"1327700761":["hashtag1","hashtag2"]},{"1327700749":["hashtag1","hashtag2"]},{"1327700740":["hashtag1","hashtag2"]},{"1327700710":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327700738, 1327700764, 1327700761, 1327700749, 1327700740, 1327700710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.56855750083923 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 21:18:22.156744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/41/image_09012025_18_41_02_159188_0001.jpg', '/home/pi/Desktop/images/09012025/18/41/image_09012025_18_41_02_159188_0002.jpg', '/home/pi/Desktop/images/09012025/18/41/image_09012025_18_41_02_159188_0003.jpg', '/home/pi/Desktop/images/09012025/18/42/image_09012025_18_42_02_453134_0000.jpg', '/home/pi/Desktop/images/09012025/18/42/image_09012025_18_42_02_453134_0001.jpg', '/home/pi/Desktop/images/09012025/18/42/image_09012025_18_42_02_453134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/41/image_09012025_18_41_02_159188_0001.jpg
/home/pi/Desktop/images/09012025/18/41/image_09012025_18_41_02_159188_0002.jpg
/home/pi/Desktop/images/09012025/18/41/image_09012025_18_41_02_159188_0003.jpg
/home/pi/Desktop/images/09012025/18/42/image_09012025_18_42_02_453134_0000.jpg
/home/pi/Desktop/images/09012025/18/42/image_09012025_18_42_02_453134_0001.jpg
/home/pi/Desktop/images/09012025/18/42/image_09012025_18_42_02_453134_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 43.27794170379639 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 21:19:22.394660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/41/image_09012025_18_41_02_159188_0001.jpg', '/home/pi/Desktop/images/09012025/18/41/image_09012025_18_41_02_159188_0002.jpg', '/home/pi/Desktop/images/09012025/18/41/image_09012025_18_41_02_159188_0003.jpg', '/home/pi/Desktop/images/09012025/18/42/image_09012025_18_42_02_453134_0000.jpg', '/home/pi/Desktop/images/09012025/18/42/image_09012025_18_42_02_453134_0001.jpg', '/home/pi/Desktop/images/09012025/18/42/image_09012025_18_42_02_453134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/41/image_09012025_18_41_02_159188_0001.jpg
/home/pi/Desktop/images/09012025/18/41/image_09012025_18_41_02_159188_0002.jpg
/home/pi/Desktop/images/09012025/18/41/image_09012025_18_41_02_159188_0003.jpg
/home/pi/Desktop/images/09012025/18/42/image_09012025_18_42_02_453134_0000.jpg
/home/pi/Desktop/images/09012025/18/42/image_09012025_18_42_02_453134_0001.jpg
/home/pi/Desktop/images/09012025/18/42/image_09012025_18_42_02_453134_0002.jpg
 val : 1 : upload photos 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":["1327701373","1327701378","1327701363","1327701387","1327701366","1327701369"],"photo_ids_order":["1327701363","1327701366","1327701369","1327701373","1327701378","1327701387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f4ad6ab61e00817abf849040d8d6ff22.jpg","text":"TemporaryFile(/tmp/multipartBody1034232194678523079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454042915,"filename":"image_09012025_18_42_02_453134_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e1259da280b204937d342a0290b05f6f.jpg","text":"TemporaryFile(/tmp/multipartBody811374931281791731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454042915,"filename":"image_09012025_18_42_02_453134_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f6a92498a5268aff51ae8b63a9a468de.jpg","text":"TemporaryFile(/tmp/multipartBody2652030134028718985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454042915,"filename":"image_09012025_18_41_02_159188_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/424496020e3c037772bbd0e16a5a8cdd.jpg","text":"TemporaryFile(/tmp/multipartBody6009904936856553211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454042915,"filename":"image_09012025_18_42_02_453134_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6c39bad8d733135029fa561c4be8fd9e.jpg","text":"TemporaryFile(/tmp/multipartBody8986239373139643794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454042915,"filename":"image_09012025_18_41_02_159188_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/583da4eca4755d25c681c32e5fb225ea.jpg","text":"TemporaryFile(/tmp/multipartBody9135512988776998208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454042915,"filename":"image_09012025_18_41_02_159188_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327701369","file1":"1327701366","file0":"1327701363","file4":"1327701378","file5":"1327701387","file3":"1327701373"},"map_files_photo_id_array":[{"photo_id":"1327701387","filename":"file5"},{"photo_id":"1327701369","filename":"file2"},{"photo_id":"1327701378","filename":"file4"},{"photo_id":"1327701366","filename":"file1"},{"photo_id":"1327701363","filename":"file0"},{"photo_id":"1327701373","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327701373":["hashtag1","hashtag2"]},{"1327701378":["hashtag1","hashtag2"]},{"1327701363":["hashtag1","hashtag2"]},{"1327701387":["hashtag1","hashtag2"]},{"1327701366":["hashtag1","hashtag2"]},{"1327701369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327701373, 1327701378, 1327701363, 1327701387, 1327701366, 1327701369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.36026000976562 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 21:20:42.664308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/42/image_09012025_18_42_02_453134_0003.jpg', '/home/pi/Desktop/images/09012025/18/43/image_09012025_18_43_02_479086_0000.jpg', '/home/pi/Desktop/images/09012025/18/43/image_09012025_18_43_02_479086_0001.jpg', '/home/pi/Desktop/images/09012025/18/43/image_09012025_18_43_02_479086_0002.jpg', '/home/pi/Desktop/images/09012025/18/43/image_09012025_18_43_02_479086_0003.jpg', '/home/pi/Desktop/images/09012025/18/44/image_09012025_18_44_02_656256_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/42/image_09012025_18_42_02_453134_0003.jpg
/home/pi/Desktop/images/09012025/18/43/image_09012025_18_43_02_479086_0000.jpg
/home/pi/Desktop/images/09012025/18/43/image_09012025_18_43_02_479086_0001.jpg
/home/pi/Desktop/images/09012025/18/43/image_09012025_18_43_02_479086_0002.jpg
/home/pi/Desktop/images/09012025/18/43/image_09012025_18_43_02_479086_0003.jpg
/home/pi/Desktop/images/09012025/18/44/image_09012025_18_44_02_656256_0000.jpg
 val : 1 : upload photos 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":["1327701445","1327701427","1327701429","1327701449","1327701440","1327701425"],"photo_ids_order":["1327701425","1327701427","1327701429","1327701440","1327701445","1327701449"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1943e7c2c03b7f674ce3209b212953f1.jpg","text":"TemporaryFile(/tmp/multipartBody1555225910579663239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454140635,"filename":"image_09012025_18_43_02_479086_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/80014ef7a85aa53b04f9039b6197bae8.jpg","text":"TemporaryFile(/tmp/multipartBody4970975304720631582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454140635,"filename":"image_09012025_18_43_02_479086_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/28f5a3b9f4d976f9635fb0a5f660136d.jpg","text":"TemporaryFile(/tmp/multipartBody2912061860336116911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454140635,"filename":"image_09012025_18_43_02_479086_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3f5e8c717ed883063e724449cc901960.jpg","text":"TemporaryFile(/tmp/multipartBody2760344831824708470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454140635,"filename":"image_09012025_18_44_02_656256_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/89c5f9abee78d48a01e5035712b5ccfc.jpg","text":"TemporaryFile(/tmp/multipartBody9161544175561024112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454140635,"filename":"image_09012025_18_43_02_479086_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9c4992d8b1f40b84316a35a97baffeec.jpg","text":"TemporaryFile(/tmp/multipartBody575356778186097683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454140635,"filename":"image_09012025_18_42_02_453134_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327701429","file1":"1327701427","file0":"1327701425","file4":"1327701445","file5":"1327701449","file3":"1327701440"},"map_files_photo_id_array":[{"photo_id":"1327701449","filename":"file5"},{"photo_id":"1327701429","filename":"file2"},{"photo_id":"1327701445","filename":"file4"},{"photo_id":"1327701427","filename":"file1"},{"photo_id":"1327701425","filename":"file0"},{"photo_id":"1327701440","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327701445":["hashtag1","hashtag2"]},{"1327701427":["hashtag1","hashtag2"]},{"1327701429":["hashtag1","hashtag2"]},{"1327701449":["hashtag1","hashtag2"]},{"1327701440":["hashtag1","hashtag2"]},{"1327701425":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327701445, 1327701427, 1327701429, 1327701449, 1327701440, 1327701425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.23626589775085 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 21:22:22.005626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/44/image_09012025_18_44_02_656256_0001.jpg', '/home/pi/Desktop/images/09012025/18/44/image_09012025_18_44_02_656256_0002.jpg', '/home/pi/Desktop/images/09012025/18/44/image_09012025_18_44_02_656256_0003.jpg', '/home/pi/Desktop/images/09012025/18/45/image_09012025_18_45_02_886849_0000.jpg', '/home/pi/Desktop/images/09012025/18/45/image_09012025_18_45_02_886849_0001.jpg', '/home/pi/Desktop/images/09012025/18/45/image_09012025_18_45_02_886849_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/44/image_09012025_18_44_02_656256_0001.jpg
/home/pi/Desktop/images/09012025/18/44/image_09012025_18_44_02_656256_0002.jpg
/home/pi/Desktop/images/09012025/18/44/image_09012025_18_44_02_656256_0003.jpg
/home/pi/Desktop/images/09012025/18/45/image_09012025_18_45_02_886849_0000.jpg
/home/pi/Desktop/images/09012025/18/45/image_09012025_18_45_02_886849_0001.jpg
/home/pi/Desktop/images/09012025/18/45/image_09012025_18_45_02_886849_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327701520","1327701508","1327701516","1327701545","1327701524","1327701518"],"photo_ids_order":["1327701508","1327701516","1327701518","1327701520","1327701524","1327701545"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8c11a0698fe80077e25b32bf6ad7fa29.jpg","text":"TemporaryFile(/tmp/multipartBody8638362907755418637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454245546,"filename":"image_09012025_18_45_02_886849_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4785be8873456f31ab717c2dce7e575a.jpg","text":"TemporaryFile(/tmp/multipartBody7643155600246853237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454245546,"filename":"image_09012025_18_44_02_656256_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2f1b8d71f69f8a126ed8a8295845b103.jpg","text":"TemporaryFile(/tmp/multipartBody3678605630444443119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454245546,"filename":"image_09012025_18_44_02_656256_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/00a9a9289e515bc2050a23b5cb78d0d5.jpg","text":"TemporaryFile(/tmp/multipartBody650453734685928954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454245546,"filename":"image_09012025_18_45_02_886849_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e847510287f1e2e63058dd12dc095eaa.jpg","text":"TemporaryFile(/tmp/multipartBody1477007852752424061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454245546,"filename":"image_09012025_18_45_02_886849_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2b426d33a934583046619d50d49155b0.jpg","text":"TemporaryFile(/tmp/multipartBody5795694656589475291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454245546,"filename":"image_09012025_18_44_02_656256_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327701518","file1":"1327701516","file0":"1327701508","file4":"1327701524","file5":"1327701545","file3":"1327701520"},"map_files_photo_id_array":[{"photo_id":"1327701545","filename":"file5"},{"photo_id":"1327701518","filename":"file2"},{"photo_id":"1327701524","filename":"file4"},{"photo_id":"1327701516","filename":"file1"},{"photo_id":"1327701508","filename":"file0"},{"photo_id":"1327701520","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327701520":["hashtag1","hashtag2"]},{"1327701508":["hashtag1","hashtag2"]},{"1327701516":["hashtag1","hashtag2"]},{"1327701545":["hashtag1","hashtag2"]},{"1327701524":["hashtag1","hashtag2"]},{"1327701518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327701520, 1327701508, 1327701516, 1327701545, 1327701524, 1327701518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.4146831035614 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 21:24:02.644176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/45/image_09012025_18_45_02_886849_0003.jpg', '/home/pi/Desktop/images/09012025/18/46/image_09012025_18_46_02_174491_0000.jpg', '/home/pi/Desktop/images/09012025/18/46/image_09012025_18_46_02_174491_0001.jpg', '/home/pi/Desktop/images/09012025/18/46/image_09012025_18_46_02_174491_0002.jpg', '/home/pi/Desktop/images/09012025/18/46/image_09012025_18_46_02_174491_0003.jpg', '/home/pi/Desktop/images/09012025/18/47/image_09012025_18_47_02_315258_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/45/image_09012025_18_45_02_886849_0003.jpg
/home/pi/Desktop/images/09012025/18/46/image_09012025_18_46_02_174491_0000.jpg
/home/pi/Desktop/images/09012025/18/46/image_09012025_18_46_02_174491_0001.jpg
/home/pi/Desktop/images/09012025/18/46/image_09012025_18_46_02_174491_0002.jpg
/home/pi/Desktop/images/09012025/18/46/image_09012025_18_46_02_174491_0003.jpg
/home/pi/Desktop/images/09012025/18/47/image_09012025_18_47_02_315258_0000.jpg
 val : 1 : upload photos 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":["1327701838","1327701835","1327701831","1327701747","1327701833","1327701824"],"photo_ids_order":["1327701747","1327701824","1327701831","1327701833","1327701835","1327701838"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ffc36b60ff8d45e8a6cc5ba5943482d3.jpg","text":"TemporaryFile(/tmp/multipartBody462584437332387035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454346696,"filename":"image_09012025_18_47_02_315258_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/45a81e55cab994e4e9e97f6e9591021c.jpg","text":"TemporaryFile(/tmp/multipartBody360353091726851101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454346696,"filename":"image_09012025_18_46_02_174491_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1d6030fa5fdc494d0d482c16c852773c.jpg","text":"TemporaryFile(/tmp/multipartBody3219974953209111778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454346696,"filename":"image_09012025_18_46_02_174491_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9d70efbbf36d19841f3810a625faee7a.jpg","text":"TemporaryFile(/tmp/multipartBody5206763825879122224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454346696,"filename":"image_09012025_18_45_02_886849_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/394fc4b7ae38d00c6dd624bdca8ce1f9.jpg","text":"TemporaryFile(/tmp/multipartBody6506171737262470453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454346696,"filename":"image_09012025_18_46_02_174491_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6ff18d897610d709e7dec6610a64b062.jpg","text":"TemporaryFile(/tmp/multipartBody9144077216805898106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454346696,"filename":"image_09012025_18_46_02_174491_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327701831","file1":"1327701824","file0":"1327701747","file4":"1327701835","file5":"1327701838","file3":"1327701833"},"map_files_photo_id_array":[{"photo_id":"1327701838","filename":"file5"},{"photo_id":"1327701831","filename":"file2"},{"photo_id":"1327701835","filename":"file4"},{"photo_id":"1327701824","filename":"file1"},{"photo_id":"1327701747","filename":"file0"},{"photo_id":"1327701833","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327701838":["hashtag1","hashtag2"]},{"1327701835":["hashtag1","hashtag2"]},{"1327701831":["hashtag1","hashtag2"]},{"1327701747":["hashtag1","hashtag2"]},{"1327701833":["hashtag1","hashtag2"]},{"1327701824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327701838, 1327701835, 1327701831, 1327701747, 1327701833, 1327701824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.85273814201355 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 21:25:42.482608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/47/image_09012025_18_47_02_315258_0001.jpg', '/home/pi/Desktop/images/09012025/18/47/image_09012025_18_47_02_315258_0002.jpg', '/home/pi/Desktop/images/09012025/18/47/image_09012025_18_47_02_315258_0003.jpg', '/home/pi/Desktop/images/09012025/18/48/image_09012025_18_48_02_449958_0000.jpg', '/home/pi/Desktop/images/09012025/18/48/image_09012025_18_48_02_449958_0001.jpg', '/home/pi/Desktop/images/09012025/18/48/image_09012025_18_48_02_449958_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/47/image_09012025_18_47_02_315258_0001.jpg
/home/pi/Desktop/images/09012025/18/47/image_09012025_18_47_02_315258_0002.jpg
/home/pi/Desktop/images/09012025/18/47/image_09012025_18_47_02_315258_0003.jpg
/home/pi/Desktop/images/09012025/18/48/image_09012025_18_48_02_449958_0000.jpg
/home/pi/Desktop/images/09012025/18/48/image_09012025_18_48_02_449958_0001.jpg
/home/pi/Desktop/images/09012025/18/48/image_09012025_18_48_02_449958_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327702201","1327702204","1327702197","1327702206","1327702137","1327702193"],"photo_ids_order":["1327702137","1327702193","1327702197","1327702201","1327702204","1327702206"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8332c628caeba7d78472791e2a1a2201.jpg","text":"TemporaryFile(/tmp/multipartBody3954799687342833679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454451222,"filename":"image_09012025_18_48_02_449958_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f11c8be0d02982928cd074a5d88dd19f.jpg","text":"TemporaryFile(/tmp/multipartBody1934931430292667571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454451222,"filename":"image_09012025_18_48_02_449958_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1003dbfec15efbed072c137ba9ac146d.jpg","text":"TemporaryFile(/tmp/multipartBody8960654562623013313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454451222,"filename":"image_09012025_18_47_02_315258_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a8bc4689ec3ae4914043ba7d490c8717.jpg","text":"TemporaryFile(/tmp/multipartBody642819839177070062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454451222,"filename":"image_09012025_18_48_02_449958_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7a5fb0a973df73e80a56da3cd1496923.jpg","text":"TemporaryFile(/tmp/multipartBody7168290664015133725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454451222,"filename":"image_09012025_18_47_02_315258_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/93a49acae58b8e260207161ca9b58370.jpg","text":"TemporaryFile(/tmp/multipartBody6047335603433242027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454451222,"filename":"image_09012025_18_47_02_315258_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327702197","file1":"1327702193","file0":"1327702137","file4":"1327702204","file5":"1327702206","file3":"1327702201"},"map_files_photo_id_array":[{"photo_id":"1327702206","filename":"file5"},{"photo_id":"1327702197","filename":"file2"},{"photo_id":"1327702204","filename":"file4"},{"photo_id":"1327702193","filename":"file1"},{"photo_id":"1327702137","filename":"file0"},{"photo_id":"1327702201","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327702201":["hashtag1","hashtag2"]},{"1327702204":["hashtag1","hashtag2"]},{"1327702197":["hashtag1","hashtag2"]},{"1327702206":["hashtag1","hashtag2"]},{"1327702137":["hashtag1","hashtag2"]},{"1327702193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327702201, 1327702204, 1327702197, 1327702206, 1327702137, 1327702193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.5828549861908 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 21:27:31.816784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/48/image_09012025_18_48_02_449958_0003.jpg', '/home/pi/Desktop/images/09012025/18/49/image_09012025_18_49_02_734872_0000.jpg', '/home/pi/Desktop/images/09012025/18/49/image_09012025_18_49_02_734872_0001.jpg', '/home/pi/Desktop/images/09012025/18/49/image_09012025_18_49_02_734872_0002.jpg', '/home/pi/Desktop/images/09012025/18/49/image_09012025_18_49_02_734872_0003.jpg', '/home/pi/Desktop/images/09012025/18/50/image_09012025_18_50_02_876837_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/48/image_09012025_18_48_02_449958_0003.jpg
/home/pi/Desktop/images/09012025/18/49/image_09012025_18_49_02_734872_0000.jpg
/home/pi/Desktop/images/09012025/18/49/image_09012025_18_49_02_734872_0001.jpg
/home/pi/Desktop/images/09012025/18/49/image_09012025_18_49_02_734872_0002.jpg
/home/pi/Desktop/images/09012025/18/49/image_09012025_18_49_02_734872_0003.jpg
/home/pi/Desktop/images/09012025/18/50/image_09012025_18_50_02_876837_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327702293","1327702323","1327702280","1327702307","1327702351","1327702339"],"photo_ids_order":["1327702280","1327702293","1327702307","1327702323","1327702339","1327702351"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ceb2850303087a16f37b102266bc5ef0.jpg","text":"TemporaryFile(/tmp/multipartBody8647476942936002699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454555000,"filename":"image_09012025_18_49_02_734872_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2bd885274b2827e8db7eb22f5986916a.jpg","text":"TemporaryFile(/tmp/multipartBody3129331716794384291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454555000,"filename":"image_09012025_18_49_02_734872_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b28574ae6e88508049ec837da661e78f.jpg","text":"TemporaryFile(/tmp/multipartBody5766360586330122286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454555000,"filename":"image_09012025_18_48_02_449958_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f49c6c38d41dbb9a3fed1549587dd97d.jpg","text":"TemporaryFile(/tmp/multipartBody7826186758404017240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454555000,"filename":"image_09012025_18_49_02_734872_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/648466c2339ba671f8ddcee177a8901b.jpg","text":"TemporaryFile(/tmp/multipartBody3705817781781743915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454555000,"filename":"image_09012025_18_50_02_876837_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0da544d5472f3523ef84f31991315cec.jpg","text":"TemporaryFile(/tmp/multipartBody2141911363026881322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454555000,"filename":"image_09012025_18_49_02_734872_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327702307","file1":"1327702293","file0":"1327702280","file4":"1327702339","file5":"1327702351","file3":"1327702323"},"map_files_photo_id_array":[{"photo_id":"1327702351","filename":"file5"},{"photo_id":"1327702307","filename":"file2"},{"photo_id":"1327702339","filename":"file4"},{"photo_id":"1327702293","filename":"file1"},{"photo_id":"1327702280","filename":"file0"},{"photo_id":"1327702323","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327702293":["hashtag1","hashtag2"]},{"1327702323":["hashtag1","hashtag2"]},{"1327702280":["hashtag1","hashtag2"]},{"1327702307":["hashtag1","hashtag2"]},{"1327702351":["hashtag1","hashtag2"]},{"1327702339":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327702293, 1327702323, 1327702280, 1327702307, 1327702351, 1327702339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.64660263061523 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 21:29:22.275861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/50/image_09012025_18_50_02_876837_0001.jpg', '/home/pi/Desktop/images/09012025/18/50/image_09012025_18_50_02_876837_0002.jpg', '/home/pi/Desktop/images/09012025/18/50/image_09012025_18_50_02_876837_0003.jpg', '/home/pi/Desktop/images/09012025/18/51/image_09012025_18_51_03_083743_0000.jpg', '/home/pi/Desktop/images/09012025/18/51/image_09012025_18_51_03_083743_0002.jpg', '/home/pi/Desktop/images/09012025/18/51/image_09012025_18_51_03_083743_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/50/image_09012025_18_50_02_876837_0001.jpg
/home/pi/Desktop/images/09012025/18/50/image_09012025_18_50_02_876837_0002.jpg
/home/pi/Desktop/images/09012025/18/50/image_09012025_18_50_02_876837_0003.jpg
/home/pi/Desktop/images/09012025/18/51/image_09012025_18_51_03_083743_0000.jpg
/home/pi/Desktop/images/09012025/18/51/image_09012025_18_51_03_083743_0002.jpg
/home/pi/Desktop/images/09012025/18/51/image_09012025_18_51_03_083743_0003.jpg
 val : 1 : upload photos 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":["1327702528","1327702522","1327702485","1327702458","1327702562","1327702553"],"photo_ids_order":["1327702458","1327702485","1327702522","1327702528","1327702553","1327702562"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c71b0e99559a07ae33c9f28194f3f798.jpg","text":"TemporaryFile(/tmp/multipartBody1290152978634196876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454653010,"filename":"image_09012025_18_51_03_083743_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/43cf922a8e3d4fda9b4c21f721d55332.jpg","text":"TemporaryFile(/tmp/multipartBody710515288229902158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454653010,"filename":"image_09012025_18_50_02_876837_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b9b67d41b6a6c65779cdb20ff94658d0.jpg","text":"TemporaryFile(/tmp/multipartBody2797524747490655586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454653010,"filename":"image_09012025_18_50_02_876837_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e12d2f947f0cf7446dadb30d7e965470.jpg","text":"TemporaryFile(/tmp/multipartBody4633558325752373473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454653010,"filename":"image_09012025_18_50_02_876837_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/81f5db9fbcc3d797d367532c848867b4.jpg","text":"TemporaryFile(/tmp/multipartBody1368004444015790328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454653010,"filename":"image_09012025_18_51_03_083743_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/17d3bed52856ec14870ad393f103b2d6.jpg","text":"TemporaryFile(/tmp/multipartBody4467828406452156855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454653010,"filename":"image_09012025_18_51_03_083743_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327702522","file1":"1327702485","file0":"1327702458","file4":"1327702553","file5":"1327702562","file3":"1327702528"},"map_files_photo_id_array":[{"photo_id":"1327702562","filename":"file5"},{"photo_id":"1327702522","filename":"file2"},{"photo_id":"1327702553","filename":"file4"},{"photo_id":"1327702485","filename":"file1"},{"photo_id":"1327702458","filename":"file0"},{"photo_id":"1327702528","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327702528":["hashtag1","hashtag2"]},{"1327702522":["hashtag1","hashtag2"]},{"1327702485":["hashtag1","hashtag2"]},{"1327702458":["hashtag1","hashtag2"]},{"1327702562":["hashtag1","hashtag2"]},{"1327702553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327702528, 1327702522, 1327702485, 1327702458, 1327702562, 1327702553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.92503142356873 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 21:30:52.365593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/52/image_09012025_18_52_02_325083_0000.jpg', '/home/pi/Desktop/images/09012025/18/52/image_09012025_18_52_02_325083_0001.jpg', '/home/pi/Desktop/images/09012025/18/52/image_09012025_18_52_02_325083_0002.jpg', '/home/pi/Desktop/images/09012025/18/52/image_09012025_18_52_02_325083_0003.jpg', '/home/pi/Desktop/images/09012025/18/53/image_09012025_18_53_02_597255_0000.jpg', '/home/pi/Desktop/images/09012025/18/53/image_09012025_18_53_02_597255_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/52/image_09012025_18_52_02_325083_0000.jpg
/home/pi/Desktop/images/09012025/18/52/image_09012025_18_52_02_325083_0001.jpg
/home/pi/Desktop/images/09012025/18/52/image_09012025_18_52_02_325083_0002.jpg
/home/pi/Desktop/images/09012025/18/52/image_09012025_18_52_02_325083_0003.jpg
/home/pi/Desktop/images/09012025/18/53/image_09012025_18_53_02_597255_0000.jpg
/home/pi/Desktop/images/09012025/18/53/image_09012025_18_53_02_597255_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327702965","1327702959","1327702973","1327702945","1327702975","1327702954"],"photo_ids_order":["1327702945","1327702954","1327702959","1327702965","1327702973","1327702975"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f860f868f7b0eff5a1707f5947c8b57f.jpg","text":"TemporaryFile(/tmp/multipartBody3319084007688684549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454750859,"filename":"image_09012025_18_52_02_325083_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f2d89aa64475c7a687f068b6003756aa.jpg","text":"TemporaryFile(/tmp/multipartBody6714073781159560682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454750859,"filename":"image_09012025_18_52_02_325083_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d4402df53e8be5ab39e7e515313218c8.jpg","text":"TemporaryFile(/tmp/multipartBody6191527870052860877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454750859,"filename":"image_09012025_18_53_02_597255_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/55c8a0da73618cd6511e9b3cc762773a.jpg","text":"TemporaryFile(/tmp/multipartBody7476838990526044255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454750859,"filename":"image_09012025_18_52_02_325083_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bcaf0fe29806c51a659c8a116a7cc339.jpg","text":"TemporaryFile(/tmp/multipartBody2510978127961186523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454750859,"filename":"image_09012025_18_53_02_597255_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/21a7c4f6ff912ca7153c7f42ec547fc9.jpg","text":"TemporaryFile(/tmp/multipartBody963124931651799402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454750859,"filename":"image_09012025_18_52_02_325083_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327702959","file1":"1327702954","file0":"1327702945","file4":"1327702973","file5":"1327702975","file3":"1327702965"},"map_files_photo_id_array":[{"photo_id":"1327702975","filename":"file5"},{"photo_id":"1327702959","filename":"file2"},{"photo_id":"1327702973","filename":"file4"},{"photo_id":"1327702954","filename":"file1"},{"photo_id":"1327702945","filename":"file0"},{"photo_id":"1327702965","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327702965":["hashtag1","hashtag2"]},{"1327702959":["hashtag1","hashtag2"]},{"1327702973":["hashtag1","hashtag2"]},{"1327702945":["hashtag1","hashtag2"]},{"1327702975":["hashtag1","hashtag2"]},{"1327702954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327702965, 1327702959, 1327702973, 1327702945, 1327702975, 1327702954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.34841513633728 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 21:32:41.790488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/53/image_09012025_18_53_02_597255_0002.jpg', '/home/pi/Desktop/images/09012025/18/53/image_09012025_18_53_02_597255_0003.jpg', '/home/pi/Desktop/images/09012025/18/54/image_09012025_18_54_02_660025_0000.jpg', '/home/pi/Desktop/images/09012025/18/54/image_09012025_18_54_02_660025_0001.jpg', '/home/pi/Desktop/images/09012025/18/54/image_09012025_18_54_02_660025_0002.jpg', '/home/pi/Desktop/images/09012025/18/54/image_09012025_18_54_02_660025_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/53/image_09012025_18_53_02_597255_0002.jpg
/home/pi/Desktop/images/09012025/18/53/image_09012025_18_53_02_597255_0003.jpg
/home/pi/Desktop/images/09012025/18/54/image_09012025_18_54_02_660025_0000.jpg
/home/pi/Desktop/images/09012025/18/54/image_09012025_18_54_02_660025_0001.jpg
/home/pi/Desktop/images/09012025/18/54/image_09012025_18_54_02_660025_0002.jpg
/home/pi/Desktop/images/09012025/18/54/image_09012025_18_54_02_660025_0003.jpg
 val : 1 : upload photos 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":["1327703085","1327703037","1327703066","1327703004","1327703039","1327703033"],"photo_ids_order":["1327703004","1327703033","1327703037","1327703039","1327703066","1327703085"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8c7dd65e6f317828a38040fd546df6fa.jpg","text":"TemporaryFile(/tmp/multipartBody6787101718981243994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454864127,"filename":"image_09012025_18_54_02_660025_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e33d7a94330554a484110144beb83636.jpg","text":"TemporaryFile(/tmp/multipartBody1403117532605286835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454864127,"filename":"image_09012025_18_54_02_660025_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/35ad96de0107f59f8945eeef1e247afb.jpg","text":"TemporaryFile(/tmp/multipartBody4957888319003316189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454864127,"filename":"image_09012025_18_54_02_660025_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7ba37d3fc342e38acf8a5f17c640d927.jpg","text":"TemporaryFile(/tmp/multipartBody832425023375082072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454864127,"filename":"image_09012025_18_53_02_597255_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/837a0523bb704c9f46cb72ae683f124c.jpg","text":"TemporaryFile(/tmp/multipartBody6536917282752885586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454864127,"filename":"image_09012025_18_54_02_660025_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f34c68b21483a7e6cf96d9ebf2f351ce.jpg","text":"TemporaryFile(/tmp/multipartBody2603063850433155554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454864127,"filename":"image_09012025_18_53_02_597255_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327703037","file1":"1327703033","file0":"1327703004","file4":"1327703066","file5":"1327703085","file3":"1327703039"},"map_files_photo_id_array":[{"photo_id":"1327703085","filename":"file5"},{"photo_id":"1327703037","filename":"file2"},{"photo_id":"1327703066","filename":"file4"},{"photo_id":"1327703033","filename":"file1"},{"photo_id":"1327703004","filename":"file0"},{"photo_id":"1327703039","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327703085":["hashtag1","hashtag2"]},{"1327703037":["hashtag1","hashtag2"]},{"1327703066":["hashtag1","hashtag2"]},{"1327703004":["hashtag1","hashtag2"]},{"1327703039":["hashtag1","hashtag2"]},{"1327703033":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327703085, 1327703037, 1327703066, 1327703004, 1327703039, 1327703033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.24800324440002 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 21:34:22.071919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/55/image_09012025_18_55_02_908727_0000.jpg', '/home/pi/Desktop/images/09012025/18/55/image_09012025_18_55_02_908727_0001.jpg', '/home/pi/Desktop/images/09012025/18/55/image_09012025_18_55_02_908727_0002.jpg', '/home/pi/Desktop/images/09012025/18/55/image_09012025_18_55_02_908727_0003.jpg', '/home/pi/Desktop/images/09012025/18/56/image_09012025_18_56_03_078904_0000.jpg', '/home/pi/Desktop/images/09012025/18/56/image_09012025_18_56_03_078904_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/55/image_09012025_18_55_02_908727_0000.jpg
/home/pi/Desktop/images/09012025/18/55/image_09012025_18_55_02_908727_0001.jpg
/home/pi/Desktop/images/09012025/18/55/image_09012025_18_55_02_908727_0002.jpg
/home/pi/Desktop/images/09012025/18/55/image_09012025_18_55_02_908727_0003.jpg
/home/pi/Desktop/images/09012025/18/56/image_09012025_18_56_03_078904_0000.jpg
/home/pi/Desktop/images/09012025/18/56/image_09012025_18_56_03_078904_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327703169","1327703160","1327703166","1327703164","1327703158","1327703167"],"photo_ids_order":["1327703158","1327703160","1327703164","1327703166","1327703167","1327703169"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3950635a64bbdb596d64e953d2025692.jpg","text":"TemporaryFile(/tmp/multipartBody519295199097161936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454972212,"filename":"image_09012025_18_56_03_078904_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/60c879d0a87fab23f569178f0edd03b6.jpg","text":"TemporaryFile(/tmp/multipartBody3293346558958592209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454972212,"filename":"image_09012025_18_55_02_908727_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/49db34acf61fa3eea8648dad814ebbbb.jpg","text":"TemporaryFile(/tmp/multipartBody8065733289430563761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454972212,"filename":"image_09012025_18_55_02_908727_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/23156052075ad94431f56e5e007c0884.jpg","text":"TemporaryFile(/tmp/multipartBody5067748015865285576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454972212,"filename":"image_09012025_18_55_02_908727_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2ccb39b1660686303515da8448fc957c.jpg","text":"TemporaryFile(/tmp/multipartBody6385819383833055431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454972212,"filename":"image_09012025_18_55_02_908727_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9decd7494c02be13139a12c41895a954.jpg","text":"TemporaryFile(/tmp/multipartBody8945804479888336302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736454972212,"filename":"image_09012025_18_56_03_078904_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327703164","file1":"1327703160","file0":"1327703158","file4":"1327703167","file5":"1327703169","file3":"1327703166"},"map_files_photo_id_array":[{"photo_id":"1327703169","filename":"file5"},{"photo_id":"1327703164","filename":"file2"},{"photo_id":"1327703167","filename":"file4"},{"photo_id":"1327703160","filename":"file1"},{"photo_id":"1327703158","filename":"file0"},{"photo_id":"1327703166","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327703169":["hashtag1","hashtag2"]},{"1327703160":["hashtag1","hashtag2"]},{"1327703166":["hashtag1","hashtag2"]},{"1327703164":["hashtag1","hashtag2"]},{"1327703158":["hashtag1","hashtag2"]},{"1327703167":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327703169, 1327703160, 1327703166, 1327703164, 1327703158, 1327703167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 106.76017904281616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 21:36:22.434673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/56/image_09012025_18_56_03_078904_0002.jpg', '/home/pi/Desktop/images/09012025/18/56/image_09012025_18_56_03_078904_0003.jpg', '/home/pi/Desktop/images/09012025/18/57/image_09012025_18_57_02_215981_0000.jpg', '/home/pi/Desktop/images/09012025/18/57/image_09012025_18_57_02_215981_0001.jpg', '/home/pi/Desktop/images/09012025/18/57/image_09012025_18_57_02_215981_0002.jpg', '/home/pi/Desktop/images/09012025/18/57/image_09012025_18_57_02_215981_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/56/image_09012025_18_56_03_078904_0002.jpg
/home/pi/Desktop/images/09012025/18/56/image_09012025_18_56_03_078904_0003.jpg
/home/pi/Desktop/images/09012025/18/57/image_09012025_18_57_02_215981_0000.jpg
/home/pi/Desktop/images/09012025/18/57/image_09012025_18_57_02_215981_0001.jpg
/home/pi/Desktop/images/09012025/18/57/image_09012025_18_57_02_215981_0002.jpg
/home/pi/Desktop/images/09012025/18/57/image_09012025_18_57_02_215981_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327703274","1327703261","1327703255","1327703284","1327703251","1327703224"],"photo_ids_order":["1327703224","1327703251","1327703255","1327703261","1327703274","1327703284"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/019fe9064762303278c7eb204aa7bd60.jpg","text":"TemporaryFile(/tmp/multipartBody1822693905125834353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455081273,"filename":"image_09012025_18_57_02_215981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d03dde1fecbdc4fd1e56c07d88ed6f0d.jpg","text":"TemporaryFile(/tmp/multipartBody7398654097873923539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455081273,"filename":"image_09012025_18_57_02_215981_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dba8d5c7c8432e3f9884e4d9c770220a.jpg","text":"TemporaryFile(/tmp/multipartBody1903817525332421283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455081273,"filename":"image_09012025_18_57_02_215981_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9eb49cb658e3ba65c658e330a8317208.jpg","text":"TemporaryFile(/tmp/multipartBody1358698513386089018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455081273,"filename":"image_09012025_18_57_02_215981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/068f6b3af2a27dc8b7bc09aa4dddbd37.jpg","text":"TemporaryFile(/tmp/multipartBody6528549359498722599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455081273,"filename":"image_09012025_18_56_03_078904_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8925ba53fd69f6243e856181b540043e.jpg","text":"TemporaryFile(/tmp/multipartBody5432308994028075999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455081273,"filename":"image_09012025_18_56_03_078904_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327703255","file1":"1327703251","file0":"1327703224","file4":"1327703274","file5":"1327703284","file3":"1327703261"},"map_files_photo_id_array":[{"photo_id":"1327703284","filename":"file5"},{"photo_id":"1327703255","filename":"file2"},{"photo_id":"1327703274","filename":"file4"},{"photo_id":"1327703251","filename":"file1"},{"photo_id":"1327703224","filename":"file0"},{"photo_id":"1327703261","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327703274":["hashtag1","hashtag2"]},{"1327703261":["hashtag1","hashtag2"]},{"1327703255":["hashtag1","hashtag2"]},{"1327703284":["hashtag1","hashtag2"]},{"1327703251":["hashtag1","hashtag2"]},{"1327703224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327703274, 1327703261, 1327703255, 1327703284, 1327703251, 1327703224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.01572227478027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 21:38:02.324991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/58/image_09012025_18_58_02_399844_0000.jpg', '/home/pi/Desktop/images/09012025/18/58/image_09012025_18_58_02_399844_0001.jpg', '/home/pi/Desktop/images/09012025/18/58/image_09012025_18_58_02_399844_0002.jpg', '/home/pi/Desktop/images/09012025/18/58/image_09012025_18_58_02_399844_0003.jpg', '/home/pi/Desktop/images/09012025/18/59/image_09012025_18_59_02_618730_0000.jpg', '/home/pi/Desktop/images/09012025/18/59/image_09012025_18_59_02_618730_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/58/image_09012025_18_58_02_399844_0000.jpg
/home/pi/Desktop/images/09012025/18/58/image_09012025_18_58_02_399844_0001.jpg
/home/pi/Desktop/images/09012025/18/58/image_09012025_18_58_02_399844_0002.jpg
/home/pi/Desktop/images/09012025/18/58/image_09012025_18_58_02_399844_0003.jpg
/home/pi/Desktop/images/09012025/18/59/image_09012025_18_59_02_618730_0000.jpg
/home/pi/Desktop/images/09012025/18/59/image_09012025_18_59_02_618730_0001.jpg
 val : 1 : upload photos 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":["1327703330","1327703333","1327703336","1327703321","1327703338","1327703326"],"photo_ids_order":["1327703321","1327703326","1327703330","1327703333","1327703336","1327703338"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/11137f68bce516600f169e0443a3fb2f.jpg","text":"TemporaryFile(/tmp/multipartBody7618429733544528637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455176105,"filename":"image_09012025_18_58_02_399844_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/23342a5bd3e5740cca07b58ab2397acb.jpg","text":"TemporaryFile(/tmp/multipartBody1621476117215811595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455176105,"filename":"image_09012025_18_58_02_399844_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6c70d285dd403ac72a840c8be35298f9.jpg","text":"TemporaryFile(/tmp/multipartBody8139106311776050218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455176105,"filename":"image_09012025_18_59_02_618730_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a1ff7adb7d2d49e16ab107d91650efe1.jpg","text":"TemporaryFile(/tmp/multipartBody1189809465084899892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455176105,"filename":"image_09012025_18_58_02_399844_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6997d757cf673253c1e8a99e07a30236.jpg","text":"TemporaryFile(/tmp/multipartBody135560770438574341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455176105,"filename":"image_09012025_18_59_02_618730_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d0e660ded855a9cec88d7798ad948727.jpg","text":"TemporaryFile(/tmp/multipartBody6112798629965477831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455176105,"filename":"image_09012025_18_58_02_399844_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327703330","file1":"1327703326","file0":"1327703321","file4":"1327703336","file5":"1327703338","file3":"1327703333"},"map_files_photo_id_array":[{"photo_id":"1327703338","filename":"file5"},{"photo_id":"1327703330","filename":"file2"},{"photo_id":"1327703336","filename":"file4"},{"photo_id":"1327703326","filename":"file1"},{"photo_id":"1327703321","filename":"file0"},{"photo_id":"1327703333","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327703330":["hashtag1","hashtag2"]},{"1327703333":["hashtag1","hashtag2"]},{"1327703336":["hashtag1","hashtag2"]},{"1327703321":["hashtag1","hashtag2"]},{"1327703338":["hashtag1","hashtag2"]},{"1327703326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327703330, 1327703333, 1327703336, 1327703321, 1327703338, 1327703326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 87.23928570747375 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 21:39:31.984294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/18/59/image_09012025_18_59_02_618730_0002.jpg', '/home/pi/Desktop/images/09012025/18/59/image_09012025_18_59_02_618730_0003.jpg', '/home/pi/Desktop/images/09012025/19/00/image_09012025_19_00_02_864028_0000.jpg', '/home/pi/Desktop/images/09012025/19/00/image_09012025_19_00_02_864028_0001.jpg', '/home/pi/Desktop/images/09012025/19/00/image_09012025_19_00_02_864028_0002.jpg', '/home/pi/Desktop/images/09012025/19/00/image_09012025_19_00_02_864028_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/18/59/image_09012025_18_59_02_618730_0002.jpg
/home/pi/Desktop/images/09012025/18/59/image_09012025_18_59_02_618730_0003.jpg
/home/pi/Desktop/images/09012025/19/00/image_09012025_19_00_02_864028_0000.jpg
/home/pi/Desktop/images/09012025/19/00/image_09012025_19_00_02_864028_0001.jpg
/home/pi/Desktop/images/09012025/19/00/image_09012025_19_00_02_864028_0002.jpg
/home/pi/Desktop/images/09012025/19/00/image_09012025_19_00_02_864028_0003.jpg
 val : 1 : upload photos 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":["1327703370","1327703375","1327703366","1327703351","1327703353","1327703382"],"photo_ids_order":["1327703351","1327703353","1327703366","1327703370","1327703375","1327703382"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/929cce16c1ba53b4cef23df3740f7ce1.jpg","text":"TemporaryFile(/tmp/multipartBody4765597912087201354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455260205,"filename":"image_09012025_19_00_02_864028_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6907e8591d6235ae24535204a12e48e4.jpg","text":"TemporaryFile(/tmp/multipartBody8305523850431034033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455260205,"filename":"image_09012025_19_00_02_864028_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4b7257f17c13c7d89e43fb839c01783d.jpg","text":"TemporaryFile(/tmp/multipartBody1653795062583769101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455260205,"filename":"image_09012025_19_00_02_864028_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fa1c349880971d448b659454c6a3de02.jpg","text":"TemporaryFile(/tmp/multipartBody7950210865999568998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455260205,"filename":"image_09012025_18_59_02_618730_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8c3bd6a36109adc07d4bdb64ebf59c5c.jpg","text":"TemporaryFile(/tmp/multipartBody914703252167522546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455260205,"filename":"image_09012025_18_59_02_618730_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7af5db0a09e77c2f7a9bdf16a506a4d8.jpg","text":"TemporaryFile(/tmp/multipartBody86587323575870899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455260205,"filename":"image_09012025_19_00_02_864028_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327703366","file1":"1327703353","file0":"1327703351","file4":"1327703375","file5":"1327703382","file3":"1327703370"},"map_files_photo_id_array":[{"photo_id":"1327703382","filename":"file5"},{"photo_id":"1327703366","filename":"file2"},{"photo_id":"1327703375","filename":"file4"},{"photo_id":"1327703353","filename":"file1"},{"photo_id":"1327703351","filename":"file0"},{"photo_id":"1327703370","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327703370":["hashtag1","hashtag2"]},{"1327703375":["hashtag1","hashtag2"]},{"1327703366":["hashtag1","hashtag2"]},{"1327703351":["hashtag1","hashtag2"]},{"1327703353":["hashtag1","hashtag2"]},{"1327703382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327703370, 1327703375, 1327703366, 1327703351, 1327703353, 1327703382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.33430051803589 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 21:41:02.939834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/01/image_09012025_19_01_02_995590_0000.jpg', '/home/pi/Desktop/images/09012025/19/01/image_09012025_19_01_02_995590_0001.jpg', '/home/pi/Desktop/images/09012025/19/01/image_09012025_19_01_02_995590_0002.jpg', '/home/pi/Desktop/images/09012025/19/01/image_09012025_19_01_02_995590_0003.jpg', '/home/pi/Desktop/images/09012025/19/02/image_09012025_19_02_02_287512_0000.jpg', '/home/pi/Desktop/images/09012025/19/02/image_09012025_19_02_02_287512_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/01/image_09012025_19_01_02_995590_0000.jpg
/home/pi/Desktop/images/09012025/19/01/image_09012025_19_01_02_995590_0001.jpg
/home/pi/Desktop/images/09012025/19/01/image_09012025_19_01_02_995590_0002.jpg
/home/pi/Desktop/images/09012025/19/01/image_09012025_19_01_02_995590_0003.jpg
/home/pi/Desktop/images/09012025/19/02/image_09012025_19_02_02_287512_0000.jpg
/home/pi/Desktop/images/09012025/19/02/image_09012025_19_02_02_287512_0001.jpg
 val : 1 : upload photos 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":["1327703643","1327703645","1327703621","1327703647","1327703656","1327703611"],"photo_ids_order":["1327703611","1327703621","1327703643","1327703645","1327703647","1327703656"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/813510b6e14f41513537f06860440a38.jpg","text":"TemporaryFile(/tmp/multipartBody600084486431078497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455348863,"filename":"image_09012025_19_01_02_995590_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a17591c4930889c97fa1a004537056e0.jpg","text":"TemporaryFile(/tmp/multipartBody3050947377479545876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455348863,"filename":"image_09012025_19_01_02_995590_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5b3bc2aeb26bac889862f1d0c372d4ad.jpg","text":"TemporaryFile(/tmp/multipartBody3392860861915213733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455348863,"filename":"image_09012025_19_01_02_995590_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d1dd05108cd58ede36f42d71d0ccdb9b.jpg","text":"TemporaryFile(/tmp/multipartBody6484229428287166846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455348863,"filename":"image_09012025_19_02_02_287512_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ce963915c85a02f42118a7f8d0c54f46.jpg","text":"TemporaryFile(/tmp/multipartBody2156464156162589038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455348863,"filename":"image_09012025_19_02_02_287512_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6d23089043fc57c8d0e87c85434dff1f.jpg","text":"TemporaryFile(/tmp/multipartBody800489205899533941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455348863,"filename":"image_09012025_19_01_02_995590_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327703643","file1":"1327703621","file0":"1327703611","file4":"1327703647","file5":"1327703656","file3":"1327703645"},"map_files_photo_id_array":[{"photo_id":"1327703656","filename":"file5"},{"photo_id":"1327703643","filename":"file2"},{"photo_id":"1327703647","filename":"file4"},{"photo_id":"1327703621","filename":"file1"},{"photo_id":"1327703611","filename":"file0"},{"photo_id":"1327703645","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327703643":["hashtag1","hashtag2"]},{"1327703645":["hashtag1","hashtag2"]},{"1327703621":["hashtag1","hashtag2"]},{"1327703647":["hashtag1","hashtag2"]},{"1327703656":["hashtag1","hashtag2"]},{"1327703611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327703643, 1327703645, 1327703621, 1327703647, 1327703656, 1327703611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 76.051992893219 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 21:42:22.545790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/02/image_09012025_19_02_02_287512_0002.jpg', '/home/pi/Desktop/images/09012025/19/02/image_09012025_19_02_02_287512_0003.jpg', '/home/pi/Desktop/images/09012025/19/03/image_09012025_19_03_02_353368_0000.jpg', '/home/pi/Desktop/images/09012025/19/03/image_09012025_19_03_02_353368_0001.jpg', '/home/pi/Desktop/images/09012025/19/03/image_09012025_19_03_02_353368_0002.jpg', '/home/pi/Desktop/images/09012025/19/03/image_09012025_19_03_02_353368_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/02/image_09012025_19_02_02_287512_0002.jpg
/home/pi/Desktop/images/09012025/19/02/image_09012025_19_02_02_287512_0003.jpg
/home/pi/Desktop/images/09012025/19/03/image_09012025_19_03_02_353368_0000.jpg
/home/pi/Desktop/images/09012025/19/03/image_09012025_19_03_02_353368_0001.jpg
/home/pi/Desktop/images/09012025/19/03/image_09012025_19_03_02_353368_0002.jpg
/home/pi/Desktop/images/09012025/19/03/image_09012025_19_03_02_353368_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327703682","1327703670","1327703672","1327703675","1327703677","1327703668"],"photo_ids_order":["1327703668","1327703670","1327703672","1327703675","1327703677","1327703682"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6970a2134977a1c611e4f67b4ca5e16d.jpg","text":"TemporaryFile(/tmp/multipartBody2303250597919902002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455438853,"filename":"image_09012025_19_03_02_353368_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8c02c06cd67069044ed5232544aea530.jpg","text":"TemporaryFile(/tmp/multipartBody1865174949350741054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455438853,"filename":"image_09012025_19_02_02_287512_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fabd640cc87416a9a9371f819c16f948.jpg","text":"TemporaryFile(/tmp/multipartBody3534555921508285480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455438853,"filename":"image_09012025_19_03_02_353368_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/468dae9d189f210c6b4fcdee645f2468.jpg","text":"TemporaryFile(/tmp/multipartBody3388404380750262836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455438853,"filename":"image_09012025_19_03_02_353368_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4a1eacb117c42db24481e2f3642bbfc7.jpg","text":"TemporaryFile(/tmp/multipartBody25509274137106275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455438853,"filename":"image_09012025_19_03_02_353368_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1abe66318366336407c74b745c184dae.jpg","text":"TemporaryFile(/tmp/multipartBody2860036019820942957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455438853,"filename":"image_09012025_19_02_02_287512_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327703672","file1":"1327703670","file0":"1327703668","file4":"1327703677","file5":"1327703682","file3":"1327703675"},"map_files_photo_id_array":[{"photo_id":"1327703682","filename":"file5"},{"photo_id":"1327703672","filename":"file2"},{"photo_id":"1327703677","filename":"file4"},{"photo_id":"1327703670","filename":"file1"},{"photo_id":"1327703668","filename":"file0"},{"photo_id":"1327703675","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327703682":["hashtag1","hashtag2"]},{"1327703670":["hashtag1","hashtag2"]},{"1327703672":["hashtag1","hashtag2"]},{"1327703675":["hashtag1","hashtag2"]},{"1327703677":["hashtag1","hashtag2"]},{"1327703668":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327703682, 1327703670, 1327703672, 1327703675, 1327703677, 1327703668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.17043471336365 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 21:44:02.292137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/04/image_09012025_19_04_02_502462_0000.jpg', '/home/pi/Desktop/images/09012025/19/04/image_09012025_19_04_02_502462_0001.jpg', '/home/pi/Desktop/images/09012025/19/04/image_09012025_19_04_02_502462_0002.jpg', '/home/pi/Desktop/images/09012025/19/04/image_09012025_19_04_02_502462_0003.jpg', '/home/pi/Desktop/images/09012025/19/05/image_09012025_19_05_02_773593_0000.jpg', '/home/pi/Desktop/images/09012025/19/05/image_09012025_19_05_02_773593_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/04/image_09012025_19_04_02_502462_0000.jpg
/home/pi/Desktop/images/09012025/19/04/image_09012025_19_04_02_502462_0001.jpg
/home/pi/Desktop/images/09012025/19/04/image_09012025_19_04_02_502462_0002.jpg
/home/pi/Desktop/images/09012025/19/04/image_09012025_19_04_02_502462_0003.jpg
/home/pi/Desktop/images/09012025/19/05/image_09012025_19_05_02_773593_0000.jpg
/home/pi/Desktop/images/09012025/19/05/image_09012025_19_05_02_773593_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327703730","1327703741","1327703746","1327703737","1327703722","1327703719"],"photo_ids_order":["1327703719","1327703722","1327703730","1327703737","1327703741","1327703746"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4ea7d8a0a888e4057ef3ec11a252c546.jpg","text":"TemporaryFile(/tmp/multipartBody7497326923036973945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455546593,"filename":"image_09012025_19_04_02_502462_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b07208ac3745e1add53f2ecf0b059b35.jpg","text":"TemporaryFile(/tmp/multipartBody3368753093246986130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455546593,"filename":"image_09012025_19_05_02_773593_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/87a9a812dac622bdf24f11ab488d1331.jpg","text":"TemporaryFile(/tmp/multipartBody8379716637539752838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455546593,"filename":"image_09012025_19_05_02_773593_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bce44159a3e6607d3239cb7a59b7aba1.jpg","text":"TemporaryFile(/tmp/multipartBody7000107803875245091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455546593,"filename":"image_09012025_19_04_02_502462_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e6dcd2a554a71f34e295abe0636cc003.jpg","text":"TemporaryFile(/tmp/multipartBody1078746944806622656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455546593,"filename":"image_09012025_19_04_02_502462_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/51b56a949dda7c08ec33b3979c0328de.jpg","text":"TemporaryFile(/tmp/multipartBody7794268737427912710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455546593,"filename":"image_09012025_19_04_02_502462_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327703730","file1":"1327703722","file0":"1327703719","file4":"1327703741","file5":"1327703746","file3":"1327703737"},"map_files_photo_id_array":[{"photo_id":"1327703746","filename":"file5"},{"photo_id":"1327703730","filename":"file2"},{"photo_id":"1327703741","filename":"file4"},{"photo_id":"1327703722","filename":"file1"},{"photo_id":"1327703719","filename":"file0"},{"photo_id":"1327703737","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327703730":["hashtag1","hashtag2"]},{"1327703741":["hashtag1","hashtag2"]},{"1327703746":["hashtag1","hashtag2"]},{"1327703737":["hashtag1","hashtag2"]},{"1327703722":["hashtag1","hashtag2"]},{"1327703719":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327703730, 1327703741, 1327703746, 1327703737, 1327703722, 1327703719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.2275402545929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 21:45:52.069864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/05/image_09012025_19_05_02_773593_0002.jpg', '/home/pi/Desktop/images/09012025/19/05/image_09012025_19_05_02_773593_0003.jpg', '/home/pi/Desktop/images/09012025/19/06/image_09012025_19_06_02_945916_0000.jpg', '/home/pi/Desktop/images/09012025/19/06/image_09012025_19_06_02_945916_0001.jpg', '/home/pi/Desktop/images/09012025/19/06/image_09012025_19_06_02_945916_0002.jpg', '/home/pi/Desktop/images/09012025/19/06/image_09012025_19_06_02_945916_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/05/image_09012025_19_05_02_773593_0002.jpg
/home/pi/Desktop/images/09012025/19/05/image_09012025_19_05_02_773593_0003.jpg
/home/pi/Desktop/images/09012025/19/06/image_09012025_19_06_02_945916_0000.jpg
/home/pi/Desktop/images/09012025/19/06/image_09012025_19_06_02_945916_0001.jpg
/home/pi/Desktop/images/09012025/19/06/image_09012025_19_06_02_945916_0002.jpg
/home/pi/Desktop/images/09012025/19/06/image_09012025_19_06_02_945916_0003.jpg
 val : 1 : upload photos 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":["1327703862","1327703855","1327703858","1327703851","1327703860","1327703848"],"photo_ids_order":["1327703848","1327703851","1327703855","1327703858","1327703860","1327703862"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ad3ed2ad008952bd165593ce60d36ba2.jpg","text":"TemporaryFile(/tmp/multipartBody3413659596850998385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455651021,"filename":"image_09012025_19_06_02_945916_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7b5847eef7d20d5df2c1dedab95f6702.jpg","text":"TemporaryFile(/tmp/multipartBody4753469691244296105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455651021,"filename":"image_09012025_19_06_02_945916_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0f714302c4fa843bb4f12d904351c9f1.jpg","text":"TemporaryFile(/tmp/multipartBody6881060978415388177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455651021,"filename":"image_09012025_19_06_02_945916_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/72d85ce7837aa1185c1cc91e9597019c.jpg","text":"TemporaryFile(/tmp/multipartBody6246736088588859012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455651021,"filename":"image_09012025_19_05_02_773593_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f56c6e5c976da199224cc8ee236439ee.jpg","text":"TemporaryFile(/tmp/multipartBody4619697162168088128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455651021,"filename":"image_09012025_19_06_02_945916_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2331c86874ea55edb71ee209a5d06df8.jpg","text":"TemporaryFile(/tmp/multipartBody5960213989416717724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455651021,"filename":"image_09012025_19_05_02_773593_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327703855","file1":"1327703851","file0":"1327703848","file4":"1327703860","file5":"1327703862","file3":"1327703858"},"map_files_photo_id_array":[{"photo_id":"1327703862","filename":"file5"},{"photo_id":"1327703855","filename":"file2"},{"photo_id":"1327703860","filename":"file4"},{"photo_id":"1327703851","filename":"file1"},{"photo_id":"1327703848","filename":"file0"},{"photo_id":"1327703858","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327703862":["hashtag1","hashtag2"]},{"1327703855":["hashtag1","hashtag2"]},{"1327703858":["hashtag1","hashtag2"]},{"1327703851":["hashtag1","hashtag2"]},{"1327703860":["hashtag1","hashtag2"]},{"1327703848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327703862, 1327703855, 1327703858, 1327703851, 1327703860, 1327703848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.83695793151855 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 21:47:32.414535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/07/image_09012025_19_07_03_076787_0000.jpg', '/home/pi/Desktop/images/09012025/19/07/image_09012025_19_07_03_076787_0001.jpg', '/home/pi/Desktop/images/09012025/19/07/image_09012025_19_07_03_076787_0002.jpg', '/home/pi/Desktop/images/09012025/19/07/image_09012025_19_07_03_076787_0003.jpg', '/home/pi/Desktop/images/09012025/19/08/image_09012025_19_08_02_283532_0000.jpg', '/home/pi/Desktop/images/09012025/19/08/image_09012025_19_08_02_283532_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/07/image_09012025_19_07_03_076787_0000.jpg
/home/pi/Desktop/images/09012025/19/07/image_09012025_19_07_03_076787_0001.jpg
/home/pi/Desktop/images/09012025/19/07/image_09012025_19_07_03_076787_0002.jpg
/home/pi/Desktop/images/09012025/19/07/image_09012025_19_07_03_076787_0003.jpg
/home/pi/Desktop/images/09012025/19/08/image_09012025_19_08_02_283532_0000.jpg
/home/pi/Desktop/images/09012025/19/08/image_09012025_19_08_02_283532_0001.jpg
 val : 1 : upload photos 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":["1327703905","1327703883","1327703897","1327703901","1327703879","1327703888"],"photo_ids_order":["1327703879","1327703883","1327703888","1327703897","1327703901","1327703905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1ed15e60ca599e62bb5121f2a5eca97f.jpg","text":"TemporaryFile(/tmp/multipartBody847481453886086304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455731987,"filename":"image_09012025_19_08_02_283532_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/755bc5f0778332d72bd424ccab73946a.jpg","text":"TemporaryFile(/tmp/multipartBody5234163848410062400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455731987,"filename":"image_09012025_19_07_03_076787_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/df0ed86f4fce2f6799c81cb8b6fc4672.jpg","text":"TemporaryFile(/tmp/multipartBody1910396023529470861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455731987,"filename":"image_09012025_19_07_03_076787_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ba9c98176a77860fcd27ac8a85547e9b.jpg","text":"TemporaryFile(/tmp/multipartBody8739366791334228068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455731987,"filename":"image_09012025_19_08_02_283532_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/11cf022784787459649acaacd41b0033.jpg","text":"TemporaryFile(/tmp/multipartBody1089141200293463184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455731987,"filename":"image_09012025_19_07_03_076787_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bb5e16251ea24b30c8b0bb07b8ccb748.jpg","text":"TemporaryFile(/tmp/multipartBody1658110140291951251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455731987,"filename":"image_09012025_19_07_03_076787_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327703888","file1":"1327703883","file0":"1327703879","file4":"1327703901","file5":"1327703905","file3":"1327703897"},"map_files_photo_id_array":[{"photo_id":"1327703905","filename":"file5"},{"photo_id":"1327703888","filename":"file2"},{"photo_id":"1327703901","filename":"file4"},{"photo_id":"1327703883","filename":"file1"},{"photo_id":"1327703879","filename":"file0"},{"photo_id":"1327703897","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327703905":["hashtag1","hashtag2"]},{"1327703883":["hashtag1","hashtag2"]},{"1327703897":["hashtag1","hashtag2"]},{"1327703901":["hashtag1","hashtag2"]},{"1327703879":["hashtag1","hashtag2"]},{"1327703888":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327703905, 1327703883, 1327703897, 1327703901, 1327703879, 1327703888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 75.8396213054657 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 21:48:52.608935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/08/image_09012025_19_08_02_283532_0002.jpg', '/home/pi/Desktop/images/09012025/19/08/image_09012025_19_08_02_283532_0003.jpg', '/home/pi/Desktop/images/09012025/19/09/image_09012025_19_09_02_526129_0000.jpg', '/home/pi/Desktop/images/09012025/19/09/image_09012025_19_09_02_526129_0001.jpg', '/home/pi/Desktop/images/09012025/19/09/image_09012025_19_09_02_526129_0002.jpg', '/home/pi/Desktop/images/09012025/19/09/image_09012025_19_09_02_526129_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/08/image_09012025_19_08_02_283532_0002.jpg
/home/pi/Desktop/images/09012025/19/08/image_09012025_19_08_02_283532_0003.jpg
/home/pi/Desktop/images/09012025/19/09/image_09012025_19_09_02_526129_0000.jpg
/home/pi/Desktop/images/09012025/19/09/image_09012025_19_09_02_526129_0001.jpg
/home/pi/Desktop/images/09012025/19/09/image_09012025_19_09_02_526129_0002.jpg
/home/pi/Desktop/images/09012025/19/09/image_09012025_19_09_02_526129_0003.jpg
 val : 1 : upload photos 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":["1327703952","1327703963","1327703951","1327703948","1327703957","1327703944"],"photo_ids_order":["1327703944","1327703948","1327703951","1327703952","1327703957","1327703963"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b0a3c13c65bce2ad4cf06d72fd586e81.jpg","text":"TemporaryFile(/tmp/multipartBody3880277706375050942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455832656,"filename":"image_09012025_19_09_02_526129_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/75934bbeaf91f2700a3650a8d81e1b10.jpg","text":"TemporaryFile(/tmp/multipartBody2152374886832235775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455832656,"filename":"image_09012025_19_09_02_526129_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a340c5de6ae3525ff2256878311b692f.jpg","text":"TemporaryFile(/tmp/multipartBody1340625190690682617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455832656,"filename":"image_09012025_19_09_02_526129_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d89e88863216c9372f47f507d6849e97.jpg","text":"TemporaryFile(/tmp/multipartBody6512631632265854452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455832656,"filename":"image_09012025_19_08_02_283532_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/81c1a35ebbef23a15094973c5ddbf0d7.jpg","text":"TemporaryFile(/tmp/multipartBody2374059786651715212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455832656,"filename":"image_09012025_19_09_02_526129_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e7d815932a7b76296f33cdab0a946bc3.jpg","text":"TemporaryFile(/tmp/multipartBody8920620792033676516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455832656,"filename":"image_09012025_19_08_02_283532_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327703951","file1":"1327703948","file0":"1327703944","file4":"1327703957","file5":"1327703963","file3":"1327703952"},"map_files_photo_id_array":[{"photo_id":"1327703963","filename":"file5"},{"photo_id":"1327703951","filename":"file2"},{"photo_id":"1327703957","filename":"file4"},{"photo_id":"1327703948","filename":"file1"},{"photo_id":"1327703944","filename":"file0"},{"photo_id":"1327703952","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327703952":["hashtag1","hashtag2"]},{"1327703963":["hashtag1","hashtag2"]},{"1327703951":["hashtag1","hashtag2"]},{"1327703948":["hashtag1","hashtag2"]},{"1327703957":["hashtag1","hashtag2"]},{"1327703944":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327703952, 1327703963, 1327703951, 1327703948, 1327703957, 1327703944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.65906953811646 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 21:50:31.954160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/10/image_09012025_19_10_02_645856_0000.jpg', '/home/pi/Desktop/images/09012025/19/10/image_09012025_19_10_02_645856_0001.jpg', '/home/pi/Desktop/images/09012025/19/10/image_09012025_19_10_02_645856_0002.jpg', '/home/pi/Desktop/images/09012025/19/10/image_09012025_19_10_02_645856_0003.jpg', '/home/pi/Desktop/images/09012025/19/11/image_09012025_19_11_02_855153_0000.jpg', '/home/pi/Desktop/images/09012025/19/11/image_09012025_19_11_02_855153_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/10/image_09012025_19_10_02_645856_0000.jpg
/home/pi/Desktop/images/09012025/19/10/image_09012025_19_10_02_645856_0001.jpg
/home/pi/Desktop/images/09012025/19/10/image_09012025_19_10_02_645856_0002.jpg
/home/pi/Desktop/images/09012025/19/10/image_09012025_19_10_02_645856_0003.jpg
/home/pi/Desktop/images/09012025/19/11/image_09012025_19_11_02_855153_0000.jpg
/home/pi/Desktop/images/09012025/19/11/image_09012025_19_11_02_855153_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327704129","1327704108","1327704101","1327704104","1327704127","1327704106"],"photo_ids_order":["1327704101","1327704104","1327704106","1327704108","1327704127","1327704129"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7789189136362af4ef4a45f065799901.jpg","text":"TemporaryFile(/tmp/multipartBody3098925922650245862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455940362,"filename":"image_09012025_19_11_02_855153_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ceab78b29b40628189fa48e88c135d02.jpg","text":"TemporaryFile(/tmp/multipartBody6717102429137612545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455940362,"filename":"image_09012025_19_10_02_645856_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/93007723b5c4d9d8b564cb18a8c18891.jpg","text":"TemporaryFile(/tmp/multipartBody779134854544610481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455940362,"filename":"image_09012025_19_10_02_645856_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4f3df0e0f5e91bac9afffc01b1d1b180.jpg","text":"TemporaryFile(/tmp/multipartBody121269965079833406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455940362,"filename":"image_09012025_19_10_02_645856_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/79b1370cbbadcdee72f1089f1a0d1b83.jpg","text":"TemporaryFile(/tmp/multipartBody648269327875386729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455940362,"filename":"image_09012025_19_11_02_855153_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5bf85ad46f5962bbdfd4fb548e00c37b.jpg","text":"TemporaryFile(/tmp/multipartBody1197358404881027609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736455940362,"filename":"image_09012025_19_10_02_645856_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327704106","file1":"1327704104","file0":"1327704101","file4":"1327704127","file5":"1327704129","file3":"1327704108"},"map_files_photo_id_array":[{"photo_id":"1327704129","filename":"file5"},{"photo_id":"1327704106","filename":"file2"},{"photo_id":"1327704127","filename":"file4"},{"photo_id":"1327704104","filename":"file1"},{"photo_id":"1327704101","filename":"file0"},{"photo_id":"1327704108","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327704129":["hashtag1","hashtag2"]},{"1327704108":["hashtag1","hashtag2"]},{"1327704101":["hashtag1","hashtag2"]},{"1327704104":["hashtag1","hashtag2"]},{"1327704127":["hashtag1","hashtag2"]},{"1327704106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327704129, 1327704108, 1327704101, 1327704104, 1327704127, 1327704106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 104.45337104797363 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 21:52:22.354771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/11/image_09012025_19_11_02_855153_0002.jpg', '/home/pi/Desktop/images/09012025/19/11/image_09012025_19_11_02_855153_0003.jpg', '/home/pi/Desktop/images/09012025/19/12/image_09012025_19_12_03_019399_0000.jpg', '/home/pi/Desktop/images/09012025/19/12/image_09012025_19_12_03_019399_0001.jpg', '/home/pi/Desktop/images/09012025/19/12/image_09012025_19_12_03_019399_0002.jpg', '/home/pi/Desktop/images/09012025/19/12/image_09012025_19_12_03_019399_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/11/image_09012025_19_11_02_855153_0002.jpg
/home/pi/Desktop/images/09012025/19/11/image_09012025_19_11_02_855153_0003.jpg
/home/pi/Desktop/images/09012025/19/12/image_09012025_19_12_03_019399_0000.jpg
/home/pi/Desktop/images/09012025/19/12/image_09012025_19_12_03_019399_0001.jpg
/home/pi/Desktop/images/09012025/19/12/image_09012025_19_12_03_019399_0002.jpg
/home/pi/Desktop/images/09012025/19/12/image_09012025_19_12_03_019399_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327704312","1327704315","1327705433","1327704614","1327705245","1327705431"],"photo_ids_order":["1327704312","1327704315","1327704614","1327705245","1327705431","1327705433"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eed6b4b365a2182352d64a441a2d8702.jpg","text":"TemporaryFile(/tmp/multipartBody1371652176324489518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456043322,"filename":"image_09012025_19_11_02_855153_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b6c09e2026f44f81087a207f4b7a3dde.jpg","text":"TemporaryFile(/tmp/multipartBody8026098942112512940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456043322,"filename":"image_09012025_19_11_02_855153_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b896b01211f32f4465673031636c87fb.jpg","text":"TemporaryFile(/tmp/multipartBody8033670095491919452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456043322,"filename":"image_09012025_19_12_03_019399_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f7fce464314be8e1f55519b54b1f2030.jpg","text":"TemporaryFile(/tmp/multipartBody1542975634041053127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456043322,"filename":"image_09012025_19_12_03_019399_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/642e626ba830aaf910d7ce0b5e03363a.jpg","text":"TemporaryFile(/tmp/multipartBody4502938443731719166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456043322,"filename":"image_09012025_19_12_03_019399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f8bd366550a2316bb25fb4d3f5d474b2.jpg","text":"TemporaryFile(/tmp/multipartBody1377934300685618302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456043322,"filename":"image_09012025_19_12_03_019399_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327704614","file1":"1327704315","file0":"1327704312","file4":"1327705431","file5":"1327705433","file3":"1327705245"},"map_files_photo_id_array":[{"photo_id":"1327705433","filename":"file5"},{"photo_id":"1327704614","filename":"file2"},{"photo_id":"1327705431","filename":"file4"},{"photo_id":"1327704315","filename":"file1"},{"photo_id":"1327704312","filename":"file0"},{"photo_id":"1327705245","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327704312":["hashtag1","hashtag2"]},{"1327704315":["hashtag1","hashtag2"]},{"1327705433":["hashtag1","hashtag2"]},{"1327704614":["hashtag1","hashtag2"]},{"1327705245":["hashtag1","hashtag2"]},{"1327705431":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327704312, 1327704315, 1327705433, 1327704614, 1327705245, 1327705431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.88025569915771 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 21:54:03.009024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/13/image_09012025_19_13_02_255958_0000.jpg', '/home/pi/Desktop/images/09012025/19/13/image_09012025_19_13_02_255958_0001.jpg', '/home/pi/Desktop/images/09012025/19/13/image_09012025_19_13_02_255958_0002.jpg', '/home/pi/Desktop/images/09012025/19/13/image_09012025_19_13_02_255958_0003.jpg', '/home/pi/Desktop/images/09012025/19/14/image_09012025_19_14_02_377699_0000.jpg', '/home/pi/Desktop/images/09012025/19/14/image_09012025_19_14_02_377699_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/13/image_09012025_19_13_02_255958_0000.jpg
/home/pi/Desktop/images/09012025/19/13/image_09012025_19_13_02_255958_0001.jpg
/home/pi/Desktop/images/09012025/19/13/image_09012025_19_13_02_255958_0002.jpg
/home/pi/Desktop/images/09012025/19/13/image_09012025_19_13_02_255958_0003.jpg
/home/pi/Desktop/images/09012025/19/14/image_09012025_19_14_02_377699_0000.jpg
/home/pi/Desktop/images/09012025/19/14/image_09012025_19_14_02_377699_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 30.859130144119263 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 21:54:42.702384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/13/image_09012025_19_13_02_255958_0000.jpg', '/home/pi/Desktop/images/09012025/19/13/image_09012025_19_13_02_255958_0001.jpg', '/home/pi/Desktop/images/09012025/19/13/image_09012025_19_13_02_255958_0002.jpg', '/home/pi/Desktop/images/09012025/19/13/image_09012025_19_13_02_255958_0003.jpg', '/home/pi/Desktop/images/09012025/19/14/image_09012025_19_14_02_377699_0000.jpg', '/home/pi/Desktop/images/09012025/19/14/image_09012025_19_14_02_377699_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/13/image_09012025_19_13_02_255958_0000.jpg
/home/pi/Desktop/images/09012025/19/13/image_09012025_19_13_02_255958_0001.jpg
/home/pi/Desktop/images/09012025/19/13/image_09012025_19_13_02_255958_0002.jpg
/home/pi/Desktop/images/09012025/19/13/image_09012025_19_13_02_255958_0003.jpg
/home/pi/Desktop/images/09012025/19/14/image_09012025_19_14_02_377699_0000.jpg
/home/pi/Desktop/images/09012025/19/14/image_09012025_19_14_02_377699_0001.jpg
 val : 1 : upload photos 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":["1327705811","1327705805","1327705802","1327705807","1327705809","1327705800"],"photo_ids_order":["1327705800","1327705802","1327705805","1327705807","1327705809","1327705811"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3a307769c8675efe10fddc707307a380.jpg","text":"TemporaryFile(/tmp/multipartBody4680036388382629332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456181707,"filename":"image_09012025_19_14_02_377699_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1b05099ceb7b72f8b310f30516eeadae.jpg","text":"TemporaryFile(/tmp/multipartBody2843639821068292194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456181707,"filename":"image_09012025_19_13_02_255958_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8bca439944931e2387a4d5ebefb87665.jpg","text":"TemporaryFile(/tmp/multipartBody9067451517877675653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456181707,"filename":"image_09012025_19_13_02_255958_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f6cd35c4c1e8856ceb284d524b44aa3a.jpg","text":"TemporaryFile(/tmp/multipartBody2051962127903106101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456181707,"filename":"image_09012025_19_13_02_255958_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/03ff07d9e5292b48af0993c392923a31.jpg","text":"TemporaryFile(/tmp/multipartBody3358085569269303419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456181707,"filename":"image_09012025_19_14_02_377699_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9f20bd5efad6b4b202b29e0c827bbb61.jpg","text":"TemporaryFile(/tmp/multipartBody7754770505683387905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456181707,"filename":"image_09012025_19_13_02_255958_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327705805","file1":"1327705802","file0":"1327705800","file4":"1327705809","file5":"1327705811","file3":"1327705807"},"map_files_photo_id_array":[{"photo_id":"1327705811","filename":"file5"},{"photo_id":"1327705805","filename":"file2"},{"photo_id":"1327705809","filename":"file4"},{"photo_id":"1327705802","filename":"file1"},{"photo_id":"1327705800","filename":"file0"},{"photo_id":"1327705807","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327705811":["hashtag1","hashtag2"]},{"1327705805":["hashtag1","hashtag2"]},{"1327705802":["hashtag1","hashtag2"]},{"1327705807":["hashtag1","hashtag2"]},{"1327705809":["hashtag1","hashtag2"]},{"1327705800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327705811, 1327705805, 1327705802, 1327705807, 1327705809, 1327705800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.81066465377808 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 21:56:21.966779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/14/image_09012025_19_14_02_377699_0002.jpg', '/home/pi/Desktop/images/09012025/19/14/image_09012025_19_14_02_377699_0003.jpg', '/home/pi/Desktop/images/09012025/19/15/image_09012025_19_15_02_637521_0000.jpg', '/home/pi/Desktop/images/09012025/19/15/image_09012025_19_15_02_637521_0001.jpg', '/home/pi/Desktop/images/09012025/19/15/image_09012025_19_15_02_637521_0002.jpg', '/home/pi/Desktop/images/09012025/19/15/image_09012025_19_15_02_637521_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/14/image_09012025_19_14_02_377699_0002.jpg
/home/pi/Desktop/images/09012025/19/14/image_09012025_19_14_02_377699_0003.jpg
/home/pi/Desktop/images/09012025/19/15/image_09012025_19_15_02_637521_0000.jpg
/home/pi/Desktop/images/09012025/19/15/image_09012025_19_15_02_637521_0001.jpg
/home/pi/Desktop/images/09012025/19/15/image_09012025_19_15_02_637521_0002.jpg
/home/pi/Desktop/images/09012025/19/15/image_09012025_19_15_02_637521_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 21:59:03.301766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/14/image_09012025_19_14_02_377699_0002.jpg', '/home/pi/Desktop/images/09012025/19/14/image_09012025_19_14_02_377699_0003.jpg', '/home/pi/Desktop/images/09012025/19/15/image_09012025_19_15_02_637521_0000.jpg', '/home/pi/Desktop/images/09012025/19/15/image_09012025_19_15_02_637521_0001.jpg', '/home/pi/Desktop/images/09012025/19/15/image_09012025_19_15_02_637521_0002.jpg', '/home/pi/Desktop/images/09012025/19/15/image_09012025_19_15_02_637521_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/14/image_09012025_19_14_02_377699_0002.jpg
/home/pi/Desktop/images/09012025/19/14/image_09012025_19_14_02_377699_0003.jpg
/home/pi/Desktop/images/09012025/19/15/image_09012025_19_15_02_637521_0000.jpg
/home/pi/Desktop/images/09012025/19/15/image_09012025_19_15_02_637521_0001.jpg
/home/pi/Desktop/images/09012025/19/15/image_09012025_19_15_02_637521_0002.jpg
/home/pi/Desktop/images/09012025/19/15/image_09012025_19_15_02_637521_0003.jpg
 val : 1 : upload photos 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":["1327705952","1327705945","1327705939","1327705942","1327705950","1327705938"],"photo_ids_order":["1327705938","1327705939","1327705942","1327705945","1327705950","1327705952"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2432d064774881a72d5ed8b5b2dc2cf8.jpg","text":"TemporaryFile(/tmp/multipartBody9022851464964949073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456440377,"filename":"image_09012025_19_15_02_637521_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/21bd70fc1254e8b8db7cfdc4e06cc6c4.jpg","text":"TemporaryFile(/tmp/multipartBody4574698908514265644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456440377,"filename":"image_09012025_19_15_02_637521_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b28d3c34ba3cd9009e3d793107450654.jpg","text":"TemporaryFile(/tmp/multipartBody5956077972683364048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456440377,"filename":"image_09012025_19_14_02_377699_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/101bbac3d1e41308d0dc4800fe9b0f6d.jpg","text":"TemporaryFile(/tmp/multipartBody3791379240448972778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456440377,"filename":"image_09012025_19_15_02_637521_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5f6ce0208539a828967485e27e421006.jpg","text":"TemporaryFile(/tmp/multipartBody5181719371283646288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456440377,"filename":"image_09012025_19_15_02_637521_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/acc1f74421fb5937136e7ce8814cef6f.jpg","text":"TemporaryFile(/tmp/multipartBody2771903230436380255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456440377,"filename":"image_09012025_19_14_02_377699_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327705942","file1":"1327705939","file0":"1327705938","file4":"1327705950","file5":"1327705952","file3":"1327705945"},"map_files_photo_id_array":[{"photo_id":"1327705952","filename":"file5"},{"photo_id":"1327705942","filename":"file2"},{"photo_id":"1327705950","filename":"file4"},{"photo_id":"1327705939","filename":"file1"},{"photo_id":"1327705938","filename":"file0"},{"photo_id":"1327705945","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327705952":["hashtag1","hashtag2"]},{"1327705945":["hashtag1","hashtag2"]},{"1327705939":["hashtag1","hashtag2"]},{"1327705942":["hashtag1","hashtag2"]},{"1327705950":["hashtag1","hashtag2"]},{"1327705938":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327705952, 1327705945, 1327705939, 1327705942, 1327705950, 1327705938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.73692035675049 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 22:00:42.725797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/16/image_09012025_19_16_02_753525_0001.jpg', '/home/pi/Desktop/images/09012025/19/16/image_09012025_19_16_02_753525_0002.jpg', '/home/pi/Desktop/images/09012025/19/16/image_09012025_19_16_02_753525_0003.jpg', '/home/pi/Desktop/images/09012025/19/17/image_09012025_19_17_02_977134_0000.jpg', '/home/pi/Desktop/images/09012025/19/17/image_09012025_19_17_02_977134_0001.jpg', '/home/pi/Desktop/images/09012025/19/17/image_09012025_19_17_02_977134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/16/image_09012025_19_16_02_753525_0001.jpg
/home/pi/Desktop/images/09012025/19/16/image_09012025_19_16_02_753525_0002.jpg
/home/pi/Desktop/images/09012025/19/16/image_09012025_19_16_02_753525_0003.jpg
/home/pi/Desktop/images/09012025/19/17/image_09012025_19_17_02_977134_0000.jpg
/home/pi/Desktop/images/09012025/19/17/image_09012025_19_17_02_977134_0001.jpg
/home/pi/Desktop/images/09012025/19/17/image_09012025_19_17_02_977134_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 36.301025390625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 22:01:21.895250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/16/image_09012025_19_16_02_753525_0001.jpg', '/home/pi/Desktop/images/09012025/19/16/image_09012025_19_16_02_753525_0002.jpg', '/home/pi/Desktop/images/09012025/19/16/image_09012025_19_16_02_753525_0003.jpg', '/home/pi/Desktop/images/09012025/19/17/image_09012025_19_17_02_977134_0000.jpg', '/home/pi/Desktop/images/09012025/19/17/image_09012025_19_17_02_977134_0001.jpg', '/home/pi/Desktop/images/09012025/19/17/image_09012025_19_17_02_977134_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/16/image_09012025_19_16_02_753525_0001.jpg
/home/pi/Desktop/images/09012025/19/16/image_09012025_19_16_02_753525_0002.jpg
/home/pi/Desktop/images/09012025/19/16/image_09012025_19_16_02_753525_0003.jpg
/home/pi/Desktop/images/09012025/19/17/image_09012025_19_17_02_977134_0000.jpg
/home/pi/Desktop/images/09012025/19/17/image_09012025_19_17_02_977134_0001.jpg
/home/pi/Desktop/images/09012025/19/17/image_09012025_19_17_02_977134_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327706015","1327706012","1327706029","1327706023","1327706037","1327706010"],"photo_ids_order":["1327706010","1327706012","1327706015","1327706023","1327706029","1327706037"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d53e3c5a6b0a6135fada3803d7900c10.jpg","text":"TemporaryFile(/tmp/multipartBody8874416112690498265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456579878,"filename":"image_09012025_19_16_02_753525_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d66e172eec54b7a4e92c0f668c6c2841.jpg","text":"TemporaryFile(/tmp/multipartBody2212256425694366474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456579878,"filename":"image_09012025_19_16_02_753525_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e19b53139e623820958b3b34f2d6b79b.jpg","text":"TemporaryFile(/tmp/multipartBody1549637621802996704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456579878,"filename":"image_09012025_19_17_02_977134_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c120d3c9efd35d0ca83eb9b34b82801d.jpg","text":"TemporaryFile(/tmp/multipartBody2410105645715213101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456579878,"filename":"image_09012025_19_17_02_977134_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/60ef27b03f58e9f1d37c0d3706e174d6.jpg","text":"TemporaryFile(/tmp/multipartBody8837929898011880441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456579878,"filename":"image_09012025_19_17_02_977134_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/72cc07a3856c3b0ef3909929c344bd5e.jpg","text":"TemporaryFile(/tmp/multipartBody2233311095731919590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456579878,"filename":"image_09012025_19_16_02_753525_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327706015","file1":"1327706012","file0":"1327706010","file4":"1327706029","file5":"1327706037","file3":"1327706023"},"map_files_photo_id_array":[{"photo_id":"1327706037","filename":"file5"},{"photo_id":"1327706015","filename":"file2"},{"photo_id":"1327706029","filename":"file4"},{"photo_id":"1327706012","filename":"file1"},{"photo_id":"1327706010","filename":"file0"},{"photo_id":"1327706023","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327706015":["hashtag1","hashtag2"]},{"1327706012":["hashtag1","hashtag2"]},{"1327706029":["hashtag1","hashtag2"]},{"1327706023":["hashtag1","hashtag2"]},{"1327706037":["hashtag1","hashtag2"]},{"1327706010":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327706015, 1327706012, 1327706029, 1327706023, 1327706037, 1327706010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.45103526115417 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 22:03:02.918128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/17/image_09012025_19_17_02_977134_0003.jpg', '/home/pi/Desktop/images/09012025/19/18/image_09012025_19_18_03_111079_0000.jpg', '/home/pi/Desktop/images/09012025/19/18/image_09012025_19_18_03_111079_0001.jpg', '/home/pi/Desktop/images/09012025/19/18/image_09012025_19_18_03_111079_0002.jpg', '/home/pi/Desktop/images/09012025/19/18/image_09012025_19_18_03_111079_0003.jpg', '/home/pi/Desktop/images/09012025/19/19/image_09012025_19_19_02_388545_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/17/image_09012025_19_17_02_977134_0003.jpg
/home/pi/Desktop/images/09012025/19/18/image_09012025_19_18_03_111079_0000.jpg
/home/pi/Desktop/images/09012025/19/18/image_09012025_19_18_03_111079_0001.jpg
/home/pi/Desktop/images/09012025/19/18/image_09012025_19_18_03_111079_0002.jpg
/home/pi/Desktop/images/09012025/19/18/image_09012025_19_18_03_111079_0003.jpg
/home/pi/Desktop/images/09012025/19/19/image_09012025_19_19_02_388545_0000.jpg
 val : 1 : upload photos 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":["1327706053","1327706047","1327706055","1327706049","1327706058","1327706051"],"photo_ids_order":["1327706047","1327706049","1327706051","1327706053","1327706055","1327706058"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/151aaf0140520d7c20afc604e3ad5236.jpg","text":"TemporaryFile(/tmp/multipartBody7719468553485809907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456677924,"filename":"image_09012025_19_18_03_111079_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/30effe6b90c6a6f42b6ddc7b2369dc55.jpg","text":"TemporaryFile(/tmp/multipartBody2924452206310307472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456677924,"filename":"image_09012025_19_17_02_977134_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8c391fd38147170a41074040ab4c2e6f.jpg","text":"TemporaryFile(/tmp/multipartBody8532783267566099690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456677924,"filename":"image_09012025_19_18_03_111079_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/449a3f6e028ae7f95038e9eaca440eda.jpg","text":"TemporaryFile(/tmp/multipartBody8759172273868370090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456677924,"filename":"image_09012025_19_18_03_111079_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/48f460910abcc710825335eb40f79141.jpg","text":"TemporaryFile(/tmp/multipartBody7006489873001155797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456677924,"filename":"image_09012025_19_19_02_388545_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/232daeea0f6a3bf5fc7e0f253434fb19.jpg","text":"TemporaryFile(/tmp/multipartBody5750828659643293270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456677924,"filename":"image_09012025_19_18_03_111079_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327706051","file1":"1327706049","file0":"1327706047","file4":"1327706055","file5":"1327706058","file3":"1327706053"},"map_files_photo_id_array":[{"photo_id":"1327706058","filename":"file5"},{"photo_id":"1327706051","filename":"file2"},{"photo_id":"1327706055","filename":"file4"},{"photo_id":"1327706049","filename":"file1"},{"photo_id":"1327706047","filename":"file0"},{"photo_id":"1327706053","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327706053":["hashtag1","hashtag2"]},{"1327706047":["hashtag1","hashtag2"]},{"1327706055":["hashtag1","hashtag2"]},{"1327706049":["hashtag1","hashtag2"]},{"1327706058":["hashtag1","hashtag2"]},{"1327706051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327706053, 1327706047, 1327706055, 1327706049, 1327706058, 1327706051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.96982789039612 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 22:04:42.495753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/19/image_09012025_19_19_02_388545_0001.jpg', '/home/pi/Desktop/images/09012025/19/19/image_09012025_19_19_02_388545_0002.jpg', '/home/pi/Desktop/images/09012025/19/19/image_09012025_19_19_02_388545_0003.jpg', '/home/pi/Desktop/images/09012025/19/20/image_09012025_19_20_02_546711_0000.jpg', '/home/pi/Desktop/images/09012025/19/20/image_09012025_19_20_02_546711_0001.jpg', '/home/pi/Desktop/images/09012025/19/20/image_09012025_19_20_02_546711_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/19/image_09012025_19_19_02_388545_0001.jpg
/home/pi/Desktop/images/09012025/19/19/image_09012025_19_19_02_388545_0002.jpg
/home/pi/Desktop/images/09012025/19/19/image_09012025_19_19_02_388545_0003.jpg
/home/pi/Desktop/images/09012025/19/20/image_09012025_19_20_02_546711_0000.jpg
/home/pi/Desktop/images/09012025/19/20/image_09012025_19_20_02_546711_0001.jpg
/home/pi/Desktop/images/09012025/19/20/image_09012025_19_20_02_546711_0002.jpg
 val : 1 : upload photos 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":["1327706063","1327706095","1327706071","1327706067","1327706082","1327706069"],"photo_ids_order":["1327706063","1327706067","1327706069","1327706071","1327706082","1327706095"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a29ff010ba68287cc485f845f1a37db0.jpg","text":"TemporaryFile(/tmp/multipartBody7094755957250592446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456781528,"filename":"image_09012025_19_19_02_388545_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/84cbca458c95f12b32b8d02f81272000.jpg","text":"TemporaryFile(/tmp/multipartBody2533034797513239569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456781528,"filename":"image_09012025_19_20_02_546711_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a1559191a89a23c08f2eddc8fadc3d2e.jpg","text":"TemporaryFile(/tmp/multipartBody646544477395184388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456781528,"filename":"image_09012025_19_20_02_546711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/59be3abc9c4f8392fb15858b56b2a1b4.jpg","text":"TemporaryFile(/tmp/multipartBody2302052005581204882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456781528,"filename":"image_09012025_19_19_02_388545_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ae28eef4bc50cd8c15d91079446bb9b6.jpg","text":"TemporaryFile(/tmp/multipartBody3284587677851785643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456781528,"filename":"image_09012025_19_20_02_546711_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ef816883f75f7967acdf95004e5ca9fe.jpg","text":"TemporaryFile(/tmp/multipartBody2618559655994408793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456781528,"filename":"image_09012025_19_19_02_388545_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327706069","file1":"1327706067","file0":"1327706063","file4":"1327706082","file5":"1327706095","file3":"1327706071"},"map_files_photo_id_array":[{"photo_id":"1327706095","filename":"file5"},{"photo_id":"1327706069","filename":"file2"},{"photo_id":"1327706082","filename":"file4"},{"photo_id":"1327706067","filename":"file1"},{"photo_id":"1327706063","filename":"file0"},{"photo_id":"1327706071","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327706063":["hashtag1","hashtag2"]},{"1327706095":["hashtag1","hashtag2"]},{"1327706071":["hashtag1","hashtag2"]},{"1327706067":["hashtag1","hashtag2"]},{"1327706082":["hashtag1","hashtag2"]},{"1327706069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327706063, 1327706095, 1327706071, 1327706067, 1327706082, 1327706069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.2428891658783 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 22:06:21.813640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/20/image_09012025_19_20_02_546711_0003.jpg', '/home/pi/Desktop/images/09012025/19/21/image_09012025_19_21_02_718945_0000.jpg', '/home/pi/Desktop/images/09012025/19/21/image_09012025_19_21_02_718945_0001.jpg', '/home/pi/Desktop/images/09012025/19/21/image_09012025_19_21_02_718945_0002.jpg', '/home/pi/Desktop/images/09012025/19/21/image_09012025_19_21_02_718945_0003.jpg', '/home/pi/Desktop/images/09012025/19/22/image_09012025_19_22_02_918850_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/20/image_09012025_19_20_02_546711_0003.jpg
/home/pi/Desktop/images/09012025/19/21/image_09012025_19_21_02_718945_0000.jpg
/home/pi/Desktop/images/09012025/19/21/image_09012025_19_21_02_718945_0001.jpg
/home/pi/Desktop/images/09012025/19/21/image_09012025_19_21_02_718945_0002.jpg
/home/pi/Desktop/images/09012025/19/21/image_09012025_19_21_02_718945_0003.jpg
/home/pi/Desktop/images/09012025/19/22/image_09012025_19_22_02_918850_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327706155","1327706199","1327706142","1327706541","1327706969","1327706948"],"photo_ids_order":["1327706142","1327706155","1327706199","1327706541","1327706948","1327706969"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/81aa6eff23d8d3306ef7d74045f9c8b8.jpg","text":"TemporaryFile(/tmp/multipartBody4109377687925492086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456880252,"filename":"image_09012025_19_21_02_718945_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5327deabc8b9310481169b846926473b.jpg","text":"TemporaryFile(/tmp/multipartBody1954392355588963030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456880252,"filename":"image_09012025_19_21_02_718945_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8aa5bcf6383c501b5629c4c769d3a90a.jpg","text":"TemporaryFile(/tmp/multipartBody6068861753094426722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456880252,"filename":"image_09012025_19_20_02_546711_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/030b39e6a0bd52d884277b76503fa071.jpg","text":"TemporaryFile(/tmp/multipartBody5886359053308188479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456880252,"filename":"image_09012025_19_21_02_718945_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/979f979d7382a7ccd19ec49ab6c28231.jpg","text":"TemporaryFile(/tmp/multipartBody5524944387448149397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456880252,"filename":"image_09012025_19_22_02_918850_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6e8ef11f0220d6b66d9dd5a36e25813a.jpg","text":"TemporaryFile(/tmp/multipartBody700842756027760028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456880252,"filename":"image_09012025_19_21_02_718945_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327706199","file1":"1327706155","file0":"1327706142","file4":"1327706948","file5":"1327706969","file3":"1327706541"},"map_files_photo_id_array":[{"photo_id":"1327706969","filename":"file5"},{"photo_id":"1327706199","filename":"file2"},{"photo_id":"1327706948","filename":"file4"},{"photo_id":"1327706155","filename":"file1"},{"photo_id":"1327706142","filename":"file0"},{"photo_id":"1327706541","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327706155":["hashtag1","hashtag2"]},{"1327706199":["hashtag1","hashtag2"]},{"1327706142":["hashtag1","hashtag2"]},{"1327706541":["hashtag1","hashtag2"]},{"1327706969":["hashtag1","hashtag2"]},{"1327706948":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327706155, 1327706199, 1327706142, 1327706541, 1327706969, 1327706948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.79526090621948 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 22:08:02.489891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/22/image_09012025_19_22_02_918850_0001.jpg', '/home/pi/Desktop/images/09012025/19/22/image_09012025_19_22_02_918850_0002.jpg', '/home/pi/Desktop/images/09012025/19/22/image_09012025_19_22_02_918850_0003.jpg', '/home/pi/Desktop/images/09012025/19/23/image_09012025_19_23_03_027290_0000.jpg', '/home/pi/Desktop/images/09012025/19/23/image_09012025_19_23_03_027290_0001.jpg', '/home/pi/Desktop/images/09012025/19/23/image_09012025_19_23_03_027290_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/22/image_09012025_19_22_02_918850_0001.jpg
/home/pi/Desktop/images/09012025/19/22/image_09012025_19_22_02_918850_0002.jpg
/home/pi/Desktop/images/09012025/19/22/image_09012025_19_22_02_918850_0003.jpg
/home/pi/Desktop/images/09012025/19/23/image_09012025_19_23_03_027290_0000.jpg
/home/pi/Desktop/images/09012025/19/23/image_09012025_19_23_03_027290_0001.jpg
/home/pi/Desktop/images/09012025/19/23/image_09012025_19_23_03_027290_0002.jpg
 val : 1 : upload photos 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":["1327707103","1327707127","1327707106","1327707100","1327707108","1327707102"],"photo_ids_order":["1327707100","1327707102","1327707103","1327707106","1327707108","1327707127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/207ba9df67878d9793736148e0efc7af.jpg","text":"TemporaryFile(/tmp/multipartBody6254596421950906098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456967384,"filename":"image_09012025_19_22_02_918850_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/34e56fea1ef1c390f6fdb4df971d42db.jpg","text":"TemporaryFile(/tmp/multipartBody5082029313107441868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456967384,"filename":"image_09012025_19_23_03_027290_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/06729f2dff2e7e75a6353948be1edfdd.jpg","text":"TemporaryFile(/tmp/multipartBody9147207394183331795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456967384,"filename":"image_09012025_19_23_03_027290_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/66d0f5cbf5bf48821737618c75fbcfec.jpg","text":"TemporaryFile(/tmp/multipartBody2909652354996186353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456967384,"filename":"image_09012025_19_22_02_918850_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e3a712728e95d5d23a727c7f5a49c21c.jpg","text":"TemporaryFile(/tmp/multipartBody5380740269919412974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456967384,"filename":"image_09012025_19_23_03_027290_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0775e72d7195e894636c1443758dd859.jpg","text":"TemporaryFile(/tmp/multipartBody5542766685423696394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736456967384,"filename":"image_09012025_19_22_02_918850_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327707103","file1":"1327707102","file0":"1327707100","file4":"1327707108","file5":"1327707127","file3":"1327707106"},"map_files_photo_id_array":[{"photo_id":"1327707127","filename":"file5"},{"photo_id":"1327707103","filename":"file2"},{"photo_id":"1327707108","filename":"file4"},{"photo_id":"1327707102","filename":"file1"},{"photo_id":"1327707100","filename":"file0"},{"photo_id":"1327707106","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327707103":["hashtag1","hashtag2"]},{"1327707127":["hashtag1","hashtag2"]},{"1327707106":["hashtag1","hashtag2"]},{"1327707100":["hashtag1","hashtag2"]},{"1327707108":["hashtag1","hashtag2"]},{"1327707102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327707103, 1327707127, 1327707106, 1327707100, 1327707108, 1327707102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.81094670295715 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 22:09:32.315103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/23/image_09012025_19_23_03_027290_0003.jpg', '/home/pi/Desktop/images/09012025/19/24/image_09012025_19_24_02_294668_0000.jpg', '/home/pi/Desktop/images/09012025/19/24/image_09012025_19_24_02_294668_0001.jpg', '/home/pi/Desktop/images/09012025/19/24/image_09012025_19_24_02_294668_0002.jpg', '/home/pi/Desktop/images/09012025/19/24/image_09012025_19_24_02_294668_0003.jpg', '/home/pi/Desktop/images/09012025/19/25/image_09012025_19_25_02_350219_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/23/image_09012025_19_23_03_027290_0003.jpg
/home/pi/Desktop/images/09012025/19/24/image_09012025_19_24_02_294668_0000.jpg
/home/pi/Desktop/images/09012025/19/24/image_09012025_19_24_02_294668_0001.jpg
/home/pi/Desktop/images/09012025/19/24/image_09012025_19_24_02_294668_0002.jpg
/home/pi/Desktop/images/09012025/19/24/image_09012025_19_24_02_294668_0003.jpg
/home/pi/Desktop/images/09012025/19/25/image_09012025_19_25_02_350219_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327707706","1327707700","1327707702","1327707698","1327707701","1327707704"],"photo_ids_order":["1327707698","1327707700","1327707701","1327707702","1327707704","1327707706"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6f9a9c19c495222f2b739d89c895fc12.jpg","text":"TemporaryFile(/tmp/multipartBody4509992133282235775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457078913,"filename":"image_09012025_19_25_02_350219_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dd91775119b40fda594ba276ad6cabe9.jpg","text":"TemporaryFile(/tmp/multipartBody6576244985200950011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457078913,"filename":"image_09012025_19_24_02_294668_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bce59b4bb378083e6bb6a876c4ffe006.jpg","text":"TemporaryFile(/tmp/multipartBody8129456194467119086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457078913,"filename":"image_09012025_19_24_02_294668_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b9281a93fa241af1e806346acb159c34.jpg","text":"TemporaryFile(/tmp/multipartBody4131138611567706157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457078913,"filename":"image_09012025_19_23_03_027290_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1b0e278c83955898a84d723db30e1b3e.jpg","text":"TemporaryFile(/tmp/multipartBody5280199442029351299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457078913,"filename":"image_09012025_19_24_02_294668_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dd8c40ae7091089d80c726ea671b4c5b.jpg","text":"TemporaryFile(/tmp/multipartBody6607141569014841246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457078913,"filename":"image_09012025_19_24_02_294668_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327707701","file1":"1327707700","file0":"1327707698","file4":"1327707704","file5":"1327707706","file3":"1327707702"},"map_files_photo_id_array":[{"photo_id":"1327707706","filename":"file5"},{"photo_id":"1327707701","filename":"file2"},{"photo_id":"1327707704","filename":"file4"},{"photo_id":"1327707700","filename":"file1"},{"photo_id":"1327707698","filename":"file0"},{"photo_id":"1327707702","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327707706":["hashtag1","hashtag2"]},{"1327707700":["hashtag1","hashtag2"]},{"1327707702":["hashtag1","hashtag2"]},{"1327707698":["hashtag1","hashtag2"]},{"1327707701":["hashtag1","hashtag2"]},{"1327707704":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327707706, 1327707700, 1327707702, 1327707698, 1327707701, 1327707704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.91483950614929 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 22:11:22.784683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/25/image_09012025_19_25_02_350219_0001.jpg', '/home/pi/Desktop/images/09012025/19/25/image_09012025_19_25_02_350219_0002.jpg', '/home/pi/Desktop/images/09012025/19/25/image_09012025_19_25_02_350219_0003.jpg', '/home/pi/Desktop/images/09012025/19/26/image_09012025_19_26_02_651746_0000.jpg', '/home/pi/Desktop/images/09012025/19/26/image_09012025_19_26_02_651746_0001.jpg', '/home/pi/Desktop/images/09012025/19/26/image_09012025_19_26_02_651746_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/25/image_09012025_19_25_02_350219_0001.jpg
/home/pi/Desktop/images/09012025/19/25/image_09012025_19_25_02_350219_0002.jpg
/home/pi/Desktop/images/09012025/19/25/image_09012025_19_25_02_350219_0003.jpg
/home/pi/Desktop/images/09012025/19/26/image_09012025_19_26_02_651746_0000.jpg
/home/pi/Desktop/images/09012025/19/26/image_09012025_19_26_02_651746_0001.jpg
/home/pi/Desktop/images/09012025/19/26/image_09012025_19_26_02_651746_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327707859","1327707919","1327707826","1327707852","1327707857","1327707917"],"photo_ids_order":["1327707826","1327707852","1327707857","1327707859","1327707917","1327707919"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5195d825132a4744da32dfa1ee3ba23b.jpg","text":"TemporaryFile(/tmp/multipartBody334983024960165137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457187005,"filename":"image_09012025_19_26_02_651746_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c20048c15b8a27e54283b05ad2d63cea.jpg","text":"TemporaryFile(/tmp/multipartBody2438174054529561604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457187005,"filename":"image_09012025_19_26_02_651746_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ea1432bd1a41faf615a01619c3cf8034.jpg","text":"TemporaryFile(/tmp/multipartBody3193043977419036879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457187005,"filename":"image_09012025_19_25_02_350219_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3d85822c34c7434a025494d26c635ad1.jpg","text":"TemporaryFile(/tmp/multipartBody283200979854762412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457187005,"filename":"image_09012025_19_25_02_350219_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3c9170e8d563a1869a99603ff450629f.jpg","text":"TemporaryFile(/tmp/multipartBody2295242945959845589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457187005,"filename":"image_09012025_19_25_02_350219_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/59eb7d5c3fa6bcd99c7d6661c8a38247.jpg","text":"TemporaryFile(/tmp/multipartBody2066434736602832651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457187005,"filename":"image_09012025_19_26_02_651746_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327707857","file1":"1327707852","file0":"1327707826","file4":"1327707917","file5":"1327707919","file3":"1327707859"},"map_files_photo_id_array":[{"photo_id":"1327707919","filename":"file5"},{"photo_id":"1327707857","filename":"file2"},{"photo_id":"1327707917","filename":"file4"},{"photo_id":"1327707852","filename":"file1"},{"photo_id":"1327707826","filename":"file0"},{"photo_id":"1327707859","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327707859":["hashtag1","hashtag2"]},{"1327707919":["hashtag1","hashtag2"]},{"1327707826":["hashtag1","hashtag2"]},{"1327707852":["hashtag1","hashtag2"]},{"1327707857":["hashtag1","hashtag2"]},{"1327707917":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327707859, 1327707919, 1327707826, 1327707852, 1327707857, 1327707917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.0946946144104 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 22:13:02.753800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/26/image_09012025_19_26_02_651746_0003.jpg', '/home/pi/Desktop/images/09012025/19/27/image_09012025_19_27_02_719069_0000.jpg', '/home/pi/Desktop/images/09012025/19/27/image_09012025_19_27_02_719069_0001.jpg', '/home/pi/Desktop/images/09012025/19/27/image_09012025_19_27_02_719069_0002.jpg', '/home/pi/Desktop/images/09012025/19/27/image_09012025_19_27_02_719069_0003.jpg', '/home/pi/Desktop/images/09012025/19/28/image_09012025_19_28_02_835072_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/26/image_09012025_19_26_02_651746_0003.jpg
/home/pi/Desktop/images/09012025/19/27/image_09012025_19_27_02_719069_0000.jpg
/home/pi/Desktop/images/09012025/19/27/image_09012025_19_27_02_719069_0001.jpg
/home/pi/Desktop/images/09012025/19/27/image_09012025_19_27_02_719069_0002.jpg
/home/pi/Desktop/images/09012025/19/27/image_09012025_19_27_02_719069_0003.jpg
/home/pi/Desktop/images/09012025/19/28/image_09012025_19_28_02_835072_0000.jpg
 val : 1 : upload photos 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":["1327707973","1327707967","1327707984","1327707969","1327707980","1327707965"],"photo_ids_order":["1327707965","1327707967","1327707969","1327707973","1327707980","1327707984"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/65346dea4f4e135077f011fe4bf928c1.jpg","text":"TemporaryFile(/tmp/multipartBody5886018619706198934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457287691,"filename":"image_09012025_19_27_02_719069_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dafdef06c28fc9cf8560177e26077dc7.jpg","text":"TemporaryFile(/tmp/multipartBody1446701786981176762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457287691,"filename":"image_09012025_19_27_02_719069_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8f76a4c4d4ed7f0a2ce56e69a5cf6f38.jpg","text":"TemporaryFile(/tmp/multipartBody7524135940002291416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457287691,"filename":"image_09012025_19_28_02_835072_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/530a99cc4918571cfb4b614e2cefe4ab.jpg","text":"TemporaryFile(/tmp/multipartBody7163728007268612642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457287691,"filename":"image_09012025_19_27_02_719069_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ed829a7d117fbd21c9b69eae4ef7fecf.jpg","text":"TemporaryFile(/tmp/multipartBody5202189714779179790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457287691,"filename":"image_09012025_19_27_02_719069_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ec2d028e49bf44fd7b19256981c81420.jpg","text":"TemporaryFile(/tmp/multipartBody1010166938294881474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457287691,"filename":"image_09012025_19_26_02_651746_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327707969","file1":"1327707967","file0":"1327707965","file4":"1327707980","file5":"1327707984","file3":"1327707973"},"map_files_photo_id_array":[{"photo_id":"1327707984","filename":"file5"},{"photo_id":"1327707969","filename":"file2"},{"photo_id":"1327707980","filename":"file4"},{"photo_id":"1327707967","filename":"file1"},{"photo_id":"1327707965","filename":"file0"},{"photo_id":"1327707973","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327707973":["hashtag1","hashtag2"]},{"1327707967":["hashtag1","hashtag2"]},{"1327707984":["hashtag1","hashtag2"]},{"1327707969":["hashtag1","hashtag2"]},{"1327707980":["hashtag1","hashtag2"]},{"1327707965":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327707973, 1327707967, 1327707984, 1327707969, 1327707980, 1327707965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.5721480846405 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 22:14:42.255205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/28/image_09012025_19_28_02_835072_0001.jpg', '/home/pi/Desktop/images/09012025/19/28/image_09012025_19_28_02_835072_0003.jpg', '/home/pi/Desktop/images/09012025/19/29/image_09012025_19_29_02_990004_0000.jpg', '/home/pi/Desktop/images/09012025/19/29/image_09012025_19_29_02_990004_0001.jpg', '/home/pi/Desktop/images/09012025/19/29/image_09012025_19_29_02_990004_0002.jpg', '/home/pi/Desktop/images/09012025/19/29/image_09012025_19_29_02_990004_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/28/image_09012025_19_28_02_835072_0001.jpg
/home/pi/Desktop/images/09012025/19/28/image_09012025_19_28_02_835072_0003.jpg
/home/pi/Desktop/images/09012025/19/29/image_09012025_19_29_02_990004_0000.jpg
/home/pi/Desktop/images/09012025/19/29/image_09012025_19_29_02_990004_0001.jpg
/home/pi/Desktop/images/09012025/19/29/image_09012025_19_29_02_990004_0002.jpg
/home/pi/Desktop/images/09012025/19/29/image_09012025_19_29_02_990004_0003.jpg
 val : 1 : upload photos 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":["1327708003","1327708005","1327708019","1327708004","1327708016","1327708001"],"photo_ids_order":["1327708001","1327708003","1327708004","1327708005","1327708016","1327708019"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7f029883faf84f431fe860915ed987f2.jpg","text":"TemporaryFile(/tmp/multipartBody8528683328036489128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457378226,"filename":"image_09012025_19_28_02_835072_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3d1d17217630f14646bca2ce81fb14a2.jpg","text":"TemporaryFile(/tmp/multipartBody7706577645751124330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457378226,"filename":"image_09012025_19_29_02_990004_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b7e319513a99bc216805a6bb15482bf1.jpg","text":"TemporaryFile(/tmp/multipartBody6824729611258978323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457378226,"filename":"image_09012025_19_29_02_990004_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5612f0cb54bac0e653b3458d671b5f84.jpg","text":"TemporaryFile(/tmp/multipartBody8522054772918053519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457378226,"filename":"image_09012025_19_29_02_990004_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/268e2208a0c3793f6d34dc915e8bdd2d.jpg","text":"TemporaryFile(/tmp/multipartBody6098251385351959942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457378226,"filename":"image_09012025_19_29_02_990004_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/63a515e520f3d9666c65f58b6f6c1d73.jpg","text":"TemporaryFile(/tmp/multipartBody2983162634508508851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457378226,"filename":"image_09012025_19_28_02_835072_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327708004","file1":"1327708003","file0":"1327708001","file4":"1327708016","file5":"1327708019","file3":"1327708005"},"map_files_photo_id_array":[{"photo_id":"1327708019","filename":"file5"},{"photo_id":"1327708004","filename":"file2"},{"photo_id":"1327708016","filename":"file4"},{"photo_id":"1327708003","filename":"file1"},{"photo_id":"1327708001","filename":"file0"},{"photo_id":"1327708005","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327708003":["hashtag1","hashtag2"]},{"1327708005":["hashtag1","hashtag2"]},{"1327708019":["hashtag1","hashtag2"]},{"1327708004":["hashtag1","hashtag2"]},{"1327708016":["hashtag1","hashtag2"]},{"1327708001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327708003, 1327708005, 1327708019, 1327708004, 1327708016, 1327708001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.09753227233887 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 22:16:22.639860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/30/image_09012025_19_30_02_226894_0000.jpg', '/home/pi/Desktop/images/09012025/19/30/image_09012025_19_30_02_226894_0001.jpg', '/home/pi/Desktop/images/09012025/19/30/image_09012025_19_30_02_226894_0002.jpg', '/home/pi/Desktop/images/09012025/19/30/image_09012025_19_30_02_226894_0003.jpg', '/home/pi/Desktop/images/09012025/19/31/image_09012025_19_31_02_360055_0000.jpg', '/home/pi/Desktop/images/09012025/19/31/image_09012025_19_31_02_360055_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/30/image_09012025_19_30_02_226894_0000.jpg
/home/pi/Desktop/images/09012025/19/30/image_09012025_19_30_02_226894_0001.jpg
/home/pi/Desktop/images/09012025/19/30/image_09012025_19_30_02_226894_0002.jpg
/home/pi/Desktop/images/09012025/19/30/image_09012025_19_30_02_226894_0003.jpg
/home/pi/Desktop/images/09012025/19/31/image_09012025_19_31_02_360055_0000.jpg
/home/pi/Desktop/images/09012025/19/31/image_09012025_19_31_02_360055_0001.jpg
 val : 1 : upload photos 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":["1327708117","1327708077","1327708112","1327708106","1327708115","1327708109"],"photo_ids_order":["1327708077","1327708106","1327708109","1327708112","1327708115","1327708117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/68e93a01f176905f98d305fa70ba9713.jpg","text":"TemporaryFile(/tmp/multipartBody2844233133767572026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457472757,"filename":"image_09012025_19_31_02_360055_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/99a3dc2f48eba4204ac25e68bac86dda.jpg","text":"TemporaryFile(/tmp/multipartBody4193692296308100528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457472757,"filename":"image_09012025_19_30_02_226894_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5fa2ed18a22eb058ccd57362b2db9ba2.jpg","text":"TemporaryFile(/tmp/multipartBody7977617343052277784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457472757,"filename":"image_09012025_19_30_02_226894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/35edeb8da5e554c3f2edb20ccb0ff809.jpg","text":"TemporaryFile(/tmp/multipartBody6910712045889953019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457472757,"filename":"image_09012025_19_30_02_226894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/79fca793d4ab1fe96c1d3fb412a91363.jpg","text":"TemporaryFile(/tmp/multipartBody3271842220375935726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457472757,"filename":"image_09012025_19_31_02_360055_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4b1ad27f7766a63190202c35a8115877.jpg","text":"TemporaryFile(/tmp/multipartBody6057274457925506240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457472757,"filename":"image_09012025_19_30_02_226894_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327708109","file1":"1327708106","file0":"1327708077","file4":"1327708115","file5":"1327708117","file3":"1327708112"},"map_files_photo_id_array":[{"photo_id":"1327708117","filename":"file5"},{"photo_id":"1327708109","filename":"file2"},{"photo_id":"1327708115","filename":"file4"},{"photo_id":"1327708106","filename":"file1"},{"photo_id":"1327708077","filename":"file0"},{"photo_id":"1327708112","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327708117":["hashtag1","hashtag2"]},{"1327708077":["hashtag1","hashtag2"]},{"1327708112":["hashtag1","hashtag2"]},{"1327708106":["hashtag1","hashtag2"]},{"1327708115":["hashtag1","hashtag2"]},{"1327708109":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327708117, 1327708077, 1327708112, 1327708106, 1327708115, 1327708109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.33937382698059 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 22:17:52.760730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/31/image_09012025_19_31_02_360055_0002.jpg', '/home/pi/Desktop/images/09012025/19/31/image_09012025_19_31_02_360055_0003.jpg', '/home/pi/Desktop/images/09012025/19/32/image_09012025_19_32_02_537808_0000.jpg', '/home/pi/Desktop/images/09012025/19/32/image_09012025_19_32_02_537808_0001.jpg', '/home/pi/Desktop/images/09012025/19/32/image_09012025_19_32_02_537808_0002.jpg', '/home/pi/Desktop/images/09012025/19/32/image_09012025_19_32_02_537808_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/31/image_09012025_19_31_02_360055_0002.jpg
/home/pi/Desktop/images/09012025/19/31/image_09012025_19_31_02_360055_0003.jpg
/home/pi/Desktop/images/09012025/19/32/image_09012025_19_32_02_537808_0000.jpg
/home/pi/Desktop/images/09012025/19/32/image_09012025_19_32_02_537808_0001.jpg
/home/pi/Desktop/images/09012025/19/32/image_09012025_19_32_02_537808_0002.jpg
/home/pi/Desktop/images/09012025/19/32/image_09012025_19_32_02_537808_0003.jpg
 val : 1 : upload photos 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":["1327708146","1327708142","1327708133","1327708127","1327708144","1327708132"],"photo_ids_order":["1327708127","1327708132","1327708133","1327708142","1327708144","1327708146"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d6baef283ef36070de2ed230a7f767de.jpg","text":"TemporaryFile(/tmp/multipartBody7107793229142205132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457571338,"filename":"image_09012025_19_32_02_537808_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1c615d3eb86c40316149931db19e9b2a.jpg","text":"TemporaryFile(/tmp/multipartBody4945857338650114263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457571338,"filename":"image_09012025_19_32_02_537808_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c2228889a38feb7dae7fb2c64856baa0.jpg","text":"TemporaryFile(/tmp/multipartBody1118451723813161459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457571338,"filename":"image_09012025_19_32_02_537808_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c4cb704c96c5e083ba8ee57156f31638.jpg","text":"TemporaryFile(/tmp/multipartBody6324623906691553108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457571338,"filename":"image_09012025_19_31_02_360055_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/50c8b757a545a52b731aaf89c4043bb1.jpg","text":"TemporaryFile(/tmp/multipartBody1435956490060512190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457571338,"filename":"image_09012025_19_32_02_537808_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a0c6b0526514b7c47436258c61829e93.jpg","text":"TemporaryFile(/tmp/multipartBody1849681927212796795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457571338,"filename":"image_09012025_19_31_02_360055_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327708133","file1":"1327708132","file0":"1327708127","file4":"1327708144","file5":"1327708146","file3":"1327708142"},"map_files_photo_id_array":[{"photo_id":"1327708146","filename":"file5"},{"photo_id":"1327708133","filename":"file2"},{"photo_id":"1327708144","filename":"file4"},{"photo_id":"1327708132","filename":"file1"},{"photo_id":"1327708127","filename":"file0"},{"photo_id":"1327708142","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327708146":["hashtag1","hashtag2"]},{"1327708142":["hashtag1","hashtag2"]},{"1327708133":["hashtag1","hashtag2"]},{"1327708127":["hashtag1","hashtag2"]},{"1327708144":["hashtag1","hashtag2"]},{"1327708132":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327708146, 1327708142, 1327708133, 1327708127, 1327708144, 1327708132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.36165714263916 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 22:19:32.093619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/33/image_09012025_19_33_02_731483_0000.jpg', '/home/pi/Desktop/images/09012025/19/33/image_09012025_19_33_02_731483_0001.jpg', '/home/pi/Desktop/images/09012025/19/33/image_09012025_19_33_02_731483_0002.jpg', '/home/pi/Desktop/images/09012025/19/33/image_09012025_19_33_02_731483_0003.jpg', '/home/pi/Desktop/images/09012025/19/34/image_09012025_19_34_02_875769_0000.jpg', '/home/pi/Desktop/images/09012025/19/34/image_09012025_19_34_02_875769_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/33/image_09012025_19_33_02_731483_0000.jpg
/home/pi/Desktop/images/09012025/19/33/image_09012025_19_33_02_731483_0001.jpg
/home/pi/Desktop/images/09012025/19/33/image_09012025_19_33_02_731483_0002.jpg
/home/pi/Desktop/images/09012025/19/33/image_09012025_19_33_02_731483_0003.jpg
/home/pi/Desktop/images/09012025/19/34/image_09012025_19_34_02_875769_0000.jpg
/home/pi/Desktop/images/09012025/19/34/image_09012025_19_34_02_875769_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327708645","1327708860","1327708854","1327708286","1327708829","1327708832"],"photo_ids_order":["1327708286","1327708645","1327708829","1327708832","1327708854","1327708860"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/728eebeb81e6fe25d2cc29ea8f5a9763.jpg","text":"TemporaryFile(/tmp/multipartBody6305532351884073789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457674427,"filename":"image_09012025_19_33_02_731483_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f550b86c523cd3cc9cfadf28abbfee53.jpg","text":"TemporaryFile(/tmp/multipartBody7018171660964346840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457674427,"filename":"image_09012025_19_34_02_875769_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/840b0460d6f7d47cf0bf80b74b4d88ea.jpg","text":"TemporaryFile(/tmp/multipartBody8514414376174076181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457674427,"filename":"image_09012025_19_34_02_875769_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3a57bf0e88bf50630db3f7241b00e73b.jpg","text":"TemporaryFile(/tmp/multipartBody2338152471558467679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457674427,"filename":"image_09012025_19_33_02_731483_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/36c80afbf8107c95a0313309d59ea866.jpg","text":"TemporaryFile(/tmp/multipartBody6759225942082317535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457674427,"filename":"image_09012025_19_33_02_731483_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bc88e30cfa96e0ee2a6798bbbece0188.jpg","text":"TemporaryFile(/tmp/multipartBody7939261464682439749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457674427,"filename":"image_09012025_19_33_02_731483_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327708829","file1":"1327708645","file0":"1327708286","file4":"1327708854","file5":"1327708860","file3":"1327708832"},"map_files_photo_id_array":[{"photo_id":"1327708860","filename":"file5"},{"photo_id":"1327708829","filename":"file2"},{"photo_id":"1327708854","filename":"file4"},{"photo_id":"1327708645","filename":"file1"},{"photo_id":"1327708286","filename":"file0"},{"photo_id":"1327708832","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327708645":["hashtag1","hashtag2"]},{"1327708860":["hashtag1","hashtag2"]},{"1327708854":["hashtag1","hashtag2"]},{"1327708286":["hashtag1","hashtag2"]},{"1327708829":["hashtag1","hashtag2"]},{"1327708832":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327708645, 1327708860, 1327708854, 1327708286, 1327708829, 1327708832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.62228631973267 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 22:21:22.484260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/34/image_09012025_19_34_02_875769_0002.jpg', '/home/pi/Desktop/images/09012025/19/35/image_09012025_19_35_03_113517_0000.jpg', '/home/pi/Desktop/images/09012025/19/35/image_09012025_19_35_03_113517_0002.jpg', '/home/pi/Desktop/images/09012025/19/35/image_09012025_19_35_03_113517_0003.jpg', '/home/pi/Desktop/images/09012025/19/36/image_09012025_19_36_02_258711_0000.jpg', '/home/pi/Desktop/images/09012025/19/36/image_09012025_19_36_02_258711_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/34/image_09012025_19_34_02_875769_0002.jpg
/home/pi/Desktop/images/09012025/19/35/image_09012025_19_35_03_113517_0000.jpg
/home/pi/Desktop/images/09012025/19/35/image_09012025_19_35_03_113517_0002.jpg
/home/pi/Desktop/images/09012025/19/35/image_09012025_19_35_03_113517_0003.jpg
/home/pi/Desktop/images/09012025/19/36/image_09012025_19_36_02_258711_0000.jpg
/home/pi/Desktop/images/09012025/19/36/image_09012025_19_36_02_258711_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327709391","1327709247","1327709310","1327709369","1327709402","1327709386"],"photo_ids_order":["1327709247","1327709310","1327709369","1327709386","1327709391","1327709402"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/059c8a840e5d3b90fd3972db7073f16e.jpg","text":"TemporaryFile(/tmp/multipartBody8335951121571282938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457780231,"filename":"image_09012025_19_36_02_258711_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ce9cbcf548c9287925bd04946bb151d2.jpg","text":"TemporaryFile(/tmp/multipartBody1995572936673117044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457780231,"filename":"image_09012025_19_34_02_875769_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c6595348ddf3ff813d3af13ec99e3039.jpg","text":"TemporaryFile(/tmp/multipartBody4814340696068804295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457780231,"filename":"image_09012025_19_35_03_113517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e268bdb2d219a01099ca0f529eb58b35.jpg","text":"TemporaryFile(/tmp/multipartBody3156465355669392199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457780231,"filename":"image_09012025_19_35_03_113517_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e1cad2353b4e7bf8d35b0514063b2886.jpg","text":"TemporaryFile(/tmp/multipartBody2428735511037853511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457780231,"filename":"image_09012025_19_36_02_258711_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1b7948ad212f46e09023ea5f214d7078.jpg","text":"TemporaryFile(/tmp/multipartBody5892600163813888485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457780231,"filename":"image_09012025_19_35_03_113517_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327709369","file1":"1327709310","file0":"1327709247","file4":"1327709391","file5":"1327709402","file3":"1327709386"},"map_files_photo_id_array":[{"photo_id":"1327709402","filename":"file5"},{"photo_id":"1327709369","filename":"file2"},{"photo_id":"1327709391","filename":"file4"},{"photo_id":"1327709310","filename":"file1"},{"photo_id":"1327709247","filename":"file0"},{"photo_id":"1327709386","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327709391":["hashtag1","hashtag2"]},{"1327709247":["hashtag1","hashtag2"]},{"1327709310":["hashtag1","hashtag2"]},{"1327709369":["hashtag1","hashtag2"]},{"1327709402":["hashtag1","hashtag2"]},{"1327709386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327709391, 1327709247, 1327709310, 1327709369, 1327709402, 1327709386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.4348132610321 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 22:23:02.341954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/36/image_09012025_19_36_02_258711_0002.jpg', '/home/pi/Desktop/images/09012025/19/36/image_09012025_19_36_02_258711_0003.jpg', '/home/pi/Desktop/images/09012025/19/37/image_09012025_19_37_02_471244_0000.jpg', '/home/pi/Desktop/images/09012025/19/37/image_09012025_19_37_02_471244_0001.jpg', '/home/pi/Desktop/images/09012025/19/37/image_09012025_19_37_02_471244_0002.jpg', '/home/pi/Desktop/images/09012025/19/37/image_09012025_19_37_02_471244_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/36/image_09012025_19_36_02_258711_0002.jpg
/home/pi/Desktop/images/09012025/19/36/image_09012025_19_36_02_258711_0003.jpg
/home/pi/Desktop/images/09012025/19/37/image_09012025_19_37_02_471244_0000.jpg
/home/pi/Desktop/images/09012025/19/37/image_09012025_19_37_02_471244_0001.jpg
/home/pi/Desktop/images/09012025/19/37/image_09012025_19_37_02_471244_0002.jpg
/home/pi/Desktop/images/09012025/19/37/image_09012025_19_37_02_471244_0003.jpg
 val : 1 : upload photos 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":["1327709480","1327709482","1327709485","1327709479","1327709476","1327709481"],"photo_ids_order":["1327709476","1327709479","1327709480","1327709481","1327709482","1327709485"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fe0a48f16e65905ec1bda3d254cf5c20.jpg","text":"TemporaryFile(/tmp/multipartBody9031636983731478867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457872953,"filename":"image_09012025_19_37_02_471244_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b51e1a37991baa39f7effec7659ed67b.jpg","text":"TemporaryFile(/tmp/multipartBody7635883332999157221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457872953,"filename":"image_09012025_19_37_02_471244_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ecb52deee2061665bfa39f7269ae85aa.jpg","text":"TemporaryFile(/tmp/multipartBody8218596748598565449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457872953,"filename":"image_09012025_19_37_02_471244_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3b6de379554ea7aa45b6940bf410659d.jpg","text":"TemporaryFile(/tmp/multipartBody5926739466906907965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457872953,"filename":"image_09012025_19_36_02_258711_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e4d8009dd001204d00a370c6b27634bc.jpg","text":"TemporaryFile(/tmp/multipartBody5779988049955268012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457872953,"filename":"image_09012025_19_36_02_258711_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/de455db68183c15dfc5f13ea70e85086.jpg","text":"TemporaryFile(/tmp/multipartBody4550065964742780544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457872953,"filename":"image_09012025_19_37_02_471244_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327709480","file1":"1327709479","file0":"1327709476","file4":"1327709482","file5":"1327709485","file3":"1327709481"},"map_files_photo_id_array":[{"photo_id":"1327709485","filename":"file5"},{"photo_id":"1327709480","filename":"file2"},{"photo_id":"1327709482","filename":"file4"},{"photo_id":"1327709479","filename":"file1"},{"photo_id":"1327709476","filename":"file0"},{"photo_id":"1327709481","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327709480":["hashtag1","hashtag2"]},{"1327709482":["hashtag1","hashtag2"]},{"1327709485":["hashtag1","hashtag2"]},{"1327709479":["hashtag1","hashtag2"]},{"1327709476":["hashtag1","hashtag2"]},{"1327709481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327709480, 1327709482, 1327709485, 1327709479, 1327709476, 1327709481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.7087779045105 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 22:24:31.994619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/38/image_09012025_19_38_02_639062_0000.jpg', '/home/pi/Desktop/images/09012025/19/38/image_09012025_19_38_02_639062_0001.jpg', '/home/pi/Desktop/images/09012025/19/38/image_09012025_19_38_02_639062_0002.jpg', '/home/pi/Desktop/images/09012025/19/38/image_09012025_19_38_02_639062_0003.jpg', '/home/pi/Desktop/images/09012025/19/39/image_09012025_19_39_03_011617_0000.jpg', '/home/pi/Desktop/images/09012025/19/39/image_09012025_19_39_03_011617_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/38/image_09012025_19_38_02_639062_0000.jpg
/home/pi/Desktop/images/09012025/19/38/image_09012025_19_38_02_639062_0001.jpg
/home/pi/Desktop/images/09012025/19/38/image_09012025_19_38_02_639062_0002.jpg
/home/pi/Desktop/images/09012025/19/38/image_09012025_19_38_02_639062_0003.jpg
/home/pi/Desktop/images/09012025/19/39/image_09012025_19_39_03_011617_0000.jpg
/home/pi/Desktop/images/09012025/19/39/image_09012025_19_39_03_011617_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327709508","1327709498","1327709502","1327709505","1327709509","1327709496"],"photo_ids_order":["1327709496","1327709498","1327709502","1327709505","1327709508","1327709509"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/be205bb786662e457bd4635647eaf7b3.jpg","text":"TemporaryFile(/tmp/multipartBody678717491317718898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457973925,"filename":"image_09012025_19_39_03_011617_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b3fd70b45fcccdb6c1667e01f373b6eb.jpg","text":"TemporaryFile(/tmp/multipartBody3546336361981110519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457973925,"filename":"image_09012025_19_38_02_639062_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cd213f081e0ffcc1c621922d783d11ef.jpg","text":"TemporaryFile(/tmp/multipartBody1064921721319411589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457973925,"filename":"image_09012025_19_38_02_639062_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3d59f2443b39d97bda9cba360b3e929d.jpg","text":"TemporaryFile(/tmp/multipartBody166390154176142784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457973925,"filename":"image_09012025_19_38_02_639062_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2558c8491ed3aa522b17aa197f2a7582.jpg","text":"TemporaryFile(/tmp/multipartBody9126380931343466226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457973925,"filename":"image_09012025_19_39_03_011617_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/35b09e4dd0460af7556b6fc1df011ee2.jpg","text":"TemporaryFile(/tmp/multipartBody8981871001950787207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736457973925,"filename":"image_09012025_19_38_02_639062_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327709502","file1":"1327709498","file0":"1327709496","file4":"1327709508","file5":"1327709509","file3":"1327709505"},"map_files_photo_id_array":[{"photo_id":"1327709509","filename":"file5"},{"photo_id":"1327709502","filename":"file2"},{"photo_id":"1327709508","filename":"file4"},{"photo_id":"1327709498","filename":"file1"},{"photo_id":"1327709496","filename":"file0"},{"photo_id":"1327709505","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327709508":["hashtag1","hashtag2"]},{"1327709498":["hashtag1","hashtag2"]},{"1327709502":["hashtag1","hashtag2"]},{"1327709505":["hashtag1","hashtag2"]},{"1327709509":["hashtag1","hashtag2"]},{"1327709496":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327709508, 1327709498, 1327709502, 1327709505, 1327709509, 1327709496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.62837767601013 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 22:26:22.458222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/39/image_09012025_19_39_03_011617_0002.jpg', '/home/pi/Desktop/images/09012025/19/39/image_09012025_19_39_03_011617_0003.jpg', '/home/pi/Desktop/images/09012025/19/40/image_09012025_19_40_03_113394_0001.jpg', '/home/pi/Desktop/images/09012025/19/40/image_09012025_19_40_03_113394_0002.jpg', '/home/pi/Desktop/images/09012025/19/40/image_09012025_19_40_03_113394_0003.jpg', '/home/pi/Desktop/images/09012025/19/41/image_09012025_19_41_02_380511_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/39/image_09012025_19_39_03_011617_0002.jpg
/home/pi/Desktop/images/09012025/19/39/image_09012025_19_39_03_011617_0003.jpg
/home/pi/Desktop/images/09012025/19/40/image_09012025_19_40_03_113394_0001.jpg
/home/pi/Desktop/images/09012025/19/40/image_09012025_19_40_03_113394_0002.jpg
/home/pi/Desktop/images/09012025/19/40/image_09012025_19_40_03_113394_0003.jpg
/home/pi/Desktop/images/09012025/19/41/image_09012025_19_41_02_380511_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327709538","1327709532","1327709529","1327709540","1327709525","1327709536"],"photo_ids_order":["1327709525","1327709529","1327709532","1327709536","1327709538","1327709540"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c1d29ecf62c31f13d8eab46dad61426f.jpg","text":"TemporaryFile(/tmp/multipartBody3090180266237835068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458088284,"filename":"image_09012025_19_40_03_113394_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b618cbbb8267b242cc2c6f00f6275291.jpg","text":"TemporaryFile(/tmp/multipartBody1919844484507793171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458088284,"filename":"image_09012025_19_40_03_113394_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1121f8e372c5018f52c2c710605e03c9.jpg","text":"TemporaryFile(/tmp/multipartBody2233294419360710928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458088284,"filename":"image_09012025_19_39_03_011617_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e0570b90d147073846e392207d8215da.jpg","text":"TemporaryFile(/tmp/multipartBody6707318380249065093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458088284,"filename":"image_09012025_19_41_02_380511_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9c56a060ef033896fc1914d2eb831a5d.jpg","text":"TemporaryFile(/tmp/multipartBody2353279536303640087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458088284,"filename":"image_09012025_19_39_03_011617_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dcf69234cf1b4c1f1202060b4a15f346.jpg","text":"TemporaryFile(/tmp/multipartBody3659861391177254932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458088284,"filename":"image_09012025_19_40_03_113394_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327709532","file1":"1327709529","file0":"1327709525","file4":"1327709538","file5":"1327709540","file3":"1327709536"},"map_files_photo_id_array":[{"photo_id":"1327709540","filename":"file5"},{"photo_id":"1327709532","filename":"file2"},{"photo_id":"1327709538","filename":"file4"},{"photo_id":"1327709529","filename":"file1"},{"photo_id":"1327709525","filename":"file0"},{"photo_id":"1327709536","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327709538":["hashtag1","hashtag2"]},{"1327709532":["hashtag1","hashtag2"]},{"1327709529":["hashtag1","hashtag2"]},{"1327709540":["hashtag1","hashtag2"]},{"1327709525":["hashtag1","hashtag2"]},{"1327709536":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327709538, 1327709532, 1327709529, 1327709540, 1327709525, 1327709536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.85478377342224 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 22:28:03.238989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/41/image_09012025_19_41_02_380511_0001.jpg', '/home/pi/Desktop/images/09012025/19/41/image_09012025_19_41_02_380511_0002.jpg', '/home/pi/Desktop/images/09012025/19/41/image_09012025_19_41_02_380511_0003.jpg', '/home/pi/Desktop/images/09012025/19/42/image_09012025_19_42_02_591576_0000.jpg', '/home/pi/Desktop/images/09012025/19/42/image_09012025_19_42_02_591576_0001.jpg', '/home/pi/Desktop/images/09012025/19/42/image_09012025_19_42_02_591576_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/41/image_09012025_19_41_02_380511_0001.jpg
/home/pi/Desktop/images/09012025/19/41/image_09012025_19_41_02_380511_0002.jpg
/home/pi/Desktop/images/09012025/19/41/image_09012025_19_41_02_380511_0003.jpg
/home/pi/Desktop/images/09012025/19/42/image_09012025_19_42_02_591576_0000.jpg
/home/pi/Desktop/images/09012025/19/42/image_09012025_19_42_02_591576_0001.jpg
/home/pi/Desktop/images/09012025/19/42/image_09012025_19_42_02_591576_0002.jpg
 val : 1 : upload photos 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":["1327709562","1327709552","1327709555","1327709554","1327709548","1327709557"],"photo_ids_order":["1327709548","1327709552","1327709554","1327709555","1327709557","1327709562"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/03691d52eb9215004dc12f99e113a1d5.jpg","text":"TemporaryFile(/tmp/multipartBody1818998086562117080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458171645,"filename":"image_09012025_19_42_02_591576_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0ea1aedf1b6dbfdd79d7e92a9375e8f0.jpg","text":"TemporaryFile(/tmp/multipartBody8355073525529702205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458171645,"filename":"image_09012025_19_41_02_380511_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d72bc7ffac141cbaa936d84e801437f5.jpg","text":"TemporaryFile(/tmp/multipartBody6485359978704841939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458171645,"filename":"image_09012025_19_42_02_591576_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7dd9272468a1b604d20fdad5a3264611.jpg","text":"TemporaryFile(/tmp/multipartBody3299183783428774266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458171645,"filename":"image_09012025_19_41_02_380511_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6d294b6e387459accc9305e9e3ccee7d.jpg","text":"TemporaryFile(/tmp/multipartBody3765154930777529876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458171645,"filename":"image_09012025_19_41_02_380511_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/000119c950367136e292dcbaae94d84d.jpg","text":"TemporaryFile(/tmp/multipartBody430374548202907345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458171645,"filename":"image_09012025_19_42_02_591576_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327709554","file1":"1327709552","file0":"1327709548","file4":"1327709557","file5":"1327709562","file3":"1327709555"},"map_files_photo_id_array":[{"photo_id":"1327709562","filename":"file5"},{"photo_id":"1327709554","filename":"file2"},{"photo_id":"1327709557","filename":"file4"},{"photo_id":"1327709552","filename":"file1"},{"photo_id":"1327709548","filename":"file0"},{"photo_id":"1327709555","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327709562":["hashtag1","hashtag2"]},{"1327709552":["hashtag1","hashtag2"]},{"1327709555":["hashtag1","hashtag2"]},{"1327709554":["hashtag1","hashtag2"]},{"1327709548":["hashtag1","hashtag2"]},{"1327709557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327709562, 1327709552, 1327709555, 1327709554, 1327709548, 1327709557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 83.6286211013794 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 22:29:31.927614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/42/image_09012025_19_42_02_591576_0003.jpg', '/home/pi/Desktop/images/09012025/19/43/image_09012025_19_43_02_761993_0000.jpg', '/home/pi/Desktop/images/09012025/19/43/image_09012025_19_43_02_761993_0001.jpg', '/home/pi/Desktop/images/09012025/19/43/image_09012025_19_43_02_761993_0002.jpg', '/home/pi/Desktop/images/09012025/19/43/image_09012025_19_43_02_761993_0003.jpg', '/home/pi/Desktop/images/09012025/19/44/image_09012025_19_44_02_907748_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/42/image_09012025_19_42_02_591576_0003.jpg
/home/pi/Desktop/images/09012025/19/43/image_09012025_19_43_02_761993_0000.jpg
/home/pi/Desktop/images/09012025/19/43/image_09012025_19_43_02_761993_0001.jpg
/home/pi/Desktop/images/09012025/19/43/image_09012025_19_43_02_761993_0002.jpg
/home/pi/Desktop/images/09012025/19/43/image_09012025_19_43_02_761993_0003.jpg
/home/pi/Desktop/images/09012025/19/44/image_09012025_19_44_02_907748_0000.jpg
 val : 1 : upload photos 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":["1327709583","1327709590","1327709578","1327709587","1327709595","1327709580"],"photo_ids_order":["1327709578","1327709580","1327709583","1327709587","1327709590","1327709595"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b73c78ac79bc532ee7a415d22a36fe31.jpg","text":"TemporaryFile(/tmp/multipartBody3598923691147704669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458268572,"filename":"image_09012025_19_43_02_761993_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ac47438c8fc33515c86f20dfae4ecc06.jpg","text":"TemporaryFile(/tmp/multipartBody3581391266714485866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458268572,"filename":"image_09012025_19_43_02_761993_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/957a177d3216c017f000e87a41dc776d.jpg","text":"TemporaryFile(/tmp/multipartBody4165587154019507808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458268572,"filename":"image_09012025_19_42_02_591576_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/86adb2fda26e4cba66c535bddd8222f8.jpg","text":"TemporaryFile(/tmp/multipartBody9152284591448574057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458268572,"filename":"image_09012025_19_43_02_761993_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/044d7edf0e95dc60c0c7c8fc366b6f01.jpg","text":"TemporaryFile(/tmp/multipartBody4734743095218327608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458268572,"filename":"image_09012025_19_44_02_907748_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/862352b7ff033b07d8c5e343964317d2.jpg","text":"TemporaryFile(/tmp/multipartBody4221855628945573923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458268572,"filename":"image_09012025_19_43_02_761993_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327709583","file1":"1327709580","file0":"1327709578","file4":"1327709590","file5":"1327709595","file3":"1327709587"},"map_files_photo_id_array":[{"photo_id":"1327709595","filename":"file5"},{"photo_id":"1327709583","filename":"file2"},{"photo_id":"1327709590","filename":"file4"},{"photo_id":"1327709580","filename":"file1"},{"photo_id":"1327709578","filename":"file0"},{"photo_id":"1327709587","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327709583":["hashtag1","hashtag2"]},{"1327709590":["hashtag1","hashtag2"]},{"1327709578":["hashtag1","hashtag2"]},{"1327709587":["hashtag1","hashtag2"]},{"1327709595":["hashtag1","hashtag2"]},{"1327709580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327709583, 1327709590, 1327709578, 1327709587, 1327709595, 1327709580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.4860098361969 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 22:31:02.944796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/44/image_09012025_19_44_02_907748_0001.jpg', '/home/pi/Desktop/images/09012025/19/44/image_09012025_19_44_02_907748_0002.jpg', '/home/pi/Desktop/images/09012025/19/44/image_09012025_19_44_02_907748_0003.jpg', '/home/pi/Desktop/images/09012025/19/45/image_09012025_19_45_03_098991_0000.jpg', '/home/pi/Desktop/images/09012025/19/45/image_09012025_19_45_03_098991_0001.jpg', '/home/pi/Desktop/images/09012025/19/45/image_09012025_19_45_03_098991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/44/image_09012025_19_44_02_907748_0001.jpg
/home/pi/Desktop/images/09012025/19/44/image_09012025_19_44_02_907748_0002.jpg
/home/pi/Desktop/images/09012025/19/44/image_09012025_19_44_02_907748_0003.jpg
/home/pi/Desktop/images/09012025/19/45/image_09012025_19_45_03_098991_0000.jpg
/home/pi/Desktop/images/09012025/19/45/image_09012025_19_45_03_098991_0001.jpg
/home/pi/Desktop/images/09012025/19/45/image_09012025_19_45_03_098991_0002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 26.757829904556274 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 22:31:32.225097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/44/image_09012025_19_44_02_907748_0001.jpg', '/home/pi/Desktop/images/09012025/19/44/image_09012025_19_44_02_907748_0002.jpg', '/home/pi/Desktop/images/09012025/19/44/image_09012025_19_44_02_907748_0003.jpg', '/home/pi/Desktop/images/09012025/19/45/image_09012025_19_45_03_098991_0000.jpg', '/home/pi/Desktop/images/09012025/19/45/image_09012025_19_45_03_098991_0001.jpg', '/home/pi/Desktop/images/09012025/19/45/image_09012025_19_45_03_098991_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/44/image_09012025_19_44_02_907748_0001.jpg
/home/pi/Desktop/images/09012025/19/44/image_09012025_19_44_02_907748_0002.jpg
/home/pi/Desktop/images/09012025/19/44/image_09012025_19_44_02_907748_0003.jpg
/home/pi/Desktop/images/09012025/19/45/image_09012025_19_45_03_098991_0000.jpg
/home/pi/Desktop/images/09012025/19/45/image_09012025_19_45_03_098991_0001.jpg
/home/pi/Desktop/images/09012025/19/45/image_09012025_19_45_03_098991_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327709823","1327709811","1327709783","1327709825","1327709824","1327709821"],"photo_ids_order":["1327709783","1327709811","1327709821","1327709823","1327709824","1327709825"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/03776be1c907f04c4c6545da18ab6c1e.jpg","text":"TemporaryFile(/tmp/multipartBody5606474238698456541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458398993,"filename":"image_09012025_19_45_03_098991_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fbebdc1517ae364f036b7d719745cb1f.jpg","text":"TemporaryFile(/tmp/multipartBody8767051388628214437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458398993,"filename":"image_09012025_19_44_02_907748_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2b3c8f705e5506e8a97792106daceeb6.jpg","text":"TemporaryFile(/tmp/multipartBody4291172681176876356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458398993,"filename":"image_09012025_19_44_02_907748_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/454f15fc4acaebb6c036047e8ebf3852.jpg","text":"TemporaryFile(/tmp/multipartBody756017615826421847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458398993,"filename":"image_09012025_19_45_03_098991_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/94551df0e75f20abc7669cfbee4957df.jpg","text":"TemporaryFile(/tmp/multipartBody7048580325157286247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458398993,"filename":"image_09012025_19_45_03_098991_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bac2b332e998cda969c99d900b904d8d.jpg","text":"TemporaryFile(/tmp/multipartBody8380063444958645194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458398993,"filename":"image_09012025_19_44_02_907748_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327709821","file1":"1327709811","file0":"1327709783","file4":"1327709824","file5":"1327709825","file3":"1327709823"},"map_files_photo_id_array":[{"photo_id":"1327709825","filename":"file5"},{"photo_id":"1327709821","filename":"file2"},{"photo_id":"1327709824","filename":"file4"},{"photo_id":"1327709811","filename":"file1"},{"photo_id":"1327709783","filename":"file0"},{"photo_id":"1327709823","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327709823":["hashtag1","hashtag2"]},{"1327709811":["hashtag1","hashtag2"]},{"1327709783":["hashtag1","hashtag2"]},{"1327709825":["hashtag1","hashtag2"]},{"1327709824":["hashtag1","hashtag2"]},{"1327709821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327709823, 1327709811, 1327709783, 1327709825, 1327709824, 1327709821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.26699995994568 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 22:33:22.707741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/45/image_09012025_19_45_03_098991_0003.jpg', '/home/pi/Desktop/images/09012025/19/46/image_09012025_19_46_02_207051_0000.jpg', '/home/pi/Desktop/images/09012025/19/46/image_09012025_19_46_02_207051_0001.jpg', '/home/pi/Desktop/images/09012025/19/46/image_09012025_19_46_02_207051_0002.jpg', '/home/pi/Desktop/images/09012025/19/46/image_09012025_19_46_02_207051_0003.jpg', '/home/pi/Desktop/images/09012025/19/47/image_09012025_19_47_02_410369_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/45/image_09012025_19_45_03_098991_0003.jpg
/home/pi/Desktop/images/09012025/19/46/image_09012025_19_46_02_207051_0000.jpg
/home/pi/Desktop/images/09012025/19/46/image_09012025_19_46_02_207051_0001.jpg
/home/pi/Desktop/images/09012025/19/46/image_09012025_19_46_02_207051_0002.jpg
/home/pi/Desktop/images/09012025/19/46/image_09012025_19_46_02_207051_0003.jpg
/home/pi/Desktop/images/09012025/19/47/image_09012025_19_47_02_410369_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327709988","1327709987","1327709990","1327710000","1327709992","1327709997"],"photo_ids_order":["1327709987","1327709988","1327709990","1327709992","1327709997","1327710000"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5848cbb56134c7e9470e92f3211228e7.jpg","text":"TemporaryFile(/tmp/multipartBody5634775803133464358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458494520,"filename":"image_09012025_19_46_02_207051_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a75bff0bc8a369ee6bfd4102c20c8866.jpg","text":"TemporaryFile(/tmp/multipartBody6348544240521210349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458494520,"filename":"image_09012025_19_45_03_098991_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7986cfed7f5b8f919ae1295207381ac0.jpg","text":"TemporaryFile(/tmp/multipartBody7456818912932700633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458494520,"filename":"image_09012025_19_46_02_207051_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/71f06c67a24efda3e61cb88d95d53b74.jpg","text":"TemporaryFile(/tmp/multipartBody1880995120003599448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458494520,"filename":"image_09012025_19_47_02_410369_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dc388c2fa89fbd0f0aba739de6fdfb3a.jpg","text":"TemporaryFile(/tmp/multipartBody2880218644359086585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458494520,"filename":"image_09012025_19_46_02_207051_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/feeec3c1a5e92611abb810e594eb3d21.jpg","text":"TemporaryFile(/tmp/multipartBody3894904631563873853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458494520,"filename":"image_09012025_19_46_02_207051_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327709990","file1":"1327709988","file0":"1327709987","file4":"1327709997","file5":"1327710000","file3":"1327709992"},"map_files_photo_id_array":[{"photo_id":"1327710000","filename":"file5"},{"photo_id":"1327709990","filename":"file2"},{"photo_id":"1327709997","filename":"file4"},{"photo_id":"1327709988","filename":"file1"},{"photo_id":"1327709987","filename":"file0"},{"photo_id":"1327709992","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327709988":["hashtag1","hashtag2"]},{"1327709987":["hashtag1","hashtag2"]},{"1327709990":["hashtag1","hashtag2"]},{"1327710000":["hashtag1","hashtag2"]},{"1327709992":["hashtag1","hashtag2"]},{"1327709997":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327709988, 1327709987, 1327709990, 1327710000, 1327709992, 1327709997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.3487663269043 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 22:35:02.518283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/47/image_09012025_19_47_02_410369_0002.jpg', '/home/pi/Desktop/images/09012025/19/47/image_09012025_19_47_02_410369_0003.jpg', '/home/pi/Desktop/images/09012025/19/48/image_09012025_19_48_02_683659_0000.jpg', '/home/pi/Desktop/images/09012025/19/48/image_09012025_19_48_02_683659_0001.jpg', '/home/pi/Desktop/images/09012025/19/48/image_09012025_19_48_02_683659_0002.jpg', '/home/pi/Desktop/images/09012025/19/48/image_09012025_19_48_02_683659_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/47/image_09012025_19_47_02_410369_0002.jpg
/home/pi/Desktop/images/09012025/19/47/image_09012025_19_47_02_410369_0003.jpg
/home/pi/Desktop/images/09012025/19/48/image_09012025_19_48_02_683659_0000.jpg
/home/pi/Desktop/images/09012025/19/48/image_09012025_19_48_02_683659_0001.jpg
/home/pi/Desktop/images/09012025/19/48/image_09012025_19_48_02_683659_0002.jpg
/home/pi/Desktop/images/09012025/19/48/image_09012025_19_48_02_683659_0003.jpg
 val : 1 : upload photos 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":["1327710019","1327710016","1327710066","1327710021","1327710056","1327710014"],"photo_ids_order":["1327710014","1327710016","1327710019","1327710021","1327710056","1327710066"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6f17709ad5e5146b2525afbb57dd1a1d.jpg","text":"TemporaryFile(/tmp/multipartBody8396641908851451944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458597532,"filename":"image_09012025_19_48_02_683659_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ca7c48ca39e2d55f92fd7f7745a32e38.jpg","text":"TemporaryFile(/tmp/multipartBody7010667294956491486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458597532,"filename":"image_09012025_19_47_02_410369_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/934e6e20a9978fa023500b67b71806c7.jpg","text":"TemporaryFile(/tmp/multipartBody777704275756649815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458597532,"filename":"image_09012025_19_48_02_683659_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/69d0bd702fb77a35c7d5043cf4eeaf75.jpg","text":"TemporaryFile(/tmp/multipartBody3137466691042379589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458597532,"filename":"image_09012025_19_48_02_683659_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1503a945de68b31eb3278a9aee76579e.jpg","text":"TemporaryFile(/tmp/multipartBody2070874799988647813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458597532,"filename":"image_09012025_19_48_02_683659_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/091e49e894a3082459d44f44e602e9f5.jpg","text":"TemporaryFile(/tmp/multipartBody8083442345279093794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458597532,"filename":"image_09012025_19_47_02_410369_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327710019","file1":"1327710016","file0":"1327710014","file4":"1327710056","file5":"1327710066","file3":"1327710021"},"map_files_photo_id_array":[{"photo_id":"1327710066","filename":"file5"},{"photo_id":"1327710019","filename":"file2"},{"photo_id":"1327710056","filename":"file4"},{"photo_id":"1327710016","filename":"file1"},{"photo_id":"1327710014","filename":"file0"},{"photo_id":"1327710021","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327710019":["hashtag1","hashtag2"]},{"1327710016":["hashtag1","hashtag2"]},{"1327710066":["hashtag1","hashtag2"]},{"1327710021":["hashtag1","hashtag2"]},{"1327710056":["hashtag1","hashtag2"]},{"1327710014":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327710019, 1327710016, 1327710066, 1327710021, 1327710056, 1327710014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.99840688705444 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 22:36:42.236824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/49/image_09012025_19_49_02_724863_0000.jpg', '/home/pi/Desktop/images/09012025/19/49/image_09012025_19_49_02_724863_0003.jpg', '/home/pi/Desktop/images/09012025/19/50/image_09012025_19_50_02_934000_0000.jpg', '/home/pi/Desktop/images/09012025/19/50/image_09012025_19_50_02_934000_0001.jpg', '/home/pi/Desktop/images/09012025/19/50/image_09012025_19_50_02_934000_0002.jpg', '/home/pi/Desktop/images/09012025/19/50/image_09012025_19_50_02_934000_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/49/image_09012025_19_49_02_724863_0000.jpg
/home/pi/Desktop/images/09012025/19/49/image_09012025_19_49_02_724863_0003.jpg
/home/pi/Desktop/images/09012025/19/50/image_09012025_19_50_02_934000_0000.jpg
/home/pi/Desktop/images/09012025/19/50/image_09012025_19_50_02_934000_0001.jpg
/home/pi/Desktop/images/09012025/19/50/image_09012025_19_50_02_934000_0002.jpg
/home/pi/Desktop/images/09012025/19/50/image_09012025_19_50_02_934000_0003.jpg
 val : 1 : upload photos 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":["1327710156","1327710188","1327710173","1327710184","1327710181","1327710169"],"photo_ids_order":["1327710156","1327710169","1327710173","1327710181","1327710184","1327710188"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/24617e966bbcf396764837cc38cf030b.jpg","text":"TemporaryFile(/tmp/multipartBody2527612535543253139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458684512,"filename":"image_09012025_19_49_02_724863_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8d668e145f870710d75d903ba190a37a.jpg","text":"TemporaryFile(/tmp/multipartBody2283244176738389985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458684512,"filename":"image_09012025_19_50_02_934000_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3486484d5c300398da1c77517704b936.jpg","text":"TemporaryFile(/tmp/multipartBody500393495812953876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458684512,"filename":"image_09012025_19_50_02_934000_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/74c41fe2fce44ec29259ac1ebfc4d678.jpg","text":"TemporaryFile(/tmp/multipartBody495123844073556831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458684512,"filename":"image_09012025_19_50_02_934000_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d8391c57371a0580a467f83bc0d1d5cd.jpg","text":"TemporaryFile(/tmp/multipartBody3152344283595888000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458684512,"filename":"image_09012025_19_50_02_934000_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0f0511be50810ed2aa9425016b902b9a.jpg","text":"TemporaryFile(/tmp/multipartBody1190206636627767702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458684512,"filename":"image_09012025_19_49_02_724863_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327710173","file1":"1327710169","file0":"1327710156","file4":"1327710184","file5":"1327710188","file3":"1327710181"},"map_files_photo_id_array":[{"photo_id":"1327710188","filename":"file5"},{"photo_id":"1327710173","filename":"file2"},{"photo_id":"1327710184","filename":"file4"},{"photo_id":"1327710169","filename":"file1"},{"photo_id":"1327710156","filename":"file0"},{"photo_id":"1327710181","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327710156":["hashtag1","hashtag2"]},{"1327710188":["hashtag1","hashtag2"]},{"1327710173":["hashtag1","hashtag2"]},{"1327710184":["hashtag1","hashtag2"]},{"1327710181":["hashtag1","hashtag2"]},{"1327710169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327710156, 1327710188, 1327710173, 1327710184, 1327710181, 1327710169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 79.74563670158386 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 22:38:22.550289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/51/image_09012025_19_51_03_038464_0000.jpg', '/home/pi/Desktop/images/09012025/19/51/image_09012025_19_51_03_038464_0001.jpg', '/home/pi/Desktop/images/09012025/19/51/image_09012025_19_51_03_038464_0002.jpg', '/home/pi/Desktop/images/09012025/19/51/image_09012025_19_51_03_038464_0003.jpg', '/home/pi/Desktop/images/09012025/19/52/image_09012025_19_52_02_314151_0001.jpg', '/home/pi/Desktop/images/09012025/19/52/image_09012025_19_52_02_314151_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/51/image_09012025_19_51_03_038464_0000.jpg
/home/pi/Desktop/images/09012025/19/51/image_09012025_19_51_03_038464_0001.jpg
/home/pi/Desktop/images/09012025/19/51/image_09012025_19_51_03_038464_0002.jpg
/home/pi/Desktop/images/09012025/19/51/image_09012025_19_51_03_038464_0003.jpg
/home/pi/Desktop/images/09012025/19/52/image_09012025_19_52_02_314151_0001.jpg
/home/pi/Desktop/images/09012025/19/52/image_09012025_19_52_02_314151_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327710301","1327710298","1327710283","1327710302","1327710295","1327710280"],"photo_ids_order":["1327710280","1327710283","1327710295","1327710298","1327710301","1327710302"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9ea4c5c0f9b2215da453340d9bd89c6d.jpg","text":"TemporaryFile(/tmp/multipartBody652972085719706958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458804783,"filename":"image_09012025_19_52_02_314151_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c7019e99effa8a7006654bd1c92625fc.jpg","text":"TemporaryFile(/tmp/multipartBody2946067539588285608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458804783,"filename":"image_09012025_19_51_03_038464_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/eec39c1db35acd4adf9b48cbe024840d.jpg","text":"TemporaryFile(/tmp/multipartBody8860290423101401659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458804783,"filename":"image_09012025_19_51_03_038464_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f245839e5dabee7e725d1cfa568ac68b.jpg","text":"TemporaryFile(/tmp/multipartBody217909262470113566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458804783,"filename":"image_09012025_19_52_02_314151_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/abeeec95f65ee5dfca94569cd794aef2.jpg","text":"TemporaryFile(/tmp/multipartBody7719317220068799703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458804783,"filename":"image_09012025_19_51_03_038464_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/80d256143ccf81127f5217c5b03c96ce.jpg","text":"TemporaryFile(/tmp/multipartBody1167681522709798655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458804783,"filename":"image_09012025_19_51_03_038464_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327710295","file1":"1327710283","file0":"1327710280","file4":"1327710301","file5":"1327710302","file3":"1327710298"},"map_files_photo_id_array":[{"photo_id":"1327710302","filename":"file5"},{"photo_id":"1327710295","filename":"file2"},{"photo_id":"1327710301","filename":"file4"},{"photo_id":"1327710283","filename":"file1"},{"photo_id":"1327710280","filename":"file0"},{"photo_id":"1327710298","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327710301":["hashtag1","hashtag2"]},{"1327710298":["hashtag1","hashtag2"]},{"1327710283":["hashtag1","hashtag2"]},{"1327710302":["hashtag1","hashtag2"]},{"1327710295":["hashtag1","hashtag2"]},{"1327710280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327710301, 1327710298, 1327710283, 1327710302, 1327710295, 1327710280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.75950956344604 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 22:40:21.892160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/52/image_09012025_19_52_02_314151_0003.jpg', '/home/pi/Desktop/images/09012025/19/53/image_09012025_19_53_02_409757_0000.jpg', '/home/pi/Desktop/images/09012025/19/53/image_09012025_19_53_02_409757_0002.jpg', '/home/pi/Desktop/images/09012025/19/53/image_09012025_19_53_02_409757_0003.jpg', '/home/pi/Desktop/images/09012025/19/54/image_09012025_19_54_02_578761_0000.jpg', '/home/pi/Desktop/images/09012025/19/54/image_09012025_19_54_02_578761_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/52/image_09012025_19_52_02_314151_0003.jpg
/home/pi/Desktop/images/09012025/19/53/image_09012025_19_53_02_409757_0000.jpg
/home/pi/Desktop/images/09012025/19/53/image_09012025_19_53_02_409757_0002.jpg
/home/pi/Desktop/images/09012025/19/53/image_09012025_19_53_02_409757_0003.jpg
/home/pi/Desktop/images/09012025/19/54/image_09012025_19_54_02_578761_0000.jpg
/home/pi/Desktop/images/09012025/19/54/image_09012025_19_54_02_578761_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327710387","1327710390","1327710384","1327710380","1327710374","1327710377"],"photo_ids_order":["1327710374","1327710377","1327710380","1327710384","1327710387","1327710390"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f9d5dcea542b25d9158085971395f357.jpg","text":"TemporaryFile(/tmp/multipartBody5847868950093096264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458921156,"filename":"image_09012025_19_54_02_578761_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2064fcb4f941a3e041d170d2063f3fe2.jpg","text":"TemporaryFile(/tmp/multipartBody8314528296612244823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458921156,"filename":"image_09012025_19_54_02_578761_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c9e2da5d2c435f154f86d90219583a62.jpg","text":"TemporaryFile(/tmp/multipartBody4711571544638092328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458921156,"filename":"image_09012025_19_53_02_409757_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0bc8656c62c1b5812cda7a78119e1288.jpg","text":"TemporaryFile(/tmp/multipartBody2938669090235872799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458921156,"filename":"image_09012025_19_53_02_409757_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/601d85e3cd44440632c994c418cd9134.jpg","text":"TemporaryFile(/tmp/multipartBody4199537429246756031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458921156,"filename":"image_09012025_19_52_02_314151_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/841e36ac70b1331dca9db230762a55ee.jpg","text":"TemporaryFile(/tmp/multipartBody3671791142016645767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736458921156,"filename":"image_09012025_19_53_02_409757_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327710380","file1":"1327710377","file0":"1327710374","file4":"1327710387","file5":"1327710390","file3":"1327710384"},"map_files_photo_id_array":[{"photo_id":"1327710390","filename":"file5"},{"photo_id":"1327710380","filename":"file2"},{"photo_id":"1327710387","filename":"file4"},{"photo_id":"1327710377","filename":"file1"},{"photo_id":"1327710374","filename":"file0"},{"photo_id":"1327710384","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327710387":["hashtag1","hashtag2"]},{"1327710390":["hashtag1","hashtag2"]},{"1327710384":["hashtag1","hashtag2"]},{"1327710380":["hashtag1","hashtag2"]},{"1327710374":["hashtag1","hashtag2"]},{"1327710377":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327710387, 1327710390, 1327710384, 1327710380, 1327710374, 1327710377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.84580755233765 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 22:42:02.617162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/54/image_09012025_19_54_02_578761_0002.jpg', '/home/pi/Desktop/images/09012025/19/54/image_09012025_19_54_02_578761_0003.jpg', '/home/pi/Desktop/images/09012025/19/55/image_09012025_19_55_02_719201_0000.jpg', '/home/pi/Desktop/images/09012025/19/55/image_09012025_19_55_02_719201_0001.jpg', '/home/pi/Desktop/images/09012025/19/55/image_09012025_19_55_02_719201_0002.jpg', '/home/pi/Desktop/images/09012025/19/55/image_09012025_19_55_02_719201_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/54/image_09012025_19_54_02_578761_0002.jpg
/home/pi/Desktop/images/09012025/19/54/image_09012025_19_54_02_578761_0003.jpg
/home/pi/Desktop/images/09012025/19/55/image_09012025_19_55_02_719201_0000.jpg
/home/pi/Desktop/images/09012025/19/55/image_09012025_19_55_02_719201_0001.jpg
/home/pi/Desktop/images/09012025/19/55/image_09012025_19_55_02_719201_0002.jpg
/home/pi/Desktop/images/09012025/19/55/image_09012025_19_55_02_719201_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 32.333950996398926 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 22:42:42.314788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/54/image_09012025_19_54_02_578761_0002.jpg', '/home/pi/Desktop/images/09012025/19/54/image_09012025_19_54_02_578761_0003.jpg', '/home/pi/Desktop/images/09012025/19/55/image_09012025_19_55_02_719201_0000.jpg', '/home/pi/Desktop/images/09012025/19/55/image_09012025_19_55_02_719201_0001.jpg', '/home/pi/Desktop/images/09012025/19/55/image_09012025_19_55_02_719201_0002.jpg', '/home/pi/Desktop/images/09012025/19/55/image_09012025_19_55_02_719201_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/54/image_09012025_19_54_02_578761_0002.jpg
/home/pi/Desktop/images/09012025/19/54/image_09012025_19_54_02_578761_0003.jpg
/home/pi/Desktop/images/09012025/19/55/image_09012025_19_55_02_719201_0000.jpg
/home/pi/Desktop/images/09012025/19/55/image_09012025_19_55_02_719201_0001.jpg
/home/pi/Desktop/images/09012025/19/55/image_09012025_19_55_02_719201_0002.jpg
/home/pi/Desktop/images/09012025/19/55/image_09012025_19_55_02_719201_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327711626","1327711284","1327711251","1327711294","1327711261","1327711287"],"photo_ids_order":["1327711251","1327711261","1327711284","1327711287","1327711294","1327711626"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b7717eff0094f7007d699bf182c46b58.jpg","text":"TemporaryFile(/tmp/multipartBody1920193209439125591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459063047,"filename":"image_09012025_19_55_02_719201_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/07af4bb1bcf09ff7d7c17027320eb520.jpg","text":"TemporaryFile(/tmp/multipartBody8711637262451129807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459063047,"filename":"image_09012025_19_55_02_719201_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b42da3127f2a1ceedcb206bf9a5773c2.jpg","text":"TemporaryFile(/tmp/multipartBody1342776477424851965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459063047,"filename":"image_09012025_19_54_02_578761_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8d608165393e9606f380bff88d7fc74e.jpg","text":"TemporaryFile(/tmp/multipartBody8287651512141095415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459063047,"filename":"image_09012025_19_55_02_719201_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2cd196c8f30612a860642f675ca71432.jpg","text":"TemporaryFile(/tmp/multipartBody8207424807493638714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459063047,"filename":"image_09012025_19_54_02_578761_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/07efc5ed9baa873565d6c1307754bb72.jpg","text":"TemporaryFile(/tmp/multipartBody8055682770709784372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459063047,"filename":"image_09012025_19_55_02_719201_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327711284","file1":"1327711261","file0":"1327711251","file4":"1327711294","file5":"1327711626","file3":"1327711287"},"map_files_photo_id_array":[{"photo_id":"1327711626","filename":"file5"},{"photo_id":"1327711284","filename":"file2"},{"photo_id":"1327711294","filename":"file4"},{"photo_id":"1327711261","filename":"file1"},{"photo_id":"1327711251","filename":"file0"},{"photo_id":"1327711287","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327711626":["hashtag1","hashtag2"]},{"1327711284":["hashtag1","hashtag2"]},{"1327711251":["hashtag1","hashtag2"]},{"1327711294":["hashtag1","hashtag2"]},{"1327711261":["hashtag1","hashtag2"]},{"1327711287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327711626, 1327711284, 1327711251, 1327711294, 1327711261, 1327711287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.00873231887817 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 22:44:32.622392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/56/image_09012025_19_56_02_990262_0000.jpg', '/home/pi/Desktop/images/09012025/19/56/image_09012025_19_56_02_990262_0001.jpg', '/home/pi/Desktop/images/09012025/19/56/image_09012025_19_56_02_990262_0002.jpg', '/home/pi/Desktop/images/09012025/19/57/image_09012025_19_57_02_167045_0000.jpg', '/home/pi/Desktop/images/09012025/19/57/image_09012025_19_57_02_167045_0001.jpg', '/home/pi/Desktop/images/09012025/19/57/image_09012025_19_57_02_167045_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/56/image_09012025_19_56_02_990262_0000.jpg
/home/pi/Desktop/images/09012025/19/56/image_09012025_19_56_02_990262_0001.jpg
/home/pi/Desktop/images/09012025/19/56/image_09012025_19_56_02_990262_0002.jpg
/home/pi/Desktop/images/09012025/19/57/image_09012025_19_57_02_167045_0000.jpg
/home/pi/Desktop/images/09012025/19/57/image_09012025_19_57_02_167045_0001.jpg
/home/pi/Desktop/images/09012025/19/57/image_09012025_19_57_02_167045_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327711938","1327711929","1327711914","1327711925","1327711919","1327711933"],"photo_ids_order":["1327711914","1327711919","1327711925","1327711929","1327711933","1327711938"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6f4aefdeefc1741547cd09bd0bf8b749.jpg","text":"TemporaryFile(/tmp/multipartBody5221264749222140313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459168410,"filename":"image_09012025_19_57_02_167045_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/14e35849572cf916dece1a902f2df9eb.jpg","text":"TemporaryFile(/tmp/multipartBody3314949065465805579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459168410,"filename":"image_09012025_19_57_02_167045_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/932e2d8eb374b675f3cf717b8b337232.jpg","text":"TemporaryFile(/tmp/multipartBody266499926465733952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459168410,"filename":"image_09012025_19_56_02_990262_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e26ff29e4e5c969e8fc970987f0988d4.jpg","text":"TemporaryFile(/tmp/multipartBody8123305541406646100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459168410,"filename":"image_09012025_19_56_02_990262_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c8320c5b0e74ce78cd242a2a400216ab.jpg","text":"TemporaryFile(/tmp/multipartBody9043510480465444026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459168410,"filename":"image_09012025_19_56_02_990262_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/19f6ec754ee0bcfa341a89332af369d6.jpg","text":"TemporaryFile(/tmp/multipartBody6193679576387793301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459168410,"filename":"image_09012025_19_57_02_167045_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327711925","file1":"1327711919","file0":"1327711914","file4":"1327711933","file5":"1327711938","file3":"1327711929"},"map_files_photo_id_array":[{"photo_id":"1327711938","filename":"file5"},{"photo_id":"1327711925","filename":"file2"},{"photo_id":"1327711933","filename":"file4"},{"photo_id":"1327711919","filename":"file1"},{"photo_id":"1327711914","filename":"file0"},{"photo_id":"1327711929","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327711938":["hashtag1","hashtag2"]},{"1327711929":["hashtag1","hashtag2"]},{"1327711914":["hashtag1","hashtag2"]},{"1327711925":["hashtag1","hashtag2"]},{"1327711919":["hashtag1","hashtag2"]},{"1327711933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327711938, 1327711929, 1327711914, 1327711925, 1327711919, 1327711933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.4148600101471 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 22:46:22.111570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/57/image_09012025_19_57_02_167045_0003.jpg', '/home/pi/Desktop/images/09012025/19/58/image_09012025_19_58_02_377894_0000.jpg', '/home/pi/Desktop/images/09012025/19/58/image_09012025_19_58_02_377894_0001.jpg', '/home/pi/Desktop/images/09012025/19/58/image_09012025_19_58_02_377894_0002.jpg', '/home/pi/Desktop/images/09012025/19/58/image_09012025_19_58_02_377894_0003.jpg', '/home/pi/Desktop/images/09012025/19/59/image_09012025_19_59_02_509363_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/57/image_09012025_19_57_02_167045_0003.jpg
/home/pi/Desktop/images/09012025/19/58/image_09012025_19_58_02_377894_0000.jpg
/home/pi/Desktop/images/09012025/19/58/image_09012025_19_58_02_377894_0001.jpg
/home/pi/Desktop/images/09012025/19/58/image_09012025_19_58_02_377894_0002.jpg
/home/pi/Desktop/images/09012025/19/58/image_09012025_19_58_02_377894_0003.jpg
/home/pi/Desktop/images/09012025/19/59/image_09012025_19_59_02_509363_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327712205","1327712198","1327712201","1327712204","1327712196","1327712193"],"photo_ids_order":["1327712193","1327712196","1327712198","1327712201","1327712204","1327712205"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/137dbf4bc1d0a207f763f53508745627.jpg","text":"TemporaryFile(/tmp/multipartBody7292921270202244285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459277809,"filename":"image_09012025_19_59_02_509363_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9f5b23bf1402fe0fc18602a0144bb9f3.jpg","text":"TemporaryFile(/tmp/multipartBody6214015856577272674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459277809,"filename":"image_09012025_19_58_02_377894_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fa2ff61ca14315765750df0baaedcc12.jpg","text":"TemporaryFile(/tmp/multipartBody8048087849127128383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459277809,"filename":"image_09012025_19_58_02_377894_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c741fdeef8363972ca817e22410fa340.jpg","text":"TemporaryFile(/tmp/multipartBody2607312734397893885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459277809,"filename":"image_09012025_19_58_02_377894_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1ecb892db0a0d1f542522e55ba240444.jpg","text":"TemporaryFile(/tmp/multipartBody2514500386105308704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459277809,"filename":"image_09012025_19_58_02_377894_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ab0db1ac771236d81098bca6b5e31519.jpg","text":"TemporaryFile(/tmp/multipartBody7735772394999424941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459277809,"filename":"image_09012025_19_57_02_167045_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327712198","file1":"1327712196","file0":"1327712193","file4":"1327712204","file5":"1327712205","file3":"1327712201"},"map_files_photo_id_array":[{"photo_id":"1327712205","filename":"file5"},{"photo_id":"1327712198","filename":"file2"},{"photo_id":"1327712204","filename":"file4"},{"photo_id":"1327712196","filename":"file1"},{"photo_id":"1327712193","filename":"file0"},{"photo_id":"1327712201","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327712205":["hashtag1","hashtag2"]},{"1327712198":["hashtag1","hashtag2"]},{"1327712201":["hashtag1","hashtag2"]},{"1327712204":["hashtag1","hashtag2"]},{"1327712196":["hashtag1","hashtag2"]},{"1327712193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327712205, 1327712198, 1327712201, 1327712204, 1327712196, 1327712193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.77573084831238 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 22:48:02.651232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/19/59/image_09012025_19_59_02_509363_0001.jpg', '/home/pi/Desktop/images/09012025/19/59/image_09012025_19_59_02_509363_0002.jpg', '/home/pi/Desktop/images/09012025/19/59/image_09012025_19_59_02_509363_0003.jpg', '/home/pi/Desktop/images/09012025/20/00/image_09012025_20_00_02_676031_0000.jpg', '/home/pi/Desktop/images/09012025/20/00/image_09012025_20_00_02_676031_0001.jpg', '/home/pi/Desktop/images/09012025/20/00/image_09012025_20_00_02_676031_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/19/59/image_09012025_19_59_02_509363_0001.jpg
/home/pi/Desktop/images/09012025/19/59/image_09012025_19_59_02_509363_0002.jpg
/home/pi/Desktop/images/09012025/19/59/image_09012025_19_59_02_509363_0003.jpg
/home/pi/Desktop/images/09012025/20/00/image_09012025_20_00_02_676031_0000.jpg
/home/pi/Desktop/images/09012025/20/00/image_09012025_20_00_02_676031_0001.jpg
/home/pi/Desktop/images/09012025/20/00/image_09012025_20_00_02_676031_0002.jpg
 val : 1 : upload photos 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":["1327712231","1327712287","1327712275","1327712314","1327712265","1327712334"],"photo_ids_order":["1327712231","1327712265","1327712275","1327712287","1327712314","1327712334"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2ec1ed35b0029bf187b201b9fbc17083.jpg","text":"TemporaryFile(/tmp/multipartBody2037644442038858552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459360067,"filename":"image_09012025_19_59_02_509363_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8335d14ba29eca79d2c66d1e7c37bc26.jpg","text":"TemporaryFile(/tmp/multipartBody8369603304637797004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459360067,"filename":"image_09012025_20_00_02_676031_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c71d4fcde2a2ca520daae02947884367.jpg","text":"TemporaryFile(/tmp/multipartBody2193816135984394124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459360067,"filename":"image_09012025_19_59_02_509363_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1966f19af21099a2923a13636db82133.jpg","text":"TemporaryFile(/tmp/multipartBody7480997811781418123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459360067,"filename":"image_09012025_20_00_02_676031_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/88bf0ca48579c6dec2c551b474265c51.jpg","text":"TemporaryFile(/tmp/multipartBody7081370376564633308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459360067,"filename":"image_09012025_19_59_02_509363_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2e38e1dc845e0258248b5f91b961434c.jpg","text":"TemporaryFile(/tmp/multipartBody8105783465054570072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459360067,"filename":"image_09012025_20_00_02_676031_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327712275","file1":"1327712265","file0":"1327712231","file4":"1327712314","file5":"1327712334","file3":"1327712287"},"map_files_photo_id_array":[{"photo_id":"1327712334","filename":"file5"},{"photo_id":"1327712275","filename":"file2"},{"photo_id":"1327712314","filename":"file4"},{"photo_id":"1327712265","filename":"file1"},{"photo_id":"1327712231","filename":"file0"},{"photo_id":"1327712287","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327712231":["hashtag1","hashtag2"]},{"1327712287":["hashtag1","hashtag2"]},{"1327712275":["hashtag1","hashtag2"]},{"1327712314":["hashtag1","hashtag2"]},{"1327712265":["hashtag1","hashtag2"]},{"1327712334":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327712231, 1327712287, 1327712275, 1327712314, 1327712265, 1327712334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.92360329627991 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 22:49:31.777780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/00/image_09012025_20_00_02_676031_0003.jpg', '/home/pi/Desktop/images/09012025/20/01/image_09012025_20_01_02_805214_0000.jpg', '/home/pi/Desktop/images/09012025/20/01/image_09012025_20_01_02_805214_0001.jpg', '/home/pi/Desktop/images/09012025/20/01/image_09012025_20_01_02_805214_0002.jpg', '/home/pi/Desktop/images/09012025/20/01/image_09012025_20_01_02_805214_0003.jpg', '/home/pi/Desktop/images/09012025/20/02/image_09012025_20_02_03_043255_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/00/image_09012025_20_00_02_676031_0003.jpg
/home/pi/Desktop/images/09012025/20/01/image_09012025_20_01_02_805214_0000.jpg
/home/pi/Desktop/images/09012025/20/01/image_09012025_20_01_02_805214_0001.jpg
/home/pi/Desktop/images/09012025/20/01/image_09012025_20_01_02_805214_0002.jpg
/home/pi/Desktop/images/09012025/20/01/image_09012025_20_01_02_805214_0003.jpg
/home/pi/Desktop/images/09012025/20/02/image_09012025_20_02_03_043255_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327712387","1327712381","1327712369","1327712374","1327712382","1327712385"],"photo_ids_order":["1327712369","1327712374","1327712381","1327712382","1327712385","1327712387"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bd78e4aefa7b8c9e1c3a5f1542a2a743.jpg","text":"TemporaryFile(/tmp/multipartBody7564626717668699206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459478259,"filename":"image_09012025_20_02_03_043255_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d5d5743d6dd08292e89b346da8bb44a8.jpg","text":"TemporaryFile(/tmp/multipartBody4503597761341721867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459478259,"filename":"image_09012025_20_01_02_805214_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0b9c1312c4580c0cd3424fb242d2995d.jpg","text":"TemporaryFile(/tmp/multipartBody5276430800382140749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459478259,"filename":"image_09012025_20_00_02_676031_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2b50356baadc9b6c74e36fb663043785.jpg","text":"TemporaryFile(/tmp/multipartBody5813565280603226931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459478259,"filename":"image_09012025_20_01_02_805214_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/74ab1a24228e7b8393db77549a25a3e8.jpg","text":"TemporaryFile(/tmp/multipartBody3429548363458067380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459478259,"filename":"image_09012025_20_01_02_805214_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4670642f5c396286db7bafa84fc9f78c.jpg","text":"TemporaryFile(/tmp/multipartBody6908263777454709778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459478259,"filename":"image_09012025_20_01_02_805214_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327712381","file1":"1327712374","file0":"1327712369","file4":"1327712385","file5":"1327712387","file3":"1327712382"},"map_files_photo_id_array":[{"photo_id":"1327712387","filename":"file5"},{"photo_id":"1327712381","filename":"file2"},{"photo_id":"1327712385","filename":"file4"},{"photo_id":"1327712374","filename":"file1"},{"photo_id":"1327712369","filename":"file0"},{"photo_id":"1327712382","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327712387":["hashtag1","hashtag2"]},{"1327712381":["hashtag1","hashtag2"]},{"1327712369":["hashtag1","hashtag2"]},{"1327712374":["hashtag1","hashtag2"]},{"1327712382":["hashtag1","hashtag2"]},{"1327712385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327712387, 1327712381, 1327712369, 1327712374, 1327712382, 1327712385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.95578050613403 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 22:51:22.189036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/02/image_09012025_20_02_03_043255_0001.jpg', '/home/pi/Desktop/images/09012025/20/02/image_09012025_20_02_03_043255_0002.jpg', '/home/pi/Desktop/images/09012025/20/02/image_09012025_20_02_03_043255_0003.jpg', '/home/pi/Desktop/images/09012025/20/03/image_09012025_20_03_02_183507_0000.jpg', '/home/pi/Desktop/images/09012025/20/03/image_09012025_20_03_02_183507_0001.jpg', '/home/pi/Desktop/images/09012025/20/03/image_09012025_20_03_02_183507_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/02/image_09012025_20_02_03_043255_0001.jpg
/home/pi/Desktop/images/09012025/20/02/image_09012025_20_02_03_043255_0002.jpg
/home/pi/Desktop/images/09012025/20/02/image_09012025_20_02_03_043255_0003.jpg
/home/pi/Desktop/images/09012025/20/03/image_09012025_20_03_02_183507_0000.jpg
/home/pi/Desktop/images/09012025/20/03/image_09012025_20_03_02_183507_0001.jpg
/home/pi/Desktop/images/09012025/20/03/image_09012025_20_03_02_183507_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327712409","1327712399","1327712414","1327712401","1327712404","1327712407"],"photo_ids_order":["1327712399","1327712401","1327712404","1327712407","1327712409","1327712414"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1208b9506f3195eefe205906bd732e03.jpg","text":"TemporaryFile(/tmp/multipartBody4020616809662952436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459578273,"filename":"image_09012025_20_03_02_183507_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ee91778af6a2a520a7a05ad2a671f801.jpg","text":"TemporaryFile(/tmp/multipartBody2227367702830689423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459578273,"filename":"image_09012025_20_02_03_043255_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1fbe9979770d97e051aaf673b9201086.jpg","text":"TemporaryFile(/tmp/multipartBody8638073192997796664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459578273,"filename":"image_09012025_20_03_02_183507_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9025517cf90960de977c17a2f7aab7b4.jpg","text":"TemporaryFile(/tmp/multipartBody650383442107003137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459578273,"filename":"image_09012025_20_02_03_043255_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ee9f58c72a3cc304cea9f5fc9a1d2a93.jpg","text":"TemporaryFile(/tmp/multipartBody2761164674978040122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459578273,"filename":"image_09012025_20_02_03_043255_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/44c619601de7c74c52349a37cdf8e4bb.jpg","text":"TemporaryFile(/tmp/multipartBody7795024765382077189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459578273,"filename":"image_09012025_20_03_02_183507_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327712404","file1":"1327712401","file0":"1327712399","file4":"1327712409","file5":"1327712414","file3":"1327712407"},"map_files_photo_id_array":[{"photo_id":"1327712414","filename":"file5"},{"photo_id":"1327712404","filename":"file2"},{"photo_id":"1327712409","filename":"file4"},{"photo_id":"1327712401","filename":"file1"},{"photo_id":"1327712399","filename":"file0"},{"photo_id":"1327712407","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327712409":["hashtag1","hashtag2"]},{"1327712399":["hashtag1","hashtag2"]},{"1327712414":["hashtag1","hashtag2"]},{"1327712401":["hashtag1","hashtag2"]},{"1327712404":["hashtag1","hashtag2"]},{"1327712407":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327712409, 1327712399, 1327712414, 1327712401, 1327712404, 1327712407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.29303550720215 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 22:53:03.270892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/03/image_09012025_20_03_02_183507_0003.jpg', '/home/pi/Desktop/images/09012025/20/04/image_09012025_20_04_02_406960_0000.jpg', '/home/pi/Desktop/images/09012025/20/04/image_09012025_20_04_02_406960_0001.jpg', '/home/pi/Desktop/images/09012025/20/04/image_09012025_20_04_02_406960_0002.jpg', '/home/pi/Desktop/images/09012025/20/04/image_09012025_20_04_02_406960_0003.jpg', '/home/pi/Desktop/images/09012025/20/05/image_09012025_20_05_02_556827_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/03/image_09012025_20_03_02_183507_0003.jpg
/home/pi/Desktop/images/09012025/20/04/image_09012025_20_04_02_406960_0000.jpg
/home/pi/Desktop/images/09012025/20/04/image_09012025_20_04_02_406960_0001.jpg
/home/pi/Desktop/images/09012025/20/04/image_09012025_20_04_02_406960_0002.jpg
/home/pi/Desktop/images/09012025/20/04/image_09012025_20_04_02_406960_0003.jpg
/home/pi/Desktop/images/09012025/20/05/image_09012025_20_05_02_556827_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 35.19132399559021 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 22:53:42.558633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/03/image_09012025_20_03_02_183507_0003.jpg', '/home/pi/Desktop/images/09012025/20/04/image_09012025_20_04_02_406960_0000.jpg', '/home/pi/Desktop/images/09012025/20/04/image_09012025_20_04_02_406960_0001.jpg', '/home/pi/Desktop/images/09012025/20/04/image_09012025_20_04_02_406960_0002.jpg', '/home/pi/Desktop/images/09012025/20/04/image_09012025_20_04_02_406960_0003.jpg', '/home/pi/Desktop/images/09012025/20/05/image_09012025_20_05_02_556827_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/03/image_09012025_20_03_02_183507_0003.jpg
/home/pi/Desktop/images/09012025/20/04/image_09012025_20_04_02_406960_0000.jpg
/home/pi/Desktop/images/09012025/20/04/image_09012025_20_04_02_406960_0001.jpg
/home/pi/Desktop/images/09012025/20/04/image_09012025_20_04_02_406960_0002.jpg
/home/pi/Desktop/images/09012025/20/04/image_09012025_20_04_02_406960_0003.jpg
/home/pi/Desktop/images/09012025/20/05/image_09012025_20_05_02_556827_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327712684","1327712765","1327712758","1327712691","1327712688","1327712730"],"photo_ids_order":["1327712684","1327712688","1327712691","1327712730","1327712758","1327712765"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/543d80ca35815861eb71c10463d4f561.jpg","text":"TemporaryFile(/tmp/multipartBody1886411417527339273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459728005,"filename":"image_09012025_20_03_02_183507_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d1a1d11016d5c9436d25243bf31cbae4.jpg","text":"TemporaryFile(/tmp/multipartBody5981493816732007489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459728005,"filename":"image_09012025_20_05_02_556827_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8be38daf880874d477919158f4dd4735.jpg","text":"TemporaryFile(/tmp/multipartBody4542257908576962668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459728005,"filename":"image_09012025_20_04_02_406960_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/050cee57856e8bb41c1553e0d8ba3853.jpg","text":"TemporaryFile(/tmp/multipartBody1357655742035695659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459728005,"filename":"image_09012025_20_04_02_406960_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d0d3a6518d4eb1fff17da46d81f23d8a.jpg","text":"TemporaryFile(/tmp/multipartBody2240380600304589846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459728005,"filename":"image_09012025_20_04_02_406960_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/78382127f06dd5cff87179f5d86526be.jpg","text":"TemporaryFile(/tmp/multipartBody2629782286618040350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459728005,"filename":"image_09012025_20_04_02_406960_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327712691","file1":"1327712688","file0":"1327712684","file4":"1327712758","file5":"1327712765","file3":"1327712730"},"map_files_photo_id_array":[{"photo_id":"1327712765","filename":"file5"},{"photo_id":"1327712691","filename":"file2"},{"photo_id":"1327712758","filename":"file4"},{"photo_id":"1327712688","filename":"file1"},{"photo_id":"1327712684","filename":"file0"},{"photo_id":"1327712730","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327712684":["hashtag1","hashtag2"]},{"1327712765":["hashtag1","hashtag2"]},{"1327712758":["hashtag1","hashtag2"]},{"1327712691":["hashtag1","hashtag2"]},{"1327712688":["hashtag1","hashtag2"]},{"1327712730":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327712684, 1327712765, 1327712758, 1327712691, 1327712688, 1327712730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.8503270149231 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 22:55:31.948178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/05/image_09012025_20_05_02_556827_0001.jpg', '/home/pi/Desktop/images/09012025/20/05/image_09012025_20_05_02_556827_0002.jpg', '/home/pi/Desktop/images/09012025/20/06/image_09012025_20_06_02_731103_0000.jpg', '/home/pi/Desktop/images/09012025/20/06/image_09012025_20_06_02_731103_0001.jpg', '/home/pi/Desktop/images/09012025/20/06/image_09012025_20_06_02_731103_0002.jpg', '/home/pi/Desktop/images/09012025/20/06/image_09012025_20_06_02_731103_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/05/image_09012025_20_05_02_556827_0001.jpg
/home/pi/Desktop/images/09012025/20/05/image_09012025_20_05_02_556827_0002.jpg
/home/pi/Desktop/images/09012025/20/06/image_09012025_20_06_02_731103_0000.jpg
/home/pi/Desktop/images/09012025/20/06/image_09012025_20_06_02_731103_0001.jpg
/home/pi/Desktop/images/09012025/20/06/image_09012025_20_06_02_731103_0002.jpg
/home/pi/Desktop/images/09012025/20/06/image_09012025_20_06_02_731103_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327712811","1327712805","1327712808","1327712792","1327712812","1327712800"],"photo_ids_order":["1327712792","1327712800","1327712805","1327712808","1327712811","1327712812"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/39baab6125f585b708905983e0935ba3.jpg","text":"TemporaryFile(/tmp/multipartBody8225222627103084170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459830358,"filename":"image_09012025_20_06_02_731103_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bbd2331e241bb8d8b1bc44ee33fea246.jpg","text":"TemporaryFile(/tmp/multipartBody8386468652652972791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459830358,"filename":"image_09012025_20_06_02_731103_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0f48428ba3b2dfa66f883d5af2663863.jpg","text":"TemporaryFile(/tmp/multipartBody2514305901782114592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459830358,"filename":"image_09012025_20_06_02_731103_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/33e7a9f5a01d9ac79cfcdeca53557c35.jpg","text":"TemporaryFile(/tmp/multipartBody5982270883864710399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459830358,"filename":"image_09012025_20_05_02_556827_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e4b11f2f27a9789fde6b124935a6ac2.jpg","text":"TemporaryFile(/tmp/multipartBody8113246169630252516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459830358,"filename":"image_09012025_20_06_02_731103_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3dc87414324d6b0e868176534068a28f.jpg","text":"TemporaryFile(/tmp/multipartBody8790130385517948551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736459830358,"filename":"image_09012025_20_05_02_556827_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327712805","file1":"1327712800","file0":"1327712792","file4":"1327712811","file5":"1327712812","file3":"1327712808"},"map_files_photo_id_array":[{"photo_id":"1327712812","filename":"file5"},{"photo_id":"1327712805","filename":"file2"},{"photo_id":"1327712811","filename":"file4"},{"photo_id":"1327712800","filename":"file1"},{"photo_id":"1327712792","filename":"file0"},{"photo_id":"1327712808","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327712811":["hashtag1","hashtag2"]},{"1327712805":["hashtag1","hashtag2"]},{"1327712808":["hashtag1","hashtag2"]},{"1327712792":["hashtag1","hashtag2"]},{"1327712812":["hashtag1","hashtag2"]},{"1327712800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327712811, 1327712805, 1327712808, 1327712792, 1327712812, 1327712800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.70064878463745 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 22:57:22.313267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/07/image_09012025_20_07_02_919935_0000.jpg', '/home/pi/Desktop/images/09012025/20/07/image_09012025_20_07_02_919935_0001.jpg', '/home/pi/Desktop/images/09012025/20/07/image_09012025_20_07_02_919935_0002.jpg', '/home/pi/Desktop/images/09012025/20/07/image_09012025_20_07_02_919935_0003.jpg', '/home/pi/Desktop/images/09012025/20/08/image_09012025_20_08_03_121364_0000.jpg', '/home/pi/Desktop/images/09012025/20/08/image_09012025_20_08_03_121364_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/07/image_09012025_20_07_02_919935_0000.jpg
/home/pi/Desktop/images/09012025/20/07/image_09012025_20_07_02_919935_0001.jpg
/home/pi/Desktop/images/09012025/20/07/image_09012025_20_07_02_919935_0002.jpg
/home/pi/Desktop/images/09012025/20/07/image_09012025_20_07_02_919935_0003.jpg
/home/pi/Desktop/images/09012025/20/08/image_09012025_20_08_03_121364_0000.jpg
/home/pi/Desktop/images/09012025/20/08/image_09012025_20_08_03_121364_0001.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 22:59:03.396912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/07/image_09012025_20_07_02_919935_0000.jpg', '/home/pi/Desktop/images/09012025/20/07/image_09012025_20_07_02_919935_0001.jpg', '/home/pi/Desktop/images/09012025/20/07/image_09012025_20_07_02_919935_0002.jpg', '/home/pi/Desktop/images/09012025/20/07/image_09012025_20_07_02_919935_0003.jpg', '/home/pi/Desktop/images/09012025/20/08/image_09012025_20_08_03_121364_0000.jpg', '/home/pi/Desktop/images/09012025/20/08/image_09012025_20_08_03_121364_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/07/image_09012025_20_07_02_919935_0000.jpg
/home/pi/Desktop/images/09012025/20/07/image_09012025_20_07_02_919935_0001.jpg
/home/pi/Desktop/images/09012025/20/07/image_09012025_20_07_02_919935_0002.jpg
/home/pi/Desktop/images/09012025/20/07/image_09012025_20_07_02_919935_0003.jpg
/home/pi/Desktop/images/09012025/20/08/image_09012025_20_08_03_121364_0000.jpg
/home/pi/Desktop/images/09012025/20/08/image_09012025_20_08_03_121364_0001.jpg
 val : 1 : upload photos 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":["1327712975","1327712971","1327712983","1327712985","1327712979","1327712988"],"photo_ids_order":["1327712971","1327712975","1327712979","1327712983","1327712985","1327712988"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c66c19409ebb22192d97b73e9027eaf0.jpg","text":"TemporaryFile(/tmp/multipartBody7193160483296230232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460047347,"filename":"image_09012025_20_07_02_919935_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a947b6ef069dbd976973ecc926711abb.jpg","text":"TemporaryFile(/tmp/multipartBody358479478612710790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460047347,"filename":"image_09012025_20_07_02_919935_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c508428cdeb13efff386e5ee25dc8c90.jpg","text":"TemporaryFile(/tmp/multipartBody2016808948075002109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460047347,"filename":"image_09012025_20_07_02_919935_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/499c67029af5787c25b5c5d205c895c1.jpg","text":"TemporaryFile(/tmp/multipartBody3490357425392391349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460047347,"filename":"image_09012025_20_08_03_121364_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/52d4e119f55a50ac729c88ea2e820dd9.jpg","text":"TemporaryFile(/tmp/multipartBody39255097640630032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460047347,"filename":"image_09012025_20_07_02_919935_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3006b82c586176685ce2d8c9258986de.jpg","text":"TemporaryFile(/tmp/multipartBody4507122169677245515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460047347,"filename":"image_09012025_20_08_03_121364_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327712979","file1":"1327712975","file0":"1327712971","file4":"1327712985","file5":"1327712988","file3":"1327712983"},"map_files_photo_id_array":[{"photo_id":"1327712988","filename":"file5"},{"photo_id":"1327712979","filename":"file2"},{"photo_id":"1327712985","filename":"file4"},{"photo_id":"1327712975","filename":"file1"},{"photo_id":"1327712971","filename":"file0"},{"photo_id":"1327712983","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327712975":["hashtag1","hashtag2"]},{"1327712971":["hashtag1","hashtag2"]},{"1327712983":["hashtag1","hashtag2"]},{"1327712985":["hashtag1","hashtag2"]},{"1327712979":["hashtag1","hashtag2"]},{"1327712988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327712975, 1327712971, 1327712983, 1327712985, 1327712979, 1327712988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.91156387329102 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 23:00:41.854339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/08/image_09012025_20_08_03_121364_0003.jpg', '/home/pi/Desktop/images/09012025/20/09/image_09012025_20_09_02_380842_0000.jpg', '/home/pi/Desktop/images/09012025/20/09/image_09012025_20_09_02_380842_0001.jpg', '/home/pi/Desktop/images/09012025/20/09/image_09012025_20_09_02_380842_0002.jpg', '/home/pi/Desktop/images/09012025/20/09/image_09012025_20_09_02_380842_0003.jpg', '/home/pi/Desktop/images/09012025/20/10/image_09012025_20_10_02_449592_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/08/image_09012025_20_08_03_121364_0003.jpg
/home/pi/Desktop/images/09012025/20/09/image_09012025_20_09_02_380842_0000.jpg
/home/pi/Desktop/images/09012025/20/09/image_09012025_20_09_02_380842_0001.jpg
/home/pi/Desktop/images/09012025/20/09/image_09012025_20_09_02_380842_0002.jpg
/home/pi/Desktop/images/09012025/20/09/image_09012025_20_09_02_380842_0003.jpg
/home/pi/Desktop/images/09012025/20/10/image_09012025_20_10_02_449592_0000.jpg
 val : 1 : upload photos 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":["1327713125","1327713011","1327713127","1327713096","1327713100","1327713078"],"photo_ids_order":["1327713011","1327713078","1327713096","1327713100","1327713125","1327713127"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7495e50300ec0bdd9351d418ddfc07e1.jpg","text":"TemporaryFile(/tmp/multipartBody2176207413682880335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460146520,"filename":"image_09012025_20_09_02_380842_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/91def23b0c5a4a7cae8a6bac14088da8.jpg","text":"TemporaryFile(/tmp/multipartBody7791366742517122992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460146520,"filename":"image_09012025_20_08_03_121364_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a6d64454efe97878d2d6f8e1730f79e2.jpg","text":"TemporaryFile(/tmp/multipartBody6419094342105698379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460146520,"filename":"image_09012025_20_10_02_449592_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d497b8ce57ff2a4c74bd1fdf7754d03a.jpg","text":"TemporaryFile(/tmp/multipartBody402184089015314655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460146520,"filename":"image_09012025_20_09_02_380842_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/2418a982f0357f0dcea3a9cb451679cc.jpg","text":"TemporaryFile(/tmp/multipartBody4650692362524039838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460146520,"filename":"image_09012025_20_09_02_380842_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e4375481b3fd32aff65d5508a930e7f9.jpg","text":"TemporaryFile(/tmp/multipartBody8013210057620119413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460146520,"filename":"image_09012025_20_09_02_380842_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327713096","file1":"1327713078","file0":"1327713011","file4":"1327713125","file5":"1327713127","file3":"1327713100"},"map_files_photo_id_array":[{"photo_id":"1327713127","filename":"file5"},{"photo_id":"1327713096","filename":"file2"},{"photo_id":"1327713125","filename":"file4"},{"photo_id":"1327713078","filename":"file1"},{"photo_id":"1327713011","filename":"file0"},{"photo_id":"1327713100","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327713125":["hashtag1","hashtag2"]},{"1327713011":["hashtag1","hashtag2"]},{"1327713127":["hashtag1","hashtag2"]},{"1327713096":["hashtag1","hashtag2"]},{"1327713100":["hashtag1","hashtag2"]},{"1327713078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327713125, 1327713011, 1327713127, 1327713096, 1327713100, 1327713078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 97.71162509918213 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 23:02:22.256504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/10/image_09012025_20_10_02_449592_0001.jpg', '/home/pi/Desktop/images/09012025/20/10/image_09012025_20_10_02_449592_0002.jpg', '/home/pi/Desktop/images/09012025/20/10/image_09012025_20_10_02_449592_0003.jpg', '/home/pi/Desktop/images/09012025/20/11/image_09012025_20_11_02_622946_0000.jpg', '/home/pi/Desktop/images/09012025/20/11/image_09012025_20_11_02_622946_0001.jpg', '/home/pi/Desktop/images/09012025/20/11/image_09012025_20_11_02_622946_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/10/image_09012025_20_10_02_449592_0001.jpg
/home/pi/Desktop/images/09012025/20/10/image_09012025_20_10_02_449592_0002.jpg
/home/pi/Desktop/images/09012025/20/10/image_09012025_20_10_02_449592_0003.jpg
/home/pi/Desktop/images/09012025/20/11/image_09012025_20_11_02_622946_0000.jpg
/home/pi/Desktop/images/09012025/20/11/image_09012025_20_11_02_622946_0001.jpg
/home/pi/Desktop/images/09012025/20/11/image_09012025_20_11_02_622946_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327713206","1327713208","1327713198","1327713201","1327713210","1327713194"],"photo_ids_order":["1327713194","1327713198","1327713201","1327713206","1327713208","1327713210"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9845dca69eb95421497908e5cbe6aadd.jpg","text":"TemporaryFile(/tmp/multipartBody754168206121303708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460249572,"filename":"image_09012025_20_11_02_622946_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c4d21517015f5d99904e0dde9e33c980.jpg","text":"TemporaryFile(/tmp/multipartBody3156545458293853012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460249572,"filename":"image_09012025_20_11_02_622946_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/00ddaa99e205fe8994a38c3282868fd2.jpg","text":"TemporaryFile(/tmp/multipartBody3859484916243065063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460249572,"filename":"image_09012025_20_10_02_449592_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/78c64da8f97608f72e6d51706218289d.jpg","text":"TemporaryFile(/tmp/multipartBody6064604104102806102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460249572,"filename":"image_09012025_20_10_02_449592_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cd6f0b805d8b4b788dbeb35933cee5ff.jpg","text":"TemporaryFile(/tmp/multipartBody458680269190763568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460249572,"filename":"image_09012025_20_11_02_622946_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6859a8d6605eb7dc5f1f11ed54e61650.jpg","text":"TemporaryFile(/tmp/multipartBody8930682896724829532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460249572,"filename":"image_09012025_20_10_02_449592_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327713201","file1":"1327713198","file0":"1327713194","file4":"1327713208","file5":"1327713210","file3":"1327713206"},"map_files_photo_id_array":[{"photo_id":"1327713210","filename":"file5"},{"photo_id":"1327713201","filename":"file2"},{"photo_id":"1327713208","filename":"file4"},{"photo_id":"1327713198","filename":"file1"},{"photo_id":"1327713194","filename":"file0"},{"photo_id":"1327713206","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327713206":["hashtag1","hashtag2"]},{"1327713208":["hashtag1","hashtag2"]},{"1327713198":["hashtag1","hashtag2"]},{"1327713201":["hashtag1","hashtag2"]},{"1327713210":["hashtag1","hashtag2"]},{"1327713194":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327713206, 1327713208, 1327713198, 1327713201, 1327713210, 1327713194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 105.28353691101074 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 23:04:22.654044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/11/image_09012025_20_11_02_622946_0003.jpg', '/home/pi/Desktop/images/09012025/20/12/image_09012025_20_12_02_797703_0000.jpg', '/home/pi/Desktop/images/09012025/20/12/image_09012025_20_12_02_797703_0001.jpg', '/home/pi/Desktop/images/09012025/20/12/image_09012025_20_12_02_797703_0002.jpg', '/home/pi/Desktop/images/09012025/20/12/image_09012025_20_12_02_797703_0003.jpg', '/home/pi/Desktop/images/09012025/20/13/image_09012025_20_13_03_181766_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/11/image_09012025_20_11_02_622946_0003.jpg
/home/pi/Desktop/images/09012025/20/12/image_09012025_20_12_02_797703_0000.jpg
/home/pi/Desktop/images/09012025/20/12/image_09012025_20_12_02_797703_0001.jpg
/home/pi/Desktop/images/09012025/20/12/image_09012025_20_12_02_797703_0002.jpg
/home/pi/Desktop/images/09012025/20/12/image_09012025_20_12_02_797703_0003.jpg
/home/pi/Desktop/images/09012025/20/13/image_09012025_20_13_03_181766_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327713449","1327713439","1327713253","1327713454","1327713360","1327713423"],"photo_ids_order":["1327713253","1327713360","1327713423","1327713439","1327713449","1327713454"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c9f89c68e8a2f50d2854def1da3c3c2f.jpg","text":"TemporaryFile(/tmp/multipartBody1141296542037607379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460358675,"filename":"image_09012025_20_12_02_797703_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/149e7fb79bfe74928b8bea4548802cee.jpg","text":"TemporaryFile(/tmp/multipartBody4875538532954090205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460358675,"filename":"image_09012025_20_12_02_797703_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/28f89b4c791cb2fe5e18ca2e19a1cea7.jpg","text":"TemporaryFile(/tmp/multipartBody8210612085679994299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460358675,"filename":"image_09012025_20_11_02_622946_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f930e470bc5fef9ec7d6ee51231b0aa6.jpg","text":"TemporaryFile(/tmp/multipartBody8808686977834959696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460358675,"filename":"image_09012025_20_13_03_181766_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ca29ec94be5e85b553f021ebddb43d56.jpg","text":"TemporaryFile(/tmp/multipartBody4667887089194455591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460358675,"filename":"image_09012025_20_12_02_797703_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c5387003a9a45b0d4069f07628663cd1.jpg","text":"TemporaryFile(/tmp/multipartBody6652530662837563413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460358675,"filename":"image_09012025_20_12_02_797703_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327713423","file1":"1327713360","file0":"1327713253","file4":"1327713449","file5":"1327713454","file3":"1327713439"},"map_files_photo_id_array":[{"photo_id":"1327713454","filename":"file5"},{"photo_id":"1327713423","filename":"file2"},{"photo_id":"1327713449","filename":"file4"},{"photo_id":"1327713360","filename":"file1"},{"photo_id":"1327713253","filename":"file0"},{"photo_id":"1327713439","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327713449":["hashtag1","hashtag2"]},{"1327713439":["hashtag1","hashtag2"]},{"1327713253":["hashtag1","hashtag2"]},{"1327713454":["hashtag1","hashtag2"]},{"1327713360":["hashtag1","hashtag2"]},{"1327713423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327713449, 1327713439, 1327713253, 1327713454, 1327713360, 1327713423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.51852011680603 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 23:06:02.288944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/13/image_09012025_20_13_03_181766_0001.jpg', '/home/pi/Desktop/images/09012025/20/13/image_09012025_20_13_03_181766_0002.jpg', '/home/pi/Desktop/images/09012025/20/14/image_09012025_20_14_02_351818_0002.jpg', '/home/pi/Desktop/images/09012025/20/14/image_09012025_20_14_02_351818_0003.jpg', '/home/pi/Desktop/images/09012025/20/15/image_09012025_20_15_02_523223_0000.jpg', '/home/pi/Desktop/images/09012025/20/15/image_09012025_20_15_02_523223_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/13/image_09012025_20_13_03_181766_0001.jpg
/home/pi/Desktop/images/09012025/20/13/image_09012025_20_13_03_181766_0002.jpg
/home/pi/Desktop/images/09012025/20/14/image_09012025_20_14_02_351818_0002.jpg
/home/pi/Desktop/images/09012025/20/14/image_09012025_20_14_02_351818_0003.jpg
/home/pi/Desktop/images/09012025/20/15/image_09012025_20_15_02_523223_0000.jpg
/home/pi/Desktop/images/09012025/20/15/image_09012025_20_15_02_523223_0001.jpg
 val : 1 : upload photos 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":["1327713929","1327713808","1327714011","1327713717","1327713618","1327713519"],"photo_ids_order":["1327713519","1327713618","1327713717","1327713808","1327713929","1327714011"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/094f090ad95fe387e7307f3162c04640.jpg","text":"TemporaryFile(/tmp/multipartBody2384456201284823584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460460850,"filename":"image_09012025_20_15_02_523223_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3c8b2193e4d2b61d867afac0b9cef56b.jpg","text":"TemporaryFile(/tmp/multipartBody1234547219987148717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460460850,"filename":"image_09012025_20_14_02_351818_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c2c070ce0f406ae6d73715684f8cc836.jpg","text":"TemporaryFile(/tmp/multipartBody9168447037351292157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460460850,"filename":"image_09012025_20_15_02_523223_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ea7aa5d70158dc34c05fb2fed16c4fe0.jpg","text":"TemporaryFile(/tmp/multipartBody2010474416049494125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460460850,"filename":"image_09012025_20_14_02_351818_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/860b82899aaa3145e56130056c31e317.jpg","text":"TemporaryFile(/tmp/multipartBody9092231682331089061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460460850,"filename":"image_09012025_20_13_03_181766_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1888c596ad9530ec5b82063228858907.jpg","text":"TemporaryFile(/tmp/multipartBody5272911908859435000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460460850,"filename":"image_09012025_20_13_03_181766_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327713717","file1":"1327713618","file0":"1327713519","file4":"1327713929","file5":"1327714011","file3":"1327713808"},"map_files_photo_id_array":[{"photo_id":"1327714011","filename":"file5"},{"photo_id":"1327713717","filename":"file2"},{"photo_id":"1327713929","filename":"file4"},{"photo_id":"1327713618","filename":"file1"},{"photo_id":"1327713519","filename":"file0"},{"photo_id":"1327713808","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327713929":["hashtag1","hashtag2"]},{"1327713808":["hashtag1","hashtag2"]},{"1327714011":["hashtag1","hashtag2"]},{"1327713717":["hashtag1","hashtag2"]},{"1327713618":["hashtag1","hashtag2"]},{"1327713519":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327713929, 1327713808, 1327714011, 1327713717, 1327713618, 1327713519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.99756979942322 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 23:07:42.214647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/15/image_09012025_20_15_02_523223_0002.jpg', '/home/pi/Desktop/images/09012025/20/15/image_09012025_20_15_02_523223_0003.jpg', '/home/pi/Desktop/images/09012025/20/16/image_09012025_20_16_02_771517_0000.jpg', '/home/pi/Desktop/images/09012025/20/16/image_09012025_20_16_02_771517_0003.jpg', '/home/pi/Desktop/images/09012025/20/17/image_09012025_20_17_02_897234_0000.jpg', '/home/pi/Desktop/images/09012025/20/17/image_09012025_20_17_02_897234_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/15/image_09012025_20_15_02_523223_0002.jpg
/home/pi/Desktop/images/09012025/20/15/image_09012025_20_15_02_523223_0003.jpg
/home/pi/Desktop/images/09012025/20/16/image_09012025_20_16_02_771517_0000.jpg
/home/pi/Desktop/images/09012025/20/16/image_09012025_20_16_02_771517_0003.jpg
/home/pi/Desktop/images/09012025/20/17/image_09012025_20_17_02_897234_0000.jpg
/home/pi/Desktop/images/09012025/20/17/image_09012025_20_17_02_897234_0001.jpg
 val : 1 : upload photos 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":["1327714301","1327714393","1327714387","1327714377","1327714397","1327714340"],"photo_ids_order":["1327714301","1327714340","1327714377","1327714387","1327714393","1327714397"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/751ada91e5e69fa9d32502ffb49a161d.jpg","text":"TemporaryFile(/tmp/multipartBody3727478108546749214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460555100,"filename":"image_09012025_20_15_02_523223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5f5bb97fe9aee9946c8ef037474e1cd5.jpg","text":"TemporaryFile(/tmp/multipartBody8343095842322144964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460555100,"filename":"image_09012025_20_17_02_897234_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d9d71853b4eb352c89f1692ae3791dc2.jpg","text":"TemporaryFile(/tmp/multipartBody3700527960632833080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460555100,"filename":"image_09012025_20_16_02_771517_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/efc5cce57b2cb2c871753a4d17712a61.jpg","text":"TemporaryFile(/tmp/multipartBody6899351362148941081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460555100,"filename":"image_09012025_20_16_02_771517_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e1428cea89dc8ac86119fb19aa0668a7.jpg","text":"TemporaryFile(/tmp/multipartBody983960486006489928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460555100,"filename":"image_09012025_20_17_02_897234_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7834ee6834ea12742d388c039b65a9d2.jpg","text":"TemporaryFile(/tmp/multipartBody8919536703856069897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460555100,"filename":"image_09012025_20_15_02_523223_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327714377","file1":"1327714340","file0":"1327714301","file4":"1327714393","file5":"1327714397","file3":"1327714387"},"map_files_photo_id_array":[{"photo_id":"1327714397","filename":"file5"},{"photo_id":"1327714377","filename":"file2"},{"photo_id":"1327714393","filename":"file4"},{"photo_id":"1327714340","filename":"file1"},{"photo_id":"1327714301","filename":"file0"},{"photo_id":"1327714387","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327714301":["hashtag1","hashtag2"]},{"1327714393":["hashtag1","hashtag2"]},{"1327714387":["hashtag1","hashtag2"]},{"1327714377":["hashtag1","hashtag2"]},{"1327714397":["hashtag1","hashtag2"]},{"1327714340":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327714301, 1327714393, 1327714387, 1327714377, 1327714397, 1327714340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 86.42089939117432 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 23:09:22.579696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/17/image_09012025_20_17_02_897234_0002.jpg', '/home/pi/Desktop/images/09012025/20/17/image_09012025_20_17_02_897234_0003.jpg', '/home/pi/Desktop/images/09012025/20/18/image_09012025_20_18_02_251140_0000.jpg', '/home/pi/Desktop/images/09012025/20/18/image_09012025_20_18_02_251140_0001.jpg', '/home/pi/Desktop/images/09012025/20/18/image_09012025_20_18_02_251140_0002.jpg', '/home/pi/Desktop/images/09012025/20/18/image_09012025_20_18_02_251140_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/17/image_09012025_20_17_02_897234_0002.jpg
/home/pi/Desktop/images/09012025/20/17/image_09012025_20_17_02_897234_0003.jpg
/home/pi/Desktop/images/09012025/20/18/image_09012025_20_18_02_251140_0000.jpg
/home/pi/Desktop/images/09012025/20/18/image_09012025_20_18_02_251140_0001.jpg
/home/pi/Desktop/images/09012025/20/18/image_09012025_20_18_02_251140_0002.jpg
/home/pi/Desktop/images/09012025/20/18/image_09012025_20_18_02_251140_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327714436","1327714421","1327714415","1327714410","1327714430","1327714412"],"photo_ids_order":["1327714410","1327714412","1327714415","1327714421","1327714430","1327714436"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c2a136850adaac4319c3a95b05a5660c.jpg","text":"TemporaryFile(/tmp/multipartBody3564407564007576439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460651067,"filename":"image_09012025_20_18_02_251140_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9d6b0a5f62efd8820a06601f689ce02c.jpg","text":"TemporaryFile(/tmp/multipartBody5462442265373070236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460651067,"filename":"image_09012025_20_18_02_251140_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/689fc99ecc67e342393f44fd8d8f81b3.jpg","text":"TemporaryFile(/tmp/multipartBody912882885157655557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460651067,"filename":"image_09012025_20_18_02_251140_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a6e0ae0700e67eff2fcce4bc743836a6.jpg","text":"TemporaryFile(/tmp/multipartBody6659635240921949425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460651067,"filename":"image_09012025_20_17_02_897234_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7252cbe49881dd43b026fe431996dc75.jpg","text":"TemporaryFile(/tmp/multipartBody992258176994747701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460651067,"filename":"image_09012025_20_18_02_251140_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/973076e4c2dfcfc7e492be8094ddb8a3.jpg","text":"TemporaryFile(/tmp/multipartBody1407230509022168809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460651067,"filename":"image_09012025_20_17_02_897234_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327714415","file1":"1327714412","file0":"1327714410","file4":"1327714430","file5":"1327714436","file3":"1327714421"},"map_files_photo_id_array":[{"photo_id":"1327714436","filename":"file5"},{"photo_id":"1327714415","filename":"file2"},{"photo_id":"1327714430","filename":"file4"},{"photo_id":"1327714412","filename":"file1"},{"photo_id":"1327714410","filename":"file0"},{"photo_id":"1327714421","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327714436":["hashtag1","hashtag2"]},{"1327714421":["hashtag1","hashtag2"]},{"1327714415":["hashtag1","hashtag2"]},{"1327714410":["hashtag1","hashtag2"]},{"1327714430":["hashtag1","hashtag2"]},{"1327714412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327714436, 1327714421, 1327714415, 1327714410, 1327714430, 1327714412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.17533612251282 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 23:11:02.622663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/19/image_09012025_20_19_02_441903_0000.jpg', '/home/pi/Desktop/images/09012025/20/19/image_09012025_20_19_02_441903_0001.jpg', '/home/pi/Desktop/images/09012025/20/19/image_09012025_20_19_02_441903_0003.jpg', '/home/pi/Desktop/images/09012025/20/20/image_09012025_20_20_02_540981_0000.jpg', '/home/pi/Desktop/images/09012025/20/20/image_09012025_20_20_02_540981_0001.jpg', '/home/pi/Desktop/images/09012025/20/20/image_09012025_20_20_02_540981_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/19/image_09012025_20_19_02_441903_0000.jpg
/home/pi/Desktop/images/09012025/20/19/image_09012025_20_19_02_441903_0001.jpg
/home/pi/Desktop/images/09012025/20/19/image_09012025_20_19_02_441903_0003.jpg
/home/pi/Desktop/images/09012025/20/20/image_09012025_20_20_02_540981_0000.jpg
/home/pi/Desktop/images/09012025/20/20/image_09012025_20_20_02_540981_0001.jpg
/home/pi/Desktop/images/09012025/20/20/image_09012025_20_20_02_540981_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 31.17697501182556 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 23:11:41.891781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/19/image_09012025_20_19_02_441903_0000.jpg', '/home/pi/Desktop/images/09012025/20/19/image_09012025_20_19_02_441903_0001.jpg', '/home/pi/Desktop/images/09012025/20/19/image_09012025_20_19_02_441903_0003.jpg', '/home/pi/Desktop/images/09012025/20/20/image_09012025_20_20_02_540981_0000.jpg', '/home/pi/Desktop/images/09012025/20/20/image_09012025_20_20_02_540981_0001.jpg', '/home/pi/Desktop/images/09012025/20/20/image_09012025_20_20_02_540981_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/19/image_09012025_20_19_02_441903_0000.jpg
/home/pi/Desktop/images/09012025/20/19/image_09012025_20_19_02_441903_0001.jpg
/home/pi/Desktop/images/09012025/20/19/image_09012025_20_19_02_441903_0003.jpg
/home/pi/Desktop/images/09012025/20/20/image_09012025_20_20_02_540981_0000.jpg
/home/pi/Desktop/images/09012025/20/20/image_09012025_20_20_02_540981_0001.jpg
/home/pi/Desktop/images/09012025/20/20/image_09012025_20_20_02_540981_0002.jpg
 val : 1 : upload photos 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":["1327714529","1327714579","1327714570","1327714543","1327714539","1327714568"],"photo_ids_order":["1327714529","1327714539","1327714543","1327714568","1327714570","1327714579"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/167eb6da8d90580dced3e229062de19c.jpg","text":"TemporaryFile(/tmp/multipartBody8677022845372853551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460792771,"filename":"image_09012025_20_19_02_441903_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5d1cddbdebc8c51f3254b48f06fad3ac.jpg","text":"TemporaryFile(/tmp/multipartBody1812755192261566521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460792771,"filename":"image_09012025_20_20_02_540981_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/026788cb1cb3f35a107d6ef6fa2cec67.jpg","text":"TemporaryFile(/tmp/multipartBody1785419598831751092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460792771,"filename":"image_09012025_20_20_02_540981_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b9f46cafa088902e86b668ef051fd233.jpg","text":"TemporaryFile(/tmp/multipartBody3864403136687553387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460792771,"filename":"image_09012025_20_19_02_441903_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/36846378223a44af0fe5bca984b35f7e.jpg","text":"TemporaryFile(/tmp/multipartBody7322823915754771118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460792771,"filename":"image_09012025_20_19_02_441903_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f1376af5e463acf4c7714bf539de67dc.jpg","text":"TemporaryFile(/tmp/multipartBody2048392608185852942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460792771,"filename":"image_09012025_20_20_02_540981_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327714543","file1":"1327714539","file0":"1327714529","file4":"1327714570","file5":"1327714579","file3":"1327714568"},"map_files_photo_id_array":[{"photo_id":"1327714579","filename":"file5"},{"photo_id":"1327714543","filename":"file2"},{"photo_id":"1327714570","filename":"file4"},{"photo_id":"1327714539","filename":"file1"},{"photo_id":"1327714529","filename":"file0"},{"photo_id":"1327714568","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327714529":["hashtag1","hashtag2"]},{"1327714579":["hashtag1","hashtag2"]},{"1327714570":["hashtag1","hashtag2"]},{"1327714543":["hashtag1","hashtag2"]},{"1327714539":["hashtag1","hashtag2"]},{"1327714568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327714529, 1327714579, 1327714570, 1327714543, 1327714539, 1327714568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.352942943573 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 23:13:22.330651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/20/image_09012025_20_20_02_540981_0003.jpg', '/home/pi/Desktop/images/09012025/20/21/image_09012025_20_21_02_728289_0000.jpg', '/home/pi/Desktop/images/09012025/20/21/image_09012025_20_21_02_728289_0001.jpg', '/home/pi/Desktop/images/09012025/20/21/image_09012025_20_21_02_728289_0002.jpg', '/home/pi/Desktop/images/09012025/20/21/image_09012025_20_21_02_728289_0003.jpg', '/home/pi/Desktop/images/09012025/20/22/image_09012025_20_22_02_870449_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/20/image_09012025_20_20_02_540981_0003.jpg
/home/pi/Desktop/images/09012025/20/21/image_09012025_20_21_02_728289_0000.jpg
/home/pi/Desktop/images/09012025/20/21/image_09012025_20_21_02_728289_0001.jpg
/home/pi/Desktop/images/09012025/20/21/image_09012025_20_21_02_728289_0002.jpg
/home/pi/Desktop/images/09012025/20/21/image_09012025_20_21_02_728289_0003.jpg
/home/pi/Desktop/images/09012025/20/22/image_09012025_20_22_02_870449_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327714613","1327714621","1327714632","1327714626","1327714629","1327714617"],"photo_ids_order":["1327714613","1327714617","1327714621","1327714626","1327714629","1327714632"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7962e85e82c1471b2b513e8362535c55.jpg","text":"TemporaryFile(/tmp/multipartBody4135824711798864969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460900612,"filename":"image_09012025_20_20_02_540981_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/87fd5bee32356c6b9524dbd7f2599e04.jpg","text":"TemporaryFile(/tmp/multipartBody3066191418274116745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460900612,"filename":"image_09012025_20_21_02_728289_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/522eaa01ed28b2a1bec9b1a50d189d86.jpg","text":"TemporaryFile(/tmp/multipartBody4572502258638612710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460900612,"filename":"image_09012025_20_22_02_870449_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e7098b4f6525585330106ce9b24ac5e0.jpg","text":"TemporaryFile(/tmp/multipartBody325007495326432990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460900612,"filename":"image_09012025_20_21_02_728289_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/27479ebf212b7d98cddc6138f6cb904e.jpg","text":"TemporaryFile(/tmp/multipartBody2530620604903617276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460900612,"filename":"image_09012025_20_21_02_728289_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a22657139a95406f6366ba449a9d2caf.jpg","text":"TemporaryFile(/tmp/multipartBody537621324433909355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736460900612,"filename":"image_09012025_20_21_02_728289_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327714621","file1":"1327714617","file0":"1327714613","file4":"1327714629","file5":"1327714632","file3":"1327714626"},"map_files_photo_id_array":[{"photo_id":"1327714632","filename":"file5"},{"photo_id":"1327714621","filename":"file2"},{"photo_id":"1327714629","filename":"file4"},{"photo_id":"1327714617","filename":"file1"},{"photo_id":"1327714613","filename":"file0"},{"photo_id":"1327714626","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327714613":["hashtag1","hashtag2"]},{"1327714621":["hashtag1","hashtag2"]},{"1327714632":["hashtag1","hashtag2"]},{"1327714626":["hashtag1","hashtag2"]},{"1327714629":["hashtag1","hashtag2"]},{"1327714617":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327714613, 1327714621, 1327714632, 1327714626, 1327714629, 1327714617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.72710251808167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 23:15:03.324135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/22/image_09012025_20_22_02_870449_0001.jpg', '/home/pi/Desktop/images/09012025/20/22/image_09012025_20_22_02_870449_0002.jpg', '/home/pi/Desktop/images/09012025/20/22/image_09012025_20_22_02_870449_0003.jpg', '/home/pi/Desktop/images/09012025/20/23/image_09012025_20_23_03_081630_0000.jpg', '/home/pi/Desktop/images/09012025/20/23/image_09012025_20_23_03_081630_0001.jpg', '/home/pi/Desktop/images/09012025/20/23/image_09012025_20_23_03_081630_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/22/image_09012025_20_22_02_870449_0001.jpg
/home/pi/Desktop/images/09012025/20/22/image_09012025_20_22_02_870449_0002.jpg
/home/pi/Desktop/images/09012025/20/22/image_09012025_20_22_02_870449_0003.jpg
/home/pi/Desktop/images/09012025/20/23/image_09012025_20_23_03_081630_0000.jpg
/home/pi/Desktop/images/09012025/20/23/image_09012025_20_23_03_081630_0001.jpg
/home/pi/Desktop/images/09012025/20/23/image_09012025_20_23_03_081630_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327714654","1327714648","1327714650","1327714718","1327714652","1327714646"],"photo_ids_order":["1327714646","1327714648","1327714650","1327714652","1327714654","1327714718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1b13924fa70f0b2a81191e7198413076.jpg","text":"TemporaryFile(/tmp/multipartBody5662496334795831869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461006891,"filename":"image_09012025_20_23_03_081630_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3971b6b1fa4864335a8f12523427f287.jpg","text":"TemporaryFile(/tmp/multipartBody19799645433220855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461006891,"filename":"image_09012025_20_22_02_870449_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e2cb0bb55dfade747ca837a6a841a4e2.jpg","text":"TemporaryFile(/tmp/multipartBody2871294165141904540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461006891,"filename":"image_09012025_20_22_02_870449_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7a16fd3e2d23dd326394c573778727fd.jpg","text":"TemporaryFile(/tmp/multipartBody4067166356069275438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461006891,"filename":"image_09012025_20_23_03_081630_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dd178853ae9b73e013f0dc3466bd54d3.jpg","text":"TemporaryFile(/tmp/multipartBody565949839770395842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461006891,"filename":"image_09012025_20_23_03_081630_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/172942b8798a28e490cffa1409295874.jpg","text":"TemporaryFile(/tmp/multipartBody1568265458232866656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461006891,"filename":"image_09012025_20_22_02_870449_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327714650","file1":"1327714648","file0":"1327714646","file4":"1327714654","file5":"1327714718","file3":"1327714652"},"map_files_photo_id_array":[{"photo_id":"1327714718","filename":"file5"},{"photo_id":"1327714650","filename":"file2"},{"photo_id":"1327714654","filename":"file4"},{"photo_id":"1327714648","filename":"file1"},{"photo_id":"1327714646","filename":"file0"},{"photo_id":"1327714652","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327714654":["hashtag1","hashtag2"]},{"1327714648":["hashtag1","hashtag2"]},{"1327714650":["hashtag1","hashtag2"]},{"1327714718":["hashtag1","hashtag2"]},{"1327714652":["hashtag1","hashtag2"]},{"1327714646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327714654, 1327714648, 1327714650, 1327714718, 1327714652, 1327714646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 98.31384253501892 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 23:16:51.904183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/23/image_09012025_20_23_03_081630_0003.jpg', '/home/pi/Desktop/images/09012025/20/24/image_09012025_20_24_02_233144_0000.jpg', '/home/pi/Desktop/images/09012025/20/24/image_09012025_20_24_02_233144_0001.jpg', '/home/pi/Desktop/images/09012025/20/24/image_09012025_20_24_02_233144_0002.jpg', '/home/pi/Desktop/images/09012025/20/24/image_09012025_20_24_02_233144_0003.jpg', '/home/pi/Desktop/images/09012025/20/25/image_09012025_20_25_02_490892_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/23/image_09012025_20_23_03_081630_0003.jpg
/home/pi/Desktop/images/09012025/20/24/image_09012025_20_24_02_233144_0000.jpg
/home/pi/Desktop/images/09012025/20/24/image_09012025_20_24_02_233144_0001.jpg
/home/pi/Desktop/images/09012025/20/24/image_09012025_20_24_02_233144_0002.jpg
/home/pi/Desktop/images/09012025/20/24/image_09012025_20_24_02_233144_0003.jpg
/home/pi/Desktop/images/09012025/20/25/image_09012025_20_25_02_490892_0000.jpg
 val : 1 : upload photos 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":["1327715011","1327715020","1327715017","1327715019","1327715021","1327715009"],"photo_ids_order":["1327715009","1327715011","1327715017","1327715019","1327715020","1327715021"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/78b24a744d44d9119eafeec0206a25f6.jpg","text":"TemporaryFile(/tmp/multipartBody3196833279100018224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461107362,"filename":"image_09012025_20_24_02_233144_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5298eb3a553d67559519e295be118f26.jpg","text":"TemporaryFile(/tmp/multipartBody3103361008676373487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461107362,"filename":"image_09012025_20_24_02_233144_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d1ae1cdbdb3820ae3afdbaac8da8e109.jpg","text":"TemporaryFile(/tmp/multipartBody157437738227266802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461107362,"filename":"image_09012025_20_24_02_233144_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e267b2dae3c6dde847f66fd175a1ae82.jpg","text":"TemporaryFile(/tmp/multipartBody4158767354650637385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461107362,"filename":"image_09012025_20_24_02_233144_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/990bd2e8b545e59ae5c3d18251db16b3.jpg","text":"TemporaryFile(/tmp/multipartBody6965802728251471609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461107362,"filename":"image_09012025_20_25_02_490892_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9823d6f78340ecc3045427ecf7a4393f.jpg","text":"TemporaryFile(/tmp/multipartBody3791199865234515092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461107362,"filename":"image_09012025_20_23_03_081630_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327715017","file1":"1327715011","file0":"1327715009","file4":"1327715020","file5":"1327715021","file3":"1327715019"},"map_files_photo_id_array":[{"photo_id":"1327715021","filename":"file5"},{"photo_id":"1327715017","filename":"file2"},{"photo_id":"1327715020","filename":"file4"},{"photo_id":"1327715011","filename":"file1"},{"photo_id":"1327715009","filename":"file0"},{"photo_id":"1327715019","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327715011":["hashtag1","hashtag2"]},{"1327715020":["hashtag1","hashtag2"]},{"1327715017":["hashtag1","hashtag2"]},{"1327715019":["hashtag1","hashtag2"]},{"1327715021":["hashtag1","hashtag2"]},{"1327715009":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327715011, 1327715020, 1327715017, 1327715019, 1327715021, 1327715009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.1960928440094 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 23:18:32.236918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/25/image_09012025_20_25_02_490892_0001.jpg', '/home/pi/Desktop/images/09012025/20/25/image_09012025_20_25_02_490892_0002.jpg', '/home/pi/Desktop/images/09012025/20/25/image_09012025_20_25_02_490892_0003.jpg', '/home/pi/Desktop/images/09012025/20/26/image_09012025_20_26_02_679182_0000.jpg', '/home/pi/Desktop/images/09012025/20/26/image_09012025_20_26_02_679182_0001.jpg', '/home/pi/Desktop/images/09012025/20/26/image_09012025_20_26_02_679182_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/25/image_09012025_20_25_02_490892_0001.jpg
/home/pi/Desktop/images/09012025/20/25/image_09012025_20_25_02_490892_0002.jpg
/home/pi/Desktop/images/09012025/20/25/image_09012025_20_25_02_490892_0003.jpg
/home/pi/Desktop/images/09012025/20/26/image_09012025_20_26_02_679182_0000.jpg
/home/pi/Desktop/images/09012025/20/26/image_09012025_20_26_02_679182_0001.jpg
/home/pi/Desktop/images/09012025/20/26/image_09012025_20_26_02_679182_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327715083","1327715137","1327715125","1327715113","1327715096","1327715138"],"photo_ids_order":["1327715083","1327715096","1327715113","1327715125","1327715137","1327715138"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5fe57a79ae10bcf68bd50694a7cfe17d.jpg","text":"TemporaryFile(/tmp/multipartBody4961745919847215179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461217675,"filename":"image_09012025_20_25_02_490892_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cf522bfef425a12fa65300482fa7a157.jpg","text":"TemporaryFile(/tmp/multipartBody4856393562209564934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461217675,"filename":"image_09012025_20_26_02_679182_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ce7d3ac58dfd9b2a92da0e1e0e4f00ce.jpg","text":"TemporaryFile(/tmp/multipartBody4886823187081135315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461217675,"filename":"image_09012025_20_26_02_679182_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fcea98336d38bdb3805a86fd48a60e82.jpg","text":"TemporaryFile(/tmp/multipartBody6156885950582839839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461217675,"filename":"image_09012025_20_25_02_490892_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fc3a8544b255cd8d33b8899ebd11f536.jpg","text":"TemporaryFile(/tmp/multipartBody4636894185265736092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461217675,"filename":"image_09012025_20_25_02_490892_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/46395ec9ec74f499bcd09adb241a13e0.jpg","text":"TemporaryFile(/tmp/multipartBody3624753795147167655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461217675,"filename":"image_09012025_20_26_02_679182_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327715113","file1":"1327715096","file0":"1327715083","file4":"1327715137","file5":"1327715138","file3":"1327715125"},"map_files_photo_id_array":[{"photo_id":"1327715138","filename":"file5"},{"photo_id":"1327715113","filename":"file2"},{"photo_id":"1327715137","filename":"file4"},{"photo_id":"1327715096","filename":"file1"},{"photo_id":"1327715083","filename":"file0"},{"photo_id":"1327715125","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327715083":["hashtag1","hashtag2"]},{"1327715137":["hashtag1","hashtag2"]},{"1327715125":["hashtag1","hashtag2"]},{"1327715113":["hashtag1","hashtag2"]},{"1327715096":["hashtag1","hashtag2"]},{"1327715138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327715083, 1327715137, 1327715125, 1327715113, 1327715096, 1327715138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.76665425300598 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 23:20:22.738514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/26/image_09012025_20_26_02_679182_0003.jpg', '/home/pi/Desktop/images/09012025/20/27/image_09012025_20_27_02_827280_0000.jpg', '/home/pi/Desktop/images/09012025/20/27/image_09012025_20_27_02_827280_0001.jpg', '/home/pi/Desktop/images/09012025/20/27/image_09012025_20_27_02_827280_0002.jpg', '/home/pi/Desktop/images/09012025/20/27/image_09012025_20_27_02_827280_0003.jpg', '/home/pi/Desktop/images/09012025/20/28/image_09012025_20_28_03_052607_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/26/image_09012025_20_26_02_679182_0003.jpg
/home/pi/Desktop/images/09012025/20/27/image_09012025_20_27_02_827280_0000.jpg
/home/pi/Desktop/images/09012025/20/27/image_09012025_20_27_02_827280_0001.jpg
/home/pi/Desktop/images/09012025/20/27/image_09012025_20_27_02_827280_0002.jpg
/home/pi/Desktop/images/09012025/20/27/image_09012025_20_27_02_827280_0003.jpg
/home/pi/Desktop/images/09012025/20/28/image_09012025_20_28_03_052607_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 45.941349029541016 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 23:21:22.821055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/26/image_09012025_20_26_02_679182_0003.jpg', '/home/pi/Desktop/images/09012025/20/27/image_09012025_20_27_02_827280_0000.jpg', '/home/pi/Desktop/images/09012025/20/27/image_09012025_20_27_02_827280_0001.jpg', '/home/pi/Desktop/images/09012025/20/27/image_09012025_20_27_02_827280_0002.jpg', '/home/pi/Desktop/images/09012025/20/27/image_09012025_20_27_02_827280_0003.jpg', '/home/pi/Desktop/images/09012025/20/28/image_09012025_20_28_03_052607_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/26/image_09012025_20_26_02_679182_0003.jpg
/home/pi/Desktop/images/09012025/20/27/image_09012025_20_27_02_827280_0000.jpg
/home/pi/Desktop/images/09012025/20/27/image_09012025_20_27_02_827280_0001.jpg
/home/pi/Desktop/images/09012025/20/27/image_09012025_20_27_02_827280_0002.jpg
/home/pi/Desktop/images/09012025/20/27/image_09012025_20_27_02_827280_0003.jpg
/home/pi/Desktop/images/09012025/20/28/image_09012025_20_28_03_052607_0000.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327715380","1327715347","1327715298","1327715292","1327715325","1327715354"],"photo_ids_order":["1327715292","1327715298","1327715325","1327715347","1327715354","1327715380"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a7db609b26d8022b01114617afe67b68.jpg","text":"TemporaryFile(/tmp/multipartBody2399078054679196413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461387496,"filename":"image_09012025_20_28_03_052607_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/516cb633acf3dd011e7b8f1f1606b57c.jpg","text":"TemporaryFile(/tmp/multipartBody7541512631907802050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461387496,"filename":"image_09012025_20_27_02_827280_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c174e37227d35e8bbb202988dbf1d18d.jpg","text":"TemporaryFile(/tmp/multipartBody1515813842987196339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461387496,"filename":"image_09012025_20_27_02_827280_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aa99c4b713d10cdfe073da2464e2f07c.jpg","text":"TemporaryFile(/tmp/multipartBody2657285596776543935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461387496,"filename":"image_09012025_20_26_02_679182_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/530f7eef02b119ea440bd8f6ff3de68a.jpg","text":"TemporaryFile(/tmp/multipartBody3396776840700012425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461387496,"filename":"image_09012025_20_27_02_827280_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e893d9134009c7ae1a028c14d26ad901.jpg","text":"TemporaryFile(/tmp/multipartBody1352619429633951011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461387496,"filename":"image_09012025_20_27_02_827280_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327715325","file1":"1327715298","file0":"1327715292","file4":"1327715354","file5":"1327715380","file3":"1327715347"},"map_files_photo_id_array":[{"photo_id":"1327715380","filename":"file5"},{"photo_id":"1327715325","filename":"file2"},{"photo_id":"1327715354","filename":"file4"},{"photo_id":"1327715298","filename":"file1"},{"photo_id":"1327715292","filename":"file0"},{"photo_id":"1327715347","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327715380":["hashtag1","hashtag2"]},{"1327715347":["hashtag1","hashtag2"]},{"1327715298":["hashtag1","hashtag2"]},{"1327715292":["hashtag1","hashtag2"]},{"1327715325":["hashtag1","hashtag2"]},{"1327715354":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327715380, 1327715347, 1327715298, 1327715292, 1327715325, 1327715354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 100.84444332122803 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 23:23:22.100817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/28/image_09012025_20_28_03_052607_0001.jpg', '/home/pi/Desktop/images/09012025/20/28/image_09012025_20_28_03_052607_0002.jpg', '/home/pi/Desktop/images/09012025/20/28/image_09012025_20_28_03_052607_0003.jpg', '/home/pi/Desktop/images/09012025/20/29/image_09012025_20_29_02_149122_0000.jpg', '/home/pi/Desktop/images/09012025/20/29/image_09012025_20_29_02_149122_0001.jpg', '/home/pi/Desktop/images/09012025/20/29/image_09012025_20_29_02_149122_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/28/image_09012025_20_28_03_052607_0001.jpg
/home/pi/Desktop/images/09012025/20/28/image_09012025_20_28_03_052607_0002.jpg
/home/pi/Desktop/images/09012025/20/28/image_09012025_20_28_03_052607_0003.jpg
/home/pi/Desktop/images/09012025/20/29/image_09012025_20_29_02_149122_0000.jpg
/home/pi/Desktop/images/09012025/20/29/image_09012025_20_29_02_149122_0001.jpg
/home/pi/Desktop/images/09012025/20/29/image_09012025_20_29_02_149122_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327715503","1327715487","1327715506","1327715505","1327715508","1327715501"],"photo_ids_order":["1327715487","1327715501","1327715503","1327715505","1327715506","1327715508"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e07cc318d54b67a6e5af88a69872ccde.jpg","text":"TemporaryFile(/tmp/multipartBody192266724630097270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461506105,"filename":"image_09012025_20_28_03_052607_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/707ab8ed9bd49fb63a38b275c27b3e0f.jpg","text":"TemporaryFile(/tmp/multipartBody6378072336104227538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461506105,"filename":"image_09012025_20_28_03_052607_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d7e29cb400777afbbf9c2705856200cb.jpg","text":"TemporaryFile(/tmp/multipartBody5778787006623509331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461506105,"filename":"image_09012025_20_29_02_149122_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/703fa5b5cdad1ac1fced675c2ffbb8be.jpg","text":"TemporaryFile(/tmp/multipartBody4724865775340418802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461506105,"filename":"image_09012025_20_29_02_149122_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e53d36667d9539e4fa862c81ba4c998d.jpg","text":"TemporaryFile(/tmp/multipartBody732110031562954329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461506105,"filename":"image_09012025_20_29_02_149122_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c8744fce0da0c03fd05eccad4b649985.jpg","text":"TemporaryFile(/tmp/multipartBody6206798967747511777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461506105,"filename":"image_09012025_20_28_03_052607_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327715503","file1":"1327715501","file0":"1327715487","file4":"1327715506","file5":"1327715508","file3":"1327715505"},"map_files_photo_id_array":[{"photo_id":"1327715508","filename":"file5"},{"photo_id":"1327715503","filename":"file2"},{"photo_id":"1327715506","filename":"file4"},{"photo_id":"1327715501","filename":"file1"},{"photo_id":"1327715487","filename":"file0"},{"photo_id":"1327715505","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327715503":["hashtag1","hashtag2"]},{"1327715487":["hashtag1","hashtag2"]},{"1327715506":["hashtag1","hashtag2"]},{"1327715505":["hashtag1","hashtag2"]},{"1327715508":["hashtag1","hashtag2"]},{"1327715501":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327715503, 1327715487, 1327715506, 1327715505, 1327715508, 1327715501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.70662593841553 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 23:25:03.155594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/29/image_09012025_20_29_02_149122_0003.jpg', '/home/pi/Desktop/images/09012025/20/30/image_09012025_20_30_02_293223_0000.jpg', '/home/pi/Desktop/images/09012025/20/30/image_09012025_20_30_02_293223_0001.jpg', '/home/pi/Desktop/images/09012025/20/30/image_09012025_20_30_02_293223_0002.jpg', '/home/pi/Desktop/images/09012025/20/30/image_09012025_20_30_02_293223_0003.jpg', '/home/pi/Desktop/images/09012025/20/31/image_09012025_20_31_02_525854_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/29/image_09012025_20_29_02_149122_0003.jpg
/home/pi/Desktop/images/09012025/20/30/image_09012025_20_30_02_293223_0000.jpg
/home/pi/Desktop/images/09012025/20/30/image_09012025_20_30_02_293223_0001.jpg
/home/pi/Desktop/images/09012025/20/30/image_09012025_20_30_02_293223_0002.jpg
/home/pi/Desktop/images/09012025/20/30/image_09012025_20_30_02_293223_0003.jpg
/home/pi/Desktop/images/09012025/20/31/image_09012025_20_31_02_525854_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 43.06695556640625 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 23:25:52.506020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/29/image_09012025_20_29_02_149122_0003.jpg', '/home/pi/Desktop/images/09012025/20/30/image_09012025_20_30_02_293223_0000.jpg', '/home/pi/Desktop/images/09012025/20/30/image_09012025_20_30_02_293223_0001.jpg', '/home/pi/Desktop/images/09012025/20/30/image_09012025_20_30_02_293223_0002.jpg', '/home/pi/Desktop/images/09012025/20/30/image_09012025_20_30_02_293223_0003.jpg', '/home/pi/Desktop/images/09012025/20/31/image_09012025_20_31_02_525854_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/29/image_09012025_20_29_02_149122_0003.jpg
/home/pi/Desktop/images/09012025/20/30/image_09012025_20_30_02_293223_0000.jpg
/home/pi/Desktop/images/09012025/20/30/image_09012025_20_30_02_293223_0001.jpg
/home/pi/Desktop/images/09012025/20/30/image_09012025_20_30_02_293223_0002.jpg
/home/pi/Desktop/images/09012025/20/30/image_09012025_20_30_02_293223_0003.jpg
/home/pi/Desktop/images/09012025/20/31/image_09012025_20_31_02_525854_0000.jpg
 val : 1 : upload photos 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":["1327715566","1327715569","1327715571","1327715573","1327715567","1327715575"],"photo_ids_order":["1327715566","1327715567","1327715569","1327715571","1327715573","1327715575"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/273f76d8e5859d7a4b777800f96ae63d.jpg","text":"TemporaryFile(/tmp/multipartBody2735347029393122858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461652293,"filename":"image_09012025_20_29_02_149122_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1f7dbe6ba5755f1455fcb317e86aae2a.jpg","text":"TemporaryFile(/tmp/multipartBody5935798233080019035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461652293,"filename":"image_09012025_20_30_02_293223_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f3d3c19152bcacdf541842a90c1ba765.jpg","text":"TemporaryFile(/tmp/multipartBody7099359594904078452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461652293,"filename":"image_09012025_20_30_02_293223_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/67d5ad0a09e960698719eacbd9d73a44.jpg","text":"TemporaryFile(/tmp/multipartBody3159449623488857633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461652293,"filename":"image_09012025_20_30_02_293223_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a5612900ec395d50b5bc22934d11a9b9.jpg","text":"TemporaryFile(/tmp/multipartBody3632069700488464944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461652293,"filename":"image_09012025_20_30_02_293223_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ec5a0075eff44f569733d6aaf8464147.jpg","text":"TemporaryFile(/tmp/multipartBody2956553822150155498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461652293,"filename":"image_09012025_20_31_02_525854_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327715569","file1":"1327715567","file0":"1327715566","file4":"1327715573","file5":"1327715575","file3":"1327715571"},"map_files_photo_id_array":[{"photo_id":"1327715575","filename":"file5"},{"photo_id":"1327715569","filename":"file2"},{"photo_id":"1327715573","filename":"file4"},{"photo_id":"1327715567","filename":"file1"},{"photo_id":"1327715566","filename":"file0"},{"photo_id":"1327715571","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327715566":["hashtag1","hashtag2"]},{"1327715569":["hashtag1","hashtag2"]},{"1327715571":["hashtag1","hashtag2"]},{"1327715573":["hashtag1","hashtag2"]},{"1327715567":["hashtag1","hashtag2"]},{"1327715575":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327715566, 1327715569, 1327715571, 1327715573, 1327715567, 1327715575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.0336058139801 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 23:27:31.905658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/31/image_09012025_20_31_02_525854_0001.jpg', '/home/pi/Desktop/images/09012025/20/31/image_09012025_20_31_02_525854_0002.jpg', '/home/pi/Desktop/images/09012025/20/31/image_09012025_20_31_02_525854_0003.jpg', '/home/pi/Desktop/images/09012025/20/32/image_09012025_20_32_02_739886_0000.jpg', '/home/pi/Desktop/images/09012025/20/32/image_09012025_20_32_02_739886_0001.jpg', '/home/pi/Desktop/images/09012025/20/32/image_09012025_20_32_02_739886_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/31/image_09012025_20_31_02_525854_0001.jpg
/home/pi/Desktop/images/09012025/20/31/image_09012025_20_31_02_525854_0002.jpg
/home/pi/Desktop/images/09012025/20/31/image_09012025_20_31_02_525854_0003.jpg
/home/pi/Desktop/images/09012025/20/32/image_09012025_20_32_02_739886_0000.jpg
/home/pi/Desktop/images/09012025/20/32/image_09012025_20_32_02_739886_0001.jpg
/home/pi/Desktop/images/09012025/20/32/image_09012025_20_32_02_739886_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327715611","1327715614","1327715616","1327715609","1327715612","1327715606"],"photo_ids_order":["1327715606","1327715609","1327715611","1327715612","1327715614","1327715616"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/beebab2a2de2631376b5d61871882ae2.jpg","text":"TemporaryFile(/tmp/multipartBody8690698561151670947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461751522,"filename":"image_09012025_20_31_02_525854_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/85765ec999ffabe349397367120b7c0f.jpg","text":"TemporaryFile(/tmp/multipartBody4038539057326602147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461751522,"filename":"image_09012025_20_32_02_739886_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9f64cf6470fbeea036b5ce0a4346a8c8.jpg","text":"TemporaryFile(/tmp/multipartBody106912553963325171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461751522,"filename":"image_09012025_20_32_02_739886_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f7e791009b614f93685ebb60efdf1207.jpg","text":"TemporaryFile(/tmp/multipartBody2647832749497813257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461751522,"filename":"image_09012025_20_31_02_525854_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7a4a9a7923d2cc5340472026612345ef.jpg","text":"TemporaryFile(/tmp/multipartBody8046996038436006514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461751522,"filename":"image_09012025_20_32_02_739886_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e63e7f8c69b5634f4cf3c7f9373599c1.jpg","text":"TemporaryFile(/tmp/multipartBody923584432273298607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461751522,"filename":"image_09012025_20_31_02_525854_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327715611","file1":"1327715609","file0":"1327715606","file4":"1327715614","file5":"1327715616","file3":"1327715612"},"map_files_photo_id_array":[{"photo_id":"1327715616","filename":"file5"},{"photo_id":"1327715611","filename":"file2"},{"photo_id":"1327715614","filename":"file4"},{"photo_id":"1327715609","filename":"file1"},{"photo_id":"1327715606","filename":"file0"},{"photo_id":"1327715612","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327715611":["hashtag1","hashtag2"]},{"1327715614":["hashtag1","hashtag2"]},{"1327715616":["hashtag1","hashtag2"]},{"1327715609":["hashtag1","hashtag2"]},{"1327715612":["hashtag1","hashtag2"]},{"1327715606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327715611, 1327715614, 1327715616, 1327715609, 1327715612, 1327715606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.468186378479 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 23:29:22.114403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/32/image_09012025_20_32_02_739886_0003.jpg', '/home/pi/Desktop/images/09012025/20/33/image_09012025_20_33_02_858416_0000.jpg', '/home/pi/Desktop/images/09012025/20/33/image_09012025_20_33_02_858416_0001.jpg', '/home/pi/Desktop/images/09012025/20/33/image_09012025_20_33_02_858416_0002.jpg', '/home/pi/Desktop/images/09012025/20/33/image_09012025_20_33_02_858416_0003.jpg', '/home/pi/Desktop/images/09012025/20/34/image_09012025_20_34_03_087314_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/32/image_09012025_20_32_02_739886_0003.jpg
/home/pi/Desktop/images/09012025/20/33/image_09012025_20_33_02_858416_0000.jpg
/home/pi/Desktop/images/09012025/20/33/image_09012025_20_33_02_858416_0001.jpg
/home/pi/Desktop/images/09012025/20/33/image_09012025_20_33_02_858416_0002.jpg
/home/pi/Desktop/images/09012025/20/33/image_09012025_20_33_02_858416_0003.jpg
/home/pi/Desktop/images/09012025/20/34/image_09012025_20_34_03_087314_0000.jpg
 val : 1 : upload photos 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":["1327715716","1327715718","1327715699","1327715672","1327715675","1327715708"],"photo_ids_order":["1327715672","1327715675","1327715699","1327715708","1327715716","1327715718"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ac917a11586105289ad134db5377bd7b.jpg","text":"TemporaryFile(/tmp/multipartBody2222479731343670651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461845322,"filename":"image_09012025_20_33_02_858416_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fcd2e3f6cd10fcf7ac70b363e67cddaf.jpg","text":"TemporaryFile(/tmp/multipartBody1608644467206087596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461845322,"filename":"image_09012025_20_34_03_087314_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dcd4ea1012ddf27b6125daa923a352f0.jpg","text":"TemporaryFile(/tmp/multipartBody6636476113179689679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461845322,"filename":"image_09012025_20_33_02_858416_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/404d409fe0f088a610fc351d6066b7bf.jpg","text":"TemporaryFile(/tmp/multipartBody4589940489949184310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461845322,"filename":"image_09012025_20_32_02_739886_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d075c4903f8bce5be6b12c1c80d55d5f.jpg","text":"TemporaryFile(/tmp/multipartBody609381746010091207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461845322,"filename":"image_09012025_20_33_02_858416_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fc349bf07e098301bde11c7ce275db22.jpg","text":"TemporaryFile(/tmp/multipartBody7101326114270598215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461845322,"filename":"image_09012025_20_33_02_858416_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327715699","file1":"1327715675","file0":"1327715672","file4":"1327715716","file5":"1327715718","file3":"1327715708"},"map_files_photo_id_array":[{"photo_id":"1327715718","filename":"file5"},{"photo_id":"1327715699","filename":"file2"},{"photo_id":"1327715716","filename":"file4"},{"photo_id":"1327715675","filename":"file1"},{"photo_id":"1327715672","filename":"file0"},{"photo_id":"1327715708","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327715716":["hashtag1","hashtag2"]},{"1327715718":["hashtag1","hashtag2"]},{"1327715699":["hashtag1","hashtag2"]},{"1327715672":["hashtag1","hashtag2"]},{"1327715675":["hashtag1","hashtag2"]},{"1327715708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327715716, 1327715718, 1327715699, 1327715672, 1327715675, 1327715708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.6465425491333 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 23:30:52.377795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/34/image_09012025_20_34_03_087314_0001.jpg', '/home/pi/Desktop/images/09012025/20/34/image_09012025_20_34_03_087314_0003.jpg', '/home/pi/Desktop/images/09012025/20/35/image_09012025_20_35_02_279345_0000.jpg', '/home/pi/Desktop/images/09012025/20/35/image_09012025_20_35_02_279345_0001.jpg', '/home/pi/Desktop/images/09012025/20/35/image_09012025_20_35_02_279345_0002.jpg', '/home/pi/Desktop/images/09012025/20/35/image_09012025_20_35_02_279345_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/34/image_09012025_20_34_03_087314_0001.jpg
/home/pi/Desktop/images/09012025/20/34/image_09012025_20_34_03_087314_0003.jpg
/home/pi/Desktop/images/09012025/20/35/image_09012025_20_35_02_279345_0000.jpg
/home/pi/Desktop/images/09012025/20/35/image_09012025_20_35_02_279345_0001.jpg
/home/pi/Desktop/images/09012025/20/35/image_09012025_20_35_02_279345_0002.jpg
/home/pi/Desktop/images/09012025/20/35/image_09012025_20_35_02_279345_0003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 35.37999701499939 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 23:31:32.593875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/34/image_09012025_20_34_03_087314_0001.jpg', '/home/pi/Desktop/images/09012025/20/34/image_09012025_20_34_03_087314_0003.jpg', '/home/pi/Desktop/images/09012025/20/35/image_09012025_20_35_02_279345_0000.jpg', '/home/pi/Desktop/images/09012025/20/35/image_09012025_20_35_02_279345_0001.jpg', '/home/pi/Desktop/images/09012025/20/35/image_09012025_20_35_02_279345_0002.jpg', '/home/pi/Desktop/images/09012025/20/35/image_09012025_20_35_02_279345_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/34/image_09012025_20_34_03_087314_0001.jpg
/home/pi/Desktop/images/09012025/20/34/image_09012025_20_34_03_087314_0003.jpg
/home/pi/Desktop/images/09012025/20/35/image_09012025_20_35_02_279345_0000.jpg
/home/pi/Desktop/images/09012025/20/35/image_09012025_20_35_02_279345_0001.jpg
/home/pi/Desktop/images/09012025/20/35/image_09012025_20_35_02_279345_0002.jpg
/home/pi/Desktop/images/09012025/20/35/image_09012025_20_35_02_279345_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327715977","1327715985","1327715979","1327715987","1327715983","1327715989"],"photo_ids_order":["1327715977","1327715979","1327715983","1327715985","1327715987","1327715989"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/703d6c2874e46ec07afcfa2a9415d379.jpg","text":"TemporaryFile(/tmp/multipartBody7982990999182479363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461993513,"filename":"image_09012025_20_34_03_087314_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0202051a1f048271bc3a67ef2005ec98.jpg","text":"TemporaryFile(/tmp/multipartBody3638266441901261714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461993513,"filename":"image_09012025_20_35_02_279345_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/fc49287477862edef1e9246ba09b6e99.jpg","text":"TemporaryFile(/tmp/multipartBody3341078461500035747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461993513,"filename":"image_09012025_20_34_03_087314_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/83e63fcbea098ca5dec1f1a29354530d.jpg","text":"TemporaryFile(/tmp/multipartBody3969802007725873548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461993513,"filename":"image_09012025_20_35_02_279345_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/970d5c3554017e00754a5379b24badb4.jpg","text":"TemporaryFile(/tmp/multipartBody8064771724239483413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461993513,"filename":"image_09012025_20_35_02_279345_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/179230f1f20ebe1a31ac11dd92830074.jpg","text":"TemporaryFile(/tmp/multipartBody1671211813012603375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736461993513,"filename":"image_09012025_20_35_02_279345_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327715983","file1":"1327715979","file0":"1327715977","file4":"1327715987","file5":"1327715989","file3":"1327715985"},"map_files_photo_id_array":[{"photo_id":"1327715989","filename":"file5"},{"photo_id":"1327715983","filename":"file2"},{"photo_id":"1327715987","filename":"file4"},{"photo_id":"1327715979","filename":"file1"},{"photo_id":"1327715977","filename":"file0"},{"photo_id":"1327715985","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327715977":["hashtag1","hashtag2"]},{"1327715985":["hashtag1","hashtag2"]},{"1327715979":["hashtag1","hashtag2"]},{"1327715987":["hashtag1","hashtag2"]},{"1327715983":["hashtag1","hashtag2"]},{"1327715989":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327715977, 1327715985, 1327715979, 1327715987, 1327715983, 1327715989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.95257902145386 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 23:33:21.982998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/36/image_09012025_20_36_02_403172_0000.jpg', '/home/pi/Desktop/images/09012025/20/36/image_09012025_20_36_02_403172_0001.jpg', '/home/pi/Desktop/images/09012025/20/36/image_09012025_20_36_02_403172_0002.jpg', '/home/pi/Desktop/images/09012025/20/36/image_09012025_20_36_02_403172_0003.jpg', '/home/pi/Desktop/images/09012025/20/37/image_09012025_20_37_02_691530_0001.jpg', '/home/pi/Desktop/images/09012025/20/37/image_09012025_20_37_02_691530_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/36/image_09012025_20_36_02_403172_0000.jpg
/home/pi/Desktop/images/09012025/20/36/image_09012025_20_36_02_403172_0001.jpg
/home/pi/Desktop/images/09012025/20/36/image_09012025_20_36_02_403172_0002.jpg
/home/pi/Desktop/images/09012025/20/36/image_09012025_20_36_02_403172_0003.jpg
/home/pi/Desktop/images/09012025/20/37/image_09012025_20_37_02_691530_0001.jpg
/home/pi/Desktop/images/09012025/20/37/image_09012025_20_37_02_691530_0002.jpg
 val : 1 : upload photos 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":["1327716019","1327716060","1327716041","1327716038","1327716035","1327716017"],"photo_ids_order":["1327716017","1327716019","1327716035","1327716038","1327716041","1327716060"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5978089fa92782d5c94f698025842802.jpg","text":"TemporaryFile(/tmp/multipartBody604875701372643551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462082168,"filename":"image_09012025_20_36_02_403172_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/86a5ff50899b1b48380c928473454b37.jpg","text":"TemporaryFile(/tmp/multipartBody7546881079811834553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462082168,"filename":"image_09012025_20_37_02_691530_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4cebdd95e1cc0da5e091b8c6f744b684.jpg","text":"TemporaryFile(/tmp/multipartBody8602086942215858155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462082168,"filename":"image_09012025_20_37_02_691530_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6b4a2a7ebe4e0096c6a86c290a5cee25.jpg","text":"TemporaryFile(/tmp/multipartBody1683947770159068768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462082168,"filename":"image_09012025_20_36_02_403172_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a470ca473372bcc1d0b0bc5d300137e3.jpg","text":"TemporaryFile(/tmp/multipartBody62048806514361274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462082168,"filename":"image_09012025_20_36_02_403172_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/133951d24a9404f13c2565e32fca5ed3.jpg","text":"TemporaryFile(/tmp/multipartBody8369932829388269155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462082168,"filename":"image_09012025_20_36_02_403172_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327716035","file1":"1327716019","file0":"1327716017","file4":"1327716041","file5":"1327716060","file3":"1327716038"},"map_files_photo_id_array":[{"photo_id":"1327716060","filename":"file5"},{"photo_id":"1327716035","filename":"file2"},{"photo_id":"1327716041","filename":"file4"},{"photo_id":"1327716019","filename":"file1"},{"photo_id":"1327716017","filename":"file0"},{"photo_id":"1327716038","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327716019":["hashtag1","hashtag2"]},{"1327716060":["hashtag1","hashtag2"]},{"1327716041":["hashtag1","hashtag2"]},{"1327716038":["hashtag1","hashtag2"]},{"1327716035":["hashtag1","hashtag2"]},{"1327716017":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327716019, 1327716060, 1327716041, 1327716038, 1327716035, 1327716017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.35433578491211 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 23:34:42.237390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/37/image_09012025_20_37_02_691530_0003.jpg', '/home/pi/Desktop/images/09012025/20/38/image_09012025_20_38_02_795496_0000.jpg', '/home/pi/Desktop/images/09012025/20/38/image_09012025_20_38_02_795496_0001.jpg', '/home/pi/Desktop/images/09012025/20/38/image_09012025_20_38_02_795496_0002.jpg', '/home/pi/Desktop/images/09012025/20/38/image_09012025_20_38_02_795496_0003.jpg', '/home/pi/Desktop/images/09012025/20/39/image_09012025_20_39_03_045852_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/37/image_09012025_20_37_02_691530_0003.jpg
/home/pi/Desktop/images/09012025/20/38/image_09012025_20_38_02_795496_0000.jpg
/home/pi/Desktop/images/09012025/20/38/image_09012025_20_38_02_795496_0001.jpg
/home/pi/Desktop/images/09012025/20/38/image_09012025_20_38_02_795496_0002.jpg
/home/pi/Desktop/images/09012025/20/38/image_09012025_20_38_02_795496_0003.jpg
/home/pi/Desktop/images/09012025/20/39/image_09012025_20_39_03_045852_0001.jpg
 val : 1 : upload photos 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":["1327716124","1327716129","1327716120","1327716131","1327716134","1327716136"],"photo_ids_order":["1327716120","1327716124","1327716129","1327716131","1327716134","1327716136"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a8c0e40ff4ea1d6184d2cdf71fc936ae.jpg","text":"TemporaryFile(/tmp/multipartBody1897983447344180057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462179684,"filename":"image_09012025_20_38_02_795496_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/537ddbdbeea273efe8fe765a8851566a.jpg","text":"TemporaryFile(/tmp/multipartBody8549565580638876843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462179684,"filename":"image_09012025_20_38_02_795496_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c999fb8f2a346e814e3b35849288801c.jpg","text":"TemporaryFile(/tmp/multipartBody2790499965519656929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462179684,"filename":"image_09012025_20_37_02_691530_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d950cecdbf4760eea55d18884d6c09a9.jpg","text":"TemporaryFile(/tmp/multipartBody878128752784695981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462179684,"filename":"image_09012025_20_38_02_795496_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b2e99657c89b993b49ecd030fcf2c18b.jpg","text":"TemporaryFile(/tmp/multipartBody1338781081704038141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462179684,"filename":"image_09012025_20_38_02_795496_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d6415e0ccc20b9528c1d9be2fc54c3f6.jpg","text":"TemporaryFile(/tmp/multipartBody1993540133456759235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462179684,"filename":"image_09012025_20_39_03_045852_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327716129","file1":"1327716124","file0":"1327716120","file4":"1327716134","file5":"1327716136","file3":"1327716131"},"map_files_photo_id_array":[{"photo_id":"1327716136","filename":"file5"},{"photo_id":"1327716129","filename":"file2"},{"photo_id":"1327716134","filename":"file4"},{"photo_id":"1327716124","filename":"file1"},{"photo_id":"1327716120","filename":"file0"},{"photo_id":"1327716131","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327716124":["hashtag1","hashtag2"]},{"1327716129":["hashtag1","hashtag2"]},{"1327716120":["hashtag1","hashtag2"]},{"1327716131":["hashtag1","hashtag2"]},{"1327716134":["hashtag1","hashtag2"]},{"1327716136":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327716124, 1327716129, 1327716120, 1327716131, 1327716134, 1327716136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.50790739059448 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 23:36:22.585162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/39/image_09012025_20_39_03_045852_0002.jpg', '/home/pi/Desktop/images/09012025/20/39/image_09012025_20_39_03_045852_0003.jpg', '/home/pi/Desktop/images/09012025/20/40/image_09012025_20_40_02_350712_0000.jpg', '/home/pi/Desktop/images/09012025/20/40/image_09012025_20_40_02_350712_0001.jpg', '/home/pi/Desktop/images/09012025/20/40/image_09012025_20_40_02_350712_0002.jpg', '/home/pi/Desktop/images/09012025/20/40/image_09012025_20_40_02_350712_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/39/image_09012025_20_39_03_045852_0002.jpg
/home/pi/Desktop/images/09012025/20/39/image_09012025_20_39_03_045852_0003.jpg
/home/pi/Desktop/images/09012025/20/40/image_09012025_20_40_02_350712_0000.jpg
/home/pi/Desktop/images/09012025/20/40/image_09012025_20_40_02_350712_0001.jpg
/home/pi/Desktop/images/09012025/20/40/image_09012025_20_40_02_350712_0002.jpg
/home/pi/Desktop/images/09012025/20/40/image_09012025_20_40_02_350712_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327717269","1327717277","1327716614","1327716146","1327717042","1327716151"],"photo_ids_order":["1327716146","1327716151","1327716614","1327717042","1327717269","1327717277"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/432b31d5176269c008aa901e1e914b81.jpg","text":"TemporaryFile(/tmp/multipartBody9108128078933553393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462278365,"filename":"image_09012025_20_40_02_350712_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/03c3656ef3a9638a8b3474332bcc829d.jpg","text":"TemporaryFile(/tmp/multipartBody2266605002421193152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462278365,"filename":"image_09012025_20_40_02_350712_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/853177c467007ab48b9ed3618bc6be52.jpg","text":"TemporaryFile(/tmp/multipartBody5123118218624310621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462278365,"filename":"image_09012025_20_40_02_350712_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/07be2b37f6a635b5599670891fb052d3.jpg","text":"TemporaryFile(/tmp/multipartBody4259398624059587698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462278365,"filename":"image_09012025_20_39_03_045852_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e048f4751ece22b4b918f40e506a29f3.jpg","text":"TemporaryFile(/tmp/multipartBody933460630409203286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462278365,"filename":"image_09012025_20_40_02_350712_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b6b4ccdc76d8a52844cf4940949f8568.jpg","text":"TemporaryFile(/tmp/multipartBody6609203600682210452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462278365,"filename":"image_09012025_20_39_03_045852_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327716614","file1":"1327716151","file0":"1327716146","file4":"1327717269","file5":"1327717277","file3":"1327717042"},"map_files_photo_id_array":[{"photo_id":"1327717277","filename":"file5"},{"photo_id":"1327716614","filename":"file2"},{"photo_id":"1327717269","filename":"file4"},{"photo_id":"1327716151","filename":"file1"},{"photo_id":"1327716146","filename":"file0"},{"photo_id":"1327717042","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327717269":["hashtag1","hashtag2"]},{"1327717277":["hashtag1","hashtag2"]},{"1327716614":["hashtag1","hashtag2"]},{"1327716146":["hashtag1","hashtag2"]},{"1327717042":["hashtag1","hashtag2"]},{"1327716151":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327717269, 1327717277, 1327716614, 1327716146, 1327717042, 1327716151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 90.43486952781677 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 23:38:02.385466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/41/image_09012025_20_41_02_507633_0000.jpg', '/home/pi/Desktop/images/09012025/20/41/image_09012025_20_41_02_507633_0001.jpg', '/home/pi/Desktop/images/09012025/20/41/image_09012025_20_41_02_507633_0002.jpg', '/home/pi/Desktop/images/09012025/20/41/image_09012025_20_41_02_507633_0003.jpg', '/home/pi/Desktop/images/09012025/20/42/image_09012025_20_42_02_629820_0000.jpg', '/home/pi/Desktop/images/09012025/20/42/image_09012025_20_42_02_629820_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/41/image_09012025_20_41_02_507633_0000.jpg
/home/pi/Desktop/images/09012025/20/41/image_09012025_20_41_02_507633_0001.jpg
/home/pi/Desktop/images/09012025/20/41/image_09012025_20_41_02_507633_0002.jpg
/home/pi/Desktop/images/09012025/20/41/image_09012025_20_41_02_507633_0003.jpg
/home/pi/Desktop/images/09012025/20/42/image_09012025_20_42_02_629820_0000.jpg
/home/pi/Desktop/images/09012025/20/42/image_09012025_20_42_02_629820_0001.jpg
 val : 1 : upload photos 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":["1327717670","1327717673","1327717663","1327717648","1327717657","1327717612"],"photo_ids_order":["1327717612","1327717648","1327717657","1327717663","1327717670","1327717673"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/30a032190e041156225e87bcb156fe25.jpg","text":"TemporaryFile(/tmp/multipartBody4015378646661288037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462383039,"filename":"image_09012025_20_42_02_629820_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/148104bb5fc76b5672b20d154a54845f.jpg","text":"TemporaryFile(/tmp/multipartBody3896866412280266488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462383039,"filename":"image_09012025_20_42_02_629820_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1f970583185deb80b9eb292cd78b75e4.jpg","text":"TemporaryFile(/tmp/multipartBody7094825718270834724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462383039,"filename":"image_09012025_20_41_02_507633_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9b82530d92e59fc075a01d1c46cff3c9.jpg","text":"TemporaryFile(/tmp/multipartBody1665034004575994417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462383039,"filename":"image_09012025_20_41_02_507633_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d986b1a5ce4081a9271110ce8104c313.jpg","text":"TemporaryFile(/tmp/multipartBody3971417725143450735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462383039,"filename":"image_09012025_20_41_02_507633_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bac950e99fbc9df989bfcb2ac0dbc7f1.jpg","text":"TemporaryFile(/tmp/multipartBody8932635884790108072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462383039,"filename":"image_09012025_20_41_02_507633_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327717657","file1":"1327717648","file0":"1327717612","file4":"1327717670","file5":"1327717673","file3":"1327717663"},"map_files_photo_id_array":[{"photo_id":"1327717673","filename":"file5"},{"photo_id":"1327717657","filename":"file2"},{"photo_id":"1327717670","filename":"file4"},{"photo_id":"1327717648","filename":"file1"},{"photo_id":"1327717612","filename":"file0"},{"photo_id":"1327717663","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327717670":["hashtag1","hashtag2"]},{"1327717673":["hashtag1","hashtag2"]},{"1327717663":["hashtag1","hashtag2"]},{"1327717648":["hashtag1","hashtag2"]},{"1327717657":["hashtag1","hashtag2"]},{"1327717612":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327717670, 1327717673, 1327717663, 1327717648, 1327717657, 1327717612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.13000750541687 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 23:39:42.155777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/42/image_09012025_20_42_02_629820_0002.jpg', '/home/pi/Desktop/images/09012025/20/42/image_09012025_20_42_02_629820_0003.jpg', '/home/pi/Desktop/images/09012025/20/43/image_09012025_20_43_02_767715_0000.jpg', '/home/pi/Desktop/images/09012025/20/43/image_09012025_20_43_02_767715_0001.jpg', '/home/pi/Desktop/images/09012025/20/43/image_09012025_20_43_02_767715_0002.jpg', '/home/pi/Desktop/images/09012025/20/43/image_09012025_20_43_02_767715_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/42/image_09012025_20_42_02_629820_0002.jpg
/home/pi/Desktop/images/09012025/20/42/image_09012025_20_42_02_629820_0003.jpg
/home/pi/Desktop/images/09012025/20/43/image_09012025_20_43_02_767715_0000.jpg
/home/pi/Desktop/images/09012025/20/43/image_09012025_20_43_02_767715_0001.jpg
/home/pi/Desktop/images/09012025/20/43/image_09012025_20_43_02_767715_0002.jpg
/home/pi/Desktop/images/09012025/20/43/image_09012025_20_43_02_767715_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327717770","1327717743","1327717757","1327717750","1327717768","1327717753"],"photo_ids_order":["1327717743","1327717750","1327717753","1327717757","1327717768","1327717770"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8b18f3f23658f9619e5acbd09717bbaa.jpg","text":"TemporaryFile(/tmp/multipartBody1229529695269194584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462488213,"filename":"image_09012025_20_43_02_767715_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/db8f40c277bbbdffb796c1de5e9696a7.jpg","text":"TemporaryFile(/tmp/multipartBody6009886828136134692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462488213,"filename":"image_09012025_20_42_02_629820_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d07a61f442ba8751cf2086bf81542c61.jpg","text":"TemporaryFile(/tmp/multipartBody1731486978943635485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462488213,"filename":"image_09012025_20_43_02_767715_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/48f7e676b9f5f4f8708034a94fadc549.jpg","text":"TemporaryFile(/tmp/multipartBody2013415720927017547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462488213,"filename":"image_09012025_20_42_02_629820_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/e55890855c5688bf039e47512c5c70e2.jpg","text":"TemporaryFile(/tmp/multipartBody1998219222813808514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462488213,"filename":"image_09012025_20_43_02_767715_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d20b919a418fc711a0283e865f8b108d.jpg","text":"TemporaryFile(/tmp/multipartBody2237644289072911401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462488213,"filename":"image_09012025_20_43_02_767715_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327717753","file1":"1327717750","file0":"1327717743","file4":"1327717768","file5":"1327717770","file3":"1327717757"},"map_files_photo_id_array":[{"photo_id":"1327717770","filename":"file5"},{"photo_id":"1327717753","filename":"file2"},{"photo_id":"1327717768","filename":"file4"},{"photo_id":"1327717750","filename":"file1"},{"photo_id":"1327717743","filename":"file0"},{"photo_id":"1327717757","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327717770":["hashtag1","hashtag2"]},{"1327717743":["hashtag1","hashtag2"]},{"1327717757":["hashtag1","hashtag2"]},{"1327717750":["hashtag1","hashtag2"]},{"1327717768":["hashtag1","hashtag2"]},{"1327717753":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327717770, 1327717743, 1327717757, 1327717750, 1327717768, 1327717753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 101.41470336914062 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 23:41:32.554779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/44/image_09012025_20_44_02_965982_0000.jpg', '/home/pi/Desktop/images/09012025/20/44/image_09012025_20_44_02_965982_0001.jpg', '/home/pi/Desktop/images/09012025/20/44/image_09012025_20_44_02_965982_0002.jpg', '/home/pi/Desktop/images/09012025/20/44/image_09012025_20_44_02_965982_0003.jpg', '/home/pi/Desktop/images/09012025/20/45/image_09012025_20_45_03_125934_0000.jpg', '/home/pi/Desktop/images/09012025/20/45/image_09012025_20_45_03_125934_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/44/image_09012025_20_44_02_965982_0000.jpg
/home/pi/Desktop/images/09012025/20/44/image_09012025_20_44_02_965982_0001.jpg
/home/pi/Desktop/images/09012025/20/44/image_09012025_20_44_02_965982_0002.jpg
/home/pi/Desktop/images/09012025/20/44/image_09012025_20_44_02_965982_0003.jpg
/home/pi/Desktop/images/09012025/20/45/image_09012025_20_45_03_125934_0000.jpg
/home/pi/Desktop/images/09012025/20/45/image_09012025_20_45_03_125934_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327717833","1327717812","1327717831","1327717828","1327717807","1327717797"],"photo_ids_order":["1327717797","1327717807","1327717812","1327717828","1327717831","1327717833"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/62894808818156510f39e73007522a4b.jpg","text":"TemporaryFile(/tmp/multipartBody3178006718609282258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462593339,"filename":"image_09012025_20_45_03_125934_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/20aca7bede733f6154d24a242e5fd52a.jpg","text":"TemporaryFile(/tmp/multipartBody2614404495670439894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462593339,"filename":"image_09012025_20_44_02_965982_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/5cd40f2bb7c4f414536c3bb7e4347aa4.jpg","text":"TemporaryFile(/tmp/multipartBody3108592146204062420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462593339,"filename":"image_09012025_20_45_03_125934_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7831bc4e4769d5e5eeb4a33b9cb425db.jpg","text":"TemporaryFile(/tmp/multipartBody8357578295181009135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462593339,"filename":"image_09012025_20_44_02_965982_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1dd9ede6b1f604a8a1de66384307c17e.jpg","text":"TemporaryFile(/tmp/multipartBody3007270626606483016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462593339,"filename":"image_09012025_20_44_02_965982_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6823eb203df9957564fd7b2d092b7c2b.jpg","text":"TemporaryFile(/tmp/multipartBody2776005851252431528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462593339,"filename":"image_09012025_20_44_02_965982_0000.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327717812","file1":"1327717807","file0":"1327717797","file4":"1327717831","file5":"1327717833","file3":"1327717828"},"map_files_photo_id_array":[{"photo_id":"1327717833","filename":"file5"},{"photo_id":"1327717812","filename":"file2"},{"photo_id":"1327717831","filename":"file4"},{"photo_id":"1327717807","filename":"file1"},{"photo_id":"1327717797","filename":"file0"},{"photo_id":"1327717828","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327717833":["hashtag1","hashtag2"]},{"1327717812":["hashtag1","hashtag2"]},{"1327717831":["hashtag1","hashtag2"]},{"1327717828":["hashtag1","hashtag2"]},{"1327717807":["hashtag1","hashtag2"]},{"1327717797":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327717833, 1327717812, 1327717831, 1327717828, 1327717807, 1327717797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 96.09850597381592 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 23:43:21.975837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/45/image_09012025_20_45_03_125934_0003.jpg', '/home/pi/Desktop/images/09012025/20/46/image_09012025_20_46_02_256327_0000.jpg', '/home/pi/Desktop/images/09012025/20/46/image_09012025_20_46_02_256327_0001.jpg', '/home/pi/Desktop/images/09012025/20/46/image_09012025_20_46_02_256327_0002.jpg', '/home/pi/Desktop/images/09012025/20/46/image_09012025_20_46_02_256327_0003.jpg', '/home/pi/Desktop/images/09012025/20/47/image_09012025_20_47_02_426313_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/45/image_09012025_20_45_03_125934_0003.jpg
/home/pi/Desktop/images/09012025/20/46/image_09012025_20_46_02_256327_0000.jpg
/home/pi/Desktop/images/09012025/20/46/image_09012025_20_46_02_256327_0001.jpg
/home/pi/Desktop/images/09012025/20/46/image_09012025_20_46_02_256327_0002.jpg
/home/pi/Desktop/images/09012025/20/46/image_09012025_20_46_02_256327_0003.jpg
/home/pi/Desktop/images/09012025/20/47/image_09012025_20_47_02_426313_0001.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327717863","1327717905","1327717868","1327717873","1327717899","1327717903"],"photo_ids_order":["1327717863","1327717868","1327717873","1327717899","1327717903","1327717905"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/604d9939c361e91a14fd688d857a3a11.jpg","text":"TemporaryFile(/tmp/multipartBody7093063507011999667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462701179,"filename":"image_09012025_20_45_03_125934_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ba0b8699efab9aef7b68c29148a603b6.jpg","text":"TemporaryFile(/tmp/multipartBody2499638182144232347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462701179,"filename":"image_09012025_20_47_02_426313_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f59363ee7e82e21ed9359451baaa10f7.jpg","text":"TemporaryFile(/tmp/multipartBody7367244886124603670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462701179,"filename":"image_09012025_20_46_02_256327_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f595f55b35078588b37c895d378dcb6b.jpg","text":"TemporaryFile(/tmp/multipartBody6639154251741821571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462701179,"filename":"image_09012025_20_46_02_256327_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3272255104527e9b46da09a3e8ffc708.jpg","text":"TemporaryFile(/tmp/multipartBody4268816446121529963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462701179,"filename":"image_09012025_20_46_02_256327_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/32e1c30f6086a5a0de4e42fcd40b98fe.jpg","text":"TemporaryFile(/tmp/multipartBody4956922921188029505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462701179,"filename":"image_09012025_20_46_02_256327_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327717873","file1":"1327717868","file0":"1327717863","file4":"1327717903","file5":"1327717905","file3":"1327717899"},"map_files_photo_id_array":[{"photo_id":"1327717905","filename":"file5"},{"photo_id":"1327717873","filename":"file2"},{"photo_id":"1327717903","filename":"file4"},{"photo_id":"1327717868","filename":"file1"},{"photo_id":"1327717863","filename":"file0"},{"photo_id":"1327717899","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327717863":["hashtag1","hashtag2"]},{"1327717905":["hashtag1","hashtag2"]},{"1327717868":["hashtag1","hashtag2"]},{"1327717873":["hashtag1","hashtag2"]},{"1327717899":["hashtag1","hashtag2"]},{"1327717903":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327717863, 1327717905, 1327717868, 1327717873, 1327717899, 1327717903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 89.83296346664429 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 23:45:02.995644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/47/image_09012025_20_47_02_426313_0002.jpg', '/home/pi/Desktop/images/09012025/20/47/image_09012025_20_47_02_426313_0003.jpg', '/home/pi/Desktop/images/09012025/20/48/image_09012025_20_48_02_583452_0000.jpg', '/home/pi/Desktop/images/09012025/20/48/image_09012025_20_48_02_583452_0001.jpg', '/home/pi/Desktop/images/09012025/20/48/image_09012025_20_48_02_583452_0002.jpg', '/home/pi/Desktop/images/09012025/20/48/image_09012025_20_48_02_583452_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/47/image_09012025_20_47_02_426313_0002.jpg
/home/pi/Desktop/images/09012025/20/47/image_09012025_20_47_02_426313_0003.jpg
/home/pi/Desktop/images/09012025/20/48/image_09012025_20_48_02_583452_0000.jpg
/home/pi/Desktop/images/09012025/20/48/image_09012025_20_48_02_583452_0001.jpg
/home/pi/Desktop/images/09012025/20/48/image_09012025_20_48_02_583452_0002.jpg
/home/pi/Desktop/images/09012025/20/48/image_09012025_20_48_02_583452_0003.jpg
 val : 1 : upload photos 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":["1327718069","1327718108","1327718117","1327718050","1327718104","1327718115"],"photo_ids_order":["1327718050","1327718069","1327718104","1327718108","1327718115","1327718117"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/305cd6636cba19a674a5f5e051a85b8f.jpg","text":"TemporaryFile(/tmp/multipartBody5901469905868912713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462799206,"filename":"image_09012025_20_47_02_426313_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/535d57b92473cd927b70f62ecd94f719.jpg","text":"TemporaryFile(/tmp/multipartBody2714369091956790309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462799206,"filename":"image_09012025_20_48_02_583452_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9ce97f8de39862611b8ac9162a172bab.jpg","text":"TemporaryFile(/tmp/multipartBody847534785763050270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462799206,"filename":"image_09012025_20_48_02_583452_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/4c1e19ede379542f50d4e92acc1b524b.jpg","text":"TemporaryFile(/tmp/multipartBody8671200375233061366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462799206,"filename":"image_09012025_20_47_02_426313_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9002f1dd54f7654f5d9668c3b38dd2fd.jpg","text":"TemporaryFile(/tmp/multipartBody8189611921948288028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462799206,"filename":"image_09012025_20_48_02_583452_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/05c39000ced4fcc7cd101d1863ac4439.jpg","text":"TemporaryFile(/tmp/multipartBody1501773959876072690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462799206,"filename":"image_09012025_20_48_02_583452_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327718104","file1":"1327718069","file0":"1327718050","file4":"1327718115","file5":"1327718117","file3":"1327718108"},"map_files_photo_id_array":[{"photo_id":"1327718117","filename":"file5"},{"photo_id":"1327718104","filename":"file2"},{"photo_id":"1327718115","filename":"file4"},{"photo_id":"1327718069","filename":"file1"},{"photo_id":"1327718050","filename":"file0"},{"photo_id":"1327718108","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327718069":["hashtag1","hashtag2"]},{"1327718108":["hashtag1","hashtag2"]},{"1327718117":["hashtag1","hashtag2"]},{"1327718050":["hashtag1","hashtag2"]},{"1327718104":["hashtag1","hashtag2"]},{"1327718115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327718069, 1327718108, 1327718117, 1327718050, 1327718104, 1327718115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 91.6778130531311 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 23:46:42.569627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/49/image_09012025_20_49_02_762039_0000.jpg', '/home/pi/Desktop/images/09012025/20/49/image_09012025_20_49_02_762039_0001.jpg', '/home/pi/Desktop/images/09012025/20/49/image_09012025_20_49_02_762039_0002.jpg', '/home/pi/Desktop/images/09012025/20/49/image_09012025_20_49_02_762039_0003.jpg', '/home/pi/Desktop/images/09012025/20/50/image_09012025_20_50_02_960604_0000.jpg', '/home/pi/Desktop/images/09012025/20/50/image_09012025_20_50_02_960604_0001.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/49/image_09012025_20_49_02_762039_0000.jpg
/home/pi/Desktop/images/09012025/20/49/image_09012025_20_49_02_762039_0001.jpg
/home/pi/Desktop/images/09012025/20/49/image_09012025_20_49_02_762039_0002.jpg
/home/pi/Desktop/images/09012025/20/49/image_09012025_20_49_02_762039_0003.jpg
/home/pi/Desktop/images/09012025/20/50/image_09012025_20_50_02_960604_0000.jpg
/home/pi/Desktop/images/09012025/20/50/image_09012025_20_50_02_960604_0001.jpg
 val : 1 : upload photos 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":["1327718139","1327718141","1327718135","1327718131","1327718125","1327718128"],"photo_ids_order":["1327718125","1327718128","1327718131","1327718135","1327718139","1327718141"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1e7e20f12564f51d8dbac9edd5f87bea.jpg","text":"TemporaryFile(/tmp/multipartBody45545335782951990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462888288,"filename":"image_09012025_20_50_02_960604_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0aa29f0f298591c01d0886df3015e9f0.jpg","text":"TemporaryFile(/tmp/multipartBody6089102919076179306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462888288,"filename":"image_09012025_20_50_02_960604_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/97aebc9c3cd077af1e46adac2c657da2.jpg","text":"TemporaryFile(/tmp/multipartBody5838187759019525530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462888288,"filename":"image_09012025_20_49_02_762039_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/7fa6d35dfa748a00b05c0ac1eacf47c1.jpg","text":"TemporaryFile(/tmp/multipartBody5655315200816381690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462888288,"filename":"image_09012025_20_49_02_762039_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/dd331b5971d0fc60c5fe661c7d538bc6.jpg","text":"TemporaryFile(/tmp/multipartBody6765225365792341703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462888288,"filename":"image_09012025_20_49_02_762039_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/ea59f379ad472fef4e425dc6f466256d.jpg","text":"TemporaryFile(/tmp/multipartBody4866334799067275024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736462888288,"filename":"image_09012025_20_49_02_762039_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327718131","file1":"1327718128","file0":"1327718125","file4":"1327718139","file5":"1327718141","file3":"1327718135"},"map_files_photo_id_array":[{"photo_id":"1327718141","filename":"file5"},{"photo_id":"1327718131","filename":"file2"},{"photo_id":"1327718139","filename":"file4"},{"photo_id":"1327718128","filename":"file1"},{"photo_id":"1327718125","filename":"file0"},{"photo_id":"1327718135","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327718139":["hashtag1","hashtag2"]},{"1327718141":["hashtag1","hashtag2"]},{"1327718135":["hashtag1","hashtag2"]},{"1327718131":["hashtag1","hashtag2"]},{"1327718125":["hashtag1","hashtag2"]},{"1327718128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327718139, 1327718141, 1327718135, 1327718131, 1327718125, 1327718128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.61713790893555 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 23:48:21.997297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/50/image_09012025_20_50_02_960604_0002.jpg', '/home/pi/Desktop/images/09012025/20/50/image_09012025_20_50_02_960604_0003.jpg', '/home/pi/Desktop/images/09012025/20/51/image_09012025_20_51_02_122721_0001.jpg', '/home/pi/Desktop/images/09012025/20/51/image_09012025_20_51_02_122721_0002.jpg', '/home/pi/Desktop/images/09012025/20/51/image_09012025_20_51_02_122721_0003.jpg', '/home/pi/Desktop/images/09012025/20/52/image_09012025_20_52_02_329636_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/50/image_09012025_20_50_02_960604_0002.jpg
/home/pi/Desktop/images/09012025/20/50/image_09012025_20_50_02_960604_0003.jpg
/home/pi/Desktop/images/09012025/20/51/image_09012025_20_51_02_122721_0001.jpg
/home/pi/Desktop/images/09012025/20/51/image_09012025_20_51_02_122721_0002.jpg
/home/pi/Desktop/images/09012025/20/51/image_09012025_20_51_02_122721_0003.jpg
/home/pi/Desktop/images/09012025/20/52/image_09012025_20_52_02_329636_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 34.23518776893616 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 23:49:02.692694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/50/image_09012025_20_50_02_960604_0002.jpg', '/home/pi/Desktop/images/09012025/20/50/image_09012025_20_50_02_960604_0003.jpg', '/home/pi/Desktop/images/09012025/20/51/image_09012025_20_51_02_122721_0001.jpg', '/home/pi/Desktop/images/09012025/20/51/image_09012025_20_51_02_122721_0002.jpg', '/home/pi/Desktop/images/09012025/20/51/image_09012025_20_51_02_122721_0003.jpg', '/home/pi/Desktop/images/09012025/20/52/image_09012025_20_52_02_329636_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/50/image_09012025_20_50_02_960604_0002.jpg
/home/pi/Desktop/images/09012025/20/50/image_09012025_20_50_02_960604_0003.jpg
/home/pi/Desktop/images/09012025/20/51/image_09012025_20_51_02_122721_0001.jpg
/home/pi/Desktop/images/09012025/20/51/image_09012025_20_51_02_122721_0002.jpg
/home/pi/Desktop/images/09012025/20/51/image_09012025_20_51_02_122721_0003.jpg
/home/pi/Desktop/images/09012025/20/52/image_09012025_20_52_02_329636_0000.jpg
 val : 1 : upload photos 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":["1327718192","1327718186","1327718183","1327718188","1327718190","1327718187"],"photo_ids_order":["1327718183","1327718186","1327718187","1327718188","1327718190","1327718192"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/cc23891f0eb81e34e905db69279ab9ae.jpg","text":"TemporaryFile(/tmp/multipartBody5615713338897861980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463035863,"filename":"image_09012025_20_52_02_329636_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/d5a5b0fe469089927cee1a2e294cdcc7.jpg","text":"TemporaryFile(/tmp/multipartBody2967513395272921455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463035863,"filename":"image_09012025_20_50_02_960604_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/bb14d8f2f2aa7d1618106b311304d662.jpg","text":"TemporaryFile(/tmp/multipartBody7405958866419426090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463035863,"filename":"image_09012025_20_50_02_960604_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f7935a51c8330f6d6a742fc079cfdfa8.jpg","text":"TemporaryFile(/tmp/multipartBody7787269655649426394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463035863,"filename":"image_09012025_20_51_02_122721_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/56aa61ed6f4a5f8a8b8d3870f899e272.jpg","text":"TemporaryFile(/tmp/multipartBody8434541768592308221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463035863,"filename":"image_09012025_20_51_02_122721_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/489f7b96d76869e94a24f4043afa7ae6.jpg","text":"TemporaryFile(/tmp/multipartBody4708615987088873893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463035863,"filename":"image_09012025_20_51_02_122721_0001.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327718187","file1":"1327718186","file0":"1327718183","file4":"1327718190","file5":"1327718192","file3":"1327718188"},"map_files_photo_id_array":[{"photo_id":"1327718192","filename":"file5"},{"photo_id":"1327718187","filename":"file2"},{"photo_id":"1327718190","filename":"file4"},{"photo_id":"1327718186","filename":"file1"},{"photo_id":"1327718183","filename":"file0"},{"photo_id":"1327718188","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327718192":["hashtag1","hashtag2"]},{"1327718186":["hashtag1","hashtag2"]},{"1327718183":["hashtag1","hashtag2"]},{"1327718188":["hashtag1","hashtag2"]},{"1327718190":["hashtag1","hashtag2"]},{"1327718187":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327718192, 1327718186, 1327718183, 1327718188, 1327718190, 1327718187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.86308121681213 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 23:50:32.326860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/52/image_09012025_20_52_02_329636_0001.jpg', '/home/pi/Desktop/images/09012025/20/52/image_09012025_20_52_02_329636_0002.jpg', '/home/pi/Desktop/images/09012025/20/53/image_09012025_20_53_02_454399_0001.jpg', '/home/pi/Desktop/images/09012025/20/53/image_09012025_20_53_02_454399_0002.jpg', '/home/pi/Desktop/images/09012025/20/53/image_09012025_20_53_02_454399_0003.jpg', '/home/pi/Desktop/images/09012025/20/54/image_09012025_20_54_02_722548_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/52/image_09012025_20_52_02_329636_0001.jpg
/home/pi/Desktop/images/09012025/20/52/image_09012025_20_52_02_329636_0002.jpg
/home/pi/Desktop/images/09012025/20/53/image_09012025_20_53_02_454399_0001.jpg
/home/pi/Desktop/images/09012025/20/53/image_09012025_20_53_02_454399_0002.jpg
/home/pi/Desktop/images/09012025/20/53/image_09012025_20_53_02_454399_0003.jpg
/home/pi/Desktop/images/09012025/20/54/image_09012025_20_54_02_722548_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 44.40301728248596 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 23:51:22.507651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/52/image_09012025_20_52_02_329636_0001.jpg', '/home/pi/Desktop/images/09012025/20/52/image_09012025_20_52_02_329636_0002.jpg', '/home/pi/Desktop/images/09012025/20/53/image_09012025_20_53_02_454399_0001.jpg', '/home/pi/Desktop/images/09012025/20/53/image_09012025_20_53_02_454399_0002.jpg', '/home/pi/Desktop/images/09012025/20/53/image_09012025_20_53_02_454399_0003.jpg', '/home/pi/Desktop/images/09012025/20/54/image_09012025_20_54_02_722548_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/52/image_09012025_20_52_02_329636_0001.jpg
/home/pi/Desktop/images/09012025/20/52/image_09012025_20_52_02_329636_0002.jpg
/home/pi/Desktop/images/09012025/20/53/image_09012025_20_53_02_454399_0001.jpg
/home/pi/Desktop/images/09012025/20/53/image_09012025_20_53_02_454399_0002.jpg
/home/pi/Desktop/images/09012025/20/53/image_09012025_20_53_02_454399_0003.jpg
/home/pi/Desktop/images/09012025/20/54/image_09012025_20_54_02_722548_0002.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327718399","1327718471","1327718342","1327718321","1327718324","1327718464"],"photo_ids_order":["1327718321","1327718324","1327718342","1327718399","1327718464","1327718471"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a70f1c00990576a8940b35bae46e4434.jpg","text":"TemporaryFile(/tmp/multipartBody966601478087166622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463183417,"filename":"image_09012025_20_53_02_454399_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/a1bbb1093311385f14e29778f7d939fa.jpg","text":"TemporaryFile(/tmp/multipartBody8730756039500333628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463183417,"filename":"image_09012025_20_54_02_722548_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/0feb117bb05edc796fc28683167c1078.jpg","text":"TemporaryFile(/tmp/multipartBody159408454304711336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463183417,"filename":"image_09012025_20_53_02_454399_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/f2806f1bee5ee5ff243213796227423d.jpg","text":"TemporaryFile(/tmp/multipartBody5533251356738290112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463183417,"filename":"image_09012025_20_52_02_329636_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3609ffe2216645f2eb8f65345355e916.jpg","text":"TemporaryFile(/tmp/multipartBody9052703348977127180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463183417,"filename":"image_09012025_20_52_02_329636_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/77bce7cf67fa5e879ff2a03807ed8dc8.jpg","text":"TemporaryFile(/tmp/multipartBody5796606948320218719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463183417,"filename":"image_09012025_20_53_02_454399_0003.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327718342","file1":"1327718324","file0":"1327718321","file4":"1327718464","file5":"1327718471","file3":"1327718399"},"map_files_photo_id_array":[{"photo_id":"1327718471","filename":"file5"},{"photo_id":"1327718342","filename":"file2"},{"photo_id":"1327718464","filename":"file4"},{"photo_id":"1327718324","filename":"file1"},{"photo_id":"1327718321","filename":"file0"},{"photo_id":"1327718399","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327718399":["hashtag1","hashtag2"]},{"1327718471":["hashtag1","hashtag2"]},{"1327718342":["hashtag1","hashtag2"]},{"1327718321":["hashtag1","hashtag2"]},{"1327718324":["hashtag1","hashtag2"]},{"1327718464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327718399, 1327718471, 1327718342, 1327718321, 1327718324, 1327718464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 94.15483689308167 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 23:53:02.376066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/54/image_09012025_20_54_02_722548_0003.jpg', '/home/pi/Desktop/images/09012025/20/55/image_09012025_20_55_02_889578_0002.jpg', '/home/pi/Desktop/images/09012025/20/55/image_09012025_20_55_02_889578_0003.jpg', '/home/pi/Desktop/images/09012025/20/56/image_09012025_20_56_03_079055_0000.jpg', '/home/pi/Desktop/images/09012025/20/56/image_09012025_20_56_03_079055_0001.jpg', '/home/pi/Desktop/images/09012025/20/56/image_09012025_20_56_03_079055_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/54/image_09012025_20_54_02_722548_0003.jpg
/home/pi/Desktop/images/09012025/20/55/image_09012025_20_55_02_889578_0002.jpg
/home/pi/Desktop/images/09012025/20/55/image_09012025_20_55_02_889578_0003.jpg
/home/pi/Desktop/images/09012025/20/56/image_09012025_20_56_03_079055_0000.jpg
/home/pi/Desktop/images/09012025/20/56/image_09012025_20_56_03_079055_0001.jpg
/home/pi/Desktop/images/09012025/20/56/image_09012025_20_56_03_079055_0002.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 35.60312461853027 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old 0
2025-01-09 23:53:41.844001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/54/image_09012025_20_54_02_722548_0003.jpg', '/home/pi/Desktop/images/09012025/20/55/image_09012025_20_55_02_889578_0002.jpg', '/home/pi/Desktop/images/09012025/20/55/image_09012025_20_55_02_889578_0003.jpg', '/home/pi/Desktop/images/09012025/20/56/image_09012025_20_56_03_079055_0000.jpg', '/home/pi/Desktop/images/09012025/20/56/image_09012025_20_56_03_079055_0001.jpg', '/home/pi/Desktop/images/09012025/20/56/image_09012025_20_56_03_079055_0002.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/54/image_09012025_20_54_02_722548_0003.jpg
/home/pi/Desktop/images/09012025/20/55/image_09012025_20_55_02_889578_0002.jpg
/home/pi/Desktop/images/09012025/20/55/image_09012025_20_55_02_889578_0003.jpg
/home/pi/Desktop/images/09012025/20/56/image_09012025_20_56_03_079055_0000.jpg
/home/pi/Desktop/images/09012025/20/56/image_09012025_20_56_03_079055_0001.jpg
/home/pi/Desktop/images/09012025/20/56/image_09012025_20_56_03_079055_0002.jpg
 val : 1 : upload photos 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":["1327718651","1327718644","1327718676","1327718655","1327718640","1327718643"],"photo_ids_order":["1327718640","1327718643","1327718644","1327718651","1327718655","1327718676"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/3f72cfe40e1d676ee8b0bb5f48deb620.jpg","text":"TemporaryFile(/tmp/multipartBody1054502428758169692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463321681,"filename":"image_09012025_20_56_03_079055_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/77c53d0b50cfcf2bcb04002cf292b78e.jpg","text":"TemporaryFile(/tmp/multipartBody5863743254230188498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463321681,"filename":"image_09012025_20_55_02_889578_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/b50b8f2a9d736d501595bbdf308eacf1.jpg","text":"TemporaryFile(/tmp/multipartBody4329358859588249139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463321681,"filename":"image_09012025_20_56_03_079055_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/6235ad2e46c73124c8925d00743a3ebd.jpg","text":"TemporaryFile(/tmp/multipartBody440358962434282168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463321681,"filename":"image_09012025_20_56_03_079055_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/28217368e2153b59c917883cfa844bc3.jpg","text":"TemporaryFile(/tmp/multipartBody6151808306605587363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463321681,"filename":"image_09012025_20_54_02_722548_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/865c1f597d830063b406e1e172af8b71.jpg","text":"TemporaryFile(/tmp/multipartBody4206301526113903188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463321681,"filename":"image_09012025_20_55_02_889578_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327718644","file1":"1327718643","file0":"1327718640","file4":"1327718655","file5":"1327718676","file3":"1327718651"},"map_files_photo_id_array":[{"photo_id":"1327718676","filename":"file5"},{"photo_id":"1327718644","filename":"file2"},{"photo_id":"1327718655","filename":"file4"},{"photo_id":"1327718643","filename":"file1"},{"photo_id":"1327718640","filename":"file0"},{"photo_id":"1327718651","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327718651":["hashtag1","hashtag2"]},{"1327718644":["hashtag1","hashtag2"]},{"1327718676":["hashtag1","hashtag2"]},{"1327718655":["hashtag1","hashtag2"]},{"1327718640":["hashtag1","hashtag2"]},{"1327718643":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327718651, 1327718644, 1327718676, 1327718655, 1327718640, 1327718643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 95.91038703918457 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old=0
2025-01-09 23:55:22.150794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/57/image_09012025_20_57_02_247417_0000.jpg', '/home/pi/Desktop/images/09012025/20/57/image_09012025_20_57_02_247417_0001.jpg', '/home/pi/Desktop/images/09012025/20/57/image_09012025_20_57_02_247417_0002.jpg', '/home/pi/Desktop/images/09012025/20/58/image_09012025_20_58_02_487686_0000.jpg', '/home/pi/Desktop/images/09012025/20/58/image_09012025_20_58_02_487686_0002.jpg', '/home/pi/Desktop/images/09012025/20/58/image_09012025_20_58_02_487686_0003.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/57/image_09012025_20_57_02_247417_0000.jpg
/home/pi/Desktop/images/09012025/20/57/image_09012025_20_57_02_247417_0001.jpg
/home/pi/Desktop/images/09012025/20/57/image_09012025_20_57_02_247417_0002.jpg
/home/pi/Desktop/images/09012025/20/58/image_09012025_20_58_02_487686_0000.jpg
/home/pi/Desktop/images/09012025/20/58/image_09012025_20_58_02_487686_0002.jpg
/home/pi/Desktop/images/09012025/20/58/image_09012025_20_58_02_487686_0003.jpg
 val : 1 : upload photos 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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1327718761","1327718752","1327718760","1327718754","1327718763","1327718757"],"photo_ids_order":["1327718752","1327718754","1327718757","1327718760","1327718761","1327718763"],"photo_detail":[{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/c548e14dc08a8abb825bec1b7fe2185d.jpg","text":"TemporaryFile(/tmp/multipartBody6352030210832077411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463419057,"filename":"image_09012025_20_58_02_487686_0002.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/1687fd20069ab4057279abfd62f1b2ba.jpg","text":"TemporaryFile(/tmp/multipartBody8722233023229511776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463419057,"filename":"image_09012025_20_57_02_247417_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/aa7233377f59665a28ee9cd59a8f7971.jpg","text":"TemporaryFile(/tmp/multipartBody3884050102202215851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463419057,"filename":"image_09012025_20_58_02_487686_0000.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8b7dd8f15540dd9b00637a147d53b279.jpg","text":"TemporaryFile(/tmp/multipartBody7521710514540694491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463419057,"filename":"image_09012025_20_57_02_247417_0001.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/8ea714ca3526d94e4473ce11a9b38f01.jpg","text":"TemporaryFile(/tmp/multipartBody9041667808193178203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463419057,"filename":"image_09012025_20_58_02_487686_0003.jpg","height":1200,"width":1600},{"mtr_user_id":983,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/9/9a5d6e4fe60dd74e2b58daf417fe638e.jpg","text":"TemporaryFile(/tmp/multipartBody2921277675547393539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736463419057,"filename":"image_09012025_20_57_02_247417_0002.jpg","height":1200,"width":1600}],"map_files_photo_id":{"file2":"1327718757","file1":"1327718754","file0":"1327718752","file4":"1327718761","file5":"1327718763","file3":"1327718760"},"map_files_photo_id_array":[{"photo_id":"1327718763","filename":"file5"},{"photo_id":"1327718757","filename":"file2"},{"photo_id":"1327718761","filename":"file4"},{"photo_id":"1327718754","filename":"file1"},{"photo_id":"1327718752","filename":"file0"},{"photo_id":"1327718760","filename":"file3"}],"portfolio_id":19481811,"hashtag_by_photo_ids":[{"1327718761":["hashtag1","hashtag2"]},{"1327718752":["hashtag1","hashtag2"]},{"1327718760":["hashtag1","hashtag2"]},{"1327718754":["hashtag1","hashtag2"]},{"1327718763":["hashtag1","hashtag2"]},{"1327718757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19481811 used, photo_id : ArrayBuffer(1327718761, 1327718752, 1327718760, 1327718754, 1327718763, 1327718757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 99.26130247116089 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --only_old=0 --last_day=15
2025-01-09 23:57:03.015608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/59/image_09012025_20_59_02_715569_0001.jpg', '/home/pi/Desktop/images/09012025/20/59/image_09012025_20_59_02_715569_0003.jpg', '/home/pi/Desktop/images/09012025/21/00/image_09012025_21_00_02_892861_0000.jpg', '/home/pi/Desktop/images/09012025/21/00/image_09012025_21_00_02_892861_0001.jpg', '/home/pi/Desktop/images/09012025/21/00/image_09012025_21_00_02_892861_0003.jpg', '/home/pi/Desktop/images/09012025/21/01/image_09012025_21_01_03_037854_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/59/image_09012025_20_59_02_715569_0001.jpg
/home/pi/Desktop/images/09012025/20/59/image_09012025_20_59_02_715569_0003.jpg
/home/pi/Desktop/images/09012025/21/00/image_09012025_21_00_02_892861_0000.jpg
/home/pi/Desktop/images/09012025/21/00/image_09012025_21_00_02_892861_0001.jpg
/home/pi/Desktop/images/09012025/21/00/image_09012025_21_00_02_892861_0003.jpg
/home/pi/Desktop/images/09012025/21/01/image_09012025_21_01_03_037854_0000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 43.37514114379883 secondes ---
Start to upload photos with parameters : -n refus_amiens_0424 -u www.fotonower.com -f /home/pi/Desktop/images -t 832f9dd9be82d72b547808d5fcaa9529 --datou_id=533 --threshold=40 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15 --only_old 0
2025-01-09 23:57:52.508650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
  port_id : 19481811
  datou_current_id : 2473171
in upload_from_sqlite, uploading in 19481811
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012025/20/59/image_09012025_20_59_02_715569_0001.jpg', '/home/pi/Desktop/images/09012025/20/59/image_09012025_20_59_02_715569_0003.jpg', '/home/pi/Desktop/images/09012025/21/00/image_09012025_21_00_02_892861_0000.jpg', '/home/pi/Desktop/images/09012025/21/00/image_09012025_21_00_02_892861_0001.jpg', '/home/pi/Desktop/images/09012025/21/00/image_09012025_21_00_02_892861_0003.jpg', '/home/pi/Desktop/images/09012025/21/01/image_09012025_21_01_03_037854_0000.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=832f9dd9be82d72b547808d5fcaa9529&datou_current_id=2473171&datou=0
/home/pi/Desktop/images/09012025/20/59/image_09012025_20_59_02_715569_0001.jpg
/home/pi/Desktop/images/09012025/20/59/image_09012025_20_59_02_715569_0003.jpg
/home/pi/Desktop/images/09012025/21/00/image_09012025_21_00_02_892861_0000.jpg
/home/pi/Desktop/images/09012025/21/00/image_09012025_21_00_02_892861_0001.jpg
/home/pi/Desktop/images/09012025/21/00/image_09012025_21_00_02_892861_0003.jpg
/home/pi/Desktop/images/09012025/21/01/image_09012025_21_01_03_037854_0000.jpg
